@charset "UTF-8";
/* ============================================================================
   The Rookery — global theme stylesheet. Compiles to assets/css/theme.css and
   is enqueued site-wide. Content-section blocks emit markup that these styles
   render; only interactive blocks ship their own JS.
   ========================================================================== */
/* Tokens (CSS custom properties) + Sass mirrors */
/* Design tokens — The Rookery.
   CSS custom properties consumed by every component below and by the
   content-section blocks. Mirrored as Sass variables in colors.scss /
   typography.scss / variables.scss for authoring convenience. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7FA;
  --bg-3: #E9EEF3;
  --ink: #1A1A1A;
  --ink-2: #4F5B67;
  --ink-3: #8A96A3;
  --rule: #D7DEE6;
  --rule-strong: #B6C1CD;
  --navy: #0A2E4D;
  --navy-2: #0E3A61;
  --blue: #0E6EB1;
  --teal: #00A3A3;
  --green: #2E7D32;
  --amber: #F9A825;
  --red: #C62828;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Sass mirror of the :root color tokens (tokens.scss). Components consume the
   CSS custom properties directly; these are here for Sass-side authoring. */
/* Sass mirror of the type tokens. Font stacks live in tokens.scss (:root).
   Base type + helper classes are defined in constants.scss / components.scss. */
/* Layout scalars. The design's media queries use several literal breakpoints
   (720 / 760 / 800 / 860 / 900 / 960); these are the common reference points. */
/* the design is intentionally square-cornered */
/* Base / reset */
/* Base / reset — ported from the design's global rules. */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body, html {
  /* `clip` (not `hidden`) prevents horizontal scroll WITHOUT turning html/body
     into a scroll container — which would break the sticky nav's stickiness. */
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: #0A2E4D;
  color: #fff;
}

img {
  max-width: 100%;
}

/* Accessibility focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Screen-reader-only text + skip link (WP a11y conventions) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  display: inline-block;
  position: fixed !important;
  top: 8px;
  left: 8px;
  z-index: 100000;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Chrome */
/* Primary navigation — ported from the design's .nav. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 22px;
  color: var(--navy);
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: inline-flex;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-dot {
  color: #0075AB;
}

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

.nav-links ul {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link, .nav-links a {
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 450;
  position: relative;
  font-family: var(--body);
}

.nav-link:hover, .nav-links a:hover {
  color: var(--blue);
}

.nav-link.active,
.nav-links .current-menu-item > a {
  color: var(--navy);
  font-weight: 500;
}

.nav-link.active::after,
.nav-links .current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
}

/* Higher specificity than `.nav-links a` so the filled CTA keeps white text. */
.nav-links a.nav-cta {
  margin-left: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}

.nav-links a.nav-cta:hover {
  background: #061f36;
  color: #fff;
}

.nav-links a.nav-cta .arrow {
  color: #fff;
}

/* Mobile menu toggle */
.nav-toggle {
  all: unset;
  display: none;
  cursor: pointer;
  padding: 10px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 12px 20px;
    gap: 2px;
  }
  .nav-links.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .nav-links.is-open .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
  .nav-toggle {
    display: inline-flex;
  }
}
/* Site footer — ported from the design's footer. */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 72px 0 32px;
  border-top: 1px solid var(--rule);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}

.foot-grid a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.foot-grid a:hover {
  color: #fff;
}

.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-brand {
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand .brand-mark img {
  filter: brightness(1.4) contrast(0.95);
}

.foot-brand .brand-dot {
  color: #3FA9E0;
}

.foot-tagline {
  color: rgba(255, 255, 255, 0.7);
  max-width: 38ch;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.6;
}

.foot-chip {
  margin-top: 22px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
/* Component system */
/* ============================================================================
   The Rookery — component system. Ported from the Claude Design source so the
   content-section blocks render with full fidelity. Grouped by component.
   ========================================================================== */
/* Layout ------------------------------------------------------------------- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }
}
/* Type --------------------------------------------------------------------- */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--navy);
}

.h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 92px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
}

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}

.h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.lede {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}

.content-section p {
  margin: 0 0 1em 0;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Thin rules --------------------------------------------------------------- */
.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

.rule-strong {
  height: 1px;
  background: var(--ink);
  opacity: 0.9;
  border: 0;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: #061f36;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule-strong);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: #fff;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Placeholder image — diagonal stripes, labeled ---------------------------- */
.ph {
  position: relative;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(10, 46, 77, 0.05) 14px 15px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-dark {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.05) 14px 15px);
}

.ph-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  max-width: 80%;
  text-align: center;
}

