/* ==========================================================================
   ALFADATA TEKNOLOJİ A.Ş. — Architectural Enterprise Design System
   Swiss-Precision Typography · Obsidian & Alabaster Rhythm · Sapphire Optics
   ========================================================================== */

:root {
  /* Obsidian Dark Surfaces */
  --bg-obsidian: #050811;
  --bg-obsidian-2: #0a101f;
  --bg-obsidian-3: #10192e;
  --bg-obsidian-card: rgba(16, 25, 46, 0.72);
  --border-dark: rgba(148, 163, 184, 0.14);
  --border-dark-strong: rgba(148, 163, 184, 0.26);

  /* Alabaster Light Surfaces */
  --bg-light: #ffffff;
  --bg-alabaster: #f6f8fb;
  --bg-slate-soft: #eef2f7;
  --border-light: #e2e8f0;
  --border-light-strong: #cbd5e1;

  /* Ink & Text Hierarchy */
  --ink-dark: #090f1d;
  --ink-body: #334155;
  --ink-muted: #64748b;
  --ink-on-dark: #f8fafc;
  --ink-on-dark-muted: #94a3b8;
  --ink-on-dark-soft: #cbd5e1;

  /* Brand Precision Optics */
  --accent-sapphire: #0284c7;
  --accent-sapphire-deep: #0369a1;
  --accent-cyan: #38bdf8;
  --accent-ice: #bae6fd;
  --accent-champagne: #c8a96a;
  --accent-champagne-soft: rgba(200, 169, 106, 0.14);
  --accent-glow: rgba(56, 189, 248, 0.16);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout & Rhythm */
  --container-max: 1320px;
  --container-narrow: 920px;
  --nav-height: 82px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(9, 15, 29, 0.05);
  --shadow-md: 0 12px 34px rgba(9, 15, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(5, 8, 17, 0.16);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.45);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-body);
  background: var(--bg-light);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 44px);
}
.container-narrow {
  max-width: var(--container-narrow);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-sapphire), var(--accent-cyan), var(--accent-champagne));
  z-index: 1200;
  transition: width 80ms linear;
}

/* ==========================================================================
   HEADER & MEGA-MENU NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(5, 8, 17, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: background var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}

.site-header.scrolled {
  background: rgba(5, 8, 17, 0.94);
  border-bottom-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Lockup */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink-on-dark);
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  color: #ffffff;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Primary Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  color: var(--ink-on-dark-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"],
.nav-item.active > .nav-trigger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-trigger svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform var(--t-fast) var(--ease-out);
}
.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--accent-cyan);
  opacity: 1;
}

