/* Air Con Balancing
   Colours come from the business card: the logo's navy and light blue,
   and the royal blue of the wave. Green and amber appear only as status
   colours inside the example balance schedule. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo.25855d766e.woff2") format("woff2");
  font-weight: 400 750;
  font-stretch: 78% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --white: #ffffff;
  --ink: #161a45;
  --ink-soft: #4a5173;
  --line: #cbd5e6;
  --line-soft: #e0e7f2;
  --navy: #1c1f57;
  --brand: #2f5db5;
  --brand-dark: #23488f;
  --sky: #84b6e8;
  --sky-tint: #dce9f8;
  --warn: #f2a007;
  --warn-dark: #9a5b00;
  --ok: #1b7f5b;
  --ok-tint: #dcefe7;
  --on-navy-soft: #b9c6e6;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 1.25rem;
  --max: 72.5rem;
  --radius: 6px;
  --logo-ratio: 2.5456;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-stretch: 80%;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.3rem + 4.4vw, 4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.skip:focus {
  top: 0.5rem;
  color: var(--white);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  font-stretch: 90%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
}

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

.btn-light:hover {
  background: var(--sky-tint);
  border-color: var(--sky-tint);
  color: var(--navy);
}

.btn-text {
  appearance: none;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

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

.btn-on-ink {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-on-ink:hover {
  background: var(--white);
  color: var(--ink);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand call"
    "nav nav";
  align-items: center;
  column-gap: 1rem;
  padding-top: 0.7rem;
}

.brand {
  grid-area: brand;
  justify-self: start;
  display: block;
  padding-block: 0.15rem;
}

.brand svg {
  height: 2.75rem;
  width: calc(2.75rem * var(--logo-ratio));
}

.header-call {
  grid-area: call;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
}

.header-phone,
.header-quote {
  display: none;
}

.main-nav {
  grid-area: nav;
  margin-top: 0.55rem;
  border-top: 1px solid var(--line-soft);
}

.main-nav ul {
  display: flex;
  justify-content: space-between;
}

.main-nav a {
  display: block;
  padding: 0.8rem 0.25rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
}

@media (min-width: 48rem) {
  html {
    scroll-padding-top: 6rem;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .header-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav quote";
    column-gap: 1.75rem;
    padding-top: 0;
    min-height: 4.75rem;
  }
  .brand svg {
    height: 3.25rem;
    width: calc(3.25rem * var(--logo-ratio));
  }
  .header-call {
    display: none;
  }
  .header-quote {
    grid-area: quote;
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.45rem 1.1rem;
  }
  .main-nav {
    margin-top: 0;
    border-top: 0;
    justify-self: end;
    align-self: stretch;
  }
  .main-nav ul {
    height: 100%;
    gap: 1.75rem;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
  }
}

@media (min-width: 64rem) {
  .header-row {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand nav phone quote";
    column-gap: 2rem;
  }
  .header-phone {
    grid-area: phone;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    color: var(--ink);
    font-weight: 650;
    font-stretch: 90%;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-phone:hover {
    color: var(--brand);
  }
  .header-phone svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--brand);
  }
}

/* Hero */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) clamp(5.5rem, 3.5rem + 9vw, 10rem);
}

/* the wave from the business card, carrying the hero into the page */
.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(3.25rem, 2rem + 6vw, 7rem);
  pointer-events: none;
}

.hero-wave .w-sky {
  fill: var(--sky);
}

.hero-wave .w-brand {
  fill: var(--brand);
}

.hero-wave .w-white {
  fill: var(--white);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 1.25rem + 3.4vw, 3.5rem);
}

.hero-copy .lead {
  margin-top: 1.25rem;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3.5rem;
  }
}

/* Example balance schedule */

.sched {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px -28px rgba(28, 31, 87, 0.55);
}

.sched-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
}

.sched-title {
  font-size: 1.0625rem;
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1.2;
}