.ph-dark .ph-label {
  background: rgba(10, 46, 77, 0.7);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.ph-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ph-dark .ph-corner {
  color: rgba(255, 255, 255, 0.5);
}

.ph-dims {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
}

.ph-dark .ph-dims {
  color: rgba(255, 255, 255, 0.5);
}

/* Uploaded image occupies the exact placeholder footprint and object-fits into
   it — the box keeps whatever size/aspect the layout gave the empty .ph. */
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ph--filled {
  display: block;
  background-image: none;
}

.ph--filled > img {
  min-height: 100%;
}

/* Section scaffolding ------------------------------------------------------ */
.content-section {
  position: relative;
}

.sec {
  padding: clamp(64px, 8vw, 140px) 0;
}

.sec-tight {
  padding: clamp(48px, 6vw, 96px) 0;
}

.sec--muted {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.sec--navy {
  background: var(--navy);
  color: #fff;
}

.sec-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.sec-meta-left {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.in > *:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger.in > *:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal-stagger.in > *:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-stagger.in > *:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal-stagger.in > *:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal-stagger.in > *:nth-child(6) {
  transition-delay: 0.4s;
}

/* Hero (home) -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: 780px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 46, 77, 0.2) 0%, rgba(10, 46, 77, 0.55) 55%, rgba(10, 46, 77, 0.9) 100%), radial-gradient(1200px 600px at 20% 30%, rgba(14, 110, 177, 0.35), transparent 60%), radial-gradient(900px 500px at 80% 20%, rgba(0, 163, 163, 0.18), transparent 60%), repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, 0.025) 28px 29px), linear-gradient(180deg, #0A2E4D 0%, #061f36 100%);
}

.hero-media.has-image {
  background-size: cover;
  background-position: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, rgba(0, 0, 0, 0.8), transparent 70%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 48px 40px 72px;
}

.hero-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  font-size: clamp(26px, 2.8vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-wordmark img {
  height: 1.55em;
  width: auto;
  display: block;
} /* matches nav mark:text ratio */
.hero-wordmark .brand-dot {
  color: #3FA9E0;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 163, 163, 0.2);
}

.hero-headline {
  font-family: var(--display);
  font-weight: 500;
  color: #fff;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  max-width: 18ch;
  margin: 0 0 28px;
}

.hero-headline em {
  font-style: normal;
  color: var(--teal);
  font-weight: 500;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.3vw, 20px);
  max-width: 62ch;
  line-height: 1.5;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-ctas .btn-primary:hover {
  background: #E9EEF3;
}

.hero-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-ctas .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 46, 77, 0.6);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  display: flex;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-ticker .lane {
  display: flex;
  gap: 48px;
  padding: 0 32px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
}

.hero-ticker .lane span.sep {
  opacity: 0.4;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.hero-coords {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  line-height: 1.7;
}

/* Proof strip -------------------------------------------------------------- */
.proof {
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
}

.proof-item {
  padding: 22px 20px;
  border-right: 1px solid var(--rule);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item .k {
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.proof-item .v {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .proof-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-item:nth-child(2) {
    border-right: 0;
  }
  .proof-item {
    border-bottom: 1px solid var(--rule);
  }
}
/* Three-up pitch ----------------------------------------------------------- */
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 20px;
}

/* Desktop column count, set per instance in ACF. */
.pitch-grid--2, .pitch-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.pitch-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pitch-col {
  padding: 40px 28px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

/* Kill the divider on the last column of every row — otherwise a grid with more
   than one row leaves a hairline hanging off its right edge — and on the final
   item, which may end a ragged row early. */
.pitch-grid--2 .pitch-col:nth-child(2n),
.pitch-grid.cols-2 .pitch-col:nth-child(2n),
.pitch-grid--3 .pitch-col:nth-child(3n),
.pitch-grid--4 .pitch-col:nth-child(4n),
.pitch-col:last-child {
  border-right: 0;
}

.pitch-col .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.pitch-col h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pitch-col p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.pitch-col .kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pitch-grid.compact .pitch-col {
  min-height: 0;
  padding: 28px 24px;
}

.pitch-grid.compact .pitch-col h3 {
  font-size: 20px;
}

@media (max-width: 1100px) {
  .pitch-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pitch-grid--4 .pitch-col:nth-child(4n) {
    border-right: 1px solid var(--rule);
  }
  .pitch-grid--4 .pitch-col:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 900px) {
  .pitch-grid, .pitch-grid--2, .pitch-grid--3, .pitch-grid--4, .pitch-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .pitch-col, .pitch-grid--4 .pitch-col:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .pitch-col:last-child {
    border-bottom: 0;
  }
}
/* Feature / biosimulator block --------------------------------------------- */
.bio {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.bio-grid.media-left {
  grid-template-columns: 1fr 1.1fr;
}

.bio-grid.media-left .bio-media {
  order: -1;
}

.bio h2 {
  color: #fff;
}

.bio .meta {
  color: rgba(255, 255, 255, 0.6);
}

.bio .eyebrow {
  color: var(--teal);
}

.bio p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 48ch;
}

.bio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}

.bio-stats .k {
  font-family: var(--display);
  font-size: 36px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.bio-stats .v {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

.bio .ph {
  aspect-ratio: 4/5;
}

.bio-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bio-ctas .btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.bio-ctas .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .bio-grid, .bio-grid.media-left {
    grid-template-columns: 1fr;
  }
  .bio-grid.media-left .bio-media {
    order: 0;
  }
}
/* Logo wall ---------------------------------------------------------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.logo-cell {
  aspect-ratio: 3/2;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  transition: background 0.2s;
}

.logo-cell:hover {
  background: var(--bg-2);
  color: var(--navy);
}

.logo-cell img {
  max-width: 60%;
  max-height: 50%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Brand Wall additions: column choice + captioned cells. */
.logo-wall--5 {
  grid-template-columns: repeat(5, 1fr);
}

.logo-wall--4 {
  grid-template-columns: repeat(4, 1fr);
}

.logo-cell--stacked {
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 12px;
}

.logo-cell__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-cell__note {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-3);
}

/* Testimonials ------------------------------------------------------------- */
.testi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.testi blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 400;
}

.testi cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .testi {
    grid-template-columns: 1fr;
  }
}
/* Testimonial Wall: the same voice as .testi, sized for a full roster. */
.testi-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

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

.testi-quote {
  background: #fff;
  margin: 0;
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.testi-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 400;
}

.testi-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testi-quote cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.testi-quote__org {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.testi-quote--featured {
  grid-column: 1/-1;
  background: var(--bg-2);
  padding: 40px;
}

.testi-quote--featured blockquote {
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.25;
  max-width: 46ch;
}

@media (max-width: 980px) {
  .testi-wall, .testi-wall--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 660px) {
  .testi-wall, .testi-wall--2 {
    grid-template-columns: 1fr;
  }
  .testi-quote--featured {
    padding: 28px 22px;
  }
}
/* Shared footnote under a wall. */
.wall-footnote {
  margin-top: 18px;
  color: var(--ink-3);
}

/* Culture grid ------------------------------------------------------------- */
.culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 8px;
}

.culture .ph {
  aspect-ratio: auto;
  height: 100%;
}

.culture .c-tall {
  grid-row: span 2;
}

.culture .c-wide {
  grid-column: span 2;
}

.culture--grid2 {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
}

.culture--grid2 .ph {
  aspect-ratio: 1/1;
}

@media (max-width: 900px) {
  .culture {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Generic page head -------------------------------------------------------- */
.page-head {
  padding: clamp(56px, 8vw, 120px) 0 48px;
  border-bottom: 1px solid var(--rule);
}

.page-head.is-dark {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-head.is-dark .h1 {
  color: #fff;
}

.page-head.is-dark .meta {
  color: rgba(255, 255, 255, 0.55);
}

.page-head.is-dark .lede {
  color: rgba(255, 255, 255, 0.8);
}

.page-head .meta {
  margin-bottom: 16px;
}

.page-head h1, .page-head .h1 {
  margin: 0 0 20px;
}

.page-head p.lede {
  max-width: 66ch;
}

.page-head .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Optional background image. The photo URL arrives inline as --page-head-bg so
   the darkening gradient that keeps the white copy legible can live here. */
.page-head--bg {
  padding: 150px 0;
  color: #fff;
  border-bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), var(--page-head-bg);
  background-position: center;
  background-size: cover;
}

.page-head--bg h1, .page-head--bg .h1 {
  color: #fff;
}

.page-head--bg .meta {
  color: rgba(255, 255, 255, 0.7);
}

.page-head--bg .lede {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 760px) {
  .page-head--bg {
    padding: 60px 0;
  }
}
/* Generic page body (page.php) — editor content under a .page-head --------- */
.page-body {
  padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px);
}

.page-body__content {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

.page-body__content > :first-child {
  margin-top: 0;
}

.page-body__content > :last-child {
  margin-bottom: 0;
}

.page-body__content p, .page-body__content ul, .page-body__content ol {
  margin: 0 0 1.1em;
}

.page-body__content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--navy);
  margin: 1.8em 0 0.6em;
}

.page-body__content h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--navy);
  margin: 1.6em 0 0.5em;
}