/* Mega Menu Dropdown Panel */
.mega-panel {
  position: fixed;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1140px, calc(100vw - 40px));
  background: rgba(8, 13, 27, 0.98);
  backdrop-filter: blur(26px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
  padding: 32px 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms;
  z-index: 999;
}
.nav-item.open > .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.mega-intro {
  padding-right: 24px;
  border-right: 1px solid var(--border-dark);
}
.mega-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}
.mega-intro h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.mega-intro p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-on-dark-muted);
  margin: 0 0 18px;
}
.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.mega-link:hover,
.mega-link.current {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.22);
}
.mega-link:hover { transform: translateY(-1px); }
.mega-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.16);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.mega-link-icon svg { width: 18px; height: 18px; }
.mega-link-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}
.mega-link-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--ink-on-dark-muted);
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--ink-on-dark-soft);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.search-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
}
.search-trigger svg { width: 15px; height: 15px; color: var(--accent-cyan); }
.kbd-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-on-dark-muted);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-sapphire), #0ea5e9);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.32);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.44);
  filter: brightness(1.06);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #ffffff;
  place-items: center;
  cursor: pointer;
}
.mobile-toggle svg { width: 20px; height: 20px; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(5, 8, 17, 0.98);
  backdrop-filter: blur(24px);
  z-index: 998;
  overflow-y: auto;
  padding: 24px 20px 60px;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-group {
  border-bottom: 1px solid var(--border-dark);
  padding: 14px 0;
}
.mobile-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
}
.mobile-group-links {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 6px 10px;
}
.mobile-group.open .mobile-group-links { display: flex; }
.mobile-group-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-on-dark-soft);
  font-size: 0.92rem;
}
.mobile-group-links a:hover,
.mobile-group-links a.current {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   COMMAND PALETTE / INSTANT SEARCH MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(5, 8, 17, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.search-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-dialog {
  width: 100%;
  max-width: 680px;
  background: #0b1222;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: transform 220ms var(--ease-out);
}
.search-modal.open .search-dialog { transform: translateY(0) scale(1); }
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
}
.search-input-row svg { width: 20px; height: 20px; color: var(--accent-cyan); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #ffffff;
  font-size: 1.02rem;
}
.search-input::placeholder { color: var(--ink-on-dark-muted); }
.search-close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: var(--ink-on-dark-soft);
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
}
.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 10px;
}
.search-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 11px;
  transition: background var(--t-fast);
}
.search-item:hover,
.search-item.active {
  background: rgba(56, 189, 248, 0.12);
}
.search-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.search-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}
.search-item-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 99px;
}
.search-item-desc {
  font-size: 0.83rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.45;
}
.search-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-on-dark-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sapphire);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--accent-cyan);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.032em;
  margin: 0;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 0;
}
.lead {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-body);
}
.section-dark .lead,
.hero .lead,
.page-hero .lead {
  color: var(--ink-on-dark-soft);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-sapphire), #0ea5e9);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.34);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.45);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.32);
  color: #ffffff;
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: #ffffff;
  border-color: var(--border-light-strong);
  color: var(--ink-dark);
}
.btn-outline-light:hover {
  border-color: var(--accent-sapphire);
  color: var(--accent-sapphire);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-obsidian);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(5, 8, 17, 0.22);
}
.btn-dark:hover {
  background: var(--bg-obsidian-3);
  transform: translateY(-2px);
}

/* ==========================================================================
   HOME HERO (FULL-BLEED ARCHITECTURAL SHOWCASE)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 72px) 0 88px;
  background: var(--bg-obsidian);
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.06);
}
.hero-bg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 72% 38%, rgba(2, 132, 199, 0.24), transparent 65%),
    linear-gradient(100deg, rgba(5, 8, 17, 0.96) 0%, rgba(5, 8, 17, 0.84) 48%, rgba(5, 8, 17, 0.66) 100%),
    linear-gradient(180deg, rgba(5, 8, 17, 0.5) 0%, transparent 25%, rgba(5, 8, 17, 1) 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ice);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  margin-bottom: 24px;
}
.text-gradient {
  background: linear-gradient(115deg, #ffffff 10%, #bae6fd 58%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 640px;
  margin: 0 0 36px;
}

/* Architectural Telemetry Card in Hero */
.hero-panel {
  background: rgba(10, 16, 31, 0.76);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-dark);
}
.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}
.hero-panel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.hero-panel-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(200, 169, 106, 0.14);
  color: var(--accent-champagne);
  border: 1px solid rgba(200, 169, 106, 0.3);
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.11);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.pillar-row:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
}
.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pillar-icon svg { width: 19px; height: 19px; }
.pillar-row h4 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 3px;
}
.pillar-row p {
  font-size: 0.81rem;
  line-height: 1.5;
  color: var(--ink-on-dark-muted);
  margin: 0;
}

/* Hero Bottom Ribbon */
.hero-ribbon {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.ribbon-item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}
.ribbon-item strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   INTERIOR PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 64px) 0 76px;
  background: var(--bg-obsidian);
  color: #ffffff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 80% 30%, rgba(2, 132, 199, 0.24), transparent 70%),
    linear-gradient(105deg, rgba(5, 8, 17, 0.97) 0%, rgba(5, 8, 17, 0.86) 55%, rgba(5, 8, 17, 0.74) 100%),
    linear-gradient(180deg, transparent 55%, rgba(5, 8, 17, 1) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-on-dark-muted);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--ink-on-dark-soft); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--accent-cyan); }
