/* Three Alarm Ventures: site stylesheet
 *
 * One file, no framework. Sections:
 *   1. Fonts and design tokens      5. Header and navigation     9. Pages: services, approach, about
 *   2. Base and typography          6. Hero                     10. Contact form
 *   3. Layout helpers               7. Shared components        11. Footer
 *   4. Buttons and links            8. Home page sections       12. Utilities, motion, print
 *
 * Colour rules worth keeping: white text sits on --red-600 or darker (never --red-500),
 * orange is decoration only (never text on a light background), and the photographic
 * emblem is only placed on the dark backgrounds it was cut out for.
 */

/* 1. Fonts and design tokens ------------------------------------------------ */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.06b16db7a9.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.3100e775e8.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #060a13;
  --navy-900: #0b1220;
  --navy-850: #0f1829;
  --navy-800: #142036;
  --navy-700: #1d2c47;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: #dde2e9;

  --paper: #f5f6f8;
  --white: #ffffff;
  --ink: #0e1726;
  --ink-soft: #3d4858;
  --muted-light: #5b6677;          /* secondary text on light backgrounds */
  --muted-dark: #a3afc0;           /* secondary text on dark backgrounds */
  --steel-100: #eef1f5;
  --steel-300: #c7ced9;

  --red-700: #a3281a;
  --red-600: #c4321f;              /* primary action; white text passes AA */
  --red-500: #db4527;
  --orange-400: #f28c28;
  --amber-300: #f7b24a;
  --blue-700: #1553a8;
  --blue-600: #1565c0;             /* accent text on light backgrounds */
  --blue-500: #1e88e5;
  --blue-400: #4db8ff;             /* accent text on dark backgrounds */
  --ow-blue: #00a8ff;

  --grad-fire: linear-gradient(90deg, var(--red-600), var(--orange-400));
  --grad-tech: linear-gradient(90deg, var(--blue-500), var(--ow-blue));
  --grad-both: linear-gradient(90deg, var(--red-600) 0%, var(--orange-400) 38%, var(--blue-500) 70%, var(--ow-blue) 100%);

  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.15rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.45vw, 1.35rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(14, 23, 38, 0.06), 0 8px 24px rgba(14, 23, 38, 0.06);
  --shadow-lift: 0 2px 4px rgba(14, 23, 38, 0.08), 0 18px 40px rgba(14, 23, 38, 0.12);

  --container: 1180px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7rem);
  --header-h: 72px;
}

/* 2. Base and typography ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 650; }

a { color: var(--blue-600); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.section--dark :focus-visible, .cta-band :focus-visible, .human-tech :focus-visible, .outcomes :focus-visible,
.equation__result :focus-visible, .scenario__call :focus-visible { outline-color: var(--ow-blue); }

::selection { background: rgba(0, 168, 255, 0.25); }

/* 3. Layout helpers ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section--paper { background: var(--paper); }
.section--dark {
  background: var(--navy-900);
  color: var(--steel-100);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--blue-400); }
.section--deep { background: var(--navy-950); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lead); color: var(--ink-soft); margin-bottom: 0; }
.section--dark .section-head p { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-600);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-both);
  border-radius: 2px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--amber-300); }
.section-head .eyebrow { font-size: 0.78rem; color: var(--red-600); margin-bottom: 1rem; }
.section--dark .section-head .eyebrow { color: var(--amber-300); }

.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 700px) and (max-width: 999px) {
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .grid--4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.offerings > :last-child:nth-child(odd) { grid-column: 1 / -1; }

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--center { align-items: center; }
}

.lead { font-size: var(--fs-lead); color: var(--ink-soft); }
.section--dark .lead { color: var(--muted-dark); }

/* 4. Buttons and links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--red-600);
  --btn-fg: var(--white);
  --btn-border: var(--red-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { --btn-bg: var(--red-700); --btn-border: var(--red-700); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(196, 50, 31, 0.28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); --btn-border: var(--white); box-shadow: none; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-border: var(--ink); box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

/* 5. Header and navigation --------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
}
.skip-link:focus { top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  flex: none;
}
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-top: 0.3rem;
}
.brand:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: clamp(0.5rem, 0.2rem + 1.2vw, 1.75rem); }
.site-nav ul { display: flex; align-items: center; gap: clamp(0.25rem, 0.1rem + 0.9vw, 1.35rem); list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: inline-block;
  padding: 0.55rem 0.35rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--steel-100);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--white); border-bottom-color: rgba(255, 255, 255, 0.35); }
.site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--orange-400); }
.site-nav .btn { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.8rem; }
/* On the contact page the button is the current page: keep its colours, add a quiet ring */
.site-nav a.btn[aria-current="page"] { color: var(--btn-fg); border-color: var(--btn-border); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28); }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { flex-direction: column; align-items: stretch; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }
  .site-nav.is-open { display: flex; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--amber-300); }
  .site-nav .btn { margin-top: 1rem; min-height: 48px; }
  /* Without JavaScript, noscript.css keeps the menu open under the brand instead. */
}

