/* Self-hosted copy of https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Barlow:wght@700&display=swap
   made by fetch_vendor.py. Fonts: SIL Open Font License 1.1, see /static/fonts/OFL.txt */
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlow-v13-700-vietnamese-73b48c8588.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlow-v13-700-latin-ext-88c786d5fa.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;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlow-v13-700-latin-2d797dd8b3.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-400-vietnamese-9e7e7207af.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-400-latin-ext-1eb62753e2.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-400-latin-7fff1bb22e.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-500-vietnamese-892fed0cfb.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-500-latin-ext-a6ff9214bf.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-500-latin-460f141ec8.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-600-vietnamese-5598861e72.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-600-latin-ext-aef7edf54f.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-600-latin-215a93c696.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-700-vietnamese-6c554f2dec.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-700-latin-ext-9d351bd922.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-700-latin-3787a5a419.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-800-vietnamese-87b35049bc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-800-latin-ext-22539b785b.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-800-latin-2515494e8c.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;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-900-vietnamese-92a1a5a866.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-900-latin-ext-62fc8c0241.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;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/static/fonts/barlowcondensed-v13-900-latin-aa01966de3.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;
}
/* ============================================================
   Massivo Roofing - theme
   The design system is thelen's (kit/bases/thelen/theme.css, measured off
   callthelen.com): Barlow Condensed caps over a wide Barlow caps eyebrow, the
   cream field, framed cards with an offset shadow, UIkit's grid and gutters.
   Every px below is thelen's measured value; the comment names its token.
   Thelen fills five colour roles from the client's brand. Massivo's brand is
   the gold and black of his door hanger, so:
     primary       door-hanger gold      stripes, wedges, dots, copyright bar
     primary-dark  the gold darkened     card frames, script eyebrows on cream
     secondary     the gold lightened    rule under a heading, main button
     dark          near-black            dark bands, footer, header type
     dark-soft     charcoal              card and step titles
   Two departures, both for contrast: type on a gold fill is near-black, not
   white (white on this gold is 2.9:1), and a script eyebrow on cream uses
   primary-dark (4.4:1, large text).
   ============================================================ */

/* Arial narrowed to Barlow's widths, so text keeps its line breaks while the web
   fonts load and nothing jumps when they swap in. Each size-adjust is the width
   of the site's own text in that face over Arial's, measured in Chrome per weight
   (Massivo SEO phase 3, 2026-10-03). Android has no Arial: Roboto gets the same
   ratios, close but not measured, and plain sans-serif if Roboto isn't found. */
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Roboto"); size-adjust: 76.2%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Roboto"); size-adjust: 77.7%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 73.4%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 69.6%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 70.6%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 71.3%; }
@font-face { font-family: "Barlow Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 87.8%; }

:root {
  --primary: #BD8B2A;
  --primary-dark: #866116; /* was #8A6417: 4.43:1 on cream, under WCAG AA; this is 4.64:1 */
  --secondary: #E3B85B;
  --dark: #0E0D0B;
  --dark-soft: #2E2A24;
  --surface: rgb(252, 231, 194); /* thelen cream, hero_h1.color */
  --soft: color-mix(in srgb, var(--primary) 76%, var(--surface)); /* thelen soft_orange_follows_primary */
  --white: rgb(255, 255, 255); /* hero_body.color */
  --cream: rgb(252, 231, 194); /* hero_h1.color */
  /* faces (thelen triage): fairweather, acumin-pro -> Barlow Condensed. George swapped
     thelen's parkside script for wide Barlow caps: the labels, eyebrows and links */
  --f-display: "Barlow Condensed", "Barlow Condensed Fallback", sans-serif;
  --f-label: "Barlow", "Barlow Fallback", sans-serif;
  /* rhythm: UIkit's gutter, section padding and the three grid gutters */
  --gutter: 40px; /* svc_container.padL */
  --band-pad: 70px; /* svc_band.padT */
  --gap-s: -20px; /* svc_grid.margin#3@1440 */
  --gap-m: -40px; /* why_grid.margin#3@1440 */
  --gap-l: -80px; /* foot_grid.margin#3@1440 */
  --card-pad: 40px; /* card_body.padT */
  --radius: 12px; /* hero_btn.radius */
  --eyebrow-size: 20px;
  --eyebrow-lh: 26px;
  --h2-size: 60px; /* h2.size */
  --h2-lh: 56px; /* h2.lh */
}

html {
  background: var(--surface);
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  font-family: var(--f-display);
  font-size: 18px; /* body.size */
  line-height: 22px; /* body.lh */
  font-weight: 400; /* body.weight */
  color: var(--dark);
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

p, h1, h2, h3, h4, ul, ol, dl, dd, figure {
  margin: 0;
}

svg {
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--dark);
  color: var(--cream);
  font-weight: 700;
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.hero :focus-visible,
.why :focus-visible,
.fin :focus-visible,
.ftr :focus-visible {
  outline-color: var(--secondary);
}

/* UIkit's containers: a content-box max width inside the gutter */
.container {
  box-sizing: content-box;
  max-width: 1200px; /* section_eyebrow.w@1440 */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--large {
  max-width: 1400px; /* steps_grid.w@1440 */
}

.container--small {
  max-width: 900px; /* hero_eyebrow.w@1440 */
}

/* UIkit's grid: a negative left margin and a left padding on every cell */
.grid {
  --g: var(--gap-m);
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 var(--g);
  padding: 0;
  list-style: none;
}

.grid--s {
  --g: var(--gap-s);
}

.grid--l {
  --g: var(--gap-l);
}

.grid > * {
  flex: 1 1 0;
  min-width: 0;
  padding-left: calc(0px - var(--g));
}

/* thelen's 3-up card rows wrap: a third each, the grid gutter between rows */
.grid--3 > * {
  flex: none;
  width: 33.3333%;
}

.grid--3 > :nth-child(n + 4) {
  margin-top: calc(0px - var(--g) * 2);
}

/* a band: UIkit's section padding */
.band {
  position: relative;
  padding-top: var(--band-pad);
  padding-bottom: var(--band-pad);
}

.band--center {
  text-align: center;
}

/* the label eyebrow, the section heading and the rule under it */
.t-eyebrow {
  font-family: var(--f-label);
  font-size: var(--eyebrow-size);
  line-height: var(--eyebrow-lh);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0px 0px 20px 0px; /* section_eyebrow.margin@1440 */
}

.t-h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-lh);
  font-weight: 800; /* h2.weight */
  letter-spacing: 0.02em; /* h2.ls */
  text-transform: uppercase;
  color: var(--dark);
  margin: 0px 0px 20px 0px; /* h2.margin@1440 */
  text-wrap: balance;
}

.t-rule {
  height: 6px; /* svc_divider.h@1440 */
  margin: 20px 0px 20px 0px; /* svc_divider.margin@1440 */
  border: 0;
}

.t-rule::after {
  content: "";
  display: inline-block;
  vertical-align: top;
  width: 100px; /* svc_divider.after.w@1440 */
  border-top: 6px solid var(--secondary);
}

.t-rule--ink::after {
  border-top-color: var(--primary);
}

.t-lead {
  font-size: 20px; /* svc_intro.size */
  line-height: 30px; /* svc_intro.lh */
  font-weight: 600; /* svc_intro.weight */
}

.t-lead + .t-lead {
  margin-top: 20px;
}

/* UIkit's buttons: one shape, three fills */
.btn {
  display: inline-block;
  font-size: 26px; /* hero_btn.size */
  line-height: 46px; /* hero_btn.lh */
  font-weight: 800; /* hero_btn.weight */
  letter-spacing: 0.08em; /* hero_btn.ls */
  text-transform: uppercase;
  text-align: center;
  padding: 0px 24px 0px 24px; /* hero_btn.pad@1440 */
  border: 0;
  border-bottom: 1px solid; /* hero_btn.border#2@1440 */
  border-radius: var(--radius);
  box-shadow: 0 3px 0 0 var(--white); /* hero_btn.shadow#2@1440 */
  max-width: 100%;
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 0 var(--white);
}

.btn--teal {
  background: var(--secondary);
  color: var(--dark);
}

.btn--navy {
  background: var(--dark);
  color: var(--white);
}

.btn--navy:hover {
  filter: none;
  background: var(--dark-soft);
}

.btn--orange {
  background: var(--primary);
  color: var(--dark);
}

/* the label text link with its underline */
.t-link {
  display: inline-block;
  font-family: var(--f-label);
  font-size: 17px;
  line-height: 22px; /* service_link.lh */
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  position: relative;
}

.t-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px; /* service_link.border#2@1440 */
  height: 3px; /* service_link.border#2@1440 */
  background: var(--secondary);
  transition: background 0.15s ease;
}

