/* =============================================================
   PRATYAX DYNAMICS · console site
   ============================================================= */

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

:root {
  /* Default palette: ONYX & BRASS */
  --bg-0: #0B1116;
  --bg-1: #111A21;
  --bg-2: #17232C;
  --border: #263744;
  --border-soft: rgba(38, 55, 68, 0.55);
  --text-1: #D7E3EA;
  --text-2: #8FA6B3;
  --text-3: #5E7380;
  --accent: #C79A3B;
  --accent-warm: #D9B05A;
  --accent-rust: #C95A4A;
  --accent-on: #0B1116;

  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-w: 1120px;
  --side: clamp(20px, 5vw, 56px);
  --row-height: 76px;

  --type-h1: clamp(56px, 5.5vw, 72px);
  --type-h2: clamp(40px, 4vw, 48px);
  --type-h3: clamp(28px, 2.6vw, 32px);
  --type-lead: clamp(20px, 2vw, 24px);
  --type-body: clamp(16px, 1.15vw, 18px);
  --type-small: 14px;
  --type-label: 12px;
}

/* SIGNAL — handoff teal (military cyan #7AC4D6) */
:root[data-palette="slate"] {
  --bg-0: #0B1116;
  --bg-1: #111A21;
  --bg-2: #17232C;
  --border: #263744;
  --accent: #7AC4D6;
  --accent-warm: #9DD6E4;
  --accent-rust: #2E5F6A;
  --accent-on: #06080A;
}

/* ASH — no warm accent, restrained mono palette */
:root[data-palette="ash"] {
  --bg-0: #0B1116;
  --bg-1: #111A21;
  --bg-2: #17232C;
  --border: #263744;
  --accent: #B7C5CC;
  --accent-warm: #D7E3EA;
  --accent-rust: #8FA6B3;
  --accent-on: #0B1116;
}

html {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

body { min-height: 100vh; overflow-x: hidden; overflow-anchor: none; }

::selection { background: var(--accent); color: var(--accent-on); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ----- Type primitives ----- */
.mono {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mono-accent { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

/* ============ NAV ============ */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 var(--side);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: rgba(11, 17, 22, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border-soft);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-mark { display: flex; align-items: center; gap: 12px; }
.nav-mark .eye {
  width: 30px; height: 30px;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.2) brightness(1.08);
  opacity: 0.86;
}
.nav-mark .wordmark {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 0.18em;
}
.nav-mark .wordmark-suffix {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-2);
  margin-left: 0;
  display: inline-block;
}

.nav-right {
  display: flex; align-items: center; gap: 24px;
}
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.nav-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.nav-cta {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-1);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.nav-cta::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  display: inline-block;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent-warm);
}

/* ============ HERO ============ */
#hero {
  min-height: 82svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(86px, 10vh, 116px) var(--side) clamp(40px, 5vw, 60px);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  left: var(--side);
  right: var(--side);
  top: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-soft), transparent);
  opacity: 0.45;
  pointer-events: none;
}

.hero-strip {
  position: absolute;
  top: 76px;
  left: var(--side);
  right: var(--side);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.hero-strip .strip-line { flex: 1; height: 1px; background: var(--border-soft); }
.hero-strip .strip-label {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.hero-strip .strip-pill {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  white-space: nowrap;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--f-display);
  font-size: var(--type-h1);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--text-1);
  max-width: 13ch;
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero-command { display: block; }
.hero-headline em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.12em;
  margin-top: 0.08em;
}

.hero-sub {
  font-size: var(--type-lead);
  color: var(--text-2);
  max-width: min(56ch, 72vw);
  line-height: 1.43;
  margin-bottom: 38px;
  font-weight: 400;
  text-wrap: pretty;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-warm); border-color: var(--accent-warm); }

.btn-ghost {
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text-1); border-color: var(--text-2); }

.btn-bare {
  color: var(--text-2);
  padding: 14px 4px;
}
.btn-bare:hover { color: var(--accent); }

