/* ICSDS — shared stylesheet for all pages */

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

/* Light/dark theming: every color that needs to flip between themes is a
   custom property, declared once under :root/[data-theme="light"] and
   overridden under [data-theme="dark"]. Nothing else in this file is
   theme-aware — colors that stay literal in both themes (text/borders
   that sit on a permanently-dark section like the hero, footer, or
   utility bar) are written as plain hex, on purpose, not as variables. */
:root, [data-theme="light"] {
  --red: #E90128;
  --btn-hover-bg: #111315;
  --btn-hover-fg: #FFFFFF;
  --card: #FFFFFF;
  --bg-alt: #F5F6F7;
  --placeholder: #F0F1F2;
  --section-dark: #111315;
  --section-dark-hover: #191C1F;
  --footer: #08090A;
  --header-bg: rgba(255,255,255,0.96);
  --text: #111315;
  --text-inv: #FFFFFF;
  --text-mid: #4A4F55;
  --text-muted: #6B7177;
  --prose: #2C3034;
  --on-dark: #FFFFFF;
  --border: #E3E5E8;
  --border-footer: #2A2E33;
  --input-border: #D5D8DC;
  --outline-dark: #4A4F55;
  --dash: #B9BDC1;
  --icon-chip: #ECEEF0;
  --logo-filter: none;
  --logo-filter-footer: brightness(0) invert(1);
  --hatch: rgba(17,19,21,0.06);
  --max: 1240px;
}
[data-theme="dark"] {
  --red: #FF2544;
  --btn-hover-bg: #FFFFFF;
  --btn-hover-fg: #111315;
  --card: #14171A;
  --bg-alt: #0E1013;
  --placeholder: #1B1F24;
  --section-dark: #1B1F24;
  --section-dark-hover: #23282E;
  --footer: #08090A;
  --header-bg: rgba(20,23,26,0.94);
  --text: #F2F4F5;
  --text-inv: #111315;
  --text-mid: #C2C7CC;
  --text-muted: #A2A8AE;
  --prose: #D8DCE0;
  --on-dark: #FFFFFF;
  --border: #2C3238;
  --border-footer: #22262B;
  --input-border: #3A4047;
  --outline-dark: #555C63;
  --dash: #555C63;
  --icon-chip: #232931;
  --logo-filter: var(--logo-filter-footer);
  --logo-filter-footer: brightness(0) invert(1);
  --hatch: rgba(255,255,255,0.07);
}
html { background: var(--bg-alt); }

html { scroll-behavior: smooth; }

/* Typographic reset — keeps single-word last lines out of headings and
   paragraphs across every page. Global, class-free, applied once. */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, blockquote, figcaption, dd, dt, label, td, th { text-wrap: pretty; orphans: 2; widows: 2; }
a, span, div, button { text-wrap: pretty; }

/* Scroll reveal — the "y" state is only ever applied by JS (site.js,
   initScrollReveal), never rendered server-side, so content stays fully
   visible for visitors without JS. See site.js for the trigger logic. */
[data-reveal="y"]  { opacity: 0; transform: translateY(18px); }
[data-reveal="in"] { opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.22,.61,.36,1),
              transform .62s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal="y"], [data-reveal="in"] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--red); }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.eyebrow.eyebrow-sm { font-size: 11.5px; letter-spacing: 0.12em; }
.eyebrow.eyebrow-sm::before { width: 22px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility bar ---------- */
.util-bar { background: var(--section-dark); color: #fff; }
.util-bar .wrap {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.util-bar a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.util-bar a:hover { color: var(--red); }
.util-bar .dim { color: #9AA0A6; }
.util-bar .push-left { margin-left: auto; }
/* Entire bar hides below 768px — the theme toggle it carries gets a
   second copy inside the mobile menu instead (see .mobile-cta). */
@media (max-width: 767.98px) {
  .util-bar { display: none; }
}

.theme-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid #34383D;
  color: #fff;
  padding: 5px 11px 5px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle .tt-icon { display: none; }
.theme-toggle .tt-label { display: none; }
.theme-toggle .tt-moon { display: flex; }
.theme-toggle .tt-label-dark { display: inline; }
[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
[data-theme="dark"] .theme-toggle .tt-label-dark { display: none; }
[data-theme="dark"] .theme-toggle .tt-sun { display: flex; }
[data-theme="dark"] .theme-toggle .tt-label-light { display: inline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
/* .bar-inner reuses .wrap's max-width/centering so the logo and nav
   line up with the rest of the page's content (hero, sections, footer)
   instead of hugging the header's own full-width edges. */
.site-header .bar { padding: 14px 0; }
.site-header .bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; display: block; filter: var(--logo-filter); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-item { position: static; }
.nav-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text);
  font-family: inherit;
}
.nav-btn:hover, .nav-btn.is-active { color: var(--red); }
.nav-btn .chev {
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 13px 20px;
  font-size: 14px;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }
/* On dark-background sections (hero, footer CTA) a near-black hover is
   almost invisible against the already-dark surface — invert to white
   instead, matching how .btn-outline-light behaves in the same sections. */
.hero .btn-primary:hover,
.site-footer .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: #111315;
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-xl { padding: 17px 30px; font-size: 15.5px; }
.btn-outline-dark {
  background: none;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 12px 20px;
  font-size: 14.5px;
}
.btn-outline-dark:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn-outline-light {
  border: 1px solid var(--outline-dark);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); color: #fff; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0 12px;
  flex: none;
}
.hamburger:hover { border-color: var(--text); }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); }

/* Mega menu (desktop) — a full-viewport, scrollable panel, not just an
   auto-height dropdown. Height comes from --mega-h (set in JS from the
   sticky header's live getBoundingClientRect().bottom — the utility bar
   scrolls away above it, so this can't be a fixed number).

   Do NOT use position: fixed here — the header has backdrop-filter,
   which makes it the containing block for any fixed descendant, so
   bottom: 0 would resolve against the HEADER's bottom, not the
   viewport's, and the panel would collapse to ~1px. */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--mega-h, calc(100vh - 118px));
  background: var(--card);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 60;
  box-shadow: 0 32px 56px -28px rgba(17,19,21,0.32);
  display: none;
}
.nav-item.is-open .mega { display: block; }
.mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 56px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header strip: eyebrow + title on the left, a "view all" button and a
   Close button on the right — replaces the old rail-with-intro layout. */