.breadcrumbs .sep { opacity: 0.45; }
.breadcrumbs .current { color: var(--accent-cyan); }

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px;
  align-items: end;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 720px; margin: 0; }

.page-hero-meta {
  background: rgba(16, 25, 46, 0.68);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
}
.page-hero-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
}
.page-hero-meta-row:first-child { padding-top: 0; }
.page-hero-meta-row:last-child { padding-bottom: 0; border-bottom: 0; }
.page-hero-meta-row span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.page-hero-meta-row strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   SECTIONS & LAYOUT RHYTHM
   ========================================================================== */
.section {
  padding: clamp(72px, 8vw, 118px) 0;
  position: relative;
}
.section-light { background: var(--bg-light); color: var(--ink-body); }
.section-alabaster { background: var(--bg-alabaster); color: var(--ink-body); }
.section-dark {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark-soft);
}
.section-dark-elevated {
  background: var(--bg-obsidian-2);
  color: var(--ink-on-dark-soft);
}
.section-dark h2, .section-dark h3, .section-dark h4,
.section-dark-elevated h2, .section-dark-elevated h3, .section-dark-elevated h4 {
  color: #ffffff;
}
.section-light h2, .section-light h3, .section-light h4,
.section-alabaster h2, .section-alabaster h3, .section-alabaster h4 {
  color: var(--ink-dark);
}

.section-header {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header.centered .eyebrow { justify-content: center; }
.section-header p { margin: 16px 0 0; }

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 56px);
  flex-wrap: wrap;
}
.section-header-split .section-header { margin-bottom: 0; }

/* Architectural Split Showcase */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-grid.reverse .split-media { order: -1; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: var(--bg-obsidian-2);
}
.section-dark .media-frame,
.section-dark-elevated .media-frame {
  border-color: var(--border-dark-strong);
  box-shadow: var(--shadow-dark);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.media-frame:hover img { transform: scale(1.03); }
.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(5, 8, 17, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.media-caption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ice);
}
.media-caption small {
  font-size: 0.78rem;
  color: var(--ink-on-dark-muted);
}

/* Rich Editorial Text Blocks */
.editorial-stack p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.8;
}
.editorial-stack p:last-child { margin-bottom: 0; }

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.62;
}
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
  border: 1.5px solid var(--accent-sapphire);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.section-dark .check-list li::before,
.section-dark-elevated .check-list li::before {
  background-color: rgba(56, 189, 248, 0.14);
  border-color: var(--accent-cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2338bdf8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   CARDS & BENTO GRIDS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card {
  border-radius: var(--radius-md);
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.32);
}
.section-dark .card,
.section-dark-elevated .card {
  background: var(--bg-obsidian-card);
  border-color: var(--border-dark);
  box-shadow: none;
}
.section-dark .card:hover,
.section-dark-elevated .card:hover {
  border-color: rgba(56, 189, 248, 0.36);
  background: rgba(16, 25, 46, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(2, 132, 199, 0.09);
  border: 1px solid rgba(2, 132, 199, 0.18);
  color: var(--accent-sapphire);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.section-dark .card-icon,
.section-dark-elevated .card-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.24);
  color: var(--accent-cyan);
}
.card-icon svg { width: 22px; height: 22px; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sapphire);
  margin-bottom: 10px;
}
.section-dark .card-tag,
.section-dark-elevated .card-tag { color: var(--accent-cyan); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}
.card p {
  font-size: 0.94rem;
  line-height: 1.68;
  margin: 0;
  color: var(--ink-body);
}
.section-dark .card p,
.section-dark-elevated .card p { color: var(--ink-on-dark-muted); }

