/* texpowers.ca/subcontract, design C "From above" (Robin picked C on Nov 11, 2026, then the same day moved the sales
   pages to look A: "销售网页，也就是home网页，用A"). Only /subcontract uses this file; the sales pages use site.css. */
:root {
  --navy: #041D24;
  --navy-2: #0A2B33;
  --navy-3: #021419;
  --white: #FFFFFF;
  --cloud: #F3F6F7;
  --graphite: #33464C;
  --mist: #C9D6DA;
  --fog: #A9BCC2;
  --sky: #27B0E0;
  --sky-hover: #52C3EA;
  --sky-ink: #0B78A0;
  --mint: #41D89F;
  --error: #B42318;
  --rule: rgba(4, 29, 36, 0.13);
  --rule-dark: rgba(255, 255, 255, 0.14);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --edge: max(40px, calc((100vw - 1280px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--white); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--graphite); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { padding: 0 var(--edge); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 16px; border-radius: 6px; background: var(--sky); color: var(--navy); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--rule-dark); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 var(--edge); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--white); font-weight: 800; font-size: 20px; letter-spacing: 0.1em; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.main-nav { display: flex; align-self: stretch; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
.main-nav a { display: flex; align-items: center; color: var(--mist); text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.main-nav a:hover { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--sky); }
.menu-btn, .menu-close { display: none; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 6px; background: none; color: var(--white); font-weight: 600; font-size: 16px; cursor: pointer; }
.menu-btn { margin-left: auto; }
.menu-close { display: block; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 6px; font-weight: 700; font-size: 17px; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: var(--sky-hover); }
.btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-outline { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.site-header .btn { min-height: 42px; padding: 0 18px; font-size: 16px; }
.header-cta--solo { margin-left: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wa-icon { flex: none; width: 20px; height: 20px; color: #25D366; }
.btn-wa { gap: 10px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.text-link { color: var(--sky-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { color: var(--navy); }
.section-foot { margin-top: 32px; }

/* Phone menu */
html.menu-open { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; overflow-y: auto; background: var(--navy); color: var(--white); }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 20px; border-bottom: 1px solid var(--rule-dark); }
.mobile-menu-top .brand { font-size: 18px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 20px; }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--rule-dark); font-size: 22px; font-weight: 700; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--sky); }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: auto; padding: 24px 20px 28px; }
.mobile-menu-foot .for-companies { padding: 6px; color: var(--fog); font-size: 16px; text-align: center; }

/* Headings */
h1 { font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.section-title { color: var(--navy); font-weight: 800; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.section-sub { max-width: 58ch; margin-top: 16px; font-size: 20px; line-height: 1.5; }
.lede { max-width: 40ch; margin-top: 20px; color: var(--mist); font-size: 20px; line-height: 1.45; }
.hero-note { max-width: 44ch; margin-top: 12px; color: var(--fog); font-size: 17px; line-height: 1.5; }

/* Home: roofs from above, with the headline as one block of the grid */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(150px, 16.7vw, 260px), auto); gap: 3px; background: var(--navy); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.headline-block { display: flex; flex-direction: column; justify-content: center; grid-column: 1 / span 2; grid-row: 1 / span 2; padding: 52px 48px 48px var(--edge); background: var(--navy); color: var(--white); }
.headline-block h1 { font-size: clamp(56px, 6.2vw, 124px); line-height: 0.95; }
/* Narrow tablets (761 to 860px): the text column is too narrow, or only just wide enough, for "We install it." at 56px, which left "it." on a line of its own */
@media (min-width: 761px) and (max-width: 860px) {
  .headline-block h1 { font-size: 48px; }
  .headline-block .lede, .hero-points li { text-wrap: balance; }
}
/* Three short points under the hero line (Robin, Nov 13, 2026: option D, with the bigger headline above) */
.hero-points { display: grid; gap: 10px; margin-top: 28px; color: var(--mist); font-size: 19px; line-height: 1.4; }
.hero-points li { position: relative; padding-left: 24px; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--mint); }
/* Wide screens, where the logo line is far in: the hero text sits in the middle of the dark panel (Robin, Nov 13, 2026: "往左边一点").
   Below 1540px it stays on the logo line, which there is already left of the middle. */
@media (min-width: 1540px) {
  .headline-block { display: grid; place-content: center; padding-left: 48px; }
}
.trust-band { background: var(--navy-2); color: #DCE6E9; }
.trust { display: flex; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-weight: 600; font-size: 17px; }
.trust li { padding: 0 28px; border-left: 1px solid var(--rule-dark); }
.trust li:first-child { padding-left: 0; border-left: 0; }

/* Inner pages: the title block beside a photo taken from above */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: var(--white); }
.page-hero .hero-copy { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 34vw, 520px); padding: 80px 56px 64px var(--edge); }
.page-hero h1 { font-size: clamp(46px, 5.2vw, 80px); }
.hero-media { position: relative; min-height: 260px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--plain { grid-template-columns: minmax(0, 1fr); }
.page-hero--plain .hero-copy { min-height: 0; padding: 88px var(--edge) 72px; }

/* Sections */
.section { padding: 96px 0; }
.band { background: var(--cloud); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.prose { max-width: 64ch; }
.prose > * + * { margin-top: 1em; }
.prose h3 { margin-top: 36px; color: var(--navy); font-weight: 800; font-size: 22px; line-height: 1.25; }
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--sky-ink); font-weight: 600; }
.bullets li { position: relative; padding-left: 24px; }
.bullets li + li { margin-top: 8px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 9px; height: 9px; border-radius: 2px; background: var(--mint); }
.bullets--cols { columns: 2; column-gap: 48px; font-size: 20px; }
.bullets--cols li { break-inside: avoid; margin-bottom: 14px; }
.bullets--cols li + li { margin-top: 0; }
.callout { padding: 20px 24px; border-left: 4px solid var(--sky); background: var(--cloud); }
.band .callout { background: var(--white); }

/* Who does what */
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 72px; padding-bottom: 72px; }
.roles-grid > div { padding: 0 36px; border-left: 1px solid var(--rule); }
.roles-grid > div:first-child { padding-left: 0; border-left: 0; }
.roles-grid h2, .roles-grid h3 { color: var(--navy); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; }
.roles-grid p { max-width: 32ch; margin-top: 10px; }
.section .roles-grid { padding-top: 44px; padding-bottom: 0; }
.role-go { margin-top: 14px; }

/* Services as rows */
.services { padding: 84px 0 92px; background: var(--cloud); }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 40px; border: 1px solid var(--rule); background: var(--rule); }
.row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 28px 22px 22px; background: var(--white); text-decoration: none; }
.row img, .row .art { width: 210px; height: 160px; object-fit: cover; }
.row h3 { color: var(--navy); font-weight: 800; font-size: 24px; letter-spacing: -0.015em; }
.row p { margin-top: 6px; font-size: 17px; }
.row:hover h3 { color: var(--sky-ink); }
.art { display: grid; place-items: center; background: var(--navy); }
.art svg { width: 62%; }
.art .svg-wide { width: 84%; }
.art--panel { aspect-ratio: 4 / 3; max-width: 380px; margin-top: 32px; }