.mega-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.mega-head-copy { min-width: 0; max-width: 620px; }
.mega-head-copy .eyebrow { color: var(--text-muted); margin-bottom: 12px; }
.mega-head-title {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.028em;
  line-height: 1.15;
}
.mega-head-actions { flex: none; display: flex; align-items: center; gap: 14px; }
.mega-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--text);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.mega-cta-btn:hover { background: var(--text); color: var(--text-inv); }
.mega-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--border);
  padding: 12px 16px;
  cursor: pointer;
  align-self: stretch;
  line-height: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mega-close-btn:hover { border-color: var(--red); color: var(--red); }
.mega-close-x { position: relative; display: block; width: 13px; height: 13px; }
.mega-close-x span { position: absolute; top: 6px; left: 0; width: 13px; height: 1.5px; background: currentColor; }
.mega-close-x span:first-child { transform: rotate(45deg); }
.mega-close-x span:last-child { transform: rotate(-45deg); }

/* Card grid: one cell per group, each link its own bordered card — a
   directory of destinations rather than a list of text rows. Do not
   revert to borderless rows; the card treatment keeps uneven-length
   groups visually even. */
.mega-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 28px 40px;
  align-items: start;
  align-content: start;
  flex: 1 1 auto;
}
.mega-group { min-width: 0; }
.mega-group-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mega-group-links { display: grid; gap: 10px; }
.mega-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border: 1px solid var(--border);
  padding: 15px 16px;
}
.mega-link:hover { border-color: var(--text); background: var(--bg-alt); }
.mega-link .lbl-wrap { display: block; min-width: 0; }
.mega-link .lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mega-link .lbl::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid var(--red);
  border-top: 1.6px solid var(--red);
  transform: rotate(45deg);
  display: inline-block;
  flex: none;
}
.mega-link .note { display: block; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; margin-top: 5px; }

/* Mobile nav */
.mobile-nav { border-top: 1px solid var(--border); background: var(--card); max-height: 70vh; overflow-y: auto; display: none; }
.site-header.mobile-open .mobile-nav { display: block; }
.mobile-nav-inner { padding: 8px 24px 24px; }
.mobile-item { border-bottom: 1px solid var(--border); }
.mobile-item > summary,
.mobile-link {
  list-style: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.mobile-item > summary::-webkit-details-marker { display: none; }
.mobile-item > summary:hover, .mobile-link:hover { color: var(--red); }
.mobile-item > summary .sign { font-family: "IBM Plex Mono", monospace; color: var(--red); font-size: 18px; line-height: 1; }
.mobile-item > summary .sign::before { content: "+"; }
.mobile-item[open] > summary .sign::before { content: "\2013"; }
.mobile-children { display: grid; gap: 2px; padding: 0 0 14px; }
.mobile-children a {
  display: block;
  padding: 11px 14px;
  border-left: 2px solid var(--border);
  font-size: 15px;
}
.mobile-children a:hover { border-left-color: var(--red); background: var(--bg-alt); }
.mobile-cta { display: grid; gap: 12px; margin-top: 20px; }
.mobile-cta-primary { display: block; text-align: center; background: var(--red); color: #fff; padding: 15px 20px; font-weight: 600; font-size: 15px; }
.mobile-cta-primary:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.mobile-cta-secondary { display: block; text-align: center; border: 1px solid var(--input-border); padding: 15px 20px; font-weight: 600; font-size: 15px; color: var(--text); }
.mobile-cta-secondary:hover { border-color: var(--text); }
.theme-toggle-mobile {
  margin-left: 0;
  justify-content: center;
  border: 1px solid var(--input-border);
  color: var(--text-muted);
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.theme-toggle-mobile:hover { border-color: var(--red); color: var(--red); }

@media (min-width: 1060px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}

/* Logo + header CTA + hamburger can't all fit on a ~375px viewport
   without causing horizontal scroll — hide the desktop CTA below 560px
   (it reappears as full-width buttons inside the mobile menu, see
   .mobile-cta) and tighten the utility bar's wrap gap to match. */
@media (max-width: 559.98px) {
  .util-bar .wrap { gap: 6px 14px; }
  .header-actions .btn-primary { display: none; }
}

/* ---------- Hero (dark, shared) ---------- */
.hero { background: var(--section-dark); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  z-index: 0;
}
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,19,21,0.99) 0%, rgba(17,19,21,0.95) 36%, rgba(17,19,21,0.78) 52%, rgba(17,19,21,0.5) 70%, rgba(17,19,21,0.35) 100%);
  z-index: 1;
}