.sched-toggle {
  display: inline-flex;
  padding: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.sched-toggle[hidden] {
  display: none;
}

.sched-toggle button {
  min-height: 2rem;
  padding: 0.2rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.sched-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.sched table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.sched th,
.sched td {
  line-height: 1.25;
  overflow-wrap: normal;
}

.sched tbody th {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

.sched-name {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-soft);
  white-space: normal;
}

/* Narrow screens: each outlet becomes a small block with a full-width bar. */
@media (max-width: 33.99rem) {
  .sched table,
  .sched tbody {
    display: block;
  }
  .sched thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .sched tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.3rem 1rem;
    align-items: baseline;
    padding: 0.8rem 1rem 0.9rem;
    border-top: 1px solid var(--line-soft);
  }
  .sched tbody th,
  .sched tbody td {
    display: block;
    padding: 0;
    text-align: left;
  }
  .sched .col-outlet {
    grid-column: 1 / 3;
    grid-row: 1;
    white-space: normal;
  }
  .sched-name {
    margin-left: 0.5rem;
    font-size: 0.875rem;
  }
  .sched .col-pct {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }
  .sched .col-meas {
    grid-column: 2 / 4;
  }
  .sched .col-design,
  .sched .col-meas {
    grid-row: 2;
    font-size: 0.875rem;
    color: var(--ink-soft);
  }
  .sched .col-design::before {
    content: "Design ";
  }
  .sched .col-meas::before {
    content: "Measured ";
  }
  .sched .col-design::after,
  .sched .col-meas::after {
    content: " L/s";
  }
  .sched .col-bar {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.15rem;
  }
}

@media (min-width: 34rem) {
  .sched table {
    table-layout: fixed;
  }
  .sched th,
  .sched td {
    padding: 0.6rem 0.4rem;
    border-top: 1px solid var(--line-soft);
    text-align: right;
    vertical-align: middle;
  }
  .sched thead th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    vertical-align: bottom;
  }
  .sched .col-outlet {
    padding-left: 1rem;
    text-align: left;
  }
  .sched .col-design {
    width: 4rem;
  }
  .sched .col-meas {
    width: 5.2rem;
  }
  .sched .col-pct {
    width: 4rem;
  }
  .sched .col-bar {
    width: 30%;
    padding-right: 1rem;
  }
  .sched-name {
    display: block;
  }
}

.swap {
  display: inline-grid;
}

.swap > span {
  grid-area: 1 / 1;
  text-align: right;
  transition: opacity 0.5s ease;
}

.swap .v-found {
  opacity: 0;
}

.pct {
  font-weight: 700;
}

.pct .v-bal {
  color: var(--ok);
}

.pct .v-found {
  color: var(--warn-dark);
}

.track {
  position: relative;
  display: block;
  height: 1.25rem;
}

.track::before {
  /* full scale, 60% to 140% of design */
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
}

.band {
  /* 90% to 110% of design */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 37.5%;
  width: 25%;
  background: var(--ok-tint);
  border-inline: 1px solid var(--ok);
}

.band::after {
  /* design flow, 100% */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--ok);
  opacity: 0.45;
}

.marker {
  position: absolute;
  top: 50%;
  left: var(--bal);
  width: 0.75rem;
  height: 0.75rem;
  margin: -0.375rem 0 0 -0.375rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px var(--white);
  transition:
    left 0.9s cubic-bezier(0.22, 0.8, 0.24, 1),
    background-color 0.9s ease;
}

.sched.is-found .marker {
  left: var(--found);
  background: var(--found-c);
}

.sched.is-found .swap .v-found {
  opacity: 1;
}

.sched.is-found .swap .v-bal {
  opacity: 0;
}