.t-link:hover::after {
  background: var(--primary);
}

/* the photo card of the services and resources bands */
.card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 4px solid var(--primary-dark); /* card.border#0@1440 */
  border-radius: 12px; /* card.radius */
  box-shadow: 0 6px 0 0 var(--soft); /* card.shadow#2@1440 */
  text-align: center;
}

.card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card__chevron {
  fill: var(--primary-dark);
}

.card__media {
  position: relative;
  line-height: 0;
  border-radius: 8px 8px 0px 0px; /* card_media.radius, inside the 4px frame */
  overflow: hidden;
}

.card__img {
  display: inline-block;
  box-sizing: content-box;
  width: 100%;
  object-fit: cover;
  border-bottom: 6px solid var(--secondary); /* card_img.border#2@1440 */
}

.card__body {
  position: relative;
  padding: var(--card-pad);
}

.card__meta {
  display: flex;
  justify-content: center;
  height: 20px; /* card_meta.h@1440 */
}

.card__badge {
  position: relative;
  flex: none;
  top: 18px; /* card_badge.top@1440 */
  width: 85px; /* card_badge.w@1440 */
  height: 85px; /* card_badge.h@1440 */
  margin: -100px 0px 0px 0px; /* card_badge.margin@1440 */
  padding: 18px; /* card_badge.pad, sized for a stroke icon */
  border: 3px solid var(--secondary); /* card_badge.border#0@1440 */
  border-radius: 50px; /* card_badge.radius */
  background: var(--dark);
  color: var(--cream);
}

.card__badge svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 32px; /* col_heading.size */
  line-height: 34px; /* col_heading.lh, set tight for two-line titles */
  font-weight: 800; /* col_heading.weight */
  letter-spacing: 0.02em; /* col_heading.ls */
  text-transform: uppercase;
  color: var(--dark-soft);
  margin-top: 10px;
  text-wrap: balance;
}

.card__text {
  margin: 10px 0px 0px 0px; /* card_content.margin@1440 */
  padding: 0px 10px 0px 10px; /* card_content.pad@1440 */
}

.card__more {
  margin-top: 20px; /* card_more.top@1440 */
}

/* a card that is one link: the title and the script link move with the hover */
a.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 0 var(--soft);
}

a.card:hover .t-link::after {
  background: var(--primary);
}

/* the traced art's paints (thelen refs/trace_art.py) */
.art-wedge {
  fill: var(--primary);
}

.art-ground {
  fill: var(--dark);
}

.art-surface {
  fill: var(--surface);
}

.art-arc {
  fill: var(--surface);
  stroke: var(--primary-dark);
}

.art-rule {
  fill: var(--primary);
}

@media (max-width: 1199px) { /* card_body.padT @1199 */
  :root {
    --gap-m: -20px; /* why_grid.margin#3@1199 */
    --gap-l: -40px; /* foot_grid.margin#3@1199 */
    --card-pad: 20px; /* card_body.padT @1199 */
  }
}

