/* =============================================================
   KONECTSYSTEMS — Master Stylesheet
   Konecity Technology Corp | DBA KonectSystems
   ============================================================= */

:root {
  /* Color System */
  --ink: #0A0F1E;
  --ink-80: #1A2238;
  --ink-60: #2D3A52;
  --ink-40: #64748B;
  --ink-20: #94A3B8;
  --rule: #E2E8F0;
  --rule-light: #F1F5F9;
  --page: #FAFBFC;
  --white: #FFFFFF;
  --accent: #1E3A8A;
  --accent-mid: #2563EB;
  --accent-light: #EEF4FF;
  --gold: #B8860B;
  --gold-light: #FFF8E7;

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Layout */
  --max-width: 1280px;
  --content-width: 1080px;
  --narrow-width: 780px;
  --nav-height: 72px;

  /* Spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ========== NAVIGATION ========== */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--s6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-text .brand-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-brand-text .brand-sub {
  font-size: 10px;
  color: var(--ink-40);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s7);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-60);
  font-weight: 500;
  transition: color 0.15s;
  letter-spacing: -0.005em;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.lang-switcher {
  display: flex;
  gap: var(--s2);
  padding: var(--s2);
  background: var(--rule-light);
  border-radius: 8px;
}

.lang-switcher a {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
}

.lang-switcher a.active {
  background: var(--ink);
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-mobile-toggle {
  display: none;
  padding: 8px;
  border-radius: 6px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: 0.2s;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
}

h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
}

h4 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-mid);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s4);
  display: block;
}

.eyebrow-light {
  color: var(--white);
  opacity: 0.7;
}

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 720px;
  font-weight: 400;
}

p {
  margin-bottom: var(--s4);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

blockquote {
  border-left: 3px solid var(--accent-mid);
  padding-left: var(--s5);
  margin: var(--s6) 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}

/* ========== LAYOUT COMPONENTS ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

.container-narrow {
  max-width: var(--narrow-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

.container-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

section {
  padding: var(--s10) 0;
}

section.section-compact {
  padding: var(--s9) 0;
}

section.section-tight {
  padding: var(--s8) 0;
}

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

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

section.section-dark .lede,
section.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ========== HERO ========== */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--nav-height) + var(--s9)) 0 var(--s9);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s6);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s9);
  align-items: center;
  min-height: 520px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--s5);
}

.hero-content .hero-manifesto {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: var(--s6) 0;
  padding: var(--s5) 0 var(--s5) var(--s5);
  border-left: 2px solid var(--accent-mid);
}

.hero-content p.lede {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--s6);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s6);
}

.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1E3A8A 0%, #0A0F1E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .visual-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--s5);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-mid);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--accent);
}

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-arrow::after {
  content: '→';
  margin-left: 4px;
  transition: transform 0.15s;
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ========== METRICS BAND ========== */
.metrics-band {
  background: var(--ink);
  padding: var(--s8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s7);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

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

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--white);
  margin-bottom: var(--s2);
  font-weight: 400;
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  max-width: 780px;
  margin-bottom: var(--s8);
}

.section-header h2 {
  margin-bottom: var(--s5);
}

.section-header p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-60);
}

/* ========== TWO COLUMN LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s9);
  align-items: center;
  margin-bottom: var(--s9);
}

.two-col:last-child {
  margin-bottom: 0;
}

.two-col-reverse {
  grid-template-columns: 1fr 1fr;
}

.two-col-visual {
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E3A8A 0%, #0A0F1E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.two-col-visual .visual-placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--s5);
}

.two-col-content h3 {
  margin-bottom: var(--s5);
}

/* ========== FEATURE GRID ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.feature-card {
  padding: var(--s6);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-mid);
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.06);
  transform: translateY(-2px);
}

.feature-card .feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-mid);
  font-weight: 600;
  margin-bottom: var(--s4);
  display: block;
  letter-spacing: 0.1em;
}

.feature-card h4 {
  margin-bottom: var(--s3);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
}

/* ========== SUBSYSTEM CARDS ========== */
.subsystem-list {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.subsystem-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s6);
  padding: var(--s6);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-items: start;
  transition: all 0.2s;
}

.subsystem-card:hover {
  border-color: var(--accent-mid);
  box-shadow: 0 4px 16px rgba(10, 15, 30, 0.04);
}

.subsystem-card .sys-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  background: var(--ink);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  min-width: 100px;
  text-align: center;
}

.subsystem-card .sys-content h4 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: var(--s3);
}

.subsystem-card .sys-content .sys-tagline {
  font-size: 14px;
  color: var(--accent-mid);
  font-weight: 500;
  margin-bottom: var(--s3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.subsystem-card .sys-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-60);
}

.subsystem-card .sys-metrics {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-40);
  text-align: right;
  line-height: 1.6;
  min-width: 160px;
}

