/* SixFiftyThree Consulting - site styles.
   Hand-written replacement for the 2.1 MB runtime the old site-builder
   shipped. Tokens below were measured off the previous rendered pages so the
   rebuild matches rather than approximates. No !important anywhere: nothing
   is fighting us now. */

:root {
  --offwhite: #f3f7fc;
  --navy:     #1a2832;
  --blue:     #034fa7;
  --slate:    #223440;
  --grey:     #36454f;
  --white:    #fff;
  --ltblue:   #8bcdfd;   /* accent on dark bands only */

  --ink:      var(--navy);
  --rule:     rgba(34, 52, 64, .2);
  --shadow:   0 12px 32px rgba(0, 0, 0, .06);

  --font-head: Outfit, "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --maxw:   1180px;
  --gutter: 24px;
  --band:   clamp(44px, 5vw, 76px);   /* vertical rhythm for a section */
  --radius: 18px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.07; letter-spacing: -.022em; }
h2 { font-size: clamp(28px, 3.7vw, 42px); line-height: 1.14; letter-spacing: -.014em; }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; letter-spacing: -.01em; }
h4 { font-size: 19px; line-height: 1.35; }

/* The emphasis system: one accent run per heading carries the claim.
   On dark bands the accent switches to light blue for contrast. */
.accent { color: var(--blue); }
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark p { color: var(--white); }
.band--dark .accent { color: var(--ltblue); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }

/* ---------- layout ---------- */
.band { padding: var(--band) 0; }
.band--tint { background: var(--offwhite); }
/* A prose band whose photo runs full-bleed behind the copy instead of
   sitting beside it. Same wash machinery as the hero, so the gradient
   rule is shared rather than copied. */
.band--photo { position: relative; overflow: hidden;
  min-height: clamp(360px, 42vh, 520px); display: grid; align-items: center;
  padding: calc(var(--band) + 12px) 0; }
/* The photo is a panel on one side, not the whole band. Two reasons: these
   sources are ~1050-1380px wide and a full-bleed band upscales them ~1.4x,
   which blows the faces up; and a panel leaves the copy somewhere to sit. The
   inner edge is masked so it dissolves into the page rather than ending on a
   line. */