@media (max-width: 959px) { /* h2.size @959 */
  :root {
    --gutter: 20px; /* svc_container.padL @959 */
    --band-pad: 40px; /* svc_band.padT @959 */
    --eyebrow-size: 17px;
    --eyebrow-lh: 22px;
    --h2-size: 52px; /* h2.size @959 */
    --h2-lh: 50px;
  }
  html {
    scroll-padding-top: 110px;
  }
  .grid > *,
  .grid--3 > * {
    flex: none;
    width: 100%;
  }
  .grid--3 > :nth-child(n + 2),
  .steps__grid > * + *,
  .info > * + * {
    margin-top: calc(0px - var(--g) * 2);
  }
  /* the card is full width here: the chevrons keep the photo's width and the
     copy stays between them (thelen card_text_between_chevrons) */
  .card {
    --art-w: 400px; /* card_img.w@959 */
  }
  .card__art {
    right: 0;
    left: 0;
    max-width: var(--art-w);
    margin: 0 auto;
  }
  .card__title,
  .card__text,
  .card__more {
    max-width: calc(min(100%, var(--art-w)) * 0.8);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 639px) { /* svc_container.padL @639 */
  :root {
    --gutter: 15px; /* svc_container.padL @639 */
    --h2-size: 40px;
    --h2-lh: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
/* ============================================================
   Massivo Roofing - the frame of every page: thelen's header (dark utility
   strip, white bar with the hanging logo, phone bar on phones), thelen's hero
   (also the head of every inner page), thelen's footer and copyright strip.
   Source: kit/sections/thelen/{header,hero,footer,copyright}/section.css.
   ============================================================ */

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: -39px; /* util_bar.h@1440: the strip scrolls away, the bar pins */
  z-index: 50;
}

.hdr__util {
  background: var(--dark);
  padding-top: 8px; /* util_bar.padT@1440 */
  padding-bottom: 8px; /* util_bar.padB@1440 */
  color: var(--white);
  font-size: 19px; /* George: 16px condensed read blurry */
  line-height: 26px;
  font-weight: 700; /* util_loc.weight@1440 */
  letter-spacing: 0.05em;
}

.hdr__util-in {
  display: flex;
  align-items: center;
  min-height: 23px; /* util_container.h@1440 */
}

.hdr__promo-text {
  color: var(--secondary);
}

.hdr__locs {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 0;
  list-style: none;
  column-gap: 20px; /* util_right gap@1440 */
}

.hdr__loc {
  display: flex;
  align-items: center;
  column-gap: 10px; /* util_icon gap@1440 */
}

.hdr__pin {
  width: 18px; /* util_icon.w@1440 */
  height: 18px; /* util_icon.h@1440 */
  fill: var(--primary);
}

.hdr__loc-link:hover {
  color: var(--secondary);
}

.hdr__bar {
  background: var(--white);
  padding-top: 5px; /* header.padT@1440 */
  padding-bottom: 5px; /* header.padB@1440 */
  border-bottom: 8px solid var(--primary); /* header.border#2@1440 */
}

.hdr__bar-in {
  display: flex;
  align-items: center;
  column-gap: 30px; /* header_right.gap#1@1440 */
  min-height: 92px; /* header_container.h@1440 */
}

.hdr__logo {
  flex: 0 0 150px;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

/* the logo hangs over the bar's gold rule, as thelen's badge does
   (header_logo.margin#2@1440, -44px) */
.hdr__logo img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -44px;
  padding: 8px 12px 10px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  border: 0 solid var(--primary);
  border-width: 0 4px 4px;
}

.hdr__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin-left: auto;
  gap: 0 30px; /* header_right.gap#1@1440 */
}

.hdr__menu {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  column-gap: 35px; /* nav.gap#1@1440 */
}

.hdr__item {
  position: relative;
  display: flex;
  align-items: center;
}

.hdr__link {
  display: flex;
  align-items: center;
  min-height: 80px; /* nav_link.minHeight@1440 */
  font-size: 22px; /* nav_link.size@1440 */
  line-height: 22px; /* nav_link.lh@1440 */
  font-weight: 800; /* nav_link.weight@1440 */
  letter-spacing: 0.1em; /* nav_link.ls@1440 */
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
}

.hdr__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.1em;
  bottom: 22px;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.hdr__link:hover::after,
.hdr__link.is-current::after {
  transform: scaleX(1);
}

.hdr__caret {
  width: 26px;
  height: 26px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-dark);
  cursor: pointer;
}

.hdr__caret svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.hdr__caret[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* the services menu: a thelen card hanging from the nav */
.drop {
  position: absolute;
  top: calc(100% - 4px);
  left: -40px;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0 40px;
  padding: 28px; /* foot_card.pad@1440 */
  background: var(--white);
  border: 4px solid var(--primary-dark);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 0 var(--soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.hdr__item--drop:hover .drop:not(.is-dismissed),
.drop.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.drop__head {
  font-family: var(--f-label);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.drop ul {
  padding: 0;
  list-style: none;
}

.drop a {
  display: block;
  padding: 5px 0;
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-soft);
}

.drop a:hover {
  color: var(--primary-dark);
}

.hdr__phone {
  display: flex;
  align-items: center;
  column-gap: 10px;
  min-height: 80px; /* header_phone_widget.minHeight@1440 */
  color: var(--primary-dark);
}

.hdr__phone-ico {
  display: block;
  width: 34px;
  height: 28px;
  padding-left: 6px;
}

.hdr__phone-svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hdr__phone-num {
  font-size: 32px; /* header_phone.size@1440 */
  line-height: 34px; /* header_phone.lh@1440 */
  font-weight: 700; /* header_phone.weight@1440 */
  letter-spacing: 0.02em; /* header_phone.ls@1440 */
  white-space: nowrap;
}

/* the phone bar */
.hdr__mbar {
  display: none;
  background: var(--white);
  padding-top: 5px; /* mheader.padT@390 */
  padding-bottom: 5px; /* mheader.padB@390 */
  border-bottom: 8px solid var(--primary); /* mheader.border#2@390 */
}

.hdr__mbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* mheader_container.h@390 */
}

.hdr__mphone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--primary-dark);
}

.hdr__mphone .hdr__phone-svg {
  width: 30px;
  height: 30px;
}

.hdr__mlogo {
  width: 92px;
}

.hdr__mlogo img {
  display: block;
  width: 100%;
  height: auto;
}

.hdr__toggle {
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--primary-dark);
  cursor: pointer;
}

.hdr__toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.hdr__drawer {
  position: fixed;
  top: 98px; /* mheader.h@390 */
  left: 0;
  right: 0;
  max-height: calc(100% - 98px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-bottom: 8px solid var(--primary);
  padding-bottom: 30px;
  text-align: center;
}

.hdr__drawer[hidden] {
  display: none;
}

.hdr__dmenu {
  padding: 0;
  list-style: none;
}

.hdr__dlink {
  display: block;
  font-size: 22px; /* nav_link.size@1440 */
  line-height: 64px;
  font-weight: 800; /* nav_link.weight@1440 */
  letter-spacing: 0.1em; /* nav_link.ls@1440 */
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 10%, transparent);
}

.hdr__dmeta {
  margin: 20px 0;
  font-weight: 700;
  color: var(--primary-dark);
}

@media (max-width: 1199px) {
  .hdr__menu {
    column-gap: 22px;
  }
  .hdr__link {
    font-size: 19px;
    letter-spacing: 0.08em;
  }
  .hdr__phone-num {
    font-size: 26px;
  }
  .hdr__btn {
    font-size: 22px;
  }
}

@media (max-width: 959px) { /* h2.size @959 */
  .hdr {
    top: 0;
  }
  .hdr__util,
  .hdr__bar {
    display: none;
  }
  .hdr__mbar {
    display: block;
  }
}

/* ---------- hero, and the head of every inner page ---------- */
:root {
  --hero-eyebrow-size: 22px;
  --hero-eyebrow-lh: 28px;
  --hero-h1-size: 98px; /* George 2026-10-10: shorter, wider (was 117px) */
  --hero-h1-lh: 86px; /* was 105.3px */
}

/* George 2026-10-10: the home headline runs wider than the 900px column, in
   two stretched lines instead of three tall ones */
@media (min-width: 1200px) {
  .hero:not(.hero--page) .hero__h1 {
    letter-spacing: 0;
    margin-inline: -100px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh; /* thelen hero_min_height_85vh */
  padding-top: 70px; /* hero_band.padT */
  text-align: center;
  background: var(--dark);
}

/* George's hero rule: the media fills the band, greyscale, under the scrim */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: 0.72; /* thelen hero_scrim */
}

.hero__art {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85vh; /* thelen hero_min_height_85vh */
  pointer-events: none;
}

