/* ============ Fonts (self-hosted) ============
   Montserrat (headings) and Open Sans (body) — the two typefaces in the
   source deck. Both free to self-host commercially. Variable woff2, latin
   + latin-ext; the browser only fetches a subset when a glyph needs it.
   No italics — the design uses none. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/opensans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/opensans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ Design Tokens ============ */
:root {
  --paper: #FFFFFF;
  --paper-alt: #EDEBEC;
  --photo-bg: #E4E8EF;
  --navy: #082E67;
  --ink: #2D3637;
  /* #FB9C2C is only ~2.1:1 on white, so orange text on light
     backgrounds uses this darker tint instead. Orange itself is
     reserved for fills and for text sitting on navy. */
  --orange-ink: #914E09;
  --orange: #FB9C2C;

  /* Ink on light */
  --ink-86: rgba(45,54,55,0.86);
  --ink-78: rgba(45,54,55,0.78);
  --ink-70: rgba(45,54,55,0.7);
  --ink-60: rgba(45,54,55,0.72);
  --ink-50: rgba(45,54,55,0.7);
  --ink-45: rgba(45,54,55,0.7);
  --ink-40: rgba(45,54,55,0.7);
  --rule-20: rgba(45,54,55,0.2);
  --rule-18: rgba(45,54,55,0.18);
  --rule-16: rgba(45,54,55,0.16);
  --rule-14: rgba(45,54,55,0.14);

  /* Bone on dark */
  --paper-88: rgba(255,255,255,0.88);
  --paper-85: rgba(255,255,255,0.85);
  --paper-82: rgba(255,255,255,0.82);
  --paper-78: rgba(255,255,255,0.78);
  --paper-70: rgba(255,255,255,0.78);
  --paper-60: rgba(255,255,255,0.75);
  --paper-55: rgba(255,255,255,0.72);
  --rule-dark-50: rgba(255,255,255,0.5);
  --rule-dark-30: rgba(255,255,255,0.3);
  --header-bg: rgba(255,255,255,0.92);

  --font-sans: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --container: 1240px;
  --gutter: 40px;
  --rail: 300px;
  --rail-gap: 80px;

  --t: 120ms ease;
}

/* ============ Reset / Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: background-color var(--t), color var(--t); }
a:hover { color: var(--orange-ink); }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.hero :focus-visible,
.band--navy :focus-visible,
.band--orange :focus-visible,
.compare--hsc :focus-visible,
.footer :focus-visible {
  outline-color: var(--paper);
}
.hero--no-photo :focus-visible { outline-color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ============ Motion system ============
   Everything here is scoped to .js-anim, which is only added when JS runs
   and the visitor hasn't asked for reduced motion. Without it the page is
   fully visible and static — no content depends on a script to appear. */
:root {
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-mask: cubic-bezier(0.16, 1, 0.3, 1);
}

.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 65ms);
  will-change: opacity, transform;
}
.js-anim [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Hero headline: each word rises out of its own clipping box. */
.js-anim .hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders so the clip doesn't shave the 'g' in "great" */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.js-anim .hero__title .w__i {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1000ms var(--ease-mask);
  transition-delay: calc(var(--i, 0) * 52ms);
}
.js-anim .hero__title.is-in .w__i { transform: none; }

.js-anim .hero__row {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js-anim .hero__row { transition-delay: 620ms; }
.js-anim .hero.is-in .hero__row {
  opacity: 1;
  transform: none;
}

/* Section rules draw in rather than just appearing. */
.js-anim .section--rule { border-top-color: transparent; }
.js-anim .section--rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-18);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms var(--ease-out);
}
.js-anim .section--rule.is-in::before { transform: scaleX(1); }

/* ============ Scroll progress ============ */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter);
}

/* Without this the 76px sticky header covers the top of every anchor target. */
section[id] { scroll-margin-top: 92px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--paper); }

/* ============ Shared type ============ */


.h2 {
  color: var(--navy);
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2--tight { margin-bottom: 22px; }
.band--navy .h2 { color: inherit; }
.h2--marketing {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 28px;
}

.prose {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
}
.prose--dark { color: var(--paper-82); }

.measure-46 { max-width: 46ch; }
.measure-52 { max-width: 52ch; }
.measure-56 { max-width: 56ch; }
.measure-60 { max-width: 60ch; }
.measure-60 .prose + .prose { margin-top: 26px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--header {
  background: var(--orange);
  color: var(--navy);
  font-size: 13px;
  padding: 12px 22px;
}
.btn--header:hover { background: var(--navy); color: var(--paper); }

.btn--cta {
  background: var(--navy);
  color: var(--paper);
  font-size: 16px;
  padding: 22px 40px;
}
.btn--cta:hover { background: var(--paper); color: var(--navy); }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-16);
}
.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.wordmark:hover { color: var(--navy); }
.wordmark__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mark {
  width: 26px;
  height: 26px;
  flex: none;
  background: var(--navy);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.mark--footer {
  width: 24px;
  height: 24px;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: normal;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.nav__link:hover { color: var(--orange-ink); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
}

/* ============ Hero ============ */
/* The photo sits behind the copy. `isolation` keeps the negative-z-index
   media above the section's own background but below the text. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 820px);
  padding: 132px 0 104px;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.hero__inner { width: 100%; }

/* Inset negatively so the parallax shift (capped at 60px in main.js) can
   never expose an edge. */
.hero__media {
  position: absolute;
  inset: -60px 0;
  z-index: -2;
}
.hero__media picture,
.hero__media .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Two layers: one weighted left behind the headline, one weighted to the
   bottom so the lede and CTA row clear AA even where the photo is sunlit.
   Between them the top-right stays open enough to read as a photograph. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 46, 103, 0) 42%,
      rgba(8, 46, 103, 0.66) 100%
    ),
    linear-gradient(
      100deg,
      rgba(8, 46, 103, 0.92) 0%,
      rgba(8, 46, 103, 0.84) 42%,
      rgba(8, 46, 103, 0.55) 100%
    );
}