@media (min-width: 600px) and (max-width: 1099px) {
  .site-nav .btn { align-self: flex-start; }
}

@media (max-height: 500px) {
  .site-header { position: relative; }
  .subnav { position: static; }
}

/* 6. Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--steel-100);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(30, 136, 229, 0.18), transparent 60%),
    radial-gradient(45% 60% at 70% 70%, rgba(242, 140, 40, 0.12), transparent 65%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6rem);
}
.hero::after {
  /* a faint technical grid, the only texture on the page */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__title { margin: 0 0 1.25rem; color: var(--white); }
.lockup { display: block; }
.lockup__name {
  display: block;
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e6eaf0 45%, #a9b3c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lockup__sub {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
  font-size: clamp(0.95rem, 0.7rem + 1vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.lockup__sub::before, .lockup__sub::after {
  content: "";
  height: 2px;
  flex: 0 0 clamp(24px, 4vw, 56px);
  background: var(--grad-tech);
  border-radius: 2px;
}
.lockup__sub::after { margin-left: -0.55em; }
.hero__tagline {
  display: block;
  margin-top: 1.5rem;
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

.pillar-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 0.65rem + 0.3vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.pillar-line li { display: inline-flex; align-items: center; }
.pillar-line li + li::before {
  content: "";
  width: 2px;
  height: 1.1em;
  margin-inline: 0.9rem;
  background: var(--blue-500);
  box-shadow: 0 0 8px rgba(30, 136, 229, 0.9);
}
@media (max-width: 520px) {
  /* On narrow screens the four words sit in a centred 2 x 2 block without separators. */
  .pillar-line { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 0.35rem 1.4rem; }
  .pillar-line li + li::before { display: none; }
}
.hero__lede { font-size: var(--fs-lead); color: #c9d2de; max-width: 38rem; margin-bottom: 2rem; }

/* Video hero (home). The poster image is always underneath; the video fades in over it once
   a real frame is showing. Both fill the hero with object-fit: cover, so nothing distorts. */
.hero--video {
  display: grid;
  align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 920px);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem) clamp(5.5rem, 4rem + 4vw, 7rem);
  background: var(--navy-950);
}
.hero--video::after { display: none; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__media picture { display: contents; }
.hero__poster, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, 50% 50%);
}
.hero__video { opacity: 0; transition: opacity 0.9s ease; }
.hero.is-playing .hero__video { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero--video:not(.motion-optin) .hero__video { display: none; }
}
/* Readability without hiding the fire (left) and the technology (right): a soft dark pool
   behind the centred text, a light fade under the header and a deeper one into the page. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 58% at 50% 52%, rgba(6, 10, 19, 0.66) 0%, rgba(6, 10, 19, 0.42) 55%, rgba(6, 10, 19, 0) 100%),
    linear-gradient(180deg, rgba(6, 10, 19, 0.5) 0%, rgba(6, 10, 19, 0) 22%, rgba(6, 10, 19, 0) 62%, rgba(6, 10, 19, 0.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: calc(880px + 2 * var(--gutter));
}
.hero--video .lockup__name { filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.55)); }
.hero--video .lockup__sub, .hero--video .pillar-line, .hero--video .btn-row { justify-content: center; }
.hero--video .hero__tagline, .hero--video .hero__lede, .hero--video .pillar-line { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 0, 0, 0.8); }
.hero--video .hero__lede { margin-inline: auto; color: #e6ebf1; }
.hero--video .pillar-line { color: #eef1f5; }
/* Near-square screens bring the flames and ribbons toward the centre: widen the pool. */
@media (max-aspect-ratio: 16/10) and (min-aspect-ratio: 4/5) {
  .hero__scrim {
    background:
      radial-gradient(ellipse 62% 64% at 50% 52%, rgba(6, 10, 19, 0.74) 0%, rgba(6, 10, 19, 0.5) 58%, rgba(6, 10, 19, 0.1) 100%),
      linear-gradient(180deg, rgba(6, 10, 19, 0.5) 0%, rgba(6, 10, 19, 0) 22%, rgba(6, 10, 19, 0) 62%, rgba(6, 10, 19, 0.88) 100%);
  }
}
/* Laptop windows: keep the title, lede and buttons above the fold. */
@media (min-width: 960px) and (max-height: 820px) {
  .hero--video { padding-block: 2.5rem 3rem; }
  .hero--video .lockup__name { font-size: clamp(2.4rem, 7.2vh, 4.2rem); }
  .hero--video .hero__tagline { margin-top: 1rem; }
  .hero--video .hero__lede { margin-bottom: 1.5rem; }
}

.hero__controls {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.hero__controls[hidden] { display: none; }
.hero-ctl {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--steel-100);
  background: rgba(8, 13, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
@supports (backdrop-filter: blur(6px)) { .hero-ctl { backdrop-filter: blur(6px); } }
.hero-ctl:hover { background: rgba(8, 13, 24, 0.8); border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.hero-ctl[hidden] { display: none; }
.hero-ctl svg { width: 20px; height: 20px; }
.hero-ctl .icon-play, .hero-ctl .icon-sound-on { display: none; }
.hero-ctl.is-paused .icon-play { display: block; }
.hero-ctl.is-paused .icon-pause { display: none; }
.hero-ctl.is-on .icon-sound-on { display: block; }
.hero-ctl.is-on .icon-sound-off { display: none; }
.hero-ctl.is-on { color: var(--white); border-color: rgba(77, 184, 255, 0.7); box-shadow: 0 0 0 3px rgba(77, 184, 255, 0.18); }

/* Short screens (phones held sideways): the hero is taller than the screen, so keep the
   controls at its top where they are visible without scrolling. */
@media (max-height: 540px), (max-width: 599px) {
  .hero__controls { top: 0.75rem; bottom: auto; }
}

/* Portrait phones see only about a quarter of the 16:9 frame. The middle quarter is the
   video's darkest band, so frame the circuit tetrahedron instead: the orange and blue ribbons
   still sweep through it, and blue lines sit more quietly behind white text than flames do. */
@media (max-aspect-ratio: 4/5) {
  .hero--video { --hero-focus: 78% 50%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 10, 19, 0.58) 0%, rgba(6, 10, 19, 0.55) 25%, rgba(6, 10, 19, 0.66) 45%, rgba(6, 10, 19, 0.7) 70%, rgba(6, 10, 19, 0.92) 100%);
  }
}

/* Inner-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--steel-100);
  background:
    radial-gradient(50% 90% at 88% 20%, rgba(30, 136, 229, 0.16), transparent 60%),
    radial-gradient(40% 80% at 100% 100%, rgba(242, 140, 40, 0.1), transparent 60%),
    var(--navy-900);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: #c9d2de; max-width: 44rem; margin-bottom: 0; }
.page-hero__mark {
  position: absolute;
  right: clamp(-120px, -6vw, -40px);
  top: 50%;
  width: clamp(220px, 30vw, 420px);
  transform: translateY(-50%);
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 700px) { .page-hero__mark { display: none; } }

.crumbs { margin: 0 0 1.25rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { color: var(--steel-300); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--white); }

/* 7. Shared components ------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.section--dark .card {
  background: var(--navy-850);
  border-color: var(--line-dark);
  box-shadow: none;
}
.section--dark .card p { color: var(--muted-dark); }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  color: var(--blue-600);
  background: rgba(30, 136, 229, 0.1);
}
.icon-badge svg { width: 28px; height: 28px; }
.section--dark .icon-badge { color: var(--blue-400); background: rgba(77, 184, 255, 0.1); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(30, 136, 229, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--dark .checklist li::before {
  background: rgba(77, 184, 255, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234db8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
}
.statement span { display: block; }
@media (min-width: 900px) { .split .statement:not(.statement--single) { font-size: clamp(2rem, 0.2rem + 3vw, 3.1rem); } .split .statement span { white-space: nowrap; } }
.statement span:nth-child(1) { color: var(--ink); }
.statement span:nth-child(2) { color: var(--red-600); }
.statement span:nth-child(3) { color: var(--blue-600); }

.note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--steel-100);
  border-left: 3px solid var(--blue-500);
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--blue-600); margin-top: 0.1rem; }
.note p { margin: 0; }

/* Escalation graphic: three rising bars, fire into technology. Decorative only. */
.alarm-levels { display: flex; align-items: flex-end; gap: 10px; height: 64px; margin-bottom: 1.5rem; }
.alarm-levels span { width: 22px; border-radius: 4px; }
.alarm-levels span:nth-child(1) { height: 34%; background: var(--red-600); }
.alarm-levels span:nth-child(2) { height: 66%; background: var(--orange-400); }
.alarm-levels span:nth-child(3) { height: 100%; background: var(--grad-tech); background: linear-gradient(180deg, var(--ow-blue), var(--blue-500)); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 65%, var(--navy-950) 100%),
    radial-gradient(55% 100% at 0% 70%, rgba(196, 50, 31, 0.26), transparent 60%),
    radial-gradient(60% 120% at 100% 0%, rgba(30, 136, 229, 0.25), transparent 60%),
    var(--navy-950);
  color: var(--steel-100);
  text-align: center;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: var(--muted-dark); font-size: var(--fs-lead); max-width: 40rem; margin: 0 auto 2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__mark { width: 72px; height: 72px; margin: 0 auto 1.5rem; }

/* 8. Home page sections ------------------------------------------------------ */
.pillars { counter-reset: pillar; }
.pillar {
  display: flex;
  flex-direction: column;
  border-top: 0;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}
.pillar:nth-child(1)::before { background: var(--red-600); }
.pillar:nth-child(2)::before { background: var(--orange-400); }
.pillar:nth-child(3)::before { background: var(--blue-500); }
.pillar:nth-child(4)::before { background: var(--ow-blue); }
.pillar__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pillar__summary { color: var(--ink-soft); }
.pillar .checklist { font-size: 0.95rem; }
.pillar__more { margin-top: auto; padding-top: 1rem; }

.situations .card { padding: 1.4rem 1.5rem; }
.situations h3 { font-size: 1.08rem; }
.situations p { color: var(--ink-soft); font-size: 0.98rem; }

/* The six-step method, shown as a sequence that loops back */
.method {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.method li {
  counter-increment: step;
  position: relative;
  padding: 1.35rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--navy-850);
  border: 1px solid var(--line-dark);
}
.method li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--amber-300);
  margin-bottom: 0.7rem;
}
.method li:nth-child(n+4)::before { color: var(--blue-400); }
.method .method__icon { width: 30px; height: 30px; color: var(--steel-300); position: absolute; top: 1.2rem; right: 1.1rem; }
.method h3 { font-size: 1.12rem; margin-bottom: 0.4rem; color: var(--white); }
.method p { margin: 0; font-size: 0.95rem; color: var(--muted-dark); }
.method-loop {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  color: var(--muted-dark);
  font-size: 0.95rem;
}
.method-loop svg { width: 22px; height: 22px; color: var(--blue-400); flex: none; }
@media (min-width: 560px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .method { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .method:not(.method--detailed) { grid-template-columns: repeat(6, 1fr); }
  .method--detailed li::after { content: none !important; }
  .method li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2rem;
    right: -0.95rem;
    width: 0.9rem;
    height: 2px;
    background: var(--line-dark);
    background: rgba(255, 255, 255, 0.2);
  }
}