/* Price */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: end; padding-top: 92px; padding-bottom: 92px; }
.price-line { color: var(--navy); font-weight: 800; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.price-note .text-link { display: inline-block; margin-top: 12px; }

/* Steps */
.track { display: grid; grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); margin-top: 48px; counter-reset: step; }
.track li { position: relative; padding: 48px 28px 0 0; counter-increment: step; }
.track li::before { content: counter(step); position: absolute; top: 0; left: 0; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; line-height: 32px; text-align: center; }
.track li::after { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: rgba(4, 29, 36, 0.16); }
.track li:last-child::after { right: auto; width: 32px; }
.track h3 { color: var(--navy); font-weight: 800; font-size: 20px; line-height: 1.2; }
.track p { margin-top: 8px; font-size: 16px; }

/* Pairs (roof or ground, batteries or chargers) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
.pair > div { padding-top: 22px; border-top: 3px solid var(--navy); }
.pair h3 { color: var(--navy); font-weight: 800; font-size: 26px; letter-spacing: -0.015em; }
.pair p { margin-top: 10px; }
.pair .bullets { margin-top: 14px; }
.pair img { width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; object-fit: cover; }
.pair--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Lists with rules */
.rule-list > li { padding: 22px 0; border-top: 1px solid var(--rule); }
.rule-list > li:last-child { border-bottom: 1px solid var(--rule); }
.rule-list h3 { color: var(--navy); font-weight: 800; font-size: 21px; line-height: 1.25; }
.rule-list p { margin-top: 6px; }

/* Tables */
.table { width: 100%; margin-top: 36px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table thead th { padding-top: 0; border-bottom: 2px solid var(--navy); color: var(--navy); font-size: 15px; font-weight: 700; }
.table tbody th { color: var(--navy); font-weight: 800; }
.table td small, .table th small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--graphite); }
.table-note { margin-top: 16px; font-size: 16px; }