.page-body__content h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 1.8em 0 0.8em;
}

.page-body__content ul, .page-body__content ol {
  padding-left: 1.3em;
}

.page-body__content li {
  margin-bottom: 0.4em;
}

.page-body__content li::marker {
  color: var(--blue);
}

.page-body__content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-body__content a:hover {
  color: var(--navy);
}

.page-body__content blockquote {
  margin: 1.6em 0;
  padding-left: 20px;
  border-left: 2px solid var(--blue);
  color: var(--ink-2);
}

.page-body__content hr {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 2.4em 0;
}

.page-body__content img {
  max-width: 100%;
  height: auto;
}

.page-body__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 15px;
}

.page-body__content th, .page-body__content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}

.page-body__content th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Capabilities grid -------------------------------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}

.cap {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cap:nth-child(2n) {
  border-right: 0;
}

.cap .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.cap h3 {
  margin: 0;
  font-size: 28px;
}

.cap p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.cap ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
}

.cap li::before {
  content: "—";
  color: var(--blue);
}

/* Optional header above a points list, and the two-up variant used on the
   full-width bookend cards (side by side on desktop, stacked on mobile). */
.cap .points-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cap .points-intro {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

.cap-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.cap-points__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cap-points__col ul {
  margin: 0;
}

@media (max-width: 760px) {
  .cap-points {
    grid-template-columns: 1fr;
  }
}
/* Bookend variant: the first and last cards span the full row. That flips the
   parity of the pairs between them — the right-hand column becomes the ODD
   children — so the vertical rule has to be re-derived. Assumes an even total;
   an odd count leaves the same half-row the plain grid already does. */
.cap-grid--bookend .cap:nth-child(2n) {
  border-right: 1px solid var(--rule);
}

.cap-grid--bookend .cap:nth-child(2n+1) {
  border-right: 0;
}

.cap-grid--bookend .cap:first-child,
.cap-grid--bookend .cap:last-child {
  grid-column: 1/-1;
  border-right: 0;
}

@media (max-width: 760px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap {
    border-right: 0;
  }
}
@media (max-width: 760px) {
  .cap-grid--bookend .cap:nth-child(2n),
  .cap-grid--bookend .cap:nth-child(2n+1) {
    border-right: 0;
  }
}
/* Team --------------------------------------------------------------------- */
/* Rules are drawn as cell borders (as in .logo-wall) rather than a 2px gap over
   a grey container — a part-filled last row then shows page background, not a
   grey block where the missing cards would be. */
.team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.team-card {
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.team-card__media {
  position: relative;
  overflow: hidden;
}

.team-card__media .ph {
  width: 100%;
  height: 100%;
}

.team-card .meta-row {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--rule);
}

.team-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.team-card .role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.4;
}