.principles { counter-reset: none; }
.principle { display: flex; gap: 1rem; align-items: flex-start; }
.principle .icon-badge { flex: none; margin: 0; width: 46px; height: 46px; }
.principle h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.section--dark .principle p { color: var(--muted-dark); }

/* Partnership equation: A + B = Three Alarm Ventures */
.equation {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .equation { grid-template-columns: 1fr auto 1fr auto 1.1fr; }
}
.equation__op {
  display: grid;
  place-items: center;
  color: var(--muted-light);
}
.equation__op svg { width: 30px; height: 30px; }
.equation__side h3 { font-size: 1.1rem; }
.equation__side--fire { border-top: 4px solid var(--red-600); }
.equation__side--tech { border-top: 4px solid var(--blue-500); }
.equation__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--steel-100);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(30, 136, 229, 0.25), transparent 70%),
    var(--navy-900);
  border-color: var(--navy-700);
}
.equation__result img { width: 96px; height: 96px; margin: 0 auto 1rem; }
.equation__result h3 { color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; }
.equation__result p { color: var(--muted-dark); }
.equation__result a { color: var(--blue-400); }
.section--dark .equation__op { color: var(--muted-dark); }

.differences { counter-reset: diff; }
.difference { border-left: 3px solid var(--line-light); padding: 0.25rem 0 0.25rem 1.25rem; }
.difference h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.difference p { margin: 0; color: var(--ink-soft); }
.difference:nth-child(odd) { border-left-color: var(--red-600); }
.difference:nth-child(even) { border-left-color: var(--blue-500); }