/* ============ DIVIDER STRIP between hero and console ============ */
.section-bridge {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 12px var(--side);
}
.section-bridge-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}
.section-bridge-inner .sb-item { display: flex; align-items: center; gap: 10px; }
.section-bridge-inner .sb-item strong { color: var(--text-2); font-weight: 500; }
.section-bridge-inner .sb-sep { width: 4px; height: 4px; background: var(--border); }

/* ============ CONSOLE (collapsible sections) ============ */
.console {
  border-bottom: 1px solid var(--border);
}

.row {
  border-top: 1px solid var(--border);
  position: relative;
  transition: background 0.4s ease;
}
.row[data-open="true"] { background: var(--bg-1); }

.row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.row[data-open="true"]::before { opacity: 1; }

.row-head {
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 0 var(--side);
  height: var(--row-height);
  text-align: left;
  position: relative;
  cursor: pointer;
}
.row-head-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
}
.row-head { display: block; padding: 0; }
.row-head > .row-head-inner { padding: 0 var(--side); height: var(--row-height); }

.r-id {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.r-id::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--text-3);
  display: inline-block;
  transition: background 0.3s ease;
}
.row[data-open="true"] .r-id::before { background: var(--accent); }
.row[data-open="true"] .r-id { color: var(--accent); }

.r-title {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.r-title .r-sub {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: 0;
}

.r-meta { display: flex; align-items: center; gap: 22px; }
.r-meta .r-count {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.r-meta .r-state {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.row[data-open="true"] .r-state { color: var(--accent); }
.r-meta .r-state::before { content: 'CLOSED'; }
.row[data-open="true"] .r-state::before { content: 'OPEN'; }

.r-chev {
  width: 14px; height: 14px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.r-chev::before, .r-chev::after {
  content: '';
  position: absolute;
  background: var(--text-2);
  transition: background 0.3s ease;
}
.r-chev::before { left: 0; right: 0; top: 6px; height: 1px; }
.r-chev::after { top: 0; bottom: 0; left: 6px; width: 1px; transition: opacity 0.3s ease, background 0.3s ease; }
.row[data-open="true"] .r-chev::after { opacity: 0; }
.row[data-open="true"] .r-chev::before { background: var(--accent); }

/* Body */
.row-body {
  overflow: hidden;
  overflow-anchor: none;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.row,
.row-head,
.row-body-inner,
.row-body-content {
  overflow-anchor: none;
}

.row-body-inner { overflow: hidden; }
.row-body-content {
  padding: 12px var(--side) clamp(64px, 8vw, 96px);
  max-width: var(--max-w);
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}
.row[data-open="true"] .row-body-content { opacity: 1; }

/* ============ S/01 MANDATE ============ */
.mandate-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
.mandate-item {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.mandate-item:last-child { border-bottom: none; }
.m-num {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-3);
}
.m-title {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
  line-height: 1.1;
}
.m-text {
  font-size: var(--type-body);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 52ch;
}

/* ============ S/02 PLATFORM ============ */
.platform-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  padding-top: 16px;
  align-items: start;
}
.platform-left { position: relative; }
.platform-tag {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.platform-tag > * { white-space: nowrap; }
.platform-tag .tag-pill {
  color: var(--accent);
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.platform-name {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--text-1);
  line-height: 0.88;
  margin-bottom: 20px;
}
.platform-expansion {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.platform-expansion .pe-text { line-height: 1.6; }

.platform-descriptor {
  font-size: var(--type-lead);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 44ch;
  font-weight: 400;
}

.platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.platform-cta:hover { color: var(--accent-warm); gap: 16px; }

.platform-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.p-attr {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}
.p-attr:first-child { padding-top: 0; }
.p-attr:last-child { border-bottom: none; padding-bottom: 0; }
.p-attr .p-num {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.15em;
  padding-top: 4px;
}
.p-attr-body {
  font-size: var(--type-body);
  color: var(--text-2);
  line-height: 1.55;
}
.p-attr-body strong {
  display: block;
  color: var(--text-1);
  font-weight: 600;
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}

/* ============ S/03 TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.team-person {
  background: var(--bg-2);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.person-role {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.person-name {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.015em;
}
/* ============ CAREERS ============ */
.careers-section {
  border-top: 1px solid var(--border);
  background: var(--bg-0);
  padding: clamp(36px, 5vw, 56px) var(--side);
}
.careers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.careers-disclosure {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.careers-disclosure summary {
  list-style: none;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  cursor: pointer;
}
.careers-disclosure summary::-webkit-details-marker { display: none; }
.careers-disclosure .section-kicker { grid-column: 1; }
.careers-summary-title { grid-column: 2; min-width: 0; }
.careers-summary-meta { grid-column: 3; }
.careers-disclosure summary::after {
  content: '+';
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--text-2);
  line-height: 1;
}
.careers-disclosure[open] summary::after { content: '-'; color: var(--accent); }
.section-kicker {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0;
}
.careers-summary-title {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  color: var(--text-1);
}
.careers-summary-meta {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.careers-panel {
  padding: 8px 0 clamp(32px, 4vw, 48px);
}
.careers-intro {
  max-width: 64ch;
  margin-bottom: 28px;
}
.careers-headline {
  font-family: var(--f-display);
  font-size: var(--type-h2);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 16px;
  line-height: 1.05;
}
.careers-text {
  font-size: var(--type-body);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 64ch;
}

/* ============ S/05 CONTACT ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-headline {
  font-family: var(--f-display);
  font-size: var(--type-h2);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-1);
  line-height: 1.05;
  margin-bottom: 20px;
}
.contact-text {
  font-size: var(--type-body);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 48ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.contact-link {
  display: grid;
  grid-template-columns: 72px 1fr 16px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--type-body);
  color: var(--text-1);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent-warm); }
.contact-link .cl-label {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}
.contact-link .cl-arrow { color: var(--text-3); transition: transform 0.2s, color 0.2s; }
.contact-link:hover .cl-arrow { transform: translateX(4px); color: var(--accent); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 2px;
}
.form-label {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-title {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-1);
  margin-bottom: 10px;
}
.form-desc {
  font-size: var(--type-small);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 26px;
}
.form-row { margin-bottom: 12px; }
.form-row label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-3); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); background: var(--bg-1); }
.form-row select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238FA6B3' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row textarea { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 2px;
  margin-top: 12px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.form-submit:hover { background: var(--accent-warm); }
.form-submit.success { background: #6FA98C; color: #0B1116; }
.form-submit.mailto { background: transparent; color: var(--text-1); border: 1px solid var(--accent); }
.form-submit[disabled] { opacity: 0.7; cursor: wait; }

.form-note {
  font-size: var(--type-label);
  color: var(--text-3);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-note::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--text-3);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 56px var(--side) 36px;
  background: var(--bg-1);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(120px, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-mark {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .footer-mark img {
  height: 30px;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}
.footer-brand .footer-mark span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-1);
  white-space: nowrap;
}
.footer-brand p {
  font-size: var(--type-small);
  color: var(--text-3);
  line-height: 1.6;
  max-width: 36ch;
}
.footer-col-title {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col li {
  font-size: var(--type-small);
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-warm); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-bottom > div { white-space: nowrap; }
.footer-bottom .fb-right { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============ TEAM HEADSHOT + LINKEDIN ============ */
.person-header {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 18px 20px;
  margin-bottom: 20px;
}
.person-photo-frame {
  width: 112px;
  height: 112px;
  border-radius: 2px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-2);
}
.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.15) brightness(0.88);
  mix-blend-mode: luminosity;
}
.team-person:first-child .person-photo {
  object-position: 50% 22%;
}
.team-person:nth-child(2) .person-photo {
  transform: scale(1.16);
  transform-origin: 38% 50%;
}
.person-photo-initials {
  width: 100%;
  height: 100%;
  background: var(--bg-2);
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--text-3);
}
.person-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.person-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7AC4D6;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  margin-top: 4px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(122, 196, 214, 0.28);
  background: rgba(122, 196, 214, 0.05);
}
.person-linkedin:hover {
  color: var(--text-1);
  border-color: rgba(122, 196, 214, 0.7);
  background: rgba(122, 196, 214, 0.12);
}

/* ============ CAREERS ROLE LIST ============ */
.roles-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.role-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.role-item:last-child { border-bottom: none; }
.role-item-left { flex: 1; min-width: 0; }
.role-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.role-status {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-status::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.role-title {
  font-family: var(--f-display);
  font-size: var(--type-h3);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.role-desc {
  font-size: var(--type-small);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 52ch;
}
.role-meta-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.role-tag-pill {
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 2px;
  white-space: nowrap;
}
.role-apply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on);
  background: var(--accent);
  padding: 11px 20px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, gap 0.2s;
}
.role-apply:hover { background: var(--accent-warm); gap: 14px; }

/* ============ FOOTER SOCIAL LINKS ============ */
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--type-small);
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--accent-warm); }
.footer-social-link svg { flex-shrink: 0; opacity: 0.75; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root {
    --side: clamp(18px, 4vw, 40px);
    --type-h1: clamp(48px, 6vw, 64px);
    --type-h2: clamp(34px, 4.4vw, 44px);
    --type-h3: clamp(26px, 3.2vw, 32px);
    --type-lead: clamp(19px, 2.4vw, 22px);
    --type-body: 16px;
  }

  #hero {
    min-height: 78svh;
    justify-content: flex-start;
    padding-top: clamp(132px, 16vh, 172px);
    padding-bottom: 64px;
  }

  .hero-headline { max-width: 13ch; }
  .hero-strip { gap: 12px; }
  .hero-strip .strip-label { letter-spacing: 0.14em; }
}