.sched-foot {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.sched-foot .key {
  flex: none;
  width: 1.5rem;
  height: 0.9rem;
  margin-top: 0.2rem;
  background: var(--ok-tint);
  border-inline: 1px solid var(--ok);
}

/* One moment of motion on load: each outlet settles from its as-found
   reading into the tolerance band. */
@media (prefers-reduced-motion: no-preference) {
  .sched:not(.is-toggled) .marker {
    animation: settle 1.1s cubic-bezier(0.22, 0.8, 0.24, 1) 0.9s backwards;
  }
  .sched:not(.is-toggled) .swap .v-bal {
    animation: fade-in 0.5s ease 1.3s backwards;
  }
  .sched:not(.is-toggled) .swap .v-found {
    animation: fade-out 0.5s ease 1.3s backwards;
  }
}

@keyframes settle {
  from {
    left: var(--found);
    background: var(--found-c);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marker,
  .swap > span {
    transition: none;
  }
}

/* Clients */

.clients {
  display: grid;
  gap: 1.5rem 2rem;
}

.clients li {
  padding-top: 0.9rem;
  border-top: 2px solid var(--navy);
}

.clients h3 {
  font-size: 1.1875rem;
}

.clients p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 36rem) {
  .clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .clients {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Schedule of services */

.svc-list {
  border-bottom: 1px solid var(--line);
}

.svc-cols {
  display: none;
}

.svc-row {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.svc-row:hover {
  color: var(--ink);
}

.svc-name {
  font-size: 1.375rem;
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.svc-row:hover .svc-name {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.svc-desc {
  color: var(--ink-soft);
  line-height: 1.5;
}

.svc-ref {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.svc-ref-label {
  font-weight: 400;
  color: var(--ink-soft);
}

@media (min-width: 52rem) {
  .svc-cols,
  .svc-row {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 13rem);
    gap: 2rem;
    align-items: baseline;
  }
  .svc-cols {
    padding-bottom: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-soft);
  }
  .svc-row {
    padding: 1.2rem 0;
  }
  .svc-ref-label {
    display: none;
  }
}

/* Steps */

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 1.75rem 3.25rem;
}

.steps li::before {
  /* the duct run */
  content: "";
  position: absolute;
  left: 1.0625rem;
  top: 0.4rem;
  bottom: -0.4rem;
  width: 2px;
  background: var(--line);
}

.steps li:last-child::before {
  display: none;
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1;
}

.step-num::before {
  content: counter(step);
}

.steps h3 {
  padding-top: 0.3rem;
}

.steps p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 34rem;
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  .steps li {
    padding: 3.25rem 0 0;
  }
  .steps li::before {
    left: 1.5rem;
    right: -2.5rem;
    top: 1.0625rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .steps h3 {
    padding-top: 0;
  }
}

/* Call to action band */

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

.cta-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta p {
  margin-top: 0.6rem;
  color: var(--on-navy-soft);
  font-size: 1.125rem;
}

.cta .actions {
  margin-top: 0;
}

.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sky);
}

@media (min-width: 56rem) {
  .cta-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--on-navy-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-block: 3rem 2.5rem;
}

.footer-brand {
  display: inline-block;
}

.footer-brand img {
  height: 3rem;
  width: auto;
}

.footer-about {
  margin-top: 1rem;
  max-width: 22rem;
  line-height: 1.5;
}

.footer-contact {
  margin-top: 1rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.footer-contact svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

.site-footer h2 {
  font-size: 1rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--on-navy-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.3rem;
}

.footer-legal {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 3rem;
  }
}

/* Mobile action bar */

.action-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--navy);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -6px 18px -10px rgba(28, 31, 87, 0.7);
}

.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  color: var(--white);
  font-weight: 650;
  font-stretch: 90%;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.action-bar a:first-child {
  border-left: 0;
}

.action-bar a.is-primary {
  background: var(--brand);
  color: var(--white);
}

.action-bar a:focus-visible {
  outline-color: var(--white);
  outline-offset: -4px;
}

.action-bar svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

