/* ==========================================================================
   Click-Video — shared site stylesheet
   Mobile-first. Desktop enhancements begin at 901px (the 900px breakpoint
   REACHUM uses, expressed min-width rather than max-width).
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --navy:        #032F45;   /* primary                                      */
  --navy-light:  #0A4A6B;   /* hover / depth — 9.52:1 on white              */
  --accent:      #EC297B;   /* logo magenta — mark, ≥24px display, fills    */
  --accent-text: #CE1261;   /* body-size accent — 5.41:1 on white           */
  --ink:         #231F20;   /* body text                                    */
  --gray:        #6B7280;   /* secondary text                               */
  --light-gray:  #EBEBEB;   /* borders / rules                              */
  --background:  #FAFAFA;   /* page background                              */
  --white:       #FFFFFF;

  --h1-size:     clamp(2.5rem, 6vw, 4.5rem);
  --measure:     68ch;      /* article body line length                     */

  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--background);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--sans); line-height: 1.15; }
h1 { font-weight: 700; }
h2, h3, h4 { font-weight: 700; }

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

a { color: var(--navy-light); }
a:hover { color: var(--accent-text); }

/* ── NAV ────────────────────────────────────────────────────────────────── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.nav-logo img { height: 33px; width: auto; }

.nav-links { display: none; list-style: none; gap: 2rem; align-items: center; }

.nav-links li a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-text); transform: translateY(-1px); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

.mobile-menu {
  display: block;
  position: fixed;
  top: 54px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
  z-index: 99;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu a:hover { color: var(--accent); }

.mobile-cta {
  background: var(--accent);
  color: var(--white) !important;
  margin-top: 1.25rem;
  text-align: center;
  border-radius: 2px;
  border: none !important;
}

/* ── ARTICLE HERO ───────────────────────────────────────────────────────── */
.article-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.25rem 2.5rem;
}

.article-hero-inner { max-width: 1100px; margin: 0 auto; }

.article-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.article-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.article-breadcrumb span[aria-current] { color: var(--white); }
.article-breadcrumb .sep { padding: 0 0.4rem; color: rgba(255,255,255,0.35); }

.article-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.article-summary {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}
.article-meta strong { color: var(--white); font-weight: 600; }

.article-lead-image { margin-top: 1.75rem; }
.article-lead-image img { width: 100%; border-radius: 4px; }

/* ── LAYOUT: BODY + SIDEBAR ─────────────────────────────────────────────── */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.article-body { min-width: 0; max-width: var(--measure); }

.article-body p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.35rem; }

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 1.5rem 0 0.6rem; }

.article-body strong { font-weight: 600; color: var(--navy); }

.article-body ul, .article-body ol { margin: 0 0 1.35rem 1.15rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }

.article-body a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent-text); }

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--accent);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--navy);
}

/* ── ARTICLE FIGURES ────────────────────────────────────────────────────
   Semantic replacements for the Webflow richtext figure classes that came
   through the CMS export (w-richtext-figure-type-image / -align-fullwidth /
   -align-floatright). Same rendering, no Webflow class names in the repo. */
.article-figure { margin: 2rem 0; }

.article-figure img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--light-gray);
}

.article-figure figcaption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray);
  margin-top: 0.6rem;
}
.article-figure figcaption em { font-style: italic; }

/* ── SECTION JUMP NAV ───────────────────────────────────────────────────
   Inline table of contents inside an article body (remote-onboarding).
   Mono, below body size, hairline above — the eyebrow register, but left
   in sentence case because these are link phrases, not labels. */
.section-jump {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--gray);
  border-top: 1px solid var(--light-gray);
  padding-top: 0.9rem;
  margin: 2rem 0 2.25rem;
}

.section-jump a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.section-jump a:hover {
  color: var(--accent-text);
  border-bottom-color: var(--accent-text);
}

/* float variant collapses to full width on mobile */
.article-figure--right { margin: 2rem 0; }

.capabilities-list {
  margin-left: 1.5rem;   /* or 2rem */
  padding-left: 1rem;
}

/* ── SIDEBAR ────────────────────────────────────────────────────────────── */
.article-sidebar { display: grid; gap: 1.25rem; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 1.25rem;
}

.sidebar-card h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.85rem;
}

.sidebar-card p { font-size: 0.9rem; line-height: 1.6; color: var(--gray); margin-bottom: 1rem; }