.hero-inner-pad { padding: 70px 24px 78px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AA0A6;
  margin-bottom: 30px;
}
.crumbs a { color: #9AA0A6; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--outline-dark); }
.crumbs .cur { color: #fff; }

.hero-inner-pad .eyebrow { color: #fff; margin-bottom: 24px; }
.hero h1 {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-inner-pad h1 { font-size: clamp(32px, 3.9vw, 54px); max-width: 900px; }
.hero-inner-pad p.lead { font-size: 18px; max-width: 760px; }
.hero p.lead { line-height: 1.6; color: #D3D6D9; margin: 0 0 36px; text-wrap: pretty; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero — a full-bleed photo behind a single left-weighted scrim,
   the same treatment at every breakpoint (no separate stacked-mobile
   image). Height fills to the header's bottom edge (min-height, no
   max-height — a hard cap would clip the CTAs on a short viewport);
   --hero-offset is the utility bar + header height measured once on
   load/resize (see initHeaderHeightVar in site.js). */
.hero-home {
  padding: 0;
  min-height: calc(100svh - var(--hero-offset, 118px));
  display: flex;
  align-items: center;
}
.hero-home-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.hero-home-scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(10,12,14,0.92) 0%, rgba(10,12,14,0.8) 34%, rgba(10,12,14,0.5) 56%, rgba(10,12,14,0.24) 78%, rgba(10,12,14,0.14) 100%);
  pointer-events: none;
}
.hero-home .wrap { width: 100%; }
.hero-home .hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 24px 56px;
  align-items: center;
  position: relative;
}
/* Viewport-height-aware sizing so the hero fits a 375×667 phone without
   clipping the CTA row — every value eases with vh, not just width. */
.hero-home .hero-copy { padding: clamp(40px, 6vh, 56px) 0 clamp(44px, 6vh, 64px); }
.hero-home .eyebrow { margin-bottom: clamp(16px, 2.6vh, 28px); }
.hero-home h1 {
  font-size: clamp(32px, 4.2vw + 0.4vh, 62px);
  line-height: 1.04;
  max-width: 660px;
  margin: 0 0 clamp(16px, 2.4vh, 26px);
}
.hero-home p.lead {
  font-size: clamp(16px, 1.1vw + 0.4vh, 18.5px);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 0 clamp(22px, 3.4vh, 38px);
}

/* Hero bottom rail — replaces a centered scroll icon, which fought the
   left-aligned copy. Left: a scroll-to-explore link. Right: quick
   service links. Only at >=1100px: narrower, the hero content grows
   into it. Fades out (opacity + visibility, not display, so the
   transition still runs) once the visitor scrolls past the hero — see
   initScrollCue in site.js. The wrapper is pointer-events: none; only
   the links re-enable pointer-events so the rail can never intercept a
   CTA click sitting behind it. */
.hero-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.hero-rail.is-hidden { opacity: 0; visibility: hidden; }
.hero-rail-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-rail-scroll {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-rail-scroll:hover { color: var(--red); }
.hero-rail-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  pointer-events: none;
}
.hero-rail-arrow span { display: block; animation: icsdsScrollArrow 1.9s cubic-bezier(0.4,0,0.2,1) infinite; }
.hero-rail-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-rail-links a { pointer-events: auto; color: #B9BDC1; }
.hero-rail-links a:hover { color: var(--red); }
@keyframes icsdsScrollArrow {
  0%   { transform: translateY(-26px); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translateY(0); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}
@media (min-width: 1100px) {
  .hero-rail { display: block; }
  .hero-home .hero-copy { padding-bottom: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rail-arrow span { animation: none; }
}

/* ---------- Sections (generic) ---------- */
section.band { border-bottom: 1px solid var(--border); }
.pad-lg { padding: 84px 24px 88px; }
.pad-md { padding: 72px 24px 80px; }
.pad-sm { padding: 56px 24px 60px; }

.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.head-row h2 {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.025em;
  margin: 0;
}
.head-row p { margin: 0; color: var(--text-muted); font-size: 14px; max-width: 420px; }

h2.section-title {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Intent cards (home) */
.intent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.intent-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px 28px 26px;
  min-height: 260px;
}
.intent-card:hover { border-color: var(--text); box-shadow: 0 18px 40px -24px rgba(17,19,21,0.35); }
.intent-card .title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.intent-card .body { color: var(--text-mid); font-size: 15px; line-height: 1.55; }
.intent-card .cta { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--red); display: flex; align-items: center; gap: 8px; }
.intent-card .cta::after { content: ""; width: 16px; height: 1px; background: var(--red); display: inline-block; }

/* Core services (home) */
.services-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px 48px;
  align-items: start;
}
.services-layout h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.service-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.service-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 26px 8px;
  border-bottom: 1px solid var(--border);
}
.service-row:hover { background: var(--bg-alt); }
.service-row .title { display: block; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 7px; color: var(--text); }
.service-row .body { display: block; color: var(--text-mid); font-size: 15px; line-height: 1.55; max-width: 560px; }
.service-row .plus { font-size: 22px; color: var(--red); line-height: 1; }

/* Shortcuts (home, dark) */
.shortcuts-band { background: var(--section-dark); color: #fff; }
.shortcuts-band h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; margin: 0 0 8px; }
.shortcuts-band > .wrap > p { color: #9AA0A6; font-size: 15.5px; margin: 0 0 34px; }
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  background: #34383D;
  border: 1px solid #34383D;
}
.shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--section-dark);
  padding: 28px 24px 26px;
  min-height: 190px;
}
.shortcut-card:hover { background: var(--section-dark-hover); }
.shortcut-card .title { font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em; line-height: 1.25; color: #fff; }
.shortcut-card .body { color: #B9BDC1; font-size: 14.5px; line-height: 1.5; }

/* Why ICSDS (home) */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.why-grid h2 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.1; margin: 0 0 22px; }
.why-grid > div:first-child p.body-copy { color: var(--text-mid); font-size: 16.5px; line-height: 1.6; margin: 0 0 26px; max-width: 520px; }
.diamond-list { display: grid; gap: 0; border-top: 1px solid var(--border); max-width: 560px; }
.diamond-list .row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: center; }
.diamond-list .row span.txt { font-size: 15.5px; line-height: 1.55; color: var(--text); }