.human-tech {
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(0, 168, 255, 0.12), transparent 60%),
    var(--navy-900);
  color: var(--steel-100);
}
.human-tech h2 { color: var(--white); }
.human-tech p { color: #c9d2de; }

/* 9. Pages: services, approach, about --------------------------------------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-light);
}
.subnav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.subnav svg { width: 18px; height: 18px; flex: none; }
.subnav li { flex: none; }
.subnav a:focus-visible { outline-offset: -3px; }
@media (max-width: 1099px) {
  .subnav ul { scroll-padding-inline: 0 14%; }
  .subnav ul:not(:focus-within) { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

.service-area__head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 2rem; }
.service-area__head .icon-badge { flex: none; margin: 0.2rem 0 0; }
.service-area__head h2 { margin-bottom: 0.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.service-area__tagline { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.offerings { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: 2rem; }
.offering { padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line-light); }
.section--paper .offering { background: var(--white); }
.offering h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.offering p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.outcomes { position: sticky; top: calc(var(--header-h) + 72px); padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--navy-900); color: var(--steel-100); }
.outcomes h3 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.outcomes .checklist { margin: 0; }
.outcomes .checklist li::before {
  background: rgba(77, 184, 255, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234db8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.area-accent--people .icon-badge { color: var(--red-600); background: rgba(196, 50, 31, 0.09); }
.area-accent--process .icon-badge { color: #b45309; background: rgba(242, 140, 40, 0.12); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps:has(> li:nth-child(3):last-child), .steps:has(> li:nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
}
.steps li { counter-increment: s; padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 0.8rem; border-radius: 50%; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.steps p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }

/* Approach: detailed method */
.method-detail { list-style: none; margin: 0; padding: 0; counter-reset: md; }
.method-detail > li {
  counter-increment: md;
  display: grid;
  gap: 1rem 2rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) 0;
  border-top: 1px solid var(--line-light);
}
.method-detail > li:last-child { border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) {
  .method-detail > li { grid-template-columns: 220px 1fr 1fr; align-items: start; }
}
.method-detail__name { display: flex; align-items: center; gap: 0.9rem; }
.method-detail__name::before {
  content: "0" counter(md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--red-600);
}
.method-detail > li:nth-child(n+4) .method-detail__name::before { color: var(--blue-600); }
.method-detail__name h3 { margin: 0; font-size: 1.3rem; }
.method-detail__summary p { margin: 0 0 0.75rem; }
.method-detail__summary .deliverable { font-size: 0.93rem; color: var(--muted-light); margin: 0; }
.method-detail__summary .deliverable strong { color: var(--ink); }
.method-detail .checklist { margin: 0; font-size: 0.97rem; }