/* Hover: no copy — just a LinkedIn link over the portrait. */
.team-card__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 46, 77, 0.88);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.team-card__link svg {
  transform: translateY(6px);
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.team-card:hover .team-card__link,
.team-card:focus-within .team-card__link,
.team-card__link:focus-visible {
  opacity: 1;
}

.team-card:hover .team-card__link svg,
.team-card:focus-within .team-card__link svg {
  transform: translateY(0);
}

.team-card__link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -4px;
}

@media (hover: none) {
  .team-card__link {
    opacity: 1;
    background: rgba(11, 31, 59, 0);
  }
  .team-card__link svg {
    transform: none;
    filter: drop-shadow(0 1px 3px rgba(10, 46, 77, 0.55));
  }
}
@media (max-width: 1100px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .team {
    grid-template-columns: 1fr;
  }
}
/* Spotlight card ----------------------------------------------------------- */
/* The .team-card idiom at section width, for a single subject. */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.spotlight__media {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 300px;
}

.spotlight__media .ph {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.spotlight__body {
  background: #fff;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.spotlight__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.spotlight__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.spotlight__role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 6px;
}

.spotlight__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 52ch;
}

.spotlight__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight__points li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
}

.spotlight__points li::before {
  content: "—";
  color: var(--teal);
}

/* The CTA row is a flex line of its own: inline-block buttons sitting in a plain
   block wrapper align on their text baselines, and the LinkedIn button's leading
   SVG shifts that baseline, so the two buttons stagger. */
