@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@300;400&family=Barlow+Condensed:wght@300;400;600;700&family=Inter:wght@700&display=swap");

:root {
  --white: #ffffff;
  --off: #f5f4f0;
  --ink: #0a0a0a;
  --ink-mid: #3a3a3a;
  --ink-dim: #888888;
  --rule: #d8d4cc;
  --blue: #0000ff;
  --yellow: #ffff00;
  --red: #ff0000;
  --blue-soft: rgba(0, 0, 255, 0.07);
  --yellow-soft: rgba(255, 255, 0, 0.28);
  /** HiprAI wordmark — aligned with images/HiprAI-brandcolor.png */
  --brand-hipr-navy: #0f2137;
  --brand-ai-blue: #003cff;
}

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

html {
  scroll-behavior: smooth;
  /** Fixed site nav (56px); keeps #home / in-page targets visible below header */
  scroll-padding-top: 56px;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* Shared header + footer components */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 56px;
}

.nav-logo {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.015em;
  color: var(--brand-hipr-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-picture {
  display: contents;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  line-height: 1;
}

.nav-logo-wordmark span {
  color: var(--brand-ai-blue);
}

.nav-links {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--rule);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-left: 1px solid var(--blue) !important;
}

.nav-cta:hover {
  background: #0000cc !important;
}

.nav-auth {
  background: var(--white);
  color: var(--ink) !important;
}

.nav-auth:hover {
  background: var(--off) !important;
  color: var(--ink) !important;
}

.nav-auth.signed-in {
  background: #e9fff0;
  color: #125225 !important;
}

.ticker-wrap {
  margin-top: 56px;
}

.session-notice {
  margin-top: 56px;
  background: #fff4d4;
  border-bottom: 1px solid #e6c97b;
  color: #5f4300;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.session-notice[hidden] {
  display: none !important;
}

.session-notice-close {
  border: 1px solid #b7923d;
  background: #fff8e6;
  color: #5f4300;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
}

.session-notice-close:hover {
  background: #f4e1af;
}

.ticker {
  background: #001a66;
  color: #f6fbff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 42s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-footer {
  border-top: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}

.foot-logo {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.015em;
  color: var(--brand-hipr-navy);
}

.foot-logo span {
  color: var(--brand-ai-blue);
}

.foot-copy {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}

.foot-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.foot-link:hover {
  color: var(--blue);
}

/* Shared utility */
.btn-solid {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  padding: 15px 36px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: fit-content;
}

.btn-solid:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  width: fit-content;
}

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

/* Scheduler component */
.scheduler-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scheduler-modal.open {
  display: flex;
}

.scheduler-panel {
  width: min(920px, 100%);
  max-height: none;
  overflow: visible;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
  padding: 20px 24px;
  position: relative;
}

.scheduler-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  cursor: pointer;
}

.scheduler-close:hover {
  background: var(--ink);
  color: var(--white);
}

.scheduler-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 8px;
}

.scheduler-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.scheduler-sub {
  font-family: "Libre Baskerville", serif;
  color: var(--ink-mid);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.scheduler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scheduler-col {
  border: 1px solid var(--rule);
  padding: 12px;
}

.scheduler-col-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 12px;
}

.scheduler-date-list,
.scheduler-time-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.scheduler-date-btn,
.scheduler-time-btn {
  border: 2px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  padding: 8px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  cursor: pointer;
  text-align: center;
}

.scheduler-date-btn:hover,
.scheduler-time-btn:hover {
  border-color: var(--blue);
}

.scheduler-date-btn.selected,
.scheduler-time-btn.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.scheduler-empty {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--ink-dim);
  padding: 10px;
  border: 1px dashed var(--rule);
}

.scheduler-selection {
  margin-top: 12px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-soft);
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
}

.scheduler-email-row {
  margin-top: 10px;
}

.scheduler-email-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.scheduler-email-input {
  width: 100%;
  border: 2px solid var(--ink);
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  outline: none;
}

.scheduler-email-input:focus {
  border-color: var(--blue);
}

.scheduler-email-input.invalid {
  border-color: var(--red);
}

.scheduler-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

#confirmMeetingBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Auth popup */
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 650;
  padding: 20px;
}

.auth-modal.open {
  display: flex;
}

.auth-panel {
  width: min(460px, 100%);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  padding: 18px 18px 16px;
  position: relative;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
}

.auth-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 6px;
}

.auth-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.auth-sub {
  font-family: "Libre Baskerville", serif;
  font-size: 0.9rem;
  color: var(--ink-mid);
  margin-bottom: 12px;
}

.auth-google-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
}

.auth-divider {
  margin: 12px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  text-align: center;
}

.auth-divider span {
  position: relative;
  top: -10px;
  background: var(--white);
  padding: 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: var(--ink-dim);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.auth-input {
  border: 2px solid var(--ink);
  padding: 9px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  outline: none;
}

.auth-input:focus {
  border-color: var(--blue);
}

.auth-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.auth-actions .btn-outline {
  padding: 10px 14px;
}

.auth-error {
  min-height: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  color: var(--red);
}

/* Home page styles */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--ink);
}

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

.hero-left {
  border-right: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  background: #000000;
  min-height: clamp(500px, calc(100vh - 190px), 700px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual picture.hero-picture {
  display: contents;
}

.eva-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: contrast(1.05) saturate(0.95);
  pointer-events: none;
  user-select: none;
}

#binaryRainCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.76;
}