/* About */
.founders { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .founders { grid-template-columns: 1fr 1fr; } .founder--pending { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .founders { grid-template-columns: repeat(3, 1fr); } .founder--pending { grid-column: auto; } }
.founder { display: flex; flex-direction: column; }
.founder__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.founder__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  color: var(--white);
}
.founder__avatar svg { width: 30px; height: 30px; }
.founder--fire .founder__avatar { background: linear-gradient(135deg, var(--red-600), var(--orange-400)); }
.founder--tech .founder__avatar { background: linear-gradient(135deg, var(--blue-700), var(--ow-blue)); }
.founder__role { font-size: 1.15rem; margin: 0 0 0.2rem; }
.founder__focus { margin: 0; font-size: 0.92rem; color: var(--muted-light); }
.founder .checklist { font-size: 0.97rem; margin-top: auto; }
/* A founder whose profile is not ready yet: an intentional, quiet placeholder, not an empty card */
.founder--pending { align-items: center; justify-content: center; gap: 0.6rem; text-align: center; background: transparent; box-shadow: none; border: 1px dashed var(--steel-300); }
.founder--pending .founder__avatar { background: linear-gradient(135deg, var(--navy-700), var(--muted-light)); }
.founder--pending .founder__role { margin: 0.4rem 0 0; }
.pending { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted-light); }
.pending::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-300); }