.subsystem-card .sys-metrics strong {
  color: var(--ink);
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

/* ========== COMPARISON TABLE ========== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: var(--s6) 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 15, 30, 0.04);
}

.comparison-table thead th {
  background: var(--ink);
  color: var(--white);
  padding: var(--s5) var(--s5);
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.comparison-table thead th:first-child {
  width: 25%;
}

.comparison-table tbody td {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
}

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

.comparison-table tbody tr:nth-child(even) {
  background: var(--rule-light);
}

.comparison-table .feat-label {
  font-weight: 600;
  color: var(--ink);
}

.comparison-table .us-col {
  color: var(--ink);
  font-weight: 500;
}

.comparison-table .them-col {
  color: var(--ink-60);
}

/* ========== CASE STUDIES ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.case-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: var(--s6);
  transition: all 0.2s;
}

.case-card:hover {
  border-color: var(--accent-mid);
  box-shadow: 0 4px 16px rgba(10, 15, 30, 0.06);
}

.case-card .case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-mid);
  background: var(--accent-light);
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s4);
}

.case-card .case-tag.op-live {
  color: #047857;
  background: #ECFDF5;
}

.case-card .case-tag.op-ref {
  color: var(--accent);
  background: var(--accent-light);
}

.case-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: var(--s3);
}

.case-card .case-meta {
  font-size: 13px;
  color: var(--ink-40);
  margin-bottom: var(--s4);
  font-family: var(--font-mono);
}

.case-card p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.6;
}

.case-card .case-metrics {
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink);
}

.case-card .case-metrics strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
}

/* ========== VERTICAL BLOCKS ========== */
.vertical-block {
  background: var(--white);
  border-radius: 12px;
  padding: var(--s7);
  margin-bottom: var(--s6);
  border: 1px solid var(--rule);
}

.vertical-block:last-child {
  margin-bottom: 0;
}

.vertical-block .v-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-mid);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: var(--s3);
  display: block;
}

.vertical-block h3 {
  margin-bottom: var(--s3);
}

.vertical-block .v-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  margin-bottom: var(--s5);
}

.vertical-block .v-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s7);
  margin-top: var(--s5);
}

.vertical-block .v-desc p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-60);
  margin-bottom: var(--s4);
}

.vertical-block .v-metrics h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s3);
  font-weight: 500;
}

.vertical-block .v-metrics-list {
  list-style: none;
  padding: 0;
}

.vertical-block .v-metrics-list li {
  padding: var(--s2) 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink-60);
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
}

.vertical-block .v-metrics-list li:last-child {
  border-bottom: none;
}

.vertical-block .v-metrics-list li strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ========== NOVA CONSTELLATION TEASER ========== */
.nova-teaser {
  background: linear-gradient(135deg, #0A0F1E 0%, #1E3A8A 100%);
  border-radius: 12px;
  padding: var(--s9);
  margin-top: var(--s8);
  position: relative;
  overflow: hidden;
}

.nova-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.nova-teaser .nova-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.nova-teaser .nova-label {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
  display: block;
}

.nova-teaser h3 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: var(--s5);
}

.nova-teaser p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: var(--s6);
}

.nova-teaser .gated-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s5);
  letter-spacing: 0.04em;
}

/* ========== TEAM / OFFICES ========== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.office-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: var(--s6);
}

.office-card .office-flag {
  font-size: 32px;
  margin-bottom: var(--s4);
  display: block;
}

.office-card .office-country {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s2);
}

.office-card h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: var(--s3);
}

.office-card .office-address {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.6;
  margin-bottom: var(--s4);
}

.office-card .office-role {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
  font-weight: 500;
}

/* ========== LEADERSHIP ========== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: var(--s7);
}

.leader-card .leader-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 600;
  margin-bottom: var(--s3);
  display: block;
}

.leader-card h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: var(--s5);
}

.leader-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-60);
  margin-bottom: var(--s4);
}

.leader-card .leader-linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--accent-mid);
  font-size: 13px;
  font-weight: 500;
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}

.leader-card .leader-linkedin:hover {
  color: var(--ink);
}

/* ========== FORMS ========== */
.form-block {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: var(--s7);
  max-width: 640px;
  margin: 0 auto;
}

.form-tabs {
  display: flex;
  gap: var(--s2);
  margin-bottom: var(--s6);
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}

.form-tab {
  padding: var(--s3) var(--s4);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-40);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}

.form-tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent-mid);
}

.form-tab:hover {
  color: var(--ink);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s2);
}

.form-group label .required {
  color: #DC2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--s4);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-sans);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  margin-bottom: var(--s5);
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink);
}

.form-consent a {
  color: var(--accent-mid);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  padding: var(--s4);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.form-submit:hover {
  background: var(--accent);
}

.form-footnote {
  font-size: 12px;
  color: var(--ink-40);
  margin-top: var(--s4);
  line-height: 1.5;
}

/* ========== JUICER FEED CONTAINER ========== */
.juicer-section {
  background: var(--rule-light);
  padding: var(--s9) 0;
  border-top: 1px solid var(--rule);
}

.juicer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

.juicer-header {
  margin-bottom: var(--s7);
  max-width: 600px;
}

.juicer-header .eyebrow {
  color: var(--accent-mid);
}

.juicer-header h2 {
  margin-bottom: var(--s3);
}

.juicer-header p {
  font-size: 16px;
  color: var(--ink-60);
}

.juicer-feed-container {
  min-height: 100px;
}

/* Juicer feed custom styling */
.juicer-feed ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--s4) !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.juicer-feed li {
  background: var(--white) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 8px !important;
  padding: var(--s5) !important;
  transition: all 0.2s !important;
  height: auto !important;
  min-height: 180px !important;
}