.why-media { display: grid; gap: 20px; align-content: start; }
.why-photo { aspect-ratio: 3 / 2; border: 1px solid var(--border); overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stat-card { background: var(--card); padding: 24px 20px; }
.stat-card .value { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.03em; margin-bottom: 6px; }
.stat-card .label { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); line-height: 1.4; }

/* Process steps (home) */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.process-step { border-top: 2px solid var(--text); padding-top: 20px; }
.process-step .step-icon { margin-bottom: 14px; }
.process-step .step-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 9px; }
.process-step .step-body { color: var(--text-mid); font-size: 15px; line-height: 1.55; }

/* Audiences (home) */
.audience-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.audience-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.audience-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.audience-tags span { border: 1px solid var(--border); padding: 9px 16px; font-size: 14.5px; font-weight: 500; }

/* ---------- Thank-you page ---------- */
.thanks-hero-pad { padding: 72px 24px 80px; }
.thanks-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 64px;
  align-items: end;
}
.thanks-check { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--red); margin-bottom: 30px; }
.thanks-hero-grid h1 { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 700px; }
.thanks-hero-grid .eyebrow { color: #fff; margin-bottom: 20px; }
.thanks-hero-grid p.lead { font-size: 18px; max-width: 560px; margin: 0; }
.thanks-hero-grid p.lead strong { color: #fff; font-weight: 600; }
.thanks-summary { border: 1px solid #34383D; background: rgba(255,255,255,0.03); }
.thanks-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #34383D;
  font-family: "IBM Plex Mono", monospace;
}
.thanks-summary-head span:first-child { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9AA0A6; }
.thanks-summary-head span:last-child { font-size: 15px; letter-spacing: 0.06em; color: #fff; font-weight: 500; }
.thanks-summary-rows { display: grid; gap: 0; padding: 6px 22px 10px; }
.thanks-summary-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #2A2E33; align-items: baseline; }
.thanks-summary-row span:first-child { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #9AA0A6; }
.thanks-summary-row span:last-child { font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.thanks-summary-note { padding: 14px 22px 18px; font-size: 13px; color: #9AA0A6; line-height: 1.5; }
.thanks-process-when { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.thanks-links-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.thanks-link-card { min-height: 180px; padding: 26px 24px 24px; }

/* ---------- Inner-page content blocks ---------- */
.block { border-bottom: 1px solid var(--border); }
.block:nth-of-type(odd) { background: var(--card); }
.block:nth-of-type(even) { background: var(--bg-alt); }
.block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 26px 56px;
  align-items: start;
}
.block-head .eyebrow { color: var(--text-muted); margin-bottom: 16px; }
.block-head h2 {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 33px);
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0;
  max-width: 480px;
}

.prose-copy { margin: 0; color: var(--text-mid); font-size: 16.5px; line-height: 1.65; max-width: 680px; text-wrap: pretty; }

.bullet-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.bullet-list .row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); align-items: center; }
.bullet-list .row span.txt { font-size: 15.5px; line-height: 1.55; color: var(--text); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.info-card { background: var(--card); border: 1px solid var(--border); padding: 22px 22px 24px; }
.info-card .icon-row { margin-bottom: 14px; }
.info-card .title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.25; }
.info-card .body { color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }

.step-list { display: grid; gap: 0; }
.step-list .row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--border); align-items: start; }
.step-list .row .title { display: block; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step-list .row .body { display: block; color: var(--text-mid); font-size: 15px; line-height: 1.55; }

.link-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.link-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
}
.link-list a:hover { background: var(--card); }
.link-list .title { display: block; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 18.5px; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--text); }
.link-list .body { display: block; color: var(--text-mid); font-size: 15px; line-height: 1.55; max-width: 560px; }
.link-list .plus { font-size: 20px; color: var(--red); line-height: 1; }

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item > summary {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  background: none;
  border: 0;
  padding: 20px 4px;
  cursor: pointer;
  text-align: left;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--red); }