/* the stripes and the cream cut keep their height; the copy never runs into them */
.hero::after {
  content: "";
  display: block;
  height: max(10.25vw, 19.32vh); /* thelen hero_cut_reserve */
}

.hero__stripe1 {
  fill: var(--primary);
}

.hero__stripe2 {
  fill: var(--soft);
}

.hero__cut {
  fill: var(--surface);
}

.hero__in {
  position: relative;
}

/* the company van, parked on the stripes at the right; under the copy, never on it */
.hero__van {
  position: absolute;
  right: 4vw;
  bottom: calc(max(10.25vw, 19.32vh) - 70px);
  width: 340px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.55));
}

@media (max-width: 1199px) {
  .hero__van {
    width: 240px;
  }
}

@media (max-width: 767px) {
  .hero__van {
    display: none;
  }
}

.lost__van {
  display: block;
  width: min(520px, 90%);
  height: auto;
  margin: 0 auto 40px;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.35));
}

.hero__eyebrow {
  font-family: var(--f-label);
  font-size: var(--hero-eyebrow-size);
  line-height: var(--hero-eyebrow-lh);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 40px 0px 10px 0px; /* hero_eyebrow.margin@1440 */
  text-wrap: balance;
}

.hero__h1 {
  font-size: var(--hero-h1-size);
  line-height: var(--hero-h1-lh);
  font-weight: 900; /* hero_h1.weight */
  letter-spacing: 0.02em; /* hero_h1.ls */
  text-transform: uppercase;
  color: var(--white); /* George: home headline white, not cream */
  margin: 0px 0px 20px 0px; /* hero_h1.margin@1440 */
  text-wrap: balance;
}

/* the small line and the headline as one <h1>: each keeps its own block */
.hero__title > span {
  display: block;
}

.hero__lead {
  max-width: 750px; /* hero_body.w@1440 */
  margin: 0 auto;
}

.hero__body {
  font-size: 20px; /* hero_body.size */
  line-height: 30px; /* hero_body.lh */
  font-weight: 600; /* hero_body.weight */
  color: var(--white);
}

.hero__cta {
  margin-top: 30px;
  align-items: center;
}

.hero__cta-l {
  text-align: right;
}

.hero__cta-r {
  text-align: left;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
  color: var(--cream);
  font-size: 36px; /* hero_phone.size */
  line-height: 34px; /* hero_phone.lh */
  font-weight: 700; /* hero_phone.weight */
  letter-spacing: 0.02em; /* hero_phone.ls */
  white-space: nowrap;
}

.hero__phone:hover {
  color: var(--secondary);
}

.hero__phone-ico {
  width: 32px; /* hero_phone_icon.w */
  height: 32px; /* hero_phone_icon.h */
  fill: var(--primary);
}

/* an inner page's head: the same band, shorter, with a breadcrumb */
.hero--page {
  min-height: 0;
  padding-top: 40px;
}

.hero--page .hero__h1 {
  color: var(--cream);
  font-size: var(--page-h1-size, 84px);
  line-height: 0.92;
}

.hero--page .hero__eyebrow {
  margin-top: 30px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
}

.crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--primary);
}

.crumbs a:hover {
  color: var(--secondary);
}

.crumbs [aria-current] {
  color: var(--cream);
}

@media (max-width: 1199px) { /* hero_h1.size @1199 */
  :root {
    --hero-h1-size: 72px; /* hero_h1.size @1199 */
    --hero-h1-lh: 64.8px; /* hero_h1.lh @1199 */
  }
  .hero--page {
    --page-h1-size: 64px;
  }
}

@media (max-width: 959px) { /* hero_eyebrow.size @959 */
  :root {
    --hero-eyebrow-size: 18px;
    --hero-eyebrow-lh: 24px;
    --hero-h1-size: 61.2px; /* hero_h1.size @959 */
    --hero-h1-lh: 55.08px; /* hero_h1.lh @959 */
  }
  .hero {
    padding-top: 40px; /* hero_band.padT @959 */
  }
  .hero--page {
    --page-h1-size: 52px;
    padding-top: 24px;
  }
  .hero__cta-l,
  .hero__cta-r {
    text-align: center;
  }
  .hero__cta-r {
    margin-top: 20px; /* hero_cta_right.margin#0@959 */
  }
}

@media (max-width: 639px) {
  :root {
    --hero-h1-size: 50px;
    --hero-h1-lh: 47px;
  }
  .hero--page {
    --page-h1-size: 44px;
  }
  .hero__phone {
    font-size: 32px;
  }
}

/* ---------- footer ---------- */
.ftr {
  color: var(--white);
}