.card-link {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-sapphire);
}
.section-dark .card-link,
.section-dark-elevated .card-link { color: var(--accent-cyan); }
.card-link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Visual Feature Card (Image + Overlay Body) */
.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-obsidian-2);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.42);
}
.visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 700ms var(--ease-out), opacity var(--t-med);
}
.visual-card:hover img { transform: scale(1.05); opacity: 0.76; }
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.14) 0%, rgba(5, 8, 17, 0.72) 55%, rgba(5, 8, 17, 0.96) 100%);
}
.visual-card-body { position: relative; z-index: 2; }
.visual-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}
.visual-card p {
  color: var(--ink-on-dark-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Bento Asymmetric Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}
.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

/* ==========================================================================
   INTERACTIVE ARCHITECTURE EXPLORER / TABS
   ========================================================================== */
.explorer-wrap {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.explorer-tab {
  text-align: left;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  color: var(--ink-on-dark-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.section-light .explorer-tab,
.section-alabaster .explorer-tab {
  background: #ffffff;
  border-color: var(--border-light);
  color: var(--ink-body);
}
.explorer-tab:hover {
  border-color: rgba(56, 189, 248, 0.4);
}
.explorer-tab.active {
  background: rgba(2, 132, 199, 0.14);
  border-color: var(--accent-cyan);
  color: #ffffff;
}
.section-light .explorer-tab.active,
.section-alabaster .explorer-tab.active {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: #ffffff;
}
.explorer-tab-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}
.section-light .explorer-tab:not(.active) .explorer-tab-code,
.section-alabaster .explorer-tab:not(.active) .explorer-tab-code {
  color: var(--accent-sapphire);
}
.explorer-tab-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.explorer-panel {
  display: none;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: rgba(16, 25, 46, 0.72);
  border: 1px solid var(--border-dark-strong);
  animation: fadeSlideUp 320ms var(--ease-out);
}
.section-light .explorer-panel,
.section-alabaster .explorer-panel {
  background: #ffffff;
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}
.explorer-panel.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.explorer-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.explorer-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.highlight-box {
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
}
.section-light .highlight-box,
.section-alabaster .highlight-box {
  background: var(--bg-alabaster);
  border-color: var(--border-light);
}
.highlight-box h4 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.highlight-box p {
  font-size: 0.86rem;
  line-height: 1.58;
  margin: 0;
}

/* ==========================================================================
   CUSTOM ARCHITECTURAL SVG DIAGRAM FRAME
   ========================================================================== */
.diagram-frame {
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(155deg, #091021 0%, #0d172c 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.diagram-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.diagram-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-champagne);
  background: var(--accent-champagne-soft);
  border: 1px solid rgba(200, 169, 106, 0.28);
  padding: 4px 10px;
  border-radius: 99px;
}
.diagram-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   PROCESS / METHODOLOGY STEPS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.process-step {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  position: relative;
}
.section-dark .process-step,
.section-dark-elevated .process-step {
  background: rgba(16, 25, 46, 0.65);
  border-color: var(--border-dark);
}
.step-phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sapphire);
  background: rgba(2, 132, 199, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-dark .step-phase,
.section-dark-elevated .step-phase {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.14);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   QUOTE / EXECUTIVE MANIFESTO BAND
   ========================================================================== */
.manifesto-box {
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(135deg, #080e1d 0%, #0f1b35 60%, #0a1428 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.manifesto-box::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 68%);
  pointer-events: none;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 960px;
  position: relative;
}
.manifesto-attrib {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-champagne);
}

/* ==========================================================================
   ACCORDION / FAQ
   ========================================================================== */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.faq-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light-strong);
  background: #ffffff;
  color: var(--ink-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.faq-filter-btn:hover { border-color: var(--accent-sapphire); color: var(--accent-sapphire); }
.faq-filter-btn.active {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: #ffffff;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.accordion-item.open {
  border-color: rgba(2, 132, 199, 0.36);
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-dark);
  cursor: pointer;
}
.accordion-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--accent-sapphire);
  flex-shrink: 0;
  transition: transform 240ms var(--ease-out);
}
.accordion-item.open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-content {
  display: none;
  padding: 0 26px 24px;
  color: var(--ink-body);
  font-size: 0.96rem;
  line-height: 1.75;
}
.accordion-item.open .accordion-content { display: block; }

/* ==========================================================================
   OFFICIAL CORPORATE REGISTRY TABLE & CONTACT FORM
   ========================================================================== */
.registry-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.registry-header {
  background: var(--bg-obsidian);
  color: #ffffff;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.registry-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
}
.registry-table {
  width: 100%;
  border-collapse: collapse;
}
.registry-table tr {
  border-bottom: 1px solid var(--border-light);
}
.registry-table tr:last-child { border-bottom: 0; }
.registry-table th,
.registry-table td {
  padding: 18px 32px;
  text-align: left;
  vertical-align: middle;
}
.registry-table th {
  width: 34%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-dark);
  background: var(--bg-alabaster);
}
.registry-table td {
  font-size: 0.96rem;
  color: var(--ink-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light-strong);
  background: #ffffff;
  color: var(--ink-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.copy-btn:hover {
  border-color: var(--accent-sapphire);
  color: var(--accent-sapphire);
}
.copy-btn.copied {
  background: var(--accent-sapphire);
  border-color: var(--accent-sapphire);
  color: #ffffff;
}

/* Form */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-dark);
}
.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-light-strong);
  background: var(--bg-alabaster);
  color: var(--ink-dark);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-sapphire);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