/* showPhotos: false — revert to the flat white hero rather than leaving
   white text on a white background. */
.hero--no-photo {
  background: var(--paper);
  color: var(--ink);
  min-height: 0;
  padding: 96px 0 72px;
}
.hero--no-photo .hero__scrim { display: none; }
.hero--no-photo .hero__lede { color: var(--ink-86); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}
.eyebrow__rule {
  width: 36px;
  height: 1px;
  background: var(--orange-ink);
}
.eyebrow__text {
  color: var(--orange-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

/* Two-tier headline: the promise carries the size, the attribution line
   steps down so it reads as a subordinate clause, not a second headline. */
.hero__title {
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 26ch;
  text-wrap: balance;
}
.hero__title-main {
  display: block;
  font-size: clamp(38px, 5.1vw, 74px);
  line-height: 0.96;
}
.hero__title-sub {
  display: block;
  margin-top: 0.35em;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--paper-88);
}

.hero__row { margin-top: 44px; }
.hero__lede {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  max-width: none;
  color: var(--paper-88);
}

/* ============ Photo slots ============ */
.photo-band {
  position: relative;
  display: block;
  background: var(--photo-bg);
  overflow: hidden;
}
.photo-band--marketing {
  min-width: 0;
  width: 100%;
  height: 560px;
}
/* picture must be a block that fills the band, or the img's height:100%
   has nothing to resolve against and object-fit never gets to crop.
   The band needs a definite height for this to resolve — both bands set one. */
.photo-band picture {
  display: block;
  min-width: 0;
  width: 100%;
  height: 100%;
}
.photo-band .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section--rule {
  position: relative;
  border-top: 1px solid var(--rule-18);
}
.section--marketing {
  padding: 88px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 80px;
  align-items: start;
}
.section--dashboard { padding: 88px 0; }

.grid-rail {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: var(--rail-gap);
}
.section__head { margin-bottom: 64px; }
.rail__note {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-70);
}

/* ============ Full-width section (01) ============ */
.h2--full {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
/* Three columns keep the prose at a readable measure while the section
   itself runs the full container width. */
.prose-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: start;
}
/* Full-bleed statement band: photo, navy scrim, centred type. */
.statement-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(52vh, 460px);
  padding: 96px 0;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.statement-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.statement-band__media picture,
.statement-band__media .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement-band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 46, 103, 0.82);
}
.statement-band .container { width: 100%; }
.statement {
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 22ch;
  text-align: center;
  text-wrap: balance;
}

/* ============ 02 Trades ============ */
.trades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 40px;
}
.trade {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-14);
}
.trade__name {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  transition: transform 260ms var(--ease-out), color 200ms var(--ease-out);
}
.trade:hover .trade__name {
  color: var(--orange-ink);
  transform: translateX(6px);
}
.trade:hover 
.capabilities li {
  transition: transform 260ms var(--ease-out), color 200ms var(--ease-out);
}
.capabilities li:hover {
  color: var(--orange-ink);
  transform: translateX(6px);
}
.footnote {
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-60);
}

/* ============ 03 Services (navy band) ============ */
.hairline { display: grid; gap: 1px; }

.services__head {
  max-width: 60ch;
  margin-bottom: 56px;
}
.services__head .h2--full { margin-bottom: 20px; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
/* The panels read as one block of capability rather than six loose cards:
   a 2px gap lets the navy field do the separating, and each panel carries
   an orange rule as its only ornament. */
.service {
  position: relative;
  isolation: isolate;
  padding: 34px 32px 38px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--orange);
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 320ms var(--ease-out);
}
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--navy); }
.service:hover .service__title { color: var(--navy); }
.service:hover .service__list li { border-color: rgba(8, 46, 103, 0.25); }

.service__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  transition: color 260ms var(--ease-out);
}
.service__list {
  display: flex;
  flex-direction: column;
}
.service__list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  transition: border-color 260ms var(--ease-out);
}
.service__list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ============ Full-bleed bands ============ */
.band--navy {
  background: var(--navy);
  color: var(--paper);
  padding: 104px 0;
}
.band--paper-alt {
  background: var(--paper-alt);
  padding: 96px 0;
}
.band--orange {
  background: var(--orange);
  color: var(--navy);
  padding: 120px 0;
}
.band__head { margin-bottom: 72px; }
.band__head--tight { margin-bottom: 64px; }