.ftr__ground {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.ftr__art {
  width: 100%;
  height: auto;
}

.ftr__in {
  position: relative;
}

.ftr__col {
  display: flex;
  flex-direction: column;
}

.ftr__card {
  flex: 1 1 auto;
  padding: 28px; /* foot_card.pad@1440 */
  background: var(--surface);
  border: 4px solid var(--primary-dark); /* foot_card.border#0@1440 */
  border-radius: 12px; /* foot_card.radius */
  box-shadow: 0 8px 0 0 var(--soft); /* foot_card.shadow#2@1440 */
  color: var(--dark);
}

.ftr__title {
  font-family: var(--f-label);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0px 0px 20px 0px; /* foot_card_title.margin@1440 */
}

.ftr__office {
  margin: 30px 0px 0px 0px; /* foot_office.margin@1440 */
  font-size: 24px; /* foot_office.size */
  line-height: 26px;
  font-weight: 600; /* foot_office.weight */
  letter-spacing: 0.01em; /* foot_office.ls */
  color: var(--primary-dark);
}

.ftr__office + .ftr__addr {
  margin-top: 8px;
}

.ftr__addr {
  font-size: 18px; /* foot_address.size */
  line-height: 24px;
  font-weight: 500;
}

.ftr__addr a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.ftr__col--mid {
  text-align: center;
}

.ftr__logo {
  margin: 0px 0px 10px 0px; /* foot_logo_wrap.margin@1440 */
}

.ftr__logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.ftr__call {
  margin: 0px 0px 20px 0px; /* foot_call.margin@1440 */
  font-size: 40px; /* foot_call.size */
  line-height: 44px; /* foot_call.lh */
  font-weight: 800; /* foot_call.weight */
  letter-spacing: 0.02em; /* foot_call.ls */
  text-transform: uppercase;
  color: var(--cream);
}

.ftr__call a {
  white-space: nowrap;
}

.ftr__call a:hover {
  color: var(--secondary);
}

.ftr__social {
  display: flex;
  justify-content: center;
  column-gap: 20px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.ftr__soc {
  display: block;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 500px; /* foot_social.radius */
  background: var(--secondary);
  color: var(--dark);
  transition: transform 0.15s ease;
}

.ftr__soc:hover {
  transform: translateY(-2px);
}

.ftr__soc svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ftr__license {
  font-size: 16px; /* foot_license.size */
  line-height: 24px; /* foot_license.lh */
  font-weight: 600; /* foot_license.weight */
  color: var(--cream);
}

.ftr__btn {
  display: block;
  width: 100%;
  padding: 0px 20px 0px 20px; /* foot_btn.pad@1440 */
  font-size: 26px; /* foot_btn.size */
  box-shadow: none;
}

.ftr__card--links {
  text-align: center;
}

.ftr__btns {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.ftr__btns > li + li {
  margin-top: 14px;
}

/* the copyright strip */
.copy {
  padding-top: 20px; /* copy_band.padT@1440 */
  padding-bottom: 20px; /* copy_band.padB@1440 */
  background: var(--primary);
  text-align: center;
}

.copy__text {
  font-size: 18px; /* copyright.size */
  line-height: 22px; /* copyright.lh */
  font-weight: 600; /* copyright.weight */
  color: var(--dark);
}

@media (max-width: 959px) { /* h2.size @959 */
  .ftr__col--left,
  .ftr__col--right {
    order: 1;
    margin-top: 40px; /* foot_col_left.margin#0@959 */
  }
  .ftr__call {
    font-size: 34px;
    line-height: 38px;
  }
}

/* below 1200px the services menu hangs from the bar's right edge, so the
   closed (hidden but laid out) menu never pushes past the viewport */
@media (max-width: 1199px) {
  .hdr__bar-in {
    position: relative;
  }
  .hdr__item--drop {
    position: static;
  }
  .drop {
    left: auto;
    right: var(--gutter);
    top: calc(100% - 4px);
  }
}
/* ============================================================
   Massivo Roofing - thelen's bands, used on the home page and reused inside
   pages: services cards, the why arc, step cards, the finance arc (mirrored
   why), resources cards, the service area, the form dialog.
   Source: kit/sections/thelen/<band>/section.css.
   ============================================================ */

/* ---------- services and resources cards ---------- */
.svc,
.res {
  overflow: hidden;
  text-align: center;
}

.svc__in,
.res__in {
  position: relative;
}

.svc__intro {
  max-width: 820px;
  margin: 20px auto 20px; /* svc_intro.margin@1440 */
}

.svc__grid,
.res__grid {
  margin-top: 40px;
}

.svc__cell,
.res__cell {
  display: flex;
}

.svc__card .card__img {
  max-width: 400px; /* card_img.w@959 */
  aspect-ratio: 2.0053; /* card_img.w@1440 / card_img.h@1440 */
}

.res__card .card__img {
  max-width: 600px; /* tile_img.w@959 */
  aspect-ratio: 1.6;
}

/* a service with no photo of its own: the dark ground with his logo faint on
   it, as thelen watermarks its own logo. Never a stock picture, never a photo
   of a different roof. */
.card__blank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px; /* card_img.w@959, as the photo cards */
  margin: 0 auto;
  aspect-ratio: 2.0053;
  background: var(--dark);
  border-bottom: 6px solid var(--secondary);
}

.card__blank img {
  width: 34%;
  height: auto;
  opacity: 0.16;
}

.svc__cta,
.res__cta {
  padding-top: 50px; /* svc_btn.top@1440 */
}

.svc__cta .btn + .btn,
.res__cta .btn + .btn {
  margin-left: 20px;
}

.group + .group {
  margin-top: 70px;
}

.group__head {
  margin-bottom: 0;
}

/* the services hub's jump tiles: one per group, on the card grid, in the dark
   of the logo-only card with its gold edge */
.jump {
  margin-bottom: 70px; /* as .group + .group */
}

.jump__cell {
  display: flex;
}

.jump__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 22px 20px 18px;
  background: var(--dark);
  border-bottom: 6px solid var(--secondary);
  border-radius: 12px; /* as .card */
  color: var(--white);
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.jump__link:hover {
  background: var(--dark-soft);
  transform: translateY(-1px);
}

.jump__link:active {
  transform: translateY(1px);
}

.jump__k {
  font-family: var(--f-label);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.jump__t {
  font-size: 32px; /* as .card__title */
  line-height: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.jump__arrow {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--secondary);
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.jump) {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jump__link {
    transition: none;
  }
}

/* stacked, each tile is one row: count over title on the left, arrow right */
@media (max-width: 959px) {
  .jump {
    margin-bottom: 50px;
  }
  .jump__list > :nth-child(n + 2) {
    margin-top: 12px;
  }
  .jump__link {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    padding: 14px 20px 12px;
    text-align: left;
  }
  .jump__k {
    grid-column: 1;
  }
  .jump__t {
    grid-column: 1;
    font-size: 26px;
    line-height: 28px;
  }
  .jump__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

/* ---------- why: the photo in the arc window, text on the dark ground ---------- */
.why,
.fin {
  display: flex;
  align-items: center;
  color: var(--white);
}

.why {
  min-height: 810px; /* why_band.minHeight@1440 */
}

.fin {
  min-height: 720px; /* fin_band.minHeight@1440 */
}

.why__ground,
.fin__ground {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.why__art,
.fin__art {
  position: absolute;
  top: 0;
  width: 50%; /* why_grid.child_w / why_grid.w */
  height: 100%;
}

.why__art--photo,
.fin__art--rest {
  left: 0;
}

.why__art--rest,
.fin__art--photo {
  right: 0;
}

.why__win,
.fin__win {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__in,
.fin__in {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.why__img,
.fin__img {
  display: none;
  width: 100%;
  max-width: 600px; /* why_img.w@959 */
  aspect-ratio: 1.5; /* why_img.ratio@959 */
  object-fit: cover;
  border-radius: 5px; /* why_img.radius@959 */
  box-shadow: 0 6px 0 0 var(--soft); /* why_img.shadow#2@959 */
}

.why__eyebrow,
.fin__eyebrow {
  margin: 40px 0px 20px 0px; /* why_eyebrow.margin@1440 */
  color: var(--secondary);
}

.why__h2,
.fin__h2 {
  color: var(--cream);
}

/* A band with no eyebrow: the heading takes the eyebrow's top margin. */
.why__img + .why__h2 {
  margin-top: 40px;
}

.why__body,
.fin__body {
  margin: 20px 0px 20px 0px; /* why_text_panel.margin@1440 */
  font-size: 20px; /* why_body.size */
  line-height: 30px; /* why_body.lh */
  font-weight: 600; /* why_body.weight */
}

.why__body p,
.fin__body p {
  margin: 0px 0px 20px 0px; /* why_body.margin@1440 */
}

.why__body p:last-child,
.fin__body p:last-child {
  margin-bottom: 0;
}

.why__note {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

.why__cta,
.fin__cta {
  padding-top: 20px; /* fin_btn.top@1440 */
}

.why__cta .btn + .btn,
.fin__cta .btn + .btn {
  margin-left: 20px;
}

/* ---------- steps: four framed cards, his logo faint behind them ---------- */
.steps {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.steps__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 90vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.06; /* thelen's logo watermark behind the steps band */
  pointer-events: none;
}

.steps__in {
  position: relative;
}

.steps__lead {
  max-width: 750px; /* review_body.w@1440 */
  margin: 0 auto;
}

.steps__grid {
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.steps__cell {
  display: flex;
}

.steps__card {
  width: 100%;
  padding: 20px; /* step_card.pad@1440 */
  background: var(--white);
  border: 4px solid var(--primary-dark); /* step_card.border#0@1440 */
  border-radius: 12px; /* step_card.radius */
  box-shadow: 0 6px 0 0 var(--soft); /* step_card.shadow#2@1440 */
  text-align: left;
}

.steps__row {
  display: flex;
  margin-left: -10px; /* step_grid_inner.margin#3@1440 */
}

.steps__row > * {
  padding-left: 10px; /* step_num_col.pad#3@1440 */
}

.steps__copy {
  flex: 1 1 0;
  min-width: 0;
}

.steps__num {
  display: flex;
  flex-direction: column;
  width: 57px; /* step_num.w@1440 */
  color: var(--primary-dark);
}

.steps__word {
  font-family: var(--f-label);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
}

.steps__digits {
  font-size: 59.3333px; /* step_num.h * 2 / 3 */
  line-height: 1;
  font-weight: 900; /* hero_h1.weight */
}

.steps__title {
  font-size: 36px; /* step_heading.size */
  line-height: 34px; /* step_heading.lh */
  font-weight: 700; /* step_heading.weight */
  letter-spacing: 0.02em; /* step_heading.ls */
  text-transform: uppercase;
  color: var(--dark-soft);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.steps__body {
  margin: 10px 0px 0px 0px; /* step_content.margin@1440 */
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.steps__cta {
  margin-top: 50px; /* steps_btn.top@1440 */
}

.steps__cta-l {
  text-align: right;
}

.steps__cta-r {
  text-align: left;
}

/* the same card, two-up and with a question for a title (FAQ) */
.steps--qa .steps__title {
  font-size: 30px;
  line-height: 32px;
}

/* ---------- service area: map left, the city card right ---------- */
:root {
  --area-pad-x: 40px; /* area_text.padL */
  --city-gap: 40px; /* city_grid.gap */
  --city-cols: 3; /* city_grid.columns */
}

.area {
  overflow: hidden;
}

.area__art {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

.area__in {
  position: relative;
}

.area__mapcol {
  flex: none;
  width: 40%; /* area_grid.child_w / area_grid.w */
}

.area__map {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--primary-dark);
  border-radius: 12px; /* area_map.radius */
  box-shadow: 0 6px 0 0 var(--soft);
}

.area__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 412px;
  border: 0;
}

.area__text {
  height: 100%;
  padding: 20px var(--area-pad-x); /* area_text.pad@1440 */
  background: var(--surface);
  border-radius: 12px; /* area_text.radius */
}

.area__body {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.area__cols {
  display: grid;
  grid-template-columns: repeat(var(--city-cols), minmax(0, 1fr));
  gap: 30px var(--city-gap);
  margin: 30px 0 20px; /* area_list.margin@1440 */
}

.area__region {
  font-size: 24px; /* foot_office.size */
  line-height: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.area__note {
  font-family: var(--f-label);
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 24px;
  color: var(--dark-soft);
}

.area__list {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.area__city {
  display: flex;
  align-items: flex-start;
  column-gap: 10px; /* city_dot gap@1440 */
  font-size: 18px; /* city_link.size */
  line-height: 22px; /* city_link.lh */
  font-weight: 700; /* city_link.weight */
  color: var(--dark-soft);
}

.area__city + .area__city {
  margin-top: 10px; /* city row gap@1440 */
}

.area__dot {
  flex: none;
  width: 10px; /* city_dot.w@1440 */
  height: 10px; /* city_dot.h@1440 */
  position: relative;
  top: 6px;
  fill: var(--primary);
}

.area__btnwrap {
  margin: 40px 0px 0px 0px; /* area_btn_wrap.margin@1440 */
}

.area__btnwrap .btn + .btn {
  margin-left: 20px;
}

/* the area band full width (no map column) */
.area--wide .area__textcol {
  width: 100%;
}

/* ---------- the form dialog ---------- */
.sform__dialog {
  max-width: 600px; /* form_dialog.w@1440 */
  margin: 0 auto;
  padding: 28px; /* form_dialog.pad@1440 */
  background: var(--surface); /* form_dialog.bg */
  border: 10px solid var(--dark); /* form_dialog.border#0@1440 */
  border-radius: 12px; /* form_dialog.radius */
  box-shadow: 0 0 0 3px var(--primary); /* form_dialog.shadow#4@1440 */
}

.sform__title {
  font-family: var(--f-label);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary-dark);
  margin: 0px 0px 20px 0px; /* form_title.margin@1440 */
}

.sform__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; /* form_fields.gap#0@1440 */
}

.sform__field--wide {
  grid-column: 1 / -1;
}

.sform__label-box {
  display: block;
  margin: 0px 0px 8px 0px; /* form_label_box.margin@1440 */
}

.sform__label {
  padding-right: 6px; /* form_label.padR@1440 */
  font-size: 17px;
  line-height: 22.88px; /* form_label.lh */
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.sform__req {
  color: var(--primary-dark);
}

.sform__input,
.sform__textarea {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--dark); /* form_input.border#0@1440 */
  border-radius: 3px; /* form_input.radius */
}

.sform__input {
  height: 44px;
  padding: 0px 12px; /* form_input.pad@1440 */
}

.sform__textarea {
  height: 160px;
  line-height: 22px;
  padding: 12px; /* form_textarea.pad@1440 */
  resize: vertical;
}

.sform__input[aria-invalid="true"],
.sform__textarea[aria-invalid="true"] {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--primary);
}

.sform__footer {
  margin: 24px 0px 0px 0px; /* form_footer.margin@1440 */
  text-align: center;
}

.sform__note {
  margin-top: 16px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
}

.sform__note:empty {
  display: none;
}

.sform__note.is-error {
  color: var(--dark);
  text-decoration: underline 3px var(--primary);
  text-underline-offset: 4px;
}

@media (max-width: 1199px) {
  :root {
    --city-gap: 20px; /* city_grid.gap @1199 */
  }
}

@media (max-width: 959px) { /* h2.size @959 */
  .why,
  .fin {
    display: block;
    min-height: 0;
  }
  .why__art,
  .fin__art {
    display: none;
  }
  .why__img,
  .fin__img {
    display: block;
  }
  .why__side,
  .fin__side {
    display: none;
  }
  .steps__cta-l,
  .steps__cta-r {
    text-align: center;
  }
  .steps__cta-r {
    margin-top: 20px; /* steps_cta_right.margin#0@959 */
  }
  .area__mapcol {
    width: 100%;
  }
  .area__map {
    height: 360px;
    min-height: 0;
  }
  .area__iframe {
    min-height: 352px;
  }
  .area__textcol {
    margin-top: 30px;
  }
  :root {
    --area-pad-x: 0px; /* the card sits on the cream field; no inner gutter */
    --city-cols: 2;
  }
}

@media (max-width: 639px) {
  :root {
    --city-cols: 1;
  }
  .sform__fields {
    grid-template-columns: 1fr;
  }
  .sform__dialog {
    padding: 20px 16px;
    border-width: 6px;
  }
  .svc__cta .btn + .btn,
  .res__cta .btn + .btn,
  .why__cta .btn + .btn,
  .fin__cta .btn + .btn,
  .area__btnwrap .btn + .btn {
    margin: 16px 0 0;
  }
  .steps__title {
    font-size: 30px;
    line-height: 30px;
  }
}

/* a short row of cards sits in the middle, as thelen's three do */
.svc__grid,
.res__grid {
  justify-content: center;
}

.card__count {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

@media (max-width: 959px) {
  .area__note:empty {
    display: none;
  }
}

/* phones: the regions stack, and each region's cities run in two columns */
@media (max-width: 639px) {
  .area__list {
    column-count: 2;
    column-gap: 16px;
  }
  .area__city {
    break-inside: avoid;
    margin-bottom: 10px;
  }
  .area__city + .area__city {
    margin-top: 0;
  }
}

/* step cards that hold a short item, not a titled step with a body */
.steps--list .steps__title {
  font-size: 28px;
  line-height: 30px;
  overflow-wrap: normal;
  hyphens: manual;
}

/* four short-item cards go two-up below 1300px so a long word fits */
@media (max-width: 1299px) and (min-width: 960px) {
  .steps--list > * {
    flex: none;
    width: 50%;
  }
  .steps--list > :nth-child(n + 3) {
    margin-top: calc(0px - var(--g) * 2);
  }
}

/* ---------- why choose us: George's icons, gold on the dark ground ---------- */
.whyus {
  background: var(--dark);
  border-top: 16px solid var(--primary); /* the art-rule edge of the why and fin bands */
  border-bottom: 16px solid var(--primary);
  color: var(--white);
  text-align: center;
}

.whyus .t-eyebrow {
  color: var(--secondary);
}

.whyus__h2 {
  color: var(--cream);
}

.whyus__grid {
  justify-content: center;
  margin-top: 40px;
}

.whyus__cell {
  position: relative;
}

/* a thin gold rule in the middle of the gutter between two cells in a row */
.whyus__cell + .whyus__cell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((0px - var(--g)) / 2 - 1px);
  border-left: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
}

.whyus__ico {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

.whyus__title {
  margin-top: 18px;
  font-size: 28px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}

.whyus__body {
  margin-top: 10px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-wrap: balance;
}

.whyus__tel {
  white-space: nowrap;
  text-decoration: underline 2px;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.whyus__tel:hover {
  color: var(--secondary);
}

@media (max-width: 959px) {
  .whyus__grid > * {
    flex: none;
    width: 33.3333%;
  }
  .whyus__grid > :nth-child(n + 4) {
    margin-top: calc(0px - var(--g) * 2);
  }
  .whyus__cell:nth-child(3n + 1)::before {
    display: none;
  }
}

@media (max-width: 639px) {
  .whyus {
    border-width: 12px 0;
  }
  .whyus__grid > * {
    width: 50%;
  }
  .whyus__grid > :nth-child(n + 3) {
    margin-top: calc(0px - var(--g) * 2);
  }
  .whyus__cell:nth-child(3n + 1)::before {
    display: block;
  }
  .whyus__cell:nth-child(2n + 1)::before {
    display: none;
  }
  .whyus__ico {
    width: 80px;
    height: 80px;
  }
  .whyus__title {
    font-size: 24px;
    line-height: 26px;
  }
  .whyus__body {
    font-size: 17px;
    line-height: 24px;
  }
}
/* ============================================================
   Massivo Roofing - inner pages. No new components: the photo frames are
   thelen's card frame (4px primary-dark, 12px radius, 6px soft shadow), the
   info cards are thelen's footer card, and prose uses thelen's lead type.
   ============================================================ */

/* ---------- prose band under a page head ---------- */
.prose {
  text-align: center;
}

.prose__body {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- photo gallery: each photo in thelen's card frame ---------- */
.gallery {
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.gallery__link {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--primary-dark);
  border-radius: 12px;
  box-shadow: 0 6px 0 0 var(--soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 0 var(--soft);
}

.gallery__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery__cap {
  margin-top: 16px;
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark-soft);
  text-align: center;
}

/* ---------- a job clip in the same frame ---------- */
.clip {
  max-width: 420px;
  margin: 50px auto 0;
}

.clip__frame {
  overflow: hidden;
  background: var(--dark);
  border: 4px solid var(--primary-dark);
  border-radius: 12px;
  box-shadow: 0 6px 0 0 var(--soft);
  line-height: 0;
}

.clip__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--dark);
}

.clip__cap {
  margin-top: 16px;
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark-soft);
  text-align: center;
}

/* ---------- info cards: thelen's footer card on the cream field ---------- */
.info {
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.info__cell {
  display: flex;
}

.info__card {
  width: 100%;
  padding: 28px; /* foot_card.pad@1440 */
  background: var(--white);
  border: 4px solid var(--primary-dark);
  border-radius: 12px;
  box-shadow: 0 8px 0 0 var(--soft);
  text-align: center;
}

.info__k {
  font-family: var(--f-label);
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.info__v {
  margin-top: 8px;
  font-size: 30px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
  overflow-wrap: anywhere;
}

.info__v--small {
  font-size: 22px;
  line-height: 26px;
}

/* ---------- project page: one step, then its photos ---------- */
.pstep + .pstep {
  margin-top: 70px;
}

.pstep__head {
  max-width: 560px;
  margin: 0 auto;
}

.pstep .gallery {
  margin-top: 30px;
}

/* ---------- contact ---------- */
.contact__grid {
  align-items: stretch;
}

.contact__side {
  display: flex;
  flex-direction: column;
}

.contact__phone {
  display: block;
  margin-top: 6px;
  font-size: 44px;
  line-height: 46px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--dark);
  white-space: nowrap;
}

.contact__phone:hover {
  color: var(--primary-dark);
}

/* ---------- lightbox ---------- */
.lb {
  width: min(1100px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 4px solid var(--primary);
  border-radius: 12px;
  background: var(--dark);
  color: var(--cream);
}

.lb::backdrop {
  background: rgba(14, 13, 11, 0.88);
}

.lb__img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 80px);
  object-fit: contain;
  background: var(--dark);
}

.lb__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 12px 16px;
}

.lb__cap {
  font-size: 18px;
  font-weight: 600;
}

.lb__btns {
  display: flex;
  gap: 10px;
}

.lb__btn {
  padding: 4px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 959px) {
  .contact__side {
    margin-top: 40px;
  }
}

@media (max-width: 639px) {
  .contact__phone {
    font-size: 36px;
  }
  .gallery__cap,
  .clip__cap {
    font-size: 17px;
  }
}

.prose__sub {
  margin-top: 60px;
  text-align: center;
}

.gallery {
  justify-content: center;
}

/* ---------- privacy policy: long text in thelen's info card frame ---------- */
.legal__card {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 48px;
  background: var(--white);
  border: 4px solid var(--primary-dark);
  border-radius: 12px;
  box-shadow: 0 8px 0 0 var(--soft);
}

.legal__toc {
  margin-bottom: 50px;
}

.legal__toc-k {
  font-family: var(--f-label);
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.legal__toc-list {
  margin-top: 14px;
  padding-left: 26px;
  columns: 2;
  column-gap: 40px;
}

.legal__toc-list li {
  padding: 4px 0;
  break-inside: avoid;
  font-size: 19px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal__toc-list li::marker,
.legal__body li::marker {
  color: var(--primary-dark);
  font-weight: 800;
}

.legal__toc-list a:hover,
.legal__body a:hover {
  color: var(--primary-dark);
}

.legal__sec + .legal__sec {
  margin-top: 44px;
}

.legal__h {
  font-size: 30px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
}

.legal__sub {
  margin-top: 26px;
  font-size: 22px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark-soft);
}

.legal__body p,
.legal__body li,
.legal__addr {
  font-size: 19px;
  line-height: 28px;
  font-weight: 500;
  color: var(--dark-soft);
}

.legal__body p,
.legal__body ul,
.legal__addr {
  margin-top: 14px;
}

.legal__body ul {
  padding-left: 26px;
}

.legal__body li + li {
  margin-top: 8px;
}

.legal__body strong {
  font-weight: 800;
  color: var(--dark);
}

.legal__addr {
  font-style: normal;
}

.legal__body a,
.sform__legal a,
.copy__link {
  text-decoration: underline 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.sform__legal a {
  text-decoration-color: var(--primary-dark);
}

.copy__link {
  text-decoration-color: var(--dark);
  white-space: nowrap;
}

.copy :focus-visible {
  outline-color: var(--dark);
}

/* the notice under the quote form's Send button */
.sform__legal {
  margin-top: 14px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--dark-soft);
  text-align: center;
}

@media (max-width: 639px) {
  .legal__card {
    padding: 26px 18px;
  }
  .legal__toc-list {
    columns: 1;
  }
  .legal__h {
    font-size: 26px;
    line-height: 30px;
  }
  .legal__body p,
  .legal__body li,
  .legal__addr {
    font-size: 18px;
    line-height: 27px;
  }
}

/* ---------- where an outside fact comes from (macros.sources) ---------- */
.src {
  margin-top: 14px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
  color: var(--dark-soft);
}

.src a {
  text-decoration: underline 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.src a:hover {
  color: var(--primary-dark);
}

.why .src {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

.why .src a {
  text-decoration-color: var(--secondary);
}

.why .src a:hover {
  color: var(--secondary);
}

/* a row of script links under a band: the guide, the city's office, other cities */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 50px;
  padding: 0;
  list-style: none;
}

.near {
  margin-top: 60px;
  text-align: center;
}

.near .links {
  margin-top: 0;
}

/* note cards two-up on a wide screen (one column below 960px, as every grid) */
@media (min-width: 960px) {
  .steps--two > * {
    flex: none;
    width: 50%;
  }
  .steps--two > :nth-child(n + 3) {
    margin-top: calc(0px - var(--g) * 2);
  }
}

/* ---------- city cards: thelen's info card, the whole card a link ---------- */
.cities {
  margin-top: 40px;
}

.cities > * {
  flex: none;
  width: 25%;
}

.cities > :nth-child(n + 5) {
  margin-top: calc(0px - var(--g) * 2);
}

.cities__cell {
  display: flex;
}

.cities__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cities__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 0 var(--soft);
}

.cities__card .info__v {
  margin-bottom: 16px;
}

.cities__card .t-link {
  margin-top: auto;
}

@media (max-width: 1199px) {
  .cities > * {
    width: 50%;
  }
  .cities > :nth-child(n + 3) {
    margin-top: calc(0px - var(--g) * 2);
  }
}

@media (max-width: 639px) {
  .cities > * {
    width: 100%;
  }
  .cities > :nth-child(n + 2) {
    margin-top: calc(0px - var(--g) * 2);
  }
}

/* city names in the area band that open their city page */
.area__link:hover {
  color: var(--primary-dark);
  text-decoration: underline 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
}

/* ---------- tables in the guide: thelen's type in the card frame ---------- */
.legal__scroll {
  margin-top: 18px;
  overflow-x: auto;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 25px;
}

.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border-bottom: 2px solid var(--soft);
  text-align: left;
  vertical-align: top;
}

.legal__table thead th {
  font-family: var(--f-label);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.legal__table tbody th {
  font-weight: 800;
  color: var(--dark);
}

.legal__table td {
  font-weight: 500;
  color: var(--dark-soft);
}

.legal__table a {
  text-decoration: underline 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
}

.legal__body ol {
  padding-left: 26px;
}

.legal__body ol,
.legal__body .src {
  margin-top: 14px;
}

.legal__body ol li + li {
  margin-top: 8px;
}

/* the one "checked" date for every source on a city page */
.src--page {
  margin-top: 24px;
  text-align: center;
}

/* phones: each table row stacks into a block, every value under its column name */
@media (max-width: 639px) {
  .legal__table,
  .legal__table tbody,
  .legal__table tr,
  .legal__table th,
  .legal__table td {
    display: block;
  }
  .legal__table thead {
    display: none;
  }
  .legal__table tr {
    padding: 12px 0;
    border-bottom: 2px solid var(--soft);
  }
  .legal__table th,
  .legal__table td {
    padding: 3px 0;
    border: 0;
  }
  .legal__table td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--primary-dark);
  }
}

/* city fact cards: short values, so two-up on a phone instead of a tall stack */
@media (max-width: 959px) {
  .info--two > * {
    width: 50%;
  }
  .info--two > :nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 959px) {
  .info--two .info__card {
    padding: 18px 12px;
  }
  .info--two .info__k {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.06em;
  }
  .info--two .info__v {
    font-size: 22px;
    line-height: 26px;
  }
}

/* the guide's city table: a city name stays on one line */
@media (min-width: 640px) {
  .legal__table--cities tbody th {
    white-space: nowrap;
  }
}