.mark-legend { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .mark-legend { grid-template-columns: 0.9fr 1.1fr; } }
.mark-legend__art { max-width: 460px; margin-inline: auto; }
.mark-legend dl { margin: 0; display: grid; gap: 1.25rem; }
.mark-legend dt { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); display: flex; align-items: center; gap: 0.7rem; }
.mark-legend dt::before { content: ""; width: 10px; height: 10px; border-radius: 2px; flex: none; }
.mark-legend dl > div:nth-child(1) dt::before { background: var(--steel-300); }
.mark-legend dl > div:nth-child(2) dt::before { background: var(--grad-both); }
.mark-legend dl > div:nth-child(3) dt::before { background: var(--ow-blue); }
.mark-legend dl > div:nth-child(4) dt::before { background: var(--orange-400); }
.mark-legend dd { margin: 0.35rem 0 0 1.35rem; color: var(--muted-dark); }

.values .card h3 { font-size: 1.08rem; }
.values .card p { color: var(--ink-soft); font-size: 0.98rem; }

/* Technology story: manage, improve, connect, automate, build */
.progression { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr; counter-reset: pg; }
@media (min-width: 640px) and (max-width: 1099px) {
  .progression { grid-template-columns: repeat(6, 1fr); }
  .progression li { grid-column: span 2; }
  .progression li:nth-child(n+4) { grid-column: span 3; }
}
.progression li { counter-increment: pg; position: relative; padding: 1.25rem 1.2rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); box-shadow: var(--shadow-card); }
.progression li::before { content: counter(pg); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 0.8rem; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--white); background: var(--blue-600); }
.progression li:last-child::before { background: var(--red-600); }
.progression :is(h3, h4) { font-size: 1.05rem; margin-bottom: 0.35rem; }
.progression p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
@media (min-width: 1100px) {
  .progression { grid-template-columns: repeat(5, 1fr); }
  .progression li:not(:last-child)::after { content: ""; position: absolute; top: 2.1rem; right: -0.7rem; width: 0.65rem; height: 2px; background: var(--steel-300); }
}
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }

/* Bring us the problem: what was reported versus what the Size Up found */
.scenario { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .scenario { grid-template-columns: 0.8fr 1.2fr; } }
.scenario__call { display: flex; flex-direction: column; justify-content: center; background: var(--navy-900); color: var(--steel-100); border-color: var(--navy-700); }
.scenario__call .eyebrow { color: var(--amber-300); }
.scenario__quote { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 700; line-height: 1.3; color: var(--white); margin: 0; }
.scenario__found h3 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); }
.scenario__found .checklist { columns: 2 16rem; column-gap: 2rem; }
.scenario__found .checklist li { break-inside: avoid; }
.scenario-close { max-width: 52rem; margin-top: 1.75rem; }

/* About: how the parts of a business affect each other */
.connected { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); align-items: center; }
.ripple { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ripple li { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1.15rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line-light); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); color: var(--ink); }
.ripple li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; flex: none; background: var(--blue-500); }
.ripple li:last-child { background: var(--navy-900); border-color: var(--navy-700); color: var(--white); }
.ripple li:last-child::before { background: var(--red-600); }
.checklist--cols { columns: 2 15rem; column-gap: 2rem; }
.checklist--cols li { break-inside: avoid; }
.resources-close { max-width: 52rem; margin: 1.75rem 0 0; color: var(--muted-dark); }
.resources-close strong { color: var(--white); }

/* Decision ladder: use it ... build it */
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: ld; max-width: 60rem; }
.ladder li { counter-increment: ld; display: grid; grid-template-columns: 10rem 1fr; gap: 0.5rem 1.5rem; align-items: baseline; padding: 1.15rem 0; border-top: 1px solid var(--line-light); }
.ladder li:last-child { border-bottom: 1px solid var(--line-light); }
.ladder__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-600); }
.ladder__name::before { content: counter(ld) ". "; content: counter(ld) ". " / ""; color: var(--muted-light); font-weight: 700; }
.ladder li:last-child .ladder__name { color: var(--red-600); }
.ladder p { margin: 0; color: var(--ink-soft); }
.ladder + .note { max-width: 60rem; }
@media (max-width: 600px) { .ladder li { grid-template-columns: 1fr; } }