.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 0.7rem; line-height: 1.4; }
.sidebar-links li:last-child { margin-bottom: 0; }
.sidebar-links a { font-size: 0.9rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.sidebar-links a:hover { color: var(--accent-text); text-decoration: underline; }

.sidebar-cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.sidebar-cta:hover { background: var(--navy-light); color: var(--white); }

/* ── CTA SECTION ────────────────────────────────────────────────────────
   Left-aligned on the section grid — everything else on the page is
   left-aligned, so centring this broke the document logic. */
.cta-section {
  background: var(--navy);
  padding: 2.75rem 1.25rem;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 68ch;
  margin: 0 0 1.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.9rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover { background: var(--accent-text); color: var(--white); transform: translateY(-2px); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 26px; width: auto; opacity: 0.9; }

.footer-brand { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.footer-address { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.55); }

.footer-col-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.footer-col-links { list-style: none; }
.footer-col-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── DESKTOP (901px and up) ─────────────────────────────────────────────── */
@media (min-width: 901px) {
  nav { padding: 0.75rem 4rem; }
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none; }

  .article-hero { padding: 3rem 4rem 3.5rem; }
  .article-lead-image { margin-top: 2.25rem; }

  .article-layout {
    padding: 4rem;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4rem;
  }

  .article-body h2 { font-size: 1.75rem; margin: 3rem 0 1.15rem; padding-top: 2rem; }

  /* float variant only floats where there is room for it */
  .article-figure--right {
    float: right;
    width: 42%;
    margin: 0.4rem 0 1.5rem 2rem;
  }

  .article-sidebar { position: sticky; top: 5rem; }

  .cta-section { padding: 4.5rem 4rem; }

  footer { padding: 4rem 4rem 2rem; }
  .footer-inner { grid-template-columns: 2fr 1fr; gap: 4rem; }
}

/* ==========================================================================
   CONTENT PAGES
   Patterns below are shared by index / work / capabilities / company /
   contact. Nothing here is page-specific enough to justify inline CSS.
   ========================================================================== */

/* ── PAGE HERO ──────────────────────────────────────────────────────────
   Left-aligned to the same 1100px measure as the section grid. */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.25rem 1.5rem;
}

.page-hero-inner { max-width: 1100px; margin: 0 auto; }

.page-hero h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.page-hero .lede {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 62ch;
}

/* Hero video. Sits on the same left axis as the h1 — no offset, no card
   chrome. Caption uses the eyebrow register; --gray is only 2.90:1 on navy,
   so the caption is set in a light tint that clears AA instead. */
.hero-copy { min-width: 0; }

/* Hero eyebrow. Same register as the section eyebrows; --light-gray rather
   than --accent because #EC297B is only 3.45:1 on navy and 11px counts as
   small text. --light-gray measures 11.77:1. */
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 0.9rem;
}

.hero-video {
  margin: 1.75rem 0 0;
  max-width: none;
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: #000;
}

.hero-video figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
}

/* Video overlay. Hidden entirely unless JS has run (.has-js), so a no-JS
   visitor sees the native controls that ship in the markup instead of a dead
   button. Two modes: play (bare white triangle over a light navy wash) and
   replay (bordered mono label over a heavier wash). */
.hero-video-frame { position: relative; }

.hero-video-overlay { display: none; }

.hero-video.has-js .hero-video-overlay {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(3, 47, 69, 0.35);     /* --navy, low-opacity wash */
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.hero-video.has-js .hero-video-overlay.is-replay-mode {
  background: rgba(3, 47, 69, 0.8);
}

.hero-video.has-js .hero-video-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  transition: opacity 160ms ease;
}

/* Play: CSS triangle, no label, no border, no shadow. */
.hero-video-btn.is-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent var(--white);
}
.hero-video-btn.is-play .hero-video-btn__label { display: none; }
.hero-video-btn.is-play:hover { opacity: 0.82; }

/* Replay: bordered mono label. */
.hero-video-btn.is-replay {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 2px;
  padding: 0.65rem 1.15rem;
  transition: background 160ms ease;
}
.hero-video-btn.is-replay:hover { background: rgba(255,255,255,0.14); }
.hero-video-btn.is-replay::before { content: none; }

.hero-video-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-overlay, .hero-video-btn { transition: none; }
}

/* ── SECTIONS ───────────────────────────────────────────────────────────
   Two-column document grid. Left rail carries the eyebrow, right column
   carries heading + content. One background throughout; sections are
   separated by a hairline, not by alternating colour bands. */
.section { padding: 2.5rem 1.25rem; border-top: 1px solid var(--light-gray); }
.page-hero + .section { border-top: none; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.section-body { min-width: 0; }

.section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
}

/* A heading may sit in the rail as the label (see principles.html "What we
   build"). .section h2 outranks .section-label, so restate it here. */
.section h2.section-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Prose is measured; structural elements (tables, lists, grids) are not,
   so they fill the full grid column rather than stopping short. */
.prose p { font-size: 1.0625rem; line-height: 1.6; max-width: 68ch; margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-text); }

/* ── PRINCIPLES ─────────────────────────────────────────────────────────
   Plain text in two columns, separated by the same hairline the roster
   list uses. No borders, boxes or rules. */
.principles { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 1.25rem; }

.principle {
  border-top: 1px solid var(--light-gray);
  padding: 1.1rem 0;
}

.principle h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.principle p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); margin: 0; max-width: 68ch; }

/* ── BUILD LIST ─────────────────────────────────────────────────────────
   Breaks out of the document grid to use the full content measure. The
   280px track floor is set by the longest item ("Full-stack web and mobile
   development", ~317px at 1.0625rem) so nothing wraps: auto-fit yields
   1 column on mobile, 2 on tablet, 3 at full width. */