@media (min-width: 821px) {
  .hero-headline {
    max-width: none;
  }

  .hero-command {
    white-space: nowrap;
  }

  .hero-headline em {
    display: block;
  }
}

@media (min-width: 821px) and (max-width: 1280px) and (orientation: landscape) {
  #hero {
    min-height: 82svh;
    justify-content: flex-start;
    padding-top: clamp(176px, 22vh, 204px);
    padding-bottom: 56px;
  }

  .hero-headline {
    max-width: none;
    font-size: clamp(42px, 4.8vw, 62px);
    line-height: 1.02;
    margin-bottom: 24px;
  }

  .hero-headline em {
    font-size: 1.12em;
    margin-top: 0.08em;
  }

  .hero-sub {
    max-width: min(54ch, 68vw);
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .m-text,
  .p-attr-body,
  .person-role,
  .careers-text {
    line-height: 1.55;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) and (orientation: landscape) {
  #hero {
    justify-content: flex-start;
    padding-top: clamp(168px, 18vh, 196px);
  }

  .hero-headline {
    max-width: none;
    font-size: clamp(56px, 4.8vw, 68px);
    line-height: 1.02;
    margin-bottom: 24px;
  }

  .hero-headline em {
    font-size: 1.12em;
    margin-top: 0.08em;
  }

  .hero-sub {
    max-width: min(56ch, 62vw);
    font-size: clamp(19px, 1.55vw, 22px);
    line-height: 1.4;
    margin-bottom: 30px;
  }
}