/* ==========================================================================
   RELATED PAGES NAVIGATION STRIP & CTA BAND
   ========================================================================== */
.related-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cta-banner {
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 68px);
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(56, 189, 248, 0.22), transparent 65%),
    linear-gradient(130deg, #060b18 0%, #0e1a33 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #ffffff; margin: 0 0 12px; max-width: 660px; }
.cta-banner p { color: var(--ink-on-dark-soft); margin: 0; max-width: 620px; }

/* ==========================================================================
   FOOTER (ENTERPRISE HOLDING DIRECTORY)
   ========================================================================== */
.site-footer {
  background: #04070f;
  color: var(--ink-on-dark-muted);
  border-top: 1px solid var(--border-dark);
  padding-top: 76px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 22px;
  max-width: 340px;
}
.footer-hq-box {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-on-dark-soft);
}
.footer-hq-box strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--ink-on-dark-muted);
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}
.footer-col a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-registry-bar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-on-dark-muted);
}
.footer-registry-bar strong { color: var(--ink-on-dark-soft); font-weight: 500; }

.footer-bottom {
  padding: 24px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-legal-links a:hover { color: #ffffff; }

/* Scroll-to-Top Button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10, 16, 31, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-fast);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-sapphire);
  color: #ffffff;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-menu, .nav-cta { display: none; }
  .mobile-toggle { display: grid; }
  .hero-grid,
  .page-hero-layout,
  .split-grid,
  .explorer-wrap {
    grid-template-columns: 1fr;
  }
  .split-grid.reverse .split-media { order: 0; }
  .hero-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .bento-span-7, .bento-span-5, .bento-span-8, .bento-span-4, .bento-span-6 { grid-column: span 12; }
}

@media (max-width: 760px) {
  :root { --nav-height: 72px; }
  .grid-2, .grid-3, .grid-4, .process-grid, .related-strip, .explorer-highlights, .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-ribbon { grid-template-columns: 1fr; }
  .search-trigger span, .kbd-hint { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .registry-table th, .registry-table td {
    display: block;
    width: 100%;
    padding: 14px 20px;
  }
  .registry-table td {
    display: flex;
    border-top: 0;
  }
}