.band__bg { position: absolute; top: 0; bottom: 0; right: 0; width: 72%;
  background-size: cover; background-position: 50% 50%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.band--photo-left .band__bg { right: auto; left: 0;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(270deg, transparent 0%, #000 32%); }
.band--photo-left .band__bg::after { transform: scaleX(-1); }
/* Mirroring is per photo, not per side. What matters is which side the subject
   is composed on: it belongs on the panel's outer edge, away from the mask. A
   photo already composed that way must not be flipped, and one carrying the
   logo or any text can never be.

   scaleX(-1) flips the mask and the wash along with the picture, so both are
   authored against the orientation AFTER the flip: a mirrored panel takes the
   mask its opposite side would use, and the wash is counter-flipped so the
   heavy end always faces the copy. */
.band__bg--mirror { transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(270deg, transparent 0%, #000 32%); }
.band--photo-left .band__bg--mirror {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.band__bg--mirror::after { transform: scaleX(-1); }
.band--photo-left .band__bg--mirror::after { transform: none; }
/* Not the hero's gradient. A band carries body copy rather than one big
   headline, so the wash has to hold near-solid all the way across the text
   column and then drop hard, instead of easing evenly across the frame. The
   text runs to 58ch, about 45% of the wrap, hence the 44% hold. */
.band__bg::after {
  content: ""; position: absolute; inset: 0;
  --wash-l: .95;
  --wash-r: .18;
  background: linear-gradient(90deg,
    rgba(255,255,255,var(--wash-l)) 0%,
    rgba(255,255,255,var(--wash-l)) 44%,
    rgba(255,255,255,calc((var(--wash-l) + var(--wash-r)) / 2)) 68%,
    rgba(255,255,255,var(--wash-r)) 100%);
}
@media (max-width: 859px) {
  /* Stacked, the copy crosses the whole frame with nowhere for the photo to
     sit, so wash it evenly and at full strength. Reading wins on a phone. */
  .band__bg::after { background: rgba(255,255,255,var(--wash-l)); }
  /* no room for a side panel on a phone: the photo takes the whole band */
  .band__bg, .band--photo-left .band__bg {
    width: 100%; left: 0; right: 0; -webkit-mask-image: none; mask-image: none; }
}
/* Two photo bands in a row otherwise butt together and read as one long
   picture. The gap lets the page background separate them. */
.band--photo + .band--photo { margin-top: var(--band); }
.band--photo > .wrap { position: relative; z-index: 1; }
.band--photo .prose { max-width: 58ch; }
@media (min-width: 860px) { .band--photo-left .prose { margin-left: auto; } }
.band--dark { background: var(--navy); text-align: center; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: 20px; }
.prose { max-width: 68ch; }
/* Centre the box, not the text. Multi-line copy centred on both edges is hard
   to read; a centred column of left-aligned text is not. Short intros opt in
   with .center--text. */
.center { margin-inline: auto; }
/* cap the measure on paragraphs only: a heading capped at 62ch wraps a line
   that would otherwise fit */
.center > p, .center--text > p { max-width: 62ch; margin-inline: auto; }
.center--text { text-align: center; }
@media (max-width: 700px) { .center--text { text-align: left; } }

/* two-column prose with a photo */
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
}
/* :not(.hero__icon) matters: the service-page hero icon sits inside .split,
   and ".split img" outranks ".hero__icon", so without this the icon was
   stretched to the full column width. */
.split img:not(.hero__icon) {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; max-height: 420px; object-fit: cover;
}
@media (max-width: 859px) { .split img:not(.hero__icon) { max-height: 260px; } }

/* The headshot is 760x950 portrait. The cover crop above is meant for
   landscape scene photos; applied to a portrait it cuts roughly a third off
   the top and bottom and reads as a zoomed-in face. Let it keep its own
   shape. Placed after the rule above because both selectors weigh the same
   and source order decides. */
.split img[src*="matt-carlson-headshot"] {
  width: auto; max-width: 100%; max-height: 520px;
  object-fit: contain; margin-inline: auto;
}
@media (max-width: 859px) {
  .split img[src*="matt-carlson-headshot"] { max-height: 400px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--white);
  font: 500 16px/1 var(--font-body);
  padding: 17px 30px; border-radius: 50px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #02407f; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ltblue); outline-offset: 3px; }
.band--dark .btn { background: var(--blue); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost:hover { background: rgba(3, 79, 167, .07); }

/* ---------- hero ---------- */
/* The cap matters more than the vh: hero content runs ~350-400px, so on a
   tall monitor 56vh inflates the band to 620px and leaves 260px of empty
   wash under the CTA. 540px keeps a full-height feel without the void. */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(420px, 56vh, 540px); padding: calc(var(--band) + 12px) 0; }
/* Contact is an action page: the form is the point, so the hero gives up some
   height to pull it up the page. */
.hero--compact { min-height: clamp(260px, 34vh, 380px); padding: var(--band) 0; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; z-index: 0; }
/* The photo runs full-bleed behind the copy. The wash is heaviest where the
   text sits and lifts toward the right so the subject stays visible: a flat
   overlay strong enough for the headline erases the picture. */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  --wash-l: .90;
  --wash-r: .34;
  background: linear-gradient(90deg,
    rgba(255,255,255,var(--wash-l)) 0%,
    rgba(255,255,255,calc(var(--wash-l) - .10)) 38%,
    rgba(255,255,255,calc((var(--wash-l) + var(--wash-r)) / 2 - .06)) 68%,
    rgba(255,255,255,var(--wash-r)) 100%);
}
@media (max-width: 859px) {
  /* stacked, the text crosses the whole frame, so wash it evenly */
  .hero__bg::after { background: rgba(255,255,255,calc(var(--wash-l) - .07)); }
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 640px; }
.hero__icon { width: 48px; height: 48px; margin-bottom: 22px; color: var(--navy); }
.hero p { max-width: 54ch; }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero__phone { font-size: 15px; }
.hero__phone a { font-weight: 600; text-decoration: none; }
@media (min-width: 860px) { .hero--media .hero__inner { max-width: 560px; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 36px; }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
/* Seven cards leave one alone on the last row. Same fix as the five-step row:
   six columns, every card spanning two, and the orphan pushed to the middle. */
@media (min-width: 900px) {
  .cards--center { grid-template-columns: repeat(6, 1fr); }
  .cards--center > * { grid-column: span 2; }
  /* one card left over: centre it. two left over: centre the pair. */
  .cards--center > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .cards--center > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .cards--center > :nth-child(3n+2):last-child { grid-column: 4 / span 2; }
}
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 14px;
}
.card__icon { width: 40px; height: 40px; color: var(--blue); }
.card h3 { font-size: 22px; color: var(--blue); }
.card p { font-size: 15px; line-height: 1.75; flex: 1; }

/* ---------- process steps ---------- */
.steps { display: grid; gap: var(--gutter); margin-top: 36px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
/* the step number is a small blue label above the title, not a big ghosted
   numeral: that is how the original reads and it keeps the title dominant */
.step__n {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  line-height: 1; color: var(--blue); letter-spacing: .04em;
}
.step h3 { font-size: clamp(20px, 2.2vw, 24px); color: var(--blue); line-height: 1.25; }
.step p { font-size: 15px; line-height: 1.75; margin: 0; }

/* Five steps flow naturally: three across, then two at full width on the next
   row. An earlier attempt offset the last row with margin-left:50%, which did
   not centre them, it halved their width and wrapped the titles one word per
   line. Centring that last row is a grid placement job, not a margin: six
   columns, every card spanning two, and the pair pushed in by one. */
.steps--center { }
@media (min-width: 1040px) {
  .steps--center { grid-template-columns: repeat(6, 1fr); }
  .steps--center > * { grid-column: span 2; }
  .steps--center > :nth-child(4) { grid-column: 2 / span 2; }
  .steps--center > :nth-child(5) { grid-column: 4 / span 2; }
}

/* ---------- accordion (native details, no JS) ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); background: var(--white); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 52px 20px 20px; position: relative;
  font-family: var(--font-head); font-size: clamp(17px, 2vw, 20px); line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px;
  margin-top: -7px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--blue); }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.faq__a { padding: 0 20px 22px; font-size: 15px; line-height: 1.8; }
.faq__a p { margin: 0 0 .9em; }

/* ---------- legal long-form ---------- */
.legal { max-width: 78ch; }
.legal h3 { font-size: 20px; margin: 30px 0 10px; color: var(--slate); }
.legal h3:first-child { margin-top: 0; }
.legal p { margin: 0 0 14px; line-height: 1.65; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; line-height: 1.6; }
.legal code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: var(--offwhite); padding: 1px 5px; border-radius: 3px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { border-bottom: 1px solid #dde3ea; padding: 9px 12px; text-align: left; vertical-align: top; }

/* ---------- stats (about) ---------- */
.stats { display: grid; gap: var(--gutter); margin-top: 36px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; }
.stat h3 { color: var(--blue); }

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==================================================================
   Header. Desktop: logo left, nav right, CTA button. Under 992px:
   hamburger + centred logo + phone icon, with a slide-in drawer.
   The Services submenu opens on hover AND focus-within, so it works
   from the keyboard without any JavaScript.
   ================================================================== */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid rgba(34,52,64,.08); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.hdr__logo { flex: 0 0 auto; }
.hdr__logo img { width: 200px; }
.hdr__spacer { flex: 1; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }

.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sub {
  position: absolute; left: -18px; top: 100%; min-width: 250px; background: var(--white);
  border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px; display: block; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub li { width: 100%; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; width: 100%; }
.sub a:hover { background: var(--offwhite); box-shadow: none; }

.hdr__burger, .hdr__phone { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; color: var(--navy); cursor: pointer; padding: 0; }
.hdr__phone svg, .hdr__burger svg { width: 26px; height: 26px; }
.hdr__cta { display: none; }

@media (min-width: 992px) {
  .nav { display: block; }
  .hdr__cta { display: inline-flex; }
  .hdr__burger, .hdr__phone { display: none; }
}

/* mobile drawer.
   Top-level items read as headings, the Services submenu is indented under a
   rule and does not repeat the divider treatment, and the phone number is a
   real call action at the bottom rather than another list row. */
.drawer {
  /* slides from the left, where the hamburger is */
  position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px);
  background: var(--white); transform: translateX(-101%);
  transition: transform .24s cubic-bezier(.4, 0, .2, 1); z-index: 60;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 12px 0 40px rgba(16, 24, 32, .18);
}
.drawer[data-open="true"] { transform: none; }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule);
}
.drawer__logo { width: 150px; height: auto; }
.drawer__close {
  flex: 0 0 auto; width: 40px; height: 40px; border: 0; background: none;
  color: var(--navy); cursor: pointer; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer__close svg { width: 20px; height: 20px; }
.drawer__close:hover { background: var(--offwhite); }

.drawer__nav { padding: 4px 0; flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.drawer__nav > ul > li + li { border-top: 1px solid var(--rule); }
.drawer__nav > ul > li > a {
  display: block; padding: 13px 18px; font-family: var(--font-head);
  font-size: 19px; color: var(--ink); text-decoration: none;
}
.drawer__nav a:hover, .drawer__nav a:focus-visible { background: var(--offwhite); color: var(--blue); }
/* .drawer__nav ul zeroes margin and padding and outranks a single class,
   so the submenu indent has to match its specificity or it silently
   collapses flush to the edge. */
.drawer__nav ul.drawer__sub {
  margin: 2px 0 12px 26px; padding: 2px 0 2px 14px;
  border-left: 2px solid #dbe3ec;
}
.drawer__sub a {
  display: block; padding: 8px 10px; font-size: 15px; color: var(--grey);
  text-decoration: none; border-radius: 8px;
}
.drawer__foot {
  flex: 0 0 auto; padding: 16px 18px; border-top: 1px solid var(--rule); display: grid; gap: 12px;
  background: var(--offwhite);
}
.drawer__foot .btn { justify-content: center; }
.drawer__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.drawer__tel svg { width: 17px; height: 17px; color: var(--blue); }

.scrim {
  position: fixed; inset: 0; background: rgba(16, 24, 32, .55); z-index: 59;
  opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }
body[data-locked="true"] { overflow: hidden; }

/* ==================================================================
   Footer
   ================================================================== */
.ftr { background: var(--white); border-top: 1px solid var(--rule); padding: clamp(44px, 5vw, 64px) 0 0; }
.ftr__cols { display: grid; gap: 36px; }
@media (min-width: 820px) { .ftr__cols { grid-template-columns: 2fr 1fr 1.2fr; } }
.ftr h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.ftr img { width: 190px; margin-bottom: 16px; }
.ftr p { font-size: 15px; line-height: 1.7; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li + li { margin-top: 9px; }
.ftr a { color: var(--ink); text-decoration: none; font-size: 15px; }
.ftr a:hover { color: var(--blue); text-decoration: underline; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ftr__contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 5px; color: var(--blue); }
.ftr__social { display: flex; gap: 12px; margin-top: 18px; }
.ftr__social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; align-items: center; justify-content: center; }
.ftr__social svg { width: 18px; height: 18px; }
.ftr__base { margin-top: 40px; border-top: 1px solid var(--rule); padding: 20px 0 28px;
  font-size: 13px; color: var(--grey); text-align: center; line-height: 1.7; }
.ftr__base a { font-size: 13px; color: var(--grey); text-decoration: underline; }

/* ==================================================================
   Contact form
   ================================================================== */
.form { display: grid; gap: 18px; }
@media (min-width: 680px) { .form { grid-template-columns: 1fr 1fr; } .form .f--full { grid-column: 1 / -1; } }
.f label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.f label .req { color: #b3261e; }
.f input, .f select, .f textarea {
  width: 100%; font: 16px/1.5 var(--font-body); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--white);
}
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.f--error input, .f--error select, .f--error textarea { border-color: #b3261e; }
.f__msg { font-size: 13px; color: #b3261e; margin-top: 5px; min-height: 1em; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__foot .btn { width: 304px; max-width: 100%; height: 78px; justify-content: center; }
#x653-recaptcha { flex: 0 0 auto; width: 304px; height: 78px; }
/* The submit button is disabled until the reCAPTCHA is solved, so it needs to
   look unavailable rather than merely ignore the click. */
.form__foot .btn[disabled] { background: #b9c4cf; box-shadow: none; cursor: not-allowed; }
.form__foot .btn[disabled]:hover { background: #b9c4cf; transform: none; }
.form__gate { flex: 1 1 100%; margin: 0; font-size: 14px; color: var(--grey); }
.form__gate[data-state="err"] { color: #7f1d1d; }
.form__gate:empty { display: none; }
@media (max-width: 700px) { .form__foot { flex-direction: column; align-items: flex-start; } }
.form__result { grid-column: 1 / -1; border-radius: 12px; padding: 18px 20px; font-size: 15px; display: none; }
.form__result[data-state="ok"]   { display: block; background: #e7f4ec; color: #14532d; border: 1px solid #b7dfc5; }
.form__result[data-state="err"]  { display: block; background: #fdecea; color: #7f1d1d; border: 1px solid #f5c6c2; }
/* .stat p outranks .stat__v and the figure is a <p>, so the size below was
   being overridden and "15+", "MS" and "BBA" rendered at 15px, the body size,
   instead of display size. Selector matched deliberately. */
.stat p.stat__v {
  font-family: var(--font-head); font-size: clamp(56px, 7vw, 92px);
  line-height: .95; font-weight: 700; color: var(--blue);
  letter-spacing: -.03em; margin: 0 0 10px;
}
.stat h3 { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); margin-bottom: 6px; }
.stat p { font-size: 15px; line-height: 1.7; }
.hero__split { align-items: center; }
.hero__split img:not(.hero__icon) { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero--media .hero__inner { max-width: none; }
/* Band photos are 1200x896 source files. Left at their own aspect they run
   ~700px tall on a stacked layout and dominate the section they are meant to
   support, so crop them to a banner instead of scaling them. */
.steps__pic { margin: 26px 0 0; }
.steps__pic img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; max-height: 300px; object-fit: cover;
}
@media (max-width: 700px) { .steps__pic img { max-height: 200px; } }
.band__pic img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; max-height: 320px; object-fit: cover;
}
@media (max-width: 700px) { .band__pic img { max-height: 210px; } }
.stats__outro { margin-top: 34px; max-width: 68ch; }
.stats__lead { font-family: var(--font-head); font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.ticks { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .52em; width: 11px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