.faq-item > summary .q { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 17.5px; letter-spacing: -0.02em; line-height: 1.3; }
.faq-item > summary .sign { font-family: "IBM Plex Mono", monospace; color: var(--red); font-size: 18px; text-align: right; }
.faq-item > summary .sign::before { content: "+"; }
.faq-item[open] > summary .sign::before { content: "\2013"; }
.faq-item .a { margin: 0; padding: 0 4px 22px; color: var(--text-mid); font-size: 15.5px; line-height: 1.65; max-width: 680px; }

/* ---------- Start-a-project (contact) section, shared on every page ---------- */
.start-section { background: var(--section-dark); color: #fff; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: start;
  padding: 84px 24px 92px;
}
.start-copy .eyebrow { color: #fff; margin-bottom: 24px; }
.start-copy h2 { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 20px; }
.start-copy .lead { color: #D3D6D9; font-size: 17px; line-height: 1.6; margin: 0 0 32px; max-width: 520px; }
.start-points { display: grid; gap: 0; border-top: 1px solid #34383D; max-width: 520px; margin-bottom: 30px; }
.start-points .row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #34383D; font-size: 15px; color: #D3D6D9; }
.start-phone { color: #fff; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 12px; }
.start-phone:hover { color: var(--red); }

.form-card { background: var(--card); color: var(--text); border: 1px solid var(--border); padding: 34px 32px 36px; }

.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.form-head h3 { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.025em; margin: 0; }
.form-head .counter { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--text-muted); }
.form-hint { color: var(--text-muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 22px; }
.progress { display: flex; gap: 6px; margin-bottom: 26px; }
.progress span { height: 3px; flex: 1; background: var(--border); }
.progress span.done { background: var(--red); }

.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: grid; gap: 16px; }
label.field-label { display: block; }
label.field-label > span.lbl {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}
label.field-label > span.lbl .opt { text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.field-label input[type="text"],
.field-label input[type="email"],
.field-label input[type="tel"],
.field-label select,
.field-label textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--input-border);
  background: var(--card);
  font-size: 15px;
  outline: none;
}
.field-label textarea { line-height: 1.5; resize: vertical; font-family: inherit; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { border-color: var(--text); }
.field-label input.has-error, .field-label textarea.has-error { border-color: var(--red); }
.field-error { display: block; color: var(--red); font-size: 12.5px; margin-top: 6px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--input-border);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--text); color: var(--text-inv); border-color: var(--text); }

.dropzone {
  border: 1px dashed var(--dash);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  background: #FAFBFB;
}
.dropzone:hover { border-color: var(--text); background: var(--bg-alt); }
.dropzone .fname { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 4px; }
.dropzone .hint { display: block; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--text-muted); }

.checkline { display: flex; align-items: flex-end; gap: 10px; padding-bottom: 12px; }
.checkline input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--red); margin: 0; }
.checkline span { font-size: 14.5px; line-height: 1.4; }