.juicer-feed li:hover {
  border-color: var(--accent-mid) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(10, 15, 30, 0.06) !important;
}

.juicer-feed .j-text {
  color: var(--ink) !important;
  line-height: 1.55 !important;
  font-size: 14px !important;
  font-family: var(--font-sans) !important;
}

.juicer-feed .j-date {
  color: var(--ink-40) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.juicer-feed a {
  color: var(--accent-mid) !important;
  text-decoration: none !important;
}

.juicer-feed a:hover {
  color: var(--ink) !important;
}

/* ========== FOOTER ========== */
footer.main-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s8) 0 var(--s6);
  font-size: 14px;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s6);
}

footer .footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s7);
  padding-bottom: var(--s7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-brand img {
  height: 44px;
  margin-bottom: var(--s4);
}

footer .footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

footer .footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s4);
  font-family: var(--font-sans);
}

footer .footer-col ul {
  list-style: none;
  padding: 0;
}

footer .footer-col li {
  margin-bottom: var(--s3);
}

footer .footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: color 0.15s;
}

footer .footer-col a:hover {
  color: var(--white);
}

footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s6);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: var(--s4);
}

footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: var(--s5);
}

footer .footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== SPLIT CTA BANDS ========== */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin: var(--s8) 0 0 0;
}

.cta-split-card {
  background: var(--white);
  padding: var(--s8) var(--s7);
  transition: background 0.15s;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.cta-split-card:hover {
  background: var(--rule-light);
}

.cta-split-card .cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: var(--s3);
  display: block;
}

.cta-split-card h3 {
  font-size: 28px;
  margin-bottom: var(--s3);
  color: var(--ink);
}

.cta-split-card p {
  color: var(--ink-60);
  font-size: 15px;
  margin-bottom: var(--s4);
}

.cta-split-card .cta-arrow {
  color: var(--accent-mid);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s7);
  }

  .hero-visual {
    order: -1;
    aspect-ratio: 16/10;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s6);
  }

  .two-col,
  .two-col-reverse {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }

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

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

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

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

  .cta-split {
    grid-template-columns: 1fr;
  }

  .subsystem-card {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .subsystem-card .sys-metrics {
    text-align: left;
  }

  .vertical-block .v-content {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--s5);
    border-bottom: 1px solid var(--rule);
    gap: var(--s4);
  }

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

  .nav-mobile-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-inner {
    padding: 0 var(--s5);
  }

  section {
    padding: var(--s8) 0;
  }

  .container,
  .container-narrow,
  .container-content {
    padding: 0 var(--s5);
  }

  .hero {
    padding: calc(var(--nav-height) + var(--s7)) 0 var(--s7);
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

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

  .juicer-feed ul {
    grid-template-columns: 1fr !important;
  }

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

  footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  footer .footer-bottom a {
    margin-left: 0;
    margin-right: var(--s5);
  }

  .vertical-block {
    padding: var(--s5);
  }

  .nova-teaser {
    padding: var(--s6);
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  blockquote {
    font-size: 18px;
    padding-left: var(--s4);
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out both;
}

/* ========== PRINT ========== */
@media print {
  nav, footer, .juicer-section {
    display: none;
  }
}

/* ========== MEDIA PAGE ========== */
.featured-video {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto var(--s7);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 15, 30, 0.15);
  background: var(--ink);
}
.featured-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}
.video-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}
.video-card:hover {
  border-color: var(--accent-mid);
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.08);
  transform: translateY(-2px);
}
.video-card .video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--ink);
}
.video-card .video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-card .video-meta {
  padding: var(--s4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--rule);
}
.follow-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin: var(--s8) 0;
}
.follow-card {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: var(--s6);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: all 0.2s;
  text-decoration: none;
}
.follow-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.06);
}
.follow-card .follow-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}
.follow-card .follow-content h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.follow-card .follow-content p {
  font-size: 13px;
  color: var(--ink-60);
  margin: 0;
}
.follow-card .follow-arrow {
  color: var(--accent-mid);
  font-size: 18px;
  margin-left: auto;
  transition: transform 0.15s;
}
.follow-card:hover .follow-arrow {
  transform: translateX(4px);
}

/* Home media teaser */
.media-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.media-teaser-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
}
.media-teaser-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.08);
}
.media-teaser-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1E3A8A 0%, #0A0F1E 100%);
  position: relative;
  overflow: hidden;
}
.media-teaser-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-teaser-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 18px;
  transition: transform 0.2s;
}
.media-teaser-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}
.media-teaser-card .info {
  padding: var(--s4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s4);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  font-family: var(--font-sans);
}
.footer-social a:hover {
  background: var(--accent-mid);
  color: var(--white);
}

@media (max-width: 1024px) {
  .video-grid { grid-template-columns: 1fr; }
  .media-teaser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .follow-row { grid-template-columns: 1fr; }
}