.spotlight__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 4px;
}

.spotlight__cta {
  align-self: stretch;
  margin-top: 0;
}

.spotlight__cta svg {
  flex: none;
}

/* Media on the right: same DOM order, swapped columns. */
.spotlight--media-right {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.spotlight--media-right .spotlight__media {
  grid-area: 1/2;
}

.spotlight--media-right .spotlight__body {
  grid-area: 1/1;
}

@media (max-width: 860px) {
  .spotlight, .spotlight--media-right {
    grid-template-columns: 1fr;
  }
  .spotlight--media-right .spotlight__media, .spotlight--media-right .spotlight__body {
    grid-area: auto;
  }
  .spotlight--media-right .spotlight__media {
    order: -1;
  }
  .spotlight__media {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .spotlight__body {
    padding: 26px 22px;
  }
}
/* Incubator pathway -------------------------------------------------------- */
.pathway {
  position: relative;
  padding: 40px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pathway-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  position: relative;
}

.pathway-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 56px;
  height: 1px;
  background: var(--rule-strong);
  z-index: 0;
}

.pathway-fill {
  position: absolute;
  left: 6%;
  top: 56px;
  height: 1px;
  background: var(--blue);
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.path-step {
  position: relative;
  z-index: 2;
  padding: 0 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
  transition: opacity 0.25s;
  all: unset;
  box-sizing: border-box;
}

.path-step {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.path-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rule-strong);
  margin: 48px 0 10px 4px;
  transition: all 0.3s;
}

.path-step.active .path-dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(14, 110, 177, 0.15);
}

.path-step.passed {
  opacity: 0.42;
}

.path-step.passed .path-dot {
  background: var(--rule-strong);
  border-color: var(--rule-strong);
  box-shadow: none;
}

.path-step.passed .n, .path-step.passed .t, .path-step.passed .s {
  opacity: 0.42;
}

.path-step .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.path-step .t {
  font-family: var(--display);
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.path-step .s {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.path-detail {
  margin-top: 36px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.path-detail h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.path-detail p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.path-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-detail li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--rule);
}

.path-detail li:first-child {
  border-top: 0;
  padding-top: 0;
}

.path-detail li .mono {
  color: var(--blue);
  min-width: 48px;
}

@media (max-width: 860px) {
  .pathway-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .pathway-line, .pathway-fill {
    display: none;
  }
  .path-dot {
    margin-top: 10px;
  }
  .path-detail {
    grid-template-columns: 1fr;
  }
}
/* Phase entry selector ----------------------------------------------------- */
.entry-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--rule);
  margin-bottom: 24px;
}

.entry-selector-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.entry-selector h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.entry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entry-pill {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  background: #fff;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--body);
  line-height: 1.1;
}

.entry-pill:hover {
  border-color: var(--navy);
}

.entry-pill.sel {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.entry-pill .pn {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}

.entry-pill.sel .pn {
  color: rgba(255, 255, 255, 0.55);
}

.entry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  flex-wrap: wrap;
}

.entry-cta-text {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 60ch;
}

.entry-cta-text strong {
  color: var(--navy);
  font-weight: 600;
}

.entry-select-mobile {
  display: none;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
}

@media (max-width: 720px) {
  .entry-pills {
    display: none;
  }
  .entry-select-mobile {
    display: block;
  }
}
/* Cross-phase callout ------------------------------------------------------ */
.cross-phase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: var(--bg-3);
  border-left: 2px solid var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.cross-phase .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Buffalo / ecosystem map -------------------------------------------------- */
.map-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--rule);
}

.map-canvas {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  overflow: hidden;
  border-right: 1px solid var(--rule);
}

.map-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-canvas .map-node {
  cursor: pointer;
}