.build-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 2rem;
  margin-top: 1rem;
}

.build-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Same hairline treatment as .roster / .build-list. Wider track floor because
   the longest item ("Conversation-driven video and multimedia systems") sets
   longer than anything in the build list. */
.capabilities-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0 2rem;
  margin-top: 1rem;
}

.capabilities-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Single credential line beneath the build list. No certifications. */
.partner-note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 1.25rem;
}

/* ── PRINCIPLES PAGE (manifesto) ─────────────────────────────────────────
   The number is the design element: it occupies the left rail of the
   document grid where other pages put an eyebrow. No cards, no borders,
   no icons — separation comes from the section hairline and whitespace. */
.principle-block { padding-top: 2.75rem; padding-bottom: 2.75rem; }

.principle-number {
  font-family: var(--mono);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.principle-statement {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* The signature trails the six; it is not a seventh item, so no rule. */
.signature-section { border-top: none; padding-top: 1.5rem; }

.signature {
  text-align: right;
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 68ch;
}

/* ── METRICS ────────────────────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.5rem 0; }

.metric {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 1.5rem;
}

.metric-value {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.metric-label { font-size: 0.9rem; line-height: 1.5; color: var(--gray); }

/* ── FACT LIST (entity / credential data) ───────────────────────────────── */
.fact-list { margin: 0; }

.fact-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.fact-list div:first-child { border-top: 1px solid var(--light-gray); }

.fact-list dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.fact-list dd { font-family: var(--mono); font-size: 0.9375rem; color: var(--ink); margin: 0; font-variant-numeric: tabular-nums; }

/* ── PLAIN LISTS (roster, competencies) ─────────────────────────────────── */
.roster { list-style: none; columns: 1; margin-top: 1rem; }
.roster li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 1rem;
  break-inside: avoid;
}

.competencies { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.55rem; margin-top: 1rem; }
.competencies li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1rem;
  line-height: 1.55;
}
.competencies li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── ENGAGEMENT / TIMELINE ENTRIES ──────────────────────────────────────── */
.entry { padding: 1.5rem 0; border-top: 1px solid var(--light-gray); }
.entry:first-of-type { border-top: none; padding-top: 0; }

.entry h3 { margin: 0 0 0.3rem; font-size: 1.2rem; font-weight: 600; color: var(--navy); }

.entry-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.6rem;
}

.entry p { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 0.9rem; max-width: var(--measure); }
.entry p:last-child { margin-bottom: 0; }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact-list { list-style: none; margin-top: 1rem; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--light-gray); }
.contact-list li:first-child { border-top: 1px solid var(--light-gray); }

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-value { font-size: 1.15rem; color: var(--navy); text-decoration: none; font-weight: 600; }
a.contact-value:hover { color: var(--accent-text); text-decoration: underline; }

/* ── DESKTOP ────────────────────────────────────────────────────────────── */
@media (min-width: 901px) {
  .page-hero { padding: 1.75rem 4rem 2rem; }

  .section { padding: 3.25rem 4rem; }
  .principle-block { padding-top: 4.5rem; padding-bottom: 4.5rem; }

  /* Single alignment axis: the rail is gone. Eyebrow stacks above the
     heading and every element — hero h1 included — shares one left edge. */

  .principles { grid-template-columns: 1fr 1fr; gap: 0 3rem; }

  /* auto-fit, not a fixed pair: at 901px a fixed 2-up leaves a 173px
     content box and "38 seconds" (215px) wraps. 280px floor = 215px value
     + 2rem card padding either side. Card treatment itself is unchanged. */
  .metrics { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
  .metric { padding: 2rem; }

  .fact-list div { grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: baseline; }

  .roster { columns: 2; column-gap: 3rem; }
  .competencies { grid-template-columns: 1fr 1fr; gap: 0.7rem 2.5rem; }
}

/* ── HERO TWO-COLUMN ─────────────────────────────────────────────────────
   Side-by-side only from 1140px. Below that the 360px column leaves the left
   column under ~573px and the H1 breaks to three lines, ending up narrower
   than the body copy beneath it — so the hero stacks instead. 1140 is the
   measured threshold: at 1120 the left column is 553px and still wraps to 3
   lines; at 1140 it reaches 573px and holds at 2. */
@media (min-width: 1140px) {
  .page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 4rem;
    row-gap: 0;
    align-items: start;
  }

  /* The eyebrow is its own full-width row above both columns, so the copy and
     the video share a row origin — which is what lets the cap-height offset
     below resolve against the H1 again. Its own margin-bottom does the
     spacing, hence row-gap: 0. */
  .hero-eyebrow { grid-column: 1 / -1; }

  /* Top-align the video to the H1's CAP HEIGHT, not its box top: half-leading
     + (ascender - cap height) = a constant 0.3548 x font-size for IBM Plex
     Sans 700, so it tracks the clamped H1 responsively. */
  .hero-video {
    margin-top: calc(var(--h1-size) * 0.3548);
    max-width: 360px;
  }
}
