@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #eef1f6;
  --ink: #0c1a36;
  --ink-strong: #081127;
  --body: #44506a;
  --muted: #6c768a;
  --line: #e4e8ef;
  --line-2: #d3dae5;
  --navy: #0c1c40;
  --navy-2: #0a1730;
  --navy-soft: #16325f;
  --accent: #1c4fb5;
  --primary: #0c1c40;
  --secondary: #0c1c40;
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --pill: 0;
  --shadow-sm: 0 1px 2px rgba(12, 26, 54, 0.06), 0 1px 3px rgba(12, 26, 54, 0.08);
  --shadow: 0 14px 40px rgba(12, 26, 54, 0.08);
  --shadow-lg: 0 28px 70px rgba(12, 26, 54, 0.14);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: rgba(28, 79, 181, 0.16);
}

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  align-content: center;
  gap: 1px;
  line-height: 1.05;
}

.brand-line-top {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-line-bottom {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 14px;
  color: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-links a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-primary {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.cta-primary:hover {
  background: #112a5c;
  box-shadow: 0 12px 26px rgba(12, 26, 54, 0.22);
  transform: translateY(-1px);
}

.cta-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-2);
}

.cta-secondary:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.cta-square {
  border-radius: var(--radius-sm);
  padding: 15px 24px;
}

.cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
}