.map-side {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.map-side h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.map-side .m-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-side p {
  color: var(--ink-2);
  font-size: 14px;
}

.map-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.map-list button {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  gap: 12px;
}

.map-list button:hover {
  color: var(--blue);
}

.map-list button.active {
  color: var(--blue);
}

.map-list .ml-name {
  font-size: 14px;
  font-weight: 500;
}

.map-list .ml-dist {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .map-wrap {
    grid-template-columns: 1fr;
  }
  .map-canvas {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}
/* Forms -------------------------------------------------------------------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.form-side {
  background: var(--bg-2);
  padding: 36px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-side .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.form-side .step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.14em;
  min-width: 32px;
}

.form-side .step h4 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
}

.form-side .step p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}

.form-side .other-paths {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
  padding-top: 18px;
}

.form-side .other-paths a {
  display: block;
  font-size: 14px;
  color: var(--navy);
  padding: 6px 0;
}

@media (max-width: 900px) {
  .form-wrap {
    grid-template-columns: 1fr;
  }
}
/* Split blocks ------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.align-start {
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
/* Card --------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 28px;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  color: var(--ink-2);
  font-size: 15px;
}

/* Not / relations list ----------------------------------------------------- */
.not-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.not-list .not {
  padding: 28px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.not-list .not:last-child {
  border-right: 0;
}

.not-list .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.not-list .tag.is-blue {
  color: var(--blue);
}

.not-list h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.not-list p {
  color: var(--ink-2);
  font-size: 14.5px;
}

@media (max-width: 800px) {
  .not-list {
    grid-template-columns: 1fr;
  }
  .not-list .not {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}
/* Careers roles ------------------------------------------------------------ */
.role-list {
  border-top: 1px solid var(--ink);
  margin-top: 20px;
}

.role-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

.role-row:hover {
  background: var(--bg-2);
}

.role-row h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
}

.role-row .rm {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.role-row .rtag {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 8px;
  background: var(--bg-3);
  color: var(--navy);
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-row .rapply {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
}

@media (max-width: 760px) {
  .role-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* Specimen quote table (open-book) ----------------------------------------- */
.spec-quote {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}

.spec-quote__head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 12px;
  color: var(--ink-3);
}

.spec-quote__row {
  display: grid;
  grid-template-columns: 80px 1fr 80px 100px;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}

.spec-quote__row .code {
  color: var(--blue);
}

.spec-quote__row .desc {
  color: var(--ink);
}

.spec-quote__row .qty {
  color: var(--ink-2);
}

.spec-quote__row .amt {
  text-align: right;
  color: var(--navy);
  font-weight: 500;
}

.spec-quote__total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 4px;
  color: var(--navy);
  font-weight: 600;
}

.spec-quote__note {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .spec-quote__row {
    grid-template-columns: 70px 1fr 70px;
  }
  .spec-quote__row .qty {
    display: none;
  }
}
/* Credentials docs --------------------------------------------------------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.docs-grid .doc {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-grid .doc:last-child {
  border-right: 0;
}

.docs-grid .doc .meta {
  color: var(--blue);
}

.docs-grid .doc h3 {
  font-size: 22px;
}

.docs-grid .doc p {
  color: var(--ink-2);
  font-size: 14px;
}

.docs-grid .doc .doc-link {
  margin-top: auto;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-grid .doc {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}
/* Pull quote --------------------------------------------------------------- */
.pull-quote p {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.3;
  color: var(--navy);
  max-width: 50ch;
  margin: 0;
  letter-spacing: -0.005em;
}

/* CTA band ----------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: #fff;
}

.cta-band .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band .meta {
  color: rgba(255, 255, 255, 0.55);
}

.cta-band h2 {
  color: #fff;
  margin-top: 8px;
  max-width: 20ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.45;
  margin-top: 14px;
  max-width: 46ch;
}

.cta-band .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.cta-band .btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  padding: 18px 24px;
  font-size: 15px;
}

.cta-band .sub-link {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .cta-band .actions {
    align-items: flex-start;
  }
}
/* Misc --------------------------------------------------------------------- */
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  font-size: 14px;
}

.kv dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 2px;
}

.kv dd {
  margin: 0;
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-3);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Overlays + form theming */
/* NDA modal flow — ported from the design's NDA_STYLES. Front-end UX preserved;
   completion submits to a Gravity Form (NDA Request). */
.nda-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 46, 77, 0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: nda-fade 0.22s ease forwards;
}

@keyframes nda-fade {
  to {
    opacity: 1;
  }
}
.nda-modal {
  background: #fff;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(8px);
  animation: nda-pop 0.28s cubic-bezier(0.22, 0.8, 0.32, 1) forwards;
}

@keyframes nda-pop {
  to {
    transform: translateY(0);
  }
}
.nda-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
}

.nda-hd-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nda-hd .meta {
  margin: 0;
}

.nda-hd h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.nda-close {
  all: unset;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 14px;
  transition: all 0.15s;
}

.nda-close:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.nda-steps {
  display: flex;
  gap: 0;
  padding: 0 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
}

.nda-step {
  flex: 1;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
}

.nda-step.active {
  color: var(--navy);
}

.nda-step.done {
  color: var(--blue);
}

.nda-step .nn {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border-radius: 50%;
}