.step-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.step-nav .hint-text { color: var(--text-muted); font-size: 13.5px; }
.btn-form-primary {
  background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 15px 26px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn-form-primary:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn-form-secondary {
  background: none; border: 1px solid var(--input-border);
  padding: 15px 22px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn-form-secondary:hover { border-color: var(--text); }
.btn-form-link { background: none; border: 0; padding: 15px 4px; color: var(--text-muted); font-size: 14px; cursor: pointer; text-decoration: underline; }
.change-link { background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: inherit; }
.selected-need { background: var(--bg-alt); border: 1px solid var(--border); padding: 14px 16px; font-size: 14px; color: var(--text-mid); }

[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; position: relative; overflow: hidden; border-top: 1px solid var(--border-footer); }
.footer-cta {
  border-bottom: 1px solid var(--border-footer);
  padding: 56px 0 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px 56px;
  align-items: center;
}
.footer-cta .eyebrow { color: #9AA0A6; margin-bottom: 18px; }
.footer-cta .headline { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.028em; line-height: 1.12; max-width: 440px; }
.footer-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.footer-cols { padding: 54px 0 46px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 44px 40px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.footer-brand img { height: 34px; width: auto; max-width: 100%; align-self: flex-start; display: block; filter: var(--logo-filter-footer); }
.footer-brand p { color: #B9BDC1; font-size: 14px; line-height: 1.6; margin: 0; max-width: 290px; }
.footer-contact { display: grid; gap: 10px; font-size: 14px; color: #B9BDC1; }
.footer-contact a { color: #fff; display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.footer-contact a:hover { color: var(--red); }

.footer-col-title { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9AA0A6; padding-bottom: 12px; border-bottom: 1px solid var(--border-footer); margin-bottom: 4px; }
.footer-links { display: grid; gap: 0; }
.footer-links a {
  display: block;
  font-size: 14px; line-height: 1.35; padding: 9px 0;
  color: #D3D6D9; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-links a:hover { color: var(--red); }

.footer-tags { border-top: 1px solid var(--border-footer); padding: 26px 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px 40px; }
.footer-tags-title { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9AA0A6; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span { border: 1px solid #34383D; color: #B9BDC1; padding: 6px 12px; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.04em; }

.legal-bar {
  border-top: 1px solid var(--border-footer);
  padding: 24px 0 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AA0A6;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.legal-links a { color: #9AA0A6; }
.legal-links a:hover { color: var(--red); }
.legal-credit { margin-left: auto; color: #9AA0A6; line-height: 1.5; display: inline-flex; gap: 0.35em; align-items: baseline; }
.legal-credit a { color: #9AA0A6; }
.legal-credit a:hover { color: var(--red); }

@media (max-width: 640px) {
  .footer-cta .actions { justify-content: flex-start; }
  .legal-credit { margin-left: 0; }
}

/* ---------- WP admin bar offset ---------- */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ---------- WPBakery editor safety ---------- */
.wpb-content-wrapper .mega,
.wpb-content-wrapper .mobile-nav { display: block !important; position: static !important; }

/* ---------- Gravity Forms — align to the ICSDS form-card look ---------- */
/* Best-effort: matches GF's common markup (2.5+ "Orbital" and legacy);
   verify against your installed GF version and adjust if needed. */
.form-card .gform_wrapper { font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif; margin: 0; }
.form-card .gform_wrapper * { box-sizing: border-box; }
.form-card .gform_heading { margin-bottom: 22px; }
/* Paired two-column layout (Name+Email, Company+Phone, Product+Markets,
   Timing+NDA), matching the original design. GF has no built-in concept
   of this pairing — the imported form's "full width" fields (the need/
   documentation choice groups, the description, the file upload) each
   need an "icsds-full" CSS Class Name set on the field (Advanced tab in
   the form editor) so they span both columns instead of taking a half. */
.form-card .gform_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; list-style: none; margin: 0; padding: 0; }
.form-card .gform_wrapper .icsds-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-card .gform_fields { grid-template-columns: 1fr; }
}
.form-card .gfield { list-style: none; margin: 0; }
.form-card .gfield_label,
.form-card .gform_wrapper legend.gfield_label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
  font-weight: 400;
}
/* GF's default required indicator is an italic "(Required)" word; the
   original design just appends a plain red asterisk to the label. Works
   whether the form's "Required Field Indicator" setting is Text or
   Asterisk — :has() only fires the fallback asterisk when the text
   variant is the one actually present, so it never doubles up. */
.form-card .gform_wrapper .gfield_required { color: var(--red); font-style: normal; font-weight: 400; }
.form-card .gform_wrapper .gfield_required:has(.gfield_required_text) .gfield_required_text { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.form-card .gform_wrapper .gfield_required:has(.gfield_required_text)::after { content: "*"; }
.form-card .gform_wrapper input[type="text"],
.form-card .gform_wrapper input[type="email"],
.form-card .gform_wrapper input[type="tel"],
.form-card .gform_wrapper input[type="number"],
.form-card .gform_wrapper input[type="url"],
.form-card .gform_wrapper select,
.form-card .gform_wrapper textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--input-border);
  background: var(--card);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.form-card .gform_wrapper input:focus,
.form-card .gform_wrapper select:focus,
.form-card .gform_wrapper textarea:focus { border-color: var(--text); }
/* Chip/pill choice groups — the radio field ("What do you need help
   with?") and any checkbox field with 2+ options (Documentation). A
   checkbox field with a single option (the NDA field) is a plain
   checkbox row instead — see below — since a lone pill toggle for a
   single yes/no reads oddly. */
.form-card .gform_wrapper .gfield_radio,
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.form-card .gform_wrapper .gfield_radio li,
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) li {
  list-style: none;
  margin: 0;
  position: relative;
}
.form-card .gform_wrapper .gfield_radio input[type="radio"],
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.form-card .gform_wrapper .gfield_radio label,
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) label {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--input-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.form-card .gform_wrapper .gfield_radio label:hover,
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) label:hover { border-color: var(--text); }
.form-card .gform_wrapper .gfield_radio input[type="radio"]:checked + label,
.form-card .gform_wrapper .gfield_checkbox:has(li:nth-child(2)) input[type="checkbox"]:checked + label {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.form-card .gform_wrapper .gfield_radio input:focus-visible + label,
.form-card .gform_wrapper .gfield_checkbox input:focus-visible + label {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Single-option checkbox (the NDA field) — plain checkbox + label, not a chip. */
.form-card .gform_wrapper .gfield_checkbox:not(:has(li:nth-child(2))) {
  list-style: none;
  margin: 0;
  padding: 0;
}
.form-card .gform_wrapper .gfield_checkbox:not(:has(li:nth-child(2))) li {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-card .gform_wrapper .gfield_checkbox:not(:has(li:nth-child(2))) input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex-shrink: 0;
}
.form-card .gform_wrapper .gfield_checkbox:not(:has(li:nth-child(2))) label { font-size: 14px; font-weight: 500; }
.form-card .gform_wrapper .validation_message,
.form-card .gform_wrapper .gfield_validation_message {
  display: block;
  color: var(--red);
  font-size: 12.5px;
  margin-top: 6px;
}
.form-card .gform_wrapper .gfield_error input,
.form-card .gform_wrapper .gfield_error textarea,
.form-card .gform_wrapper .gfield_error select { border-color: var(--red); }
.form-card .gform_footer,
.form-card .gform_page_footer {
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.form-card .gform_button,
.form-card .gform_next_button {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 15px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.form-card .gform_button:hover,
.form-card .gform_next_button:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.form-card .gform_previous_button {
  background: none;
  border: 1px solid var(--input-border);
  padding: 15px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.form-card .gform_previous_button:hover { border-color: var(--text); }
.form-card .gf_progressbar_wrapper { margin-bottom: 26px; }
.form-card .gf_progressbar { height: 3px; background: var(--border); }
.form-card .gf_progressbar_percentage { background: var(--red) !important; height: 3px; }
.form-card .gf_page_steps { display: none; }
.form-card .gform_confirmation_message {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.form-card .gform_wrapper .gform_validation_container { display: none !important; position: absolute !important; left: -9999px !important; }

/* ---------- Home: "Latest insights" section ---------- */
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.insight-lead { display: flex; flex-direction: column; border: 1px solid var(--border); min-width: 0; }
.insight-lead:hover { border-color: var(--text); box-shadow: 0 22px 48px -28px rgba(17,19,21,0.38); }
.insight-lead-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.insight-lead .meta { display: flex; flex-wrap: wrap; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.insight-lead .meta .muted { color: var(--text-muted); }
.insight-lead-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 25px; letter-spacing: -0.028em; line-height: 1.18; }
.insight-lead-excerpt { color: var(--text-mid); font-size: 15.5px; line-height: 1.6; max-width: 560px; }
.insight-lead-cta { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--red); }
.insight-lead-cta::after { content: ""; width: 18px; height: 1px; background: var(--red); display: inline-block; }
.insight-list { display: grid; gap: 0; border-top: 1px solid var(--border); align-content: start; min-width: 0; }
.insight-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--border); }
.insight-row:hover { background: var(--bg-alt); }
.insight-row-body { display: block; min-width: 0; }
.insight-row .meta { display: flex; flex-wrap: wrap; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.insight-row .meta .topic { color: var(--red); }
.insight-row-title { display: block; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 17.5px; letter-spacing: -0.022em; line-height: 1.3; }
.insight-row .plus { font-size: 20px; color: var(--red); line-height: 1; }

/* ---------- Blog: topic bar (Insights index) ---------- */
.topic-bar { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h, 76px); z-index: 30; }
.topic-bar .wrap { padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.topic-bar-label { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-right: 8px; }
.topic-chip {
  background: var(--card); color: var(--text); border: 1px solid var(--input-border);
  padding: 8px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.topic-chip:hover { border-color: var(--text); color: var(--text); }
.topic-chip.is-active { background: var(--text); color: var(--text-inv); border-color: var(--text); }
.topic-chip .count { font-family: "IBM Plex Mono", monospace; font-size: 11px; opacity: 0.6; margin-left: 7px; }

/* ---------- Blog: featured post + article grid ---------- */
.featured-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border: 1px solid var(--border); }
.featured-post:hover { border-color: var(--text); box-shadow: 0 24px 52px -30px rgba(17,19,21,0.4); }
.featured-post-body { padding: 40px 38px 38px; display: flex; flex-direction: column; gap: 16px; }
.featured-post .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.featured-badge { background: var(--red); color: #fff; padding: 5px 10px; }
.featured-post .meta .topic { color: var(--text-muted); }
.featured-post .meta .muted { color: var(--text-muted); }
.featured-post-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.featured-post-excerpt { color: var(--text-mid); font-size: 16.5px; line-height: 1.6; margin: 0; max-width: 520px; }
.featured-post-cta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--red); }
.featured-post-cta::after { content: ""; width: 18px; height: 1px; background: var(--red); display: inline-block; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.article-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); }
.article-card:hover { border-color: var(--text); box-shadow: 0 20px 44px -28px rgba(17,19,21,0.38); }
.article-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card .meta { display: flex; flex-wrap: wrap; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.article-card .meta .muted { color: var(--text-muted); }
.article-card-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 19.5px; letter-spacing: -0.022em; line-height: 1.25; }
.article-card-excerpt { color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.article-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Single post ---------- */
.post-byline { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 14.5px; color: #B9BDC1; border-top: 1px solid #2A2E33; padding-top: 22px; max-width: 720px; }
.post-byline .name { color: #fff; font-weight: 600; }
.post-byline .meta { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #9AA0A6; }
.post-cover { aspect-ratio: 21 / 9; border-bottom: 1px solid var(--border); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 620px), 1fr)); gap: 48px; align-items: start; }
.post-prose { min-width: 0; max-width: 720px; }
.post-prose p { font-size: 17px; line-height: 1.72; color: var(--prose); margin: 0 0 20px; }
.post-prose h2 { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(23px, 2.3vw, 29px); letter-spacing: -0.028em; line-height: 1.18; margin: 44px 0 16px; scroll-margin-top: 120px; }
.post-prose ul.prose-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); margin: 4px 0 26px; padding: 0; }
.post-prose ul.prose-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; font-size: 16px; line-height: 1.6; color: var(--text); }
.post-prose blockquote { margin: 8px 0 30px; padding: 26px 28px; background: var(--bg-alt); border-left: 3px solid var(--red); font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 500; font-size: 20px; line-height: 1.45; letter-spacing: -0.02em; color: var(--text); }
.post-note { margin: 8px 0 30px; border: 1px solid var(--border); padding: 22px 24px; }
.post-note-label { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.post-note-body { font-size: 15.5px; line-height: 1.65; color: var(--prose); }

.post-share { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.post-share-label { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.post-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.post-share-links a, .post-share-links button {
  border: 1px solid var(--input-border); padding: 9px 15px; font-size: 13.5px; font-weight: 500; color: var(--text);
  background: var(--card); cursor: pointer; font-family: inherit;
}
.post-share-links a:hover, .post-share-links button:hover { border-color: var(--btn-hover-bg); background: var(--btn-hover-bg); color: var(--btn-hover-fg); }

.post-sidebar { display: grid; gap: 20px; align-content: start; position: sticky; top: 100px; min-width: 0; }
.toc-card { border: 1px solid var(--border); padding: 24px 22px; }
.toc-card-title { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.toc-link { display: block; font-size: 14.5px; line-height: 1.4; padding: 10px 0 10px 13px; border-left: 2px solid var(--border); color: var(--text-mid); }
.toc-link:hover { border-left-color: var(--red); color: var(--text); }
.related-service-card { background: var(--section-dark); color: #fff; padding: 26px 24px 28px; }
.related-service-card .eyebrow { color: #fff; margin-bottom: 14px; }
.related-service-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.022em; line-height: 1.25; margin-bottom: 10px; }
.related-service-body { color: #B9BDC1; font-size: 14.5px; line-height: 1.55; margin: 0 0 20px; }
.author-card { border: 1px solid var(--border); padding: 24px 22px; }
.author-card-title { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.author-card-name { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 4px; }
.author-card-role { color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

.continue-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.continue-head a { font-weight: 600; font-size: 14.5px; color: var(--red); display: flex; align-items: center; gap: 9px; }
.continue-head a:hover { color: var(--text); }
.continue-head a::after { content: ""; width: 16px; height: 1px; background: currentColor; display: inline-block; }
.continue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.continue-card { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--border); padding: 26px 24px 28px; }
.continue-card:hover { border-color: var(--text); box-shadow: 0 20px 44px -28px rgba(17,19,21,0.38); }
.continue-card-topic { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.continue-card-title { font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 18.5px; letter-spacing: -0.022em; line-height: 1.25; }
.continue-card-excerpt { color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.continue-card-footer { margin-top: auto; padding-top: 12px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }


.single-post .post-prose ul.prose-list li {
	display: block;
}