.footer-legal {
  /* room for the fixed bar, so it never covers the last line */
  padding-bottom: calc(1.25rem + 3.25rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 22.49rem) {
  .action-bar svg {
    display: none;
  }
}

@media (min-width: 48rem) {
  .action-bar {
    display: none;
  }
  .footer-legal {
    padding-bottom: 1.25rem;
  }
}

/* Inner pages */

.page-head {
  padding-block: clamp(2rem, 1.5rem + 3vw, 3.75rem) clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

.page-head h1 {
  font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.5rem);
  max-width: 48rem;
}

.page-head .lead {
  margin-top: 1rem;
  max-width: 42rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.crumbs a {
  color: var(--ink-soft);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

/* On phones the form comes first: calling and WhatsApp are already in the bar
   at the bottom of the screen. */
@media (max-width: 59.99rem) {
  .split-form .quote-form {
    order: -1;
  }
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 4rem;
  }
  .split-form {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .aside-card {
    position: sticky;
    top: 6.25rem;
  }
}

.prose {
  max-width: 42rem;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose > h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > h2 + * {
  margin-top: 0.85rem;
}

.prose ul {
  display: grid;
  gap: 0.55rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.5rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.75rem;
  height: 2px;
  background: var(--brand);
}

.intro {
  font-size: 1.1875rem;
  line-height: 1.55;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 6px 6px;
  padding: 1.5rem;
}

.aside-card h2 {
  font-size: 1.4375rem;
}

.aside-card p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.aside-card .actions {
  flex-direction: column;
  margin-top: 1.25rem;
}

.aside-card .btn {
  width: 100%;
}

.aside-ref {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9375rem;
}

.aside-ref dt {
  color: var(--ink-soft);
}

.aside-ref dd {
  margin: 0.1rem 0 0;
  font-weight: 650;
}

.expect {
  display: grid;
  gap: 1.5rem 2rem;
}

.expect li {
  padding-top: 0.9rem;
  border-top: 2px solid var(--navy);
}

.expect p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (min-width: 48rem) {
  .expect {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Contact */

.contact-ways {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-ways a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}

.contact-ways a:hover {
  border-color: var(--ink);
}

.contact-ways svg {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
  color: var(--brand);
}

.contact-ways span {
  min-width: 0;
}

.contact-ways strong {
  display: block;
  font-size: 1.1875rem;
  font-stretch: 85%;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-ways small {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.send-list {
  margin-top: 2rem;
}

.contact-col h2,
.contact-col h3 {
  font-size: 1.5rem;
}

.dash-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.dash-list li {
  position: relative;
  padding-left: 1.5rem;
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.75rem;
  height: 2px;
  background: var(--brand);
}

.quote-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 6px 6px;
}

.quote-form h2,
.quote-form h3 {
  font-size: 1.5rem;
}

.form-actions,
.form-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-fallback[hidden],
.form-actions [hidden],
.form-status [hidden] {
  display: none;
}

.field-pair {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 36rem) {
  .field-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
}

.field .opt {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  background: var(--white);
  border: 1px solid #8792b3;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 0;
  border-color: var(--brand);
}

.field .hint {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.checks {
  display: grid;
  gap: 0.1rem 1.5rem;
}

@media (min-width: 36rem) {
  .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.5rem;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.checks input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  flex: none;
  accent-color: var(--brand);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--ok);
  background: var(--ok-tint);
  line-height: 1.45;
}

.form-status-main {
  font-weight: 650;
}

.form-status-more {
  margin-top: 0.4rem;
  font-size: 1rem;
}

.form-status .btn-text {
  margin-top: 0.25rem;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  border-left-color: #b3261e;
  background: #fbe9e7;
}

/* Legal + 404 */

.legal h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
}

.updated {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.notfound {
  padding-block: clamp(3rem, 2rem + 8vw, 7rem);
}

.notfound .lead {
  margin-top: 1rem;
}

@media print {
  .action-bar,
  .main-nav,
  .header-call,
  .header-quote,
  .hero-wave,
  .cta,
  .skip {
    display: none;
  }
  .site-header {
    position: static;
  }
  body {
    background: #fff;
  }
}

/* example schedule positions */
.sched tr[data-i="0"]{--found:87.5%;--bal:52.6%;--found-c:var(--warn)}
.sched tr[data-i="1"]{--found:14.1%;--bal:47.9%;--found-c:var(--warn)}
.sched tr[data-i="2"]{--found:12.5%;--bal:47.9%;--found-c:var(--warn)}
.sched tr[data-i="3"]{--found:73.6%;--bal:52.1%;--found-c:var(--warn)}
.sched tr[data-i="4"]{--found:33.9%;--bal:48.0%;--found-c:var(--warn)}
.sched tr[data-i="5"]{--found:25.8%;--bal:51.7%;--found-c:var(--warn)}