.nda-step.done .nn {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.nda-step.active .nn {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.nda-body {
  padding: 28px 24px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nda-body h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nda-body .lead {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.nda-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  gap: 16px;
  flex-wrap: wrap;
}

.nda-foot .left {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nda-doc {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 24px;
  height: 280px;
  min-height: 240px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
  flex-shrink: 0;
}

.nda-doc::-webkit-scrollbar {
  width: 8px;
}

.nda-doc::-webkit-scrollbar-thumb {
  background: var(--rule-strong);
  border-radius: 4px;
}

.nda-doc h5 {
  font-family: var(--display);
  font-size: 15px;
  color: var(--navy);
  margin: 18px 0 6px;
  font-weight: 600;
  letter-spacing: 0;
}

.nda-doc h5:first-child {
  margin-top: 0;
}

.nda-doc .placeholder {
  background: #FFF7DC;
  color: var(--ink);
  padding: 1px 6px;
  border-bottom: 1px dashed var(--amber);
}

.nda-keys {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: #fff;
}

.nda-key {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nda-key:nth-child(2n) {
  border-right: 0;
}

.nda-key:nth-last-child(-n+2) {
  border-bottom: 0;
}

.nda-key .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nda-key .v {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.nda-sign {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nda-sign-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nda-sigfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nda-sigfield label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nda-sigfield .sig {
  font-family: "Caveat", "Brush Script MT", cursive;
  font-size: 32px;
  color: var(--navy);
  padding: 8px 14px;
  border-bottom: 1px solid var(--ink);
  background: #fff;
  min-height: 54px;
  display: flex;
  align-items: flex-end;
  letter-spacing: 0.5px;
}

.nda-sigfield .sig.empty {
  color: var(--ink-3);
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0;
  font-style: italic;
}

.nda-sigfield .meta-line {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.nda-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}

.nda-consent input {
  margin-top: 3px;
  accent-color: var(--blue);
}

.nda-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 0;
}

.nda-success .check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-family: var(--display);
}

.nda-success h4 {
  font-size: 28px;
}

.nda-success .ref {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: var(--bg-2);
  text-transform: uppercase;
}

.nda-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  width: 100%;
}

.nda-next .item {
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nda-next .item:last-child {
  border-right: 0;
}

.nda-next .item .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
}

.nda-next .item h5 {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}

.nda-next .item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* Shared field styling (contact form uses .field too; GF is themed separately) */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input, .field select, .field textarea {
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  font-family: var(--body);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 110, 177, 0.15);
}

.field.err input, .field.err select, .field.err textarea {
  border-color: var(--red);
}

.field .errmsg {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .nda-sign-row {
    grid-template-columns: 1fr;
  }
  .nda-keys {
    grid-template-columns: 1fr;
  }
  .nda-key {
    border-right: 0;
    border-bottom: 1px solid var(--rule) !important;
  }
  .nda-next {
    grid-template-columns: 1fr;
  }
  .nda-next .item {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* Gravity Forms — restyle GF output to match the design's .field system.
   Scoped to .content-section so it only affects front-end embedded forms. */
.content-section .gform_wrapper {
  margin: 0;
}

.content-section .gform_wrapper form {
  margin: 0;
}

/* Match Gravity Forms' own 12-column foundation grid, so GF's per-field
   `gfield--width-half` / `--width-full` spans keep working. Declaring a 2-column
   grid here instead makes every `span 6` field overflow into implicit tracks. */
.content-section .gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.content-section .gform_wrapper .gfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content-section .gform_wrapper .gfield.gfield--width-full,
.content-section .gform_wrapper .gfield.full {
  grid-column: 1/-1;
}

.content-section .gform_wrapper .gfield_label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
  margin: 0;
}

.content-section .gform_wrapper .gfield_required {
  color: var(--red);
}

.content-section .gform_wrapper input[type=text],
.content-section .gform_wrapper input[type=email],
.content-section .gform_wrapper input[type=tel],
.content-section .gform_wrapper input[type=url],
.content-section .gform_wrapper select,
.content-section .gform_wrapper textarea {
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  font-family: var(--body);
  transition: border-color 0.15s, box-shadow 0.15s;
  /* GF's framework layer pins every control to `--gf-ctrl-size` (38px) with
     box-sizing: border-box, which is shorter than 12px padding + the line box —
     select text ends up clipped by its own bottom border. Let padding set the height. */
  height: auto;
  line-height: 1.45;
}

.content-section .gform_wrapper textarea {
  min-height: 110px;
  resize: vertical;
}

.content-section .gform_wrapper input:focus,
.content-section .gform_wrapper select:focus,
.content-section .gform_wrapper textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 110, 177, 0.15);
}

.content-section .gform_wrapper .gfield_description.validation_message,
.content-section .gform_wrapper .validation_message {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  margin-top: 4px;
  background: none;
  border: 0;
}

.content-section .gform_wrapper .gfield_error input,
.content-section .gform_wrapper .gfield_error select,
.content-section .gform_wrapper .gfield_error textarea {
  border-color: var(--red);
}

.content-section .gform_wrapper .gform_footer {
  margin-top: 28px;
  padding: 0;
}

/* GF's framework layer styles the submit with a 6-class selector
   (.gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button),
   so these overrides have to carry at least as many classes to win. */
.content-section .gform_wrapper.gform-theme .gform_footer input[type=submit].button.gform_button,
.content-section .gform_wrapper.gform-theme .gform_footer button.gform_button,
.content-section .gform_wrapper .gform_footer input[type=submit],
.content-section .gform_wrapper .gform_button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  width: auto;
  transition: background 0.15s;
}

.content-section .gform_wrapper.gform-theme .gform_footer input[type=submit].button.gform_button:hover,
.content-section .gform_wrapper.gform-theme .gform_footer button.gform_button:hover,
.content-section .gform_wrapper .gform_footer input[type=submit]:hover {
  background: #061f36;
  border-color: #061f36;
}

.content-section .gform_confirmation_message {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .content-section .gform_wrapper .gform_fields {
    grid-template-columns: 1fr;
  }
  /* Beats GF's `.gfield--width-half { grid-column: span 6 }` so nothing spills. */
  .content-section .gform_wrapper .gfield {
    grid-column: 1/-1;
  }
}
/* File upload — the resume field on the Careers Application form. GF renders a
   bare <input type="file">; dress it as a drop-target box with a mono button. */
.content-section .gform_wrapper .ginput_container_fileupload input[type=file] {
  /* `height: auto` + a unitless line-height are load-bearing: the GF framework
     layer pins controls to `--gf-ctrl-size` (38px), which clips the taller
     ::file-selector-button and swallows the padding below. */
  width: 100%;
  height: auto;
  line-height: 1.5;
  box-sizing: border-box;
  background: #fff;
  border: 1px dashed var(--rule-strong);
  border-radius: 0;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.content-section .gform_wrapper .ginput_container_fileupload input[type=file]:hover {
  border-color: var(--blue);
  background: var(--bg-2);
}

.content-section .gform_wrapper .ginput_container_fileupload input[type=file]:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 110, 177, 0.15);
}