/* Lifecycle flow: lead to reporting */
.flow { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem 0; align-items: center; }
.flow li { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.flow span { padding: 0.5rem 0.8rem; border-radius: 999px; background: rgba(77, 184, 255, 0.12); border: 1px solid rgba(77, 184, 255, 0.35); color: var(--steel-100); white-space: nowrap; }
.flow li:not(:first-child)::before { content: ""; width: 1.1rem; height: 2px; margin-inline: 0.2rem; background: var(--orange-400); }
@media (max-width: 699px) {
  .flow { flex-direction: column; align-items: flex-start; gap: 0; }
  .flow li { flex-direction: column; align-items: flex-start; }
  .flow li:not(:first-child)::before { width: 2px; height: 0.7rem; margin: 0 0 0 1.4rem; }
}

/* Featured service cards */
.feature-card { display: flex; flex-direction: column; border-top: 4px solid var(--blue-500); }
.feature-card:nth-child(2) { border-top-color: var(--red-600); }
.feature-card .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Frequently asked questions (native disclosure, no script) */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; font-size: 1.4rem; line-height: 1; color: var(--blue-600); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-soft); }

/* Small supporting pieces */
.statement--single { color: var(--ink); font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem); }
.card-title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.subhead { margin: 2.75rem 0 1rem; font-size: 1.15rem; }
.hero-actions { margin-top: 1.75rem; }
.page-hero .lead + .hero-actions { margin-top: 1.75rem; }
.flow-label { margin: 1.75rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-300); }
.pullquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--red-600); background: var(--steel-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.differences + p, .section-head p strong { color: var(--ink); }

/* Prose pages (privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }

/* 10. Contact form ----------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .req { color: var(--red-600); font-weight: 700; }
.field .hint { font-size: 0.85rem; color: var(--muted-light); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #767f8e;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d4858' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 18px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.18); }
.field [aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(196, 50, 31, 0.12); }
.field .error { font-size: 0.87rem; color: var(--red-700); font-weight: 600; min-height: 0; }
.field .error:empty, .form-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.form-card .hint { font-size: 0.85rem; color: var(--muted-light); }
.form-privacy { font-size: 0.87rem; color: var(--muted-light); margin: 0; max-width: 30rem; }
.turnstile-slot { min-height: 0; margin-top: 1rem; }
.turnstile-slot:empty { display: none; }

.form-status { margin-top: 1.1rem; padding: 0.9rem 1.1rem; border-radius: 10px; font-weight: 600; }
.form-status[data-state="error"] { background: #fdecea; color: var(--red-700); border: 1px solid #f5c2bb; }
.form-status[data-state="info"] { background: var(--steel-100); color: var(--ink-soft); }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--red-600), var(--blue-500)); }
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h2 { font-size: 1.6rem; }

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.aside-panel { display: grid; gap: 1.25rem; }
.aside-panel .card h2 { font-size: 1.15rem; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 2.6rem; margin-bottom: 1.1rem; }
.next-steps li:last-child { margin-bottom: 0; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; }
.next-steps strong { display: block; font-family: var(--font-display); }
.next-steps span { color: var(--ink-soft); font-size: 0.96rem; }
.contact-direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.contact-direct a { display: inline-flex; gap: 0.6rem; align-items: center; font-weight: 600; }
.contact-direct svg { width: 20px; height: 20px; }

/* 11. Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--muted-dark); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--steel-100); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin: 1rem 0 0; max-width: 24rem; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-pillars { letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; color: var(--steel-300); }
.footer-banner { margin: 0 0 1.5rem; padding: 0.6rem 1rem; border: 1px dashed rgba(247, 178, 74, 0.5); border-radius: 8px; color: var(--amber-300); font-size: 0.85rem; }

/* 404 / 50x */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page__code { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; background: var(--grad-both); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 1rem; }
.error-page .btn-row { justify-content: center; }

/* 12. Utilities, motion, print ---------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-note { margin-top: 2rem; }
.nowrap { white-space: nowrap; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .subnav { display: none !important; }
  .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
  .lockup__name { color: #000; background: none; }
  * { color: #000 !important; text-shadow: none !important; }
  .hero__media, .hero__controls, .page-hero__mark { display: none !important; }
  body { font-size: 11pt; }
}