.nav-links a.nav-cta {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.nav-links a.nav-cta:hover {
  color: #ffffff;
  background: #112a5c;
}

/* ---------- Page shell ---------- */
.page {
  position: relative;
  padding: 0;
}

.contact-page-body .page {
  padding-bottom: 0;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

p,
li {
  color: var(--body);
  line-height: 1.72;
  font-size: 1rem;
}

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

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  background: rgba(28, 79, 181, 0.08);
  border: 1px solid rgba(28, 79, 181, 0.16);
  padding: 7px 13px;
  border-radius: var(--pill);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-primary {
  position: relative;
  background:
    radial-gradient(1200px 600px at 78% 12%, rgba(40, 78, 150, 0.42), transparent 60%),
    linear-gradient(160deg, #0d2049 0%, #0a1730 100%);
  color: #ffffff;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 56px 0;
  overflow: hidden;
}

.hero-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-primary .container {
  position: relative;
  z-index: 1;
}

.hero-primary h1,
.hero-primary h2,
.hero-primary h3 {
  color: #ffffff;
}

.hero-primary .hero-copy p,
.hero-primary .hero-mini,
.hero-primary p {
  color: rgba(233, 238, 247, 0.82);
}

.hero-primary .cta-primary {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}

.hero-primary .cta-primary:hover {
  background: #eaf0fa;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.hero-primary .cta-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-primary .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-primary .eyebrow {
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-copy p {
  font-size: 1.12rem;
  max-width: 560px;
  margin-top: 22px;
}

.hero-title-box {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  text-align: left;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.05;
}

.hero-actions,
.tag-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Page hero (interior pages) */
.page-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.page-hero .showcase {
  width: 100%;
  align-items: center;
}

.page-hero p {
  color: rgba(233, 238, 247, 0.82);
  font-size: 1.08rem;
  margin-top: 20px;
  max-width: 60ch;
}

.page-hero .showcase-image {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ---------- Hero abstract visual ---------- */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-stage {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-backdrop {
  position: relative;
  width: min(440px, 90%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-panel,
.founder-glow,
.founder-cutout {
  display: none;
}

.hero-orb {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-ring-1 {
  inset: 0;
}

.hero-ring-2 {
  inset: 14%;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-ring-3 {
  inset: 30%;
  border-color: rgba(123, 162, 240, 0.4);
  box-shadow: inset 0 0 60px rgba(60, 110, 220, 0.25);
}

.hero-orb-core {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%, #2a4a8c, #0c1c40 70%);
  color: #eaf0fa;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-orb::before,
.hero-orb::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: rgba(140, 174, 245, 0.9);
  box-shadow: 0 0 16px rgba(120, 160, 240, 0.7);
}

.hero-orb::before {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orb::after {
  bottom: 14%;
  right: 14%;
}

/* ---------- Logo / capability strip ---------- */
.hero-logos {
  padding: 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero-logos .container {
  padding: 26px 0;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  padding: 12px 14px;
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.logo-pill:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

/* ---------- Stat ribbon ---------- */
.stat-ribbon {
  padding: 72px 0 16px;
}

.stats-grid,
.grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

.stat-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.stat-card p {
  text-align: left;
  font-size: 0.97rem;
  color: var(--body);
}

.stat-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.02;
  color: var(--ink);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.section-head h2,
.quote-panel h2 {
  max-width: 760px;
}

.section-head-centered {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 48px;
  gap: 20px;
}

.capabilities-section h2 {
  max-width: 760px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Cards ---------- */
.card,
.section-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.accent-card {
  background: var(--bg-soft);
}

.service-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.service-card h3 {
  position: relative;
  padding-bottom: 14px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}

.service-card p {
  margin: 0;
  color: var(--body);
}

.services-page .service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

/* ---------- Process cards ---------- */
.capability-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.capability-grid {
  width: 100%;
  gap: 18px;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
  padding: 28px 26px;
  background: #fff;
}

.process-number {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--navy);
  align-self: flex-start;
}

.process-card-body {
  text-align: right;
  align-self: flex-end;
  max-width: 80%;
}

.process-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.process-card p {
  margin: 8px 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--body);
}

.process-step-1,
.process-step-2,
.process-step-3,
.process-step-4 {
  background: #fff;
}

.process-card::after,
.service-card::after,
.card::before {
  display: none;
}

/* ---------- Showcase / images ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
}

.showcase-image {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.showcase-image img.palette-art,
.showcase-image img.services-catalogue-art,
.showcase-image img.industries-globe-art {
  object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  background: var(--bg-soft);
}

.showcase-image img.world-map-art {
  object-position: center 55%;
}

.monitor-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px;
  background:
    radial-gradient(900px 500px at 70% 0%, rgba(40, 78, 150, 0.5), transparent 60%),
    linear-gradient(160deg, #0d2049 0%, #0a1730 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Terminal (refined dark UI) ---------- */
.terminal-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100%, 640px);
  height: 360px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  contain: layout paint;
  background: linear-gradient(180deg, #0f1a30 0%, #0a1322 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.terminal-stage::after {
  display: none;
}

.terminal-stage-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.terminal-stage-dot {
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: #36406a;
}

.terminal-stage-dot:nth-child(1) {
  background: #ff5f57;
}

.terminal-stage-dot:nth-child(2) {
  background: #febc2e;
}

.terminal-stage-dot:nth-child(3) {
  background: #28c840;
}

.terminal-stage-title {
  margin-left: 10px;
  color: rgba(207, 224, 255, 0.6);
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.terminal-stage-body {
  position: relative;
  z-index: 1;
  padding: 22px 20px;
  overflow: hidden;
}

.terminal-line {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 1.5em;
  margin: 0;
  color: #cfe0ff;
  font-size: clamp(0.74rem, 0.85vw, 0.9rem);
  line-height: 1.5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.terminal-line:nth-child(1) { top: 22px; }
.terminal-line:nth-child(2) { top: 58px; }
.terminal-line:nth-child(3) { top: 94px; }
.terminal-line:nth-child(4) { top: 130px; color: #7fe7a4; }

.terminal-line::before {
  content: "$";
  margin-right: 12px;
  color: #6f8bd0;
}

.terminal-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.6ch;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: #7ba2f0;
  animation: blinkCursor 0.9s steps(1) infinite;
}

/* ---------- Quote panels ---------- */
.quote-panel {
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.quote-panel h2 {
  margin-bottom: 18px;
}

.quote-panel p {
  font-size: 1.05rem;
}

.quote-mobile-photo {
  display: none;
}

.founder-story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.founder-story-visual img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}

/* ---------- Industry cards ---------- */
.industry-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  color: inherit;
}

.industry-card h3 {
  position: relative;
  padding-bottom: 12px;
}

.industry-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.industry-card p {
  margin: 0;
}

.industry-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.industry-map-panel img {
  filter: grayscale(1) contrast(1.02);
}

.industry-mobile-prompt {
  display: none;
}

.industry-carousel-mobile {
  display: none;
}

.industry-carousel-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.industry-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.industry-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.industry-carousel-card {
  flex: 0 0 100%;
  min-height: 220px;
  padding: 26px 22px;
}

.industry-carousel-arrow {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.industry-carousel-arrow:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.process-step {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Article (industry detail) ---------- */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  gap: 32px;
  align-items: start;
}

.article-prose {
  display: grid;
  gap: 20px;
  padding: 48px 48px;
}

.article-prose .eyebrow,
.article-prose h2 {
  justify-self: start;
  text-align: left;
}

.article-prose h2 {
  line-height: 1.1;
  max-width: none;
}

.article-prose p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--body);
}

.article-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
  padding: 32px 30px;
  text-align: left;
  background: var(--bg-soft);
}

.use-case-card {
  min-height: 200px;
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: left;
}

.use-case-card p {
  margin: 0;
}

.article-summary-grid {
  align-items: stretch;
}

.article-summary-card {
  display: grid;
  align-content: start;
  gap: 18px;
  text-align: left;
}

.article-summary-card h2 {
  line-height: 1.1;
  max-width: none;
}

.article-summary-card p,
.article-summary-card ul {
  margin: 0;
}

.article-summary-card p {
  max-width: 62ch;
}

.article-summary-card .hero-actions {
  margin-top: 8px;
}

.audio-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

ul.clean-list {
  margin: 0;
  padding-left: 20px;
}

.clean-list li {
  position: relative;
}

.clean-list li::marker {
  color: var(--accent);
}

.clean-list li + li {
  margin-top: 12px;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.hero-mini {
  font-size: 1rem;
  max-width: 600px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 80px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-marquee-inner {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 16px;
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: 0;
  flex: 1;
  gap: 28px;
  padding: 11px 0;
  animation: marquee 38s linear infinite;
}

.marquee-item {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Connect band */
.footer-connect {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.footer-connect-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.footer-connect-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
}

.footer-connect-cta {
  white-space: nowrap;
}

/* Main link area */
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: 48px;
  padding: 56px 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-identity-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 240px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-title {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.footer-nav-col a {
  font-size: 0.92rem;
  color: var(--body);
  transition: color 0.2s ease;
}

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

/* Subscribe */
.footer-subscribe-note {
  margin: 4px 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-subscribe-form {
  display: flex;
  gap: 10px;
}

.footer-subscribe-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.footer-subscribe-input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-subscribe-submit {
  white-space: nowrap;
}

/* Bottom legal bar */
.footer-bottom {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
}

.footer-bottom-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-bottom-social svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Persistent sticky bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 -12px 30px rgba(12, 26, 54, 0.06);
}

.sticky-bar .footer-marquee {
  background: var(--bg-soft);
}

.sticky-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.sticky-bar-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.sticky-bar-cta {
  white-space: nowrap;
}

/* Keep the flow footer clear of the fixed sticky bar */
body {
  padding-bottom: 116px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

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

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

/* ---------- About page ---------- */
.about-hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 80px 0;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(40, 78, 150, 0.4), transparent 60%),
    linear-gradient(160deg, #0d2049 0%, #0a1730 100%);
  color: #ffffff;
}

.about-hero h1,
.about-hero h2 {
  color: #ffffff;
}

.about-hero .grid {
  align-items: start;
  gap: 56px;
}

.about-hero p {
  color: rgba(233, 238, 247, 0.8);
}

.about-hero-lead {
  max-width: 56ch;
  margin: 22px 0 28px;
  color: rgba(233, 238, 247, 0.92);
  font-size: 1.12rem;
  line-height: 1.6;
}

.about-story-group + .about-story-group {
  margin-top: 26px;
}

.about-story-label {
  margin: 0 0 12px;
  color: #cfe0ff !important;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-story-group p:not(.about-story-label) {
  max-width: 60ch;
  margin: 0 0 16px;
  line-height: 1.7;
}

.about-hero-photo {
  margin: 0;
  justify-self: end;
  align-self: start;
}

.about-hero-photo img {
  filter: grayscale(1) contrast(1.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  display: block;
}

.about-hero-portrait {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}

.about-page {
  padding-bottom: 96px;
}

.about-story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

/* ---------- Estimator ---------- */
.estimator-hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
}

.estimator-hero-card {
  width: min(100%, 420px);
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--ink);
}

.estimator-hero-card h2 {
  margin: 0 0 12px;
}

.estimator-hero-card p {
  margin: 0;
  color: var(--body);
}

.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.estimator-panel,
.estimator-output {
  display: grid;
  gap: 20px;
  background: #fff;
}

.estimator-field {
  display: grid;
  gap: 8px;
}

.estimator-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.estimator-field select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 13px 16px;
  font: inherit;
}

.estimator-page .estimator-field select:disabled {
  opacity: 0.6;
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
}

.estimator-output h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--serif);
}

.estimator-summary {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.estimator-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.estimator-summary span {
  color: var(--muted);
}

.estimator-summary strong {
  text-align: right;
  color: var(--ink);
}

.contact-doc-label {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Contact page (clean invoice card) ---------- */
.contact-ledger-page {
  padding-top: 64px;
  padding-bottom: 96px;
}

.contact-ledger-grid {
  display: block;
}

.contact-invoice h2 {
  margin: 0;
}

.contact-title-highlight {
  color: var(--accent);
}

.contact-invoice {
  display: grid;
  gap: 24px;
  padding: 44px 44px;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-invoice-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-invoice-status {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.contact-invoice-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.contact-invoice-meta p {
  margin: 0;
}

.contact-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-brand-lockup img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-brand-lockup .brand-text {
  display: grid;
  gap: 1px;
}

.contact-person-links {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.contact-person-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}

.contact-person-links a {
  color: var(--body);
}

.contact-person-links a:hover {
  color: var(--accent);
}

.contact-linkedin-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
}

.contact-linkedin-inline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-line-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.contact-line-item-head {
  display: none;
}

.contact-line-items .contact-line-item:not(.contact-line-item-head) {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-soft);
}

.contact-line-item strong {
  color: var(--ink);
}

.contact-line-item span {
  font-weight: 700;
  color: var(--ink);
}

.contact-line-item p {
  margin: 8px 0 0;
  font-size: 0.94rem;
}

.contact-invoice-total {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-invoice-total div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-invoice-total span {
  color: var(--muted);
}

.contact-invoice-total strong {
  font-size: 1.2rem;
  color: var(--ink);
}

.contact-invoice-note p {
  margin: 0;
  line-height: 1.6;
  color: var(--body);
}

/* Neutralize old envelope animation */
.contact-envelope-shell {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-envelope {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.contact-envelope::before,
.contact-envelope::after,
.contact-envelope__triangle {
  display: none;
}

.contact-envelope__letter.contact-invoice {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  transform: none;
}

.contact-envelope.is-open .contact-envelope__letter {
  position: static;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .article-shell,
  .capability-showcase,
  .showcase,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-subscribe {
    grid-column: 1 / -1;
  }

  .hero-grid {
    gap: 40px;
  }

  .contact-ledger-grid,
  .estimator-grid {
    grid-template-columns: 1fr;
  }

  .about-story-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-hero .grid {
    gap: 36px;
  }

  .about-page .grid.grid-2 {
    grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.8fr);
    gap: 24px;
    align-items: start;
  }

  .about-hero-photo {
    width: 100%;
    max-width: 240px;
    justify-self: end;
  }

  .about-hero-portrait {
    max-width: 240px;
  }

  .services-page .grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .founder-stage {
    min-height: 360px;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1180px, calc(100vw - 32px));
  }

  .page {
    padding-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .footer-connect-inner {
    padding: 32px 0;
  }

  .footer-connect-cta {
    width: 100%;
  }

  .nav-shell {
    padding: 14px 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-line-top {
    font-size: 0.9rem;
  }

  .brand-line-bottom {
    font-size: 0.64rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: -1;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
    gap: 6px;
  }

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

  .nav-links a {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 13px 14px;
  }

  .nav-links .nav-cta {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    justify-content: center;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 4px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-primary {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-title-box {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .cta {
    width: 100%;
    min-height: 54px;
  }

  .hero-visual,
  .founder-stage {
    min-height: 300px;
  }

  .page-hero {
    padding: 48px 0;
  }

  .hero-logos {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .stat-ribbon {
    padding: 48px 0 8px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
  }

  .section-head-centered {
    align-items: center;
    text-align: center;
  }

  .section-head h2,
  .quote-panel h2 {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-ribbon .stat-card {
    padding: 16px 12px;
    gap: 8px;
  }

  .stat-ribbon .stat-value {
    font-size: clamp(1.15rem, 5vw, 1.7rem);
  }

  .stat-ribbon .stat-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .card,
  .stat-card,
  .quote-panel,
  .article-prose,
  .contact-invoice {
    padding: 26px 22px;
  }

  .about-hero {
    padding: 48px 0;
  }

  .about-page .grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .about-hero-photo {
    max-width: 200px;
    justify-self: start;
    margin-bottom: 8px;
  }

  .about-hero-portrait {
    max-width: 200px;
  }

  .industries-page .grid.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .industries-page .industry-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .industries-page .industry-card h3 {
    font-size: 1.02rem;
  }

  .industries-page .industry-card p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .industry-map-panel,
  .industry-grid-desktop {
    display: none;
  }

  .industry-carousel-mobile {
    display: block;
  }

  .monitor-showcase {
    min-height: 320px;
    padding: 18px;
  }

  .terminal-stage {
    height: 300px;
  }

  .contact-ledger-page {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .contact-invoice-top,
  .contact-invoice-meta,
  .contact-line-items {
    grid-template-columns: 1fr;
  }

  .contact-invoice-top {
    display: grid;
    gap: 12px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .quote-mobile-photo {
    display: block;
    float: left;
    width: min(38%, 140px);
    margin: 4px 18px 10px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    filter: grayscale(1);
  }

  .quote-panel .cta {
    clear: both;
    margin-top: 12px;
  }

  .founder-story-visual {
    display: none;
  }

  .estimator-hero-panel {
    padding: 22px;
  }

  .estimator-panel,
  .estimator-output {
    padding: 24px 20px;
  }
}

/* ---------- Content / legal pages ---------- */
.content-page {
  max-width: 820px;
}

.content-intro {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.content-block + .content-block {
  margin-top: 36px;
}

.content-block h2 {
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 10px;
}

.content-block h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 8px;
}

.content-block p {
  margin: 0 0 14px;
  max-width: 68ch;
  line-height: 1.7;
}

.content-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ accordion-style list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.7;
  color: var(--body);
}