/* Full-width photo between sections */
.photo-strip img { width: 100%; height: clamp(220px, 30vw, 440px); object-fit: cover; }

/* Brands we install */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.brands li { padding: 30px 28px; border-left: 1px solid var(--rule); }
.brands li:first-child { padding-left: 0; border-left: 0; }
.brands strong { display: block; color: var(--navy); font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.brands span { display: block; margin-top: 6px; font-size: 16px; }

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { margin-bottom: 12px; color: var(--navy); font-weight: 800; font-size: 28px; letter-spacing: -0.015em; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1.35; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 6px; background: linear-gradient(var(--sky-ink), var(--sky-ink)) center / 100% 2px no-repeat, linear-gradient(var(--sky-ink), var(--sky-ink)) center / 2px 100% no-repeat; }
.faq details[open] summary::after { background-size: 100% 2px, 0 0; }
.faq summary:hover { color: var(--sky-ink); }
.faq .answer { max-width: 68ch; padding: 0 40px 24px 0; }
.faq .answer > * + * { margin-top: 0.8em; }
.faq .answer a { color: var(--sky-ink); font-weight: 600; }
.checked { margin-top: 10px; font-size: 15px; color: #5B6D72; }

/* Our work */
/* Photo gallery from Robin's "Texpowers Solar Installation Portfolio" folder (Nov 12, 2026): one big photo, shown
   whole, and a strip of thumbnails to scroll through below it. The arrows and the count need JavaScript. */
.gallery-section { background: var(--navy); color: var(--white); }
.gallery-section .section-title { color: var(--white); }
.gallery { margin-top: 36px; }
.gallery-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--navy-3); }
.gallery-main { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; display: none; place-items: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; border: 0; border-radius: 50%; background: rgba(2, 20, 25, 0.72); color: var(--white); cursor: pointer; }
.js .gallery-arrow { display: grid; }
.gallery-arrow svg { width: 26px; height: 26px; }
.gallery-arrow:hover { background: var(--sky); color: var(--navy); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-count { position: absolute; right: 16px; bottom: 14px; display: none; padding: 4px 12px; border-radius: 999px; background: rgba(2, 20, 25, 0.72); font-size: 14px; font-weight: 600; }
.js .gallery-count { display: block; }
.gallery-strip { position: relative; display: flex; gap: 8px; margin-top: 12px; padding-bottom: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }
.gallery-strip li { flex: none; scroll-snap-align: start; }
.gallery-strip a { display: block; width: 128px; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid transparent; border-radius: 6px; opacity: 0.6; transition: opacity 0.15s; }
.gallery-strip a:hover, .gallery-strip a:focus-visible, .gallery-strip a[aria-current="true"] { opacity: 1; }
.gallery-strip a[aria-current="true"] { border-color: var(--sky); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .gallery { margin-top: 24px; }
  .gallery-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-count { right: 10px; bottom: 10px; font-size: 13px; }
  .gallery-strip a { width: 96px; }
}

/* Two photos side by side, edge to edge */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.photo-pair img { width: 100%; height: clamp(200px, 26vw, 400px); object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.contact-list { margin-top: 32px; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--rule); }
.contact-list li:last-child { border-bottom: 1px solid var(--rule); }
.contact-list .label { display: block; color: var(--navy); font-weight: 700; font-size: 15px; }
.contact-list a { color: var(--sky-ink); font-weight: 600; }
.form-sheet { padding: 40px; border: 1px solid var(--rule); border-radius: 8px; background: var(--white); box-shadow: 0 24px 60px -36px rgba(4, 29, 36, 0.45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
form > .form-grid + .field, form > .field + .field { margin-top: 22px; }
.field label, .field legend { color: var(--navy); font-weight: 700; font-size: 15px; }
.optional { color: var(--graphite); font-weight: 500; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid rgba(4, 29, 36, 0.28); border-radius: 6px; background: var(--white); font-size: 17px; }
.input:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(39, 176, 224, 0.3); }
textarea.input { min-height: 120px; resize: vertical; }
fieldset { border: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(4, 29, 36, 0.28); border-radius: 999px; font-weight: 600; font-size: 16px; }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
/* A field to fix: a red outline that stays while the field has focus, and a line under it that says what's missing (site.js) */
.input.is-invalid, .is-invalid .choice span { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.input.is-invalid:focus { border-color: var(--error); box-shadow: 0 0 0 1px var(--error), 0 0 0 4px rgba(39, 176, 224, 0.4); }
.field-error { color: var(--error); font-weight: 700; font-size: 15px; line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: 28px; }
.hint { color: #5B6D72; font-size: 15px; }
.form-note { margin-top: 14px; font-size: 15px; }
.form-note a { color: var(--sky-ink); }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-success h2 { color: var(--navy); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.form-success p { margin-top: 12px; }

/* Closing band and footer */
.closing { background: var(--navy); color: var(--mist); }
.closing .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 80px; }
.closing p { max-width: 17ch; color: var(--white); font-weight: 800; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.03; letter-spacing: -0.03em; }
.closing .actions { margin-top: 0; }
.site-footer { background: var(--navy-3); color: var(--fog); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid--crew { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.footer-brand p { max-width: 34ch; margin-top: 14px; }
.footer-title { margin-bottom: 12px; color: var(--white); font-weight: 700; font-size: 15px; }
.footer-list li + li { margin-top: 8px; }
.footer-list a { color: var(--fog); text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-list .wa-icon { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--rule-dark); font-size: 14px; }
.footer-bottom a { color: var(--fog); }
.bottom-bar { display: none; }

/* Legal and not-found pages */
.legal .prose h2 { margin-top: 40px; color: var(--navy); font-weight: 800; font-size: 26px; }
.legal .prose h2:first-child { margin-top: 0; }
.faq-grid > nav { position: sticky; top: 100px; }

@media (max-width: 1220px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
  .header-cta + .menu-btn { margin-left: 0; }
}

@media (max-width: 960px) {
  .page-hero { grid-template-columns: minmax(0, 1fr); }
  .page-hero .hero-copy { min-height: 0; padding: 64px var(--edge) 48px; }
  .hero-media { height: clamp(220px, 42vw, 360px); }
  .split, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-grid > nav { position: static; }
  .contact-grid--form-first > .form-sheet { order: -1; }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .track li:nth-child(3n)::after { right: auto; width: 32px; }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands li:nth-child(3) { padding-left: 0; border-left: 0; }
  .brands li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --edge: 20px; }
  html { scroll-padding-top: 76px; }
  body { font-size: 17px; }
  .header-row { height: 62px; }
  .brand { font-size: 18px; }
  .header-cta { display: none; }
  .header-cta + .menu-btn { margin-left: auto; }
  .lede { font-size: 18px; }
  .section-sub { font-size: 18px; }
  .section { padding: 60px 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 120px; }
  .headline-block { grid-column: 1 / span 2; grid-row: 1; padding: 36px 20px 32px; }
  .headline-block h1 { font-size: 54px; }
  .hero-points { gap: 6px; margin-top: 22px; font-size: 17px; }
  .actions .btn { flex: 1; }
  .trust { flex-direction: column; gap: 6px; }
  .trust li { padding: 0; border: 0; }
  .page-hero .hero-copy { padding: 44px 20px 36px; }
  .page-hero h1 { font-size: 46px; }
  .page-hero--plain .hero-copy { padding: 52px 20px 40px; }
  .roles-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 48px; }
  .roles-grid > div { padding: 0; border: 0; }
  .services { padding: 56px 0 60px; }
  .row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .row img, .row .art { width: 112px; height: 100px; }
  .row h3 { font-size: 20px; }
  .row p { font-size: 15px; }
  .price-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 56px; padding-bottom: 56px; }
  .track { grid-template-columns: 1fr; row-gap: 0; margin-top: 32px; }
  .track li { padding: 0 0 28px 52px; }
  .track li::after, .track li:nth-child(3n)::after { top: 0; bottom: 0; left: 15px; right: auto; width: 2px; height: auto; }
  .track li:last-child::after { display: none; }
  .pair, .pair--3 { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .art--panel { max-width: none; }
  .table thead { display: none; }
  .table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .table th, .table td { display: block; padding: 3px 0; border: 0; }
  .table td[data-label]::before { content: attr(data-label) ": "; color: var(--navy); font-weight: 700; }
  .brands li { padding: 20px 16px; }
  .brands li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bullets--cols { columns: 1; font-size: 18px; }
  .faq summary { font-size: 18px; }
  .faq .answer { padding-right: 0; }
  .photo-pair img { height: 160px; }
  .form-sheet { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .closing .wrap { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 64px; }
  .closing .actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .site-footer { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .bottom-bar { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.3fr; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); border-top: 1px solid var(--rule-dark); }
  .bottom-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: var(--white); font-weight: 700; text-decoration: none; }
  .bottom-bar .contact { background: var(--sky); color: var(--navy); }
}