@media (max-width: 820px) {
  :root {
    --row-height: 72px;
    --type-h1: clamp(42px, 8vw, 56px);
    --type-h2: clamp(30px, 5vw, 40px);
    --type-h3: clamp(24px, 4vw, 30px);
    --type-lead: clamp(18px, 2.8vw, 20px);
  }

  nav.top { height: 60px; }
  .nav-inner { gap: 16px; }

  #hero {
    min-height: 80svh;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-strip {
    top: 68px;
    gap: 10px;
  }
  .hero-strip .strip-line:nth-of-type(2),
  .hero-strip .strip-label:last-child { display: none; }
  .hero-content { max-width: 680px; }
  .hero-sub {
    max-width: min(48ch, 88vw);
    line-height: 1.42;
  }

  .platform-wrap,
  .contact-wrap,
  .team-grid { grid-template-columns: 1fr; }

  .team-grid { gap: 1px; }
  .mandate-item { grid-template-columns: 60px 1fr; }
  .mandate-item .m-text { grid-column: 1 / -1; padding-left: 60px; }

  .row-head > .row-head-inner { grid-template-columns: 60px 1fr auto; gap: 16px; }
  .r-meta .r-count { display: none; }
  .nav-mark .wordmark-suffix { display: none; }
  .nav-status { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .role-item-right { align-items: flex-start; }
  .platform-name { font-size: clamp(56px, 12vw, 88px); }
  .section-bridge-inner { justify-content: flex-start; }
}

@media (max-width: 520px) {
  :root {
    --side: 18px;
    --row-height: auto;
    --type-h1: clamp(34px, 10vw, 42px);
    --type-h2: clamp(28px, 8vw, 36px);
    --type-h3: clamp(22px, 6.4vw, 26px);
    --type-lead: clamp(18px, 5vw, 20px);
    --type-body: 16px;
  }

  nav.top {
    height: 58px;
    background: rgba(11, 17, 22, 0.88);
    border-bottom-color: var(--border-soft);
  }
  .nav-mark { gap: 10px; min-width: 0; }
  .nav-mark .eye { width: 26px; height: 26px; }
  .nav-mark .wordmark { font-size: 13px; letter-spacing: 0.14em; }
  .nav-right { gap: 0; }
  .nav-cta {
    padding: 9px 11px;
    letter-spacing: 0.1em;
  }
  .nav-cta::before { display: none; }

  #hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero-strip {
    top: 70px;
    left: var(--side);
    right: var(--side);
  }
  .hero-strip .strip-line { min-width: 24px; }
  .hero-strip .strip-label {
    max-width: none;
    min-width: 0;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: normal;
  }
  .hero-strip .strip-pill { padding: 4px 8px; }

  .hero-headline {
    max-width: 12ch;
    margin-bottom: 22px;
  }
  .hero-sub {
    max-width: 100%;
    font-size: clamp(17px, 4.5vw, 19px);
    line-height: 1.45;
    margin-bottom: 30px;
  }
  .hero-actions {
    align-items: stretch;
    gap: 12px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 13px 16px;
  }

  .section-bridge { padding: 10px var(--side); }
  .section-bridge-inner {
    gap: 10px 14px;
    letter-spacing: 0.12em;
  }
  .section-bridge-inner .sb-sep { display: none; }

  .row-head > .row-head-inner {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 72px;
    padding: 12px var(--side);
  }
  .r-id { letter-spacing: 0.14em; }
  .r-title {
    display: block;
    white-space: normal;
    line-height: 1.12;
  }
  .r-title .r-sub {
    display: block;
    margin-top: 3px;
  }
  .r-meta .r-state { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .row-body-content { padding-bottom: 56px; }
  .mandate-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .mandate-item .m-text {
    grid-column: auto;
    padding-left: 0;
  }
  .platform-name {
    font-size: clamp(48px, 15vw, 68px);
    letter-spacing: -0.035em;
  }
  .platform-expansion { letter-spacing: 0.14em; }
  .p-attr { grid-template-columns: 1fr; gap: 8px; }
  .person-header {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .person-photo-frame {
    width: 96px;
    height: 96px;
  }
  .person-linkedin {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
  .contact-link {
    grid-template-columns: 1fr 16px;
    gap: 6px 14px;
  }
  .contact-link .cl-label {
    grid-column: 1 / -1;
  }
  .contact-form { padding: 22px 18px; }
  .role-item { gap: 18px; }
  .careers-disclosure summary {
    grid-template-columns: 1fr 24px;
    gap: 8px 14px;
    min-height: 88px;
    padding: 12px 0;
  }
  .careers-disclosure summary::after {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
  .careers-disclosure .section-kicker,
  .careers-summary-title,
  .careers-summary-meta {
    grid-column: 1;
  }
  .role-item-right { width: 100%; }
  .role-meta-row { justify-content: flex-start; }
  .role-apply { width: 100%; justify-content: center; }
  .footer-bottom > div { white-space: normal; }
}

:root[data-sarthi-expand="false"] .platform-expansion { display: none; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