.content-section .gform_wrapper .ginput_container_fileupload input[type=file]::file-selector-button {
  margin-right: 14px;
  padding: 9px 14px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s;
}

.content-section .gform_wrapper .ginput_container_fileupload input[type=file]::file-selector-button:hover {
  background: #061f36;
}

.content-section .gform_wrapper .gform_fileupload_rules,
.content-section .gform_wrapper .gfield_description {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 0;
  margin: 0;
}

.content-section .gform_wrapper .gfield_error .ginput_container_fileupload input[type=file] {
  border-color: var(--red);
}

/* Checkbox / radio choices — the "keep me on file" consent. */
.content-section .gform_wrapper .gfield_checkbox,
.content-section .gform_wrapper .gfield_radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-section .gform_wrapper .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.content-section .gform_wrapper .gchoice input[type=checkbox],
.content-section .gform_wrapper .gchoice input[type=radio] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--blue);
  cursor: pointer;
}

.content-section .gform_wrapper .gchoice label {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  cursor: pointer;
}

/* Submission-level error banner. */
.content-section .gform_wrapper .gform_validation_errors,
.content-section .gform_wrapper .gform_submission_error {
  background: rgba(190, 42, 42, 0.06);
  border: 1px solid var(--red);
  border-radius: 0;
  padding: 14px 16px;
  margin: 0 0 24px;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.content-section .gform_wrapper .gform_validation_errors > h2,
.content-section .gform_wrapper h2.gform_submission_error {
  font-size: 11px;
  margin: 0;
  color: var(--red);
  font-weight: 400;
}

.content-section .gform_wrapper .gform_validation_errors .gform_submission_error .gform-icon {
  display: none;
}

/* Ajax spinner sits beside the submit button, not on its own line. */
.content-section .gform_wrapper .gform_ajax_spinner {
  margin-left: 12px;
  vertical-align: middle;
}
