/* Insight Results — single-page site
   Brand: navy #2C3E50, signal gray #8B9B93, orange #F69524 (from logo) */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Condensed"; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Condensed"; font-weight: 700; font-display: swap; src: url("assets/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #2C3E50;
  --navy-deep: #22313F;
  --paper: #F3F5F4;
  --tint: #ECF0EE;
  --white: #FFFFFF;
  --signal: #8B9B93;
  --signal-dark: #5E7073;
  --orange: #F69524;
  --text: #1F2A33;
  --text-on-navy: #E6ECEA;
  --muted-on-navy: #AEBBB6;
  --rule: #D9DFDC;
  --rule-on-navy: rgba(139,155,147,.35);

  --logo-bg: var(--navy);
  --logo-gray: var(--signal);
  --logo-orange: var(--orange);

  --font-body: "Plex", "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Plex Condensed", "IBM Plex Sans Condensed", "Arial Narrow", "Plex", sans-serif;

  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.005em; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); }
.brand svg { width: 36px; height: 36px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--signal-dark); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); border-bottom-color: var(--orange); outline: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--text-on-navy); position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; min-height: 600px; padding-block: 72px; }
.hero h1 { font-size: clamp(42px, 5.5vw, 66px); font-weight: 700; color: var(--white); max-width: 13ch; }
.hero .lede { font-size: 19px; max-width: 48ch; margin: 28px 0 36px; color: var(--text-on-navy); }
.hero .tenets { display: flex; flex-direction: column; border-left: 3px solid var(--orange); padding-left: 18px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--white); line-height: 1.35; }
.hero .tenets span { display: block; }
.hero .mark { justify-self: end; width: min(100%, 520px); position: relative; }
.hero .mark svg { width: 100%; height: auto; }
.hero .since { position: absolute; left: 0; bottom: 28px; font-size: 14px; color: var(--muted-on-navy); }

/* ---------- common section ---------- */
.section { padding-block: 96px; }
.section.paper { background: var(--paper); }
.section.navy { background: var(--navy); color: var(--text-on-navy); }
.section-head { max-width: 62ch; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--navy); }
.navy .section-head h2 { color: var(--white); }
.section-head p { font-size: 19px; margin: 18px 0 0; color: var(--signal-dark); }
.navy .section-head p { color: var(--muted-on-navy); }

/* ---------- what we build ---------- */
.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.build-grid > div { padding: 8px 40px 8px 0; border-left: 1px solid var(--rule); padding-left: 32px; }
.build-grid > div:first-child { border-left: 0; padding-left: 0; }
.build-grid svg { width: 72px; height: 72px; margin-bottom: 28px; }
.build-grid h3 { font-size: 26px; color: var(--navy); margin-bottom: 14px; }
.build-grid p { color: var(--signal-dark); font-size: 16.5px; margin: 0; }

/* ---------- reputation intelligence ---------- */
.flow { margin: 0 0 64px; }
.flow > svg { width: 100%; height: auto; font-family: var(--font-body); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.cap-grid > div { border-top: 1px solid var(--rule-on-navy); padding-top: 22px; }
.cap-grid h3 { font-size: 22px; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.cap-grid h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.cap-grid p { margin: 0; color: var(--muted-on-navy); font-size: 16px; }

/* ---------- engineering ---------- */
.eng-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.eng-grid > div { border-top: 2px solid var(--navy); padding-top: 20px; }
.eng-grid h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.eng-grid p { margin: 0; color: var(--signal-dark); }

/* ---------- stack ---------- */
.stack-rows { border-top: 1px solid var(--rule); }
.stack-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.stack-row h3 { font-size: 20px; color: var(--navy); }
.stack-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stack-row li { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--navy); border-radius: 6px; padding: 6px 14px 6px 12px; font-size: 15px; font-weight: 500; }
.stack-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- life ---------- */
.photos { display: grid; grid-template-columns: 2fr 1.5fr; gap: 16px; margin-bottom: 56px; }
.photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.photos figure { margin: 0; }
.life-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px 80px; align-items: start; margin-bottom: 56px; }
.life-grid ul { margin: 0; padding: 0; list-style: none; }
.life-grid li { padding: 14px 0 14px 28px; border-top: 1px solid var(--rule); position: relative; }
.life-grid li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

/* ---------- team ---------- */
#team .section-head { max-width: none; }
.team-intro { background: var(--navy); color: var(--text-on-navy); padding: 32px; border-radius: 8px; font-size: 19px; margin: 0; }
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leaders > div { border-top: 2px solid var(--navy); padding-top: 16px; }
.leaders strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--navy); }
.leaders span { color: var(--signal-dark); font-size: 15px; }

/* ---------- contact / footer ---------- */
.contact { background: var(--navy-deep); color: var(--text-on-navy); padding-block: 72px 40px; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact h2 { color: var(--white); font-size: 36px; margin-bottom: 20px; }
.contact address { font-style: normal; line-height: 1.7; }
.contact .brand { color: var(--white); margin-bottom: 20px; border-bottom: 0; }
.contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--rule-on-navy); }
.contact a:hover { border-bottom-color: var(--orange); }
.contact .tagline { color: var(--muted-on-navy); max-width: 40ch; }
.copyright { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-on-navy); font-size: 14px; color: var(--muted-on-navy); grid-column: 1 / -1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 72px; }
  .hero .mark { justify-self: start; width: min(70%, 340px); order: -1; margin-bottom: 24px; }
  .build-grid { grid-template-columns: 1fr; gap: 40px; }
  .build-grid > div { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
  .build-grid > div:first-child { border-top: 0; padding-top: 0; }
  .cap-grid, .eng-grid, .life-grid { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr 1fr; }
  .photos { grid-template-columns: 1fr; }
  .contact .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .menu-btn { display: inline-flex; }
  .stack-row { grid-template-columns: 1fr; gap: 10px; }
  .flow { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .flow > svg { min-width: 760px; }
  .leaders { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