.eva-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 40%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.eva-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 12px;
  border-radius: 2px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  color: #9ed0ff;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

.eva-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.eva-tagline {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  color: rgba(214, 229, 255, 0.82);
  letter-spacing: 0.18em;
  margin-top: 6px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 52px 40px;
  background: var(--white);
}

#phase-monologue {
  display: flex;
  flex-direction: column;
}

#phase-profile,
#phase-route,
#phase-thanks {
  display: none;
  flex-direction: column;
}

.eva-greeting {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}

.mono-line {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  padding-left: 16px;
  border-left: 3px solid transparent;
}

.mono-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.mono-line.hl {
  border-left-color: var(--yellow);
  background: var(--yellow-soft);
}

.song-ref {
  font-style: italic;
  color: var(--blue);
  font-weight: 700;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--blue);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.85s infinite;
}

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

.cta-block {
  margin-top: 36px;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-block.visible {
  opacity: 1;
}

.phase-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 4px;
}

.phase-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.progress-track {
  height: 3px;
  background: #e0ddd6;
  margin-bottom: 32px;
}

.progress-fill {
  height: 100%;
  background: var(--blue);
  transition: width 0.5s ease;
}

.q-step-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.q-text {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.6;
}

.q-block {
  display: none;
}

.q-block.active {
  display: block;
}

.opts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.opt {
  border: 2px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.opt:hover {
  border-color: var(--blue);
}

.opt.chosen {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.next-btn {
  display: none;
}

.route-msg {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--yellow);
  background: var(--yellow-soft);
}

.route-card {
  border: 2px solid var(--rule);
  padding: 20px 24px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s;
}

.route-card:hover {
  border-color: var(--blue);
}

.rc-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.rc-desc {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--ink);
  line-height: 1.5;
}

.or-div {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-align: center;
  margin: 14px 0;
}

.email-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.email-inp {
  flex: 1;
  border: 2px solid var(--ink);
  border-right: none;
  padding: 13px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  outline: none;
  color: var(--ink);
  background: var(--white);
}

.email-inp::placeholder {
  color: var(--ink-dim);
}

.email-inp:focus {
  border-color: var(--blue);
}

.email-note {
  flex: 1;
  min-width: 260px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-soft);
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--ink);
  line-height: 1.5;
}

.route-inline {
  margin-bottom: 10px;
}

.thanks-hl {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1;
}

.thanks-body {
  font-family: "Libre Baskerville", serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 28px;
}

.signal-bar {
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

.signal-cell {
  padding: 32px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.signal-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.signal-num span {
  color: var(--yellow);
}

.signal-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ed-div {
  display: flex;
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 10px 48px;
  gap: 28px;
}

.ed-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.ed-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.capabilities {
  padding: 88px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.cap-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--ink);
}

.cap-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cap-headline {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  color: var(--ink);
}

.cap-headline em {
  color: var(--blue);
  font-style: normal;
}

.cap-body-text {
  font-family: "Libre Baskerville", serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ink-mid);
}

.cap-item {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s, padding 0.2s, margin 0.2s;
}

.cap-item:first-child {
  border-top: 1px solid var(--rule);
}

.cap-item:hover {
  background: var(--off);
  margin: 0 -48px;
  padding: 38px 48px;
}

.cap-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.8rem;
  color: var(--rule);
  line-height: 1;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.cap-item:hover .cap-num {
  color: var(--blue);
}

.cap-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: 12px;
}

.cap-tag.blue {
  background: var(--blue);
  color: var(--white);
}

.cap-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}

.cap-desc {
  font-family: "Libre Baskerville", serif;
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--ink-mid);
}

.cap-specs {
  border-left: 1px solid var(--rule);
  padding-left: 36px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
}

.spec-key {
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}

.spec-val {
  color: var(--ink);
  text-align: right;
}

.spec-val.hi {
  color: var(--blue);
}

.mission-outer {
  background: var(--off);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.mission-inner {
  padding: 88px 48px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.mission-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mission-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.1;
}

.mission-body p {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.mission-body p em {
  color: var(--blue);
  font-style: italic;
}

.mission-subhead {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.25;
  margin: 32px 0 14px;
  font-weight: 400;
}

.mission-body .mission-subhead:first-of-type {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    min-height: 320px;
  }

  .site-nav {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    width: min(290px, 100vw);
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border-left: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  }

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

  .nav-links a {
    height: auto;
    min-height: 48px;
    border-left: none;
    border-top: 1px solid var(--rule);
    justify-content: flex-start;
    padding: 0 16px;
  }

  .nav-links a:first-child {
    border-top: none;
  }

  .nav-links .nav-cta {
    border-left: none !important;
  }

  .hero-right {
    padding: 28px 24px 36px;
  }

  .cap-header {
    grid-template-columns: 1fr;
  }

  .cap-item {
    grid-template-columns: 40px 1fr;
  }

  .cap-specs {
    display: none;
  }

  .signal-bar {
    grid-template-columns: 1fr 1fr;
  }

  .mission-inner {
    grid-template-columns: 1fr;
  }

  .capabilities {
    padding: 60px 20px;
  }

  .ed-div {
    padding: 10px 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .scheduler-panel {
    padding: 18px 14px;
  }

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

  .scheduler-date-list,
  .scheduler-time-list {
    grid-template-columns: 1fr;
  }
}