/* ============ 04 Advantages ============ */
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}
.adv {
  border-top: 1px solid var(--rule-dark-30);
  padding-top: 26px;
}
.adv__n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-55);
  margin-bottom: 20px;
}
.adv__title {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.adv__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--paper-78);
}

/* The advantages band sits directly under the navy services band, so it
   takes the light tint — two navy fields in a row read as one slab. */
.band--advantages { color: var(--ink); }
.band--advantages .h2 { color: var(--navy); }
.band--advantages .prose--dark { color: var(--ink-78); }
.band--advantages .adv { border-top-color: var(--rule-20); }
.band--advantages .adv__n { color: var(--orange-ink); }
.band--advantages .adv__title { color: var(--navy); }
.band--advantages .adv__body { color: var(--ink-78); }

/* ============ 05 Marketing ============ */
.marketing__prose { margin-bottom: 40px; }
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 36px;
}
.capabilities li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-14);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ============ 06 Cost shift ============ */
.hairline--compare {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: var(--rule-20);
}
.compare { padding: 44px 44px 48px; }
.compare--today {
  background: var(--paper-alt);
  color: var(--ink-78);
}
.compare--hsc {
  background: var(--navy);
  color: var(--paper-85);
}
.compare__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule-20);
}
.compare--hsc .compare__head { border-bottom-color: var(--rule-dark-30); }
.compare__title {
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.compare--hsc .compare__title { color: var(--paper); }
.compare__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-78);
  white-space: nowrap;
}
.compare--hsc .compare__tag { color: var(--paper-60); }
.compare__items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.compare__items p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ============ 07 Dashboard ============ */
.dashboard__prose { margin-bottom: 48px; }
.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
}
.dash {
  border-top: 1px solid var(--rule-20);
  padding-top: 24px;
}
.dash__n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-45);
  margin-bottom: 16px;
}
.dash__title {
  color: var(--navy);
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.dash__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-78);
}

/* ============ CTA band ============ */
.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 80px;
  align-items: end;
}
.cta__title {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: 24px;
}
.cta__body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  max-width: 44ch;
  color: rgba(8,46,103,0.86);
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta__phone {
  color: var(--navy);
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(8,46,103,0.5);
  padding-bottom: 2px;
}
.cta__phone:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ============ Contact form ============ */
.section--contact { padding: 88px 0; }
.eyebrow--rail { margin-bottom: 16px; }

/* Reserve height so the Paperform embed doesn't shift the footer when it
   mounts. Retune if the form's field count changes. */
.form-embed {
  min-height: 520px;
  min-width: 0;
}
.form-embed [data-paperform-id] { min-width: 0; }

/* ============ Footer ============ */
.footer {
  background: var(--navy);
  color: var(--paper-70);
  padding: 56px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.footer__copy { font-size: 13px; font-weight: 400; }

/* ============ Small screens ============ */
@media (max-width: 900px) {
  :root {
    --gutter: 24px;
    --rail-gap: 32px;
  }

  /* Header grows to fit the open menu instead of the menu spilling over the hero. */
  .header__inner {
    height: auto;
    gap: 16px;
    flex-wrap: wrap;
  }
  .wordmark,
  .nav__toggle { height: 76px; }
  .nav__toggle { display: flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 20px;
    border-top: 1px solid var(--rule-16);
  }
  .nav.is-open { display: flex; }
  .nav__link {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--rule-14);
  }
  .btn--header { margin-top: 20px; font-size: 14px; padding: 14px 24px; }

  .section,
  .section--marketing,
  .section--dashboard { padding: 56px 0; }
  .band--navy,
  .band--paper-alt { padding: 64px 0; }
  .band--orange { padding: 72px 0; }

  .grid-rail { grid-template-columns: minmax(0, 1fr); }
  .section__head { margin-bottom: 40px; }
  .band__head,
  .band__head--tight { margin-bottom: 44px; }

  .hero {
    min-height: min(84vh, 640px);
    padding: 88px 0 64px;
  }
  .hero--no-photo { min-height: 0; padding: 64px 0 48px; }
  /* Less width to fall off, so the scrim goes flat and vertical. */
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 46, 103, 0.78) 0%,
      rgba(8, 46, 103, 0.88) 60%,
      rgba(8, 46, 103, 0.92) 100%
    );
  }
  .eyebrow { margin-bottom: 40px; }
  .hero__row { gap: 40px; margin-top: 40px; align-items: start; }

  .h2 { font-size: 32px; }
  .h2--marketing { font-size: 34px; }
  .adv__title { font-size: 26px; }

  .section--marketing,
  .cta { gap: 48px; }
  .advantages { gap: 40px; }
  .dash-cards { gap: 40px; }

  .photo-band--marketing { height: 420px; }
  .compare { padding: 32px 28px 36px; }
}

@media (max-width: 560px) {
  .hero__title { letter-spacing: -0.03em; }
  .trades,
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 28px 24px 32px; }
  .footer__inner { gap: 20px; }
}
