/* Trade demo sites: shared behavior, theme-specific art direction. */

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

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  --page: #f5f3ed;
  --surface: #ffffff;
  --ink: #151b1d;
  --muted: #596365;
  --line: #cdd3d1;
  --accent: #b34829;
  --accent-readable: #87321c;
  --accent-ink: #ffffff;
  --dark: #11191b;
  --dark-ink: #ffffff;
  --header: rgb(255 255 255 / 0.96);
  --display: Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 4px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="hvac"] {
  --page: #eef5f4;
  --surface: #ffffff;
  --ink: #0d2636;
  --muted: #526872;
  --line: #bdd0d0;
  --accent: #8ff1dc;
  --accent-readable: #147565;
  --accent-ink: #082a2c;
  --dark: #0b2132;
  --dark-ink: #f4fbfa;
  --header: rgb(238 245 244 / 0.96);
  --display: Arial, Helvetica, sans-serif;
  --radius: 18px;
}

body[data-theme="roofing"] {
  --page: #eeeae2;
  --surface: #fffdf8;
  --ink: #1c282e;
  --muted: #5c6669;
  --line: #c7c2b7;
  --accent: #e45d2b;
  --accent-readable: #a13a17;
  --accent-ink: #ffffff;
  --dark: #17242b;
  --dark-ink: #f9f4ea;
  --header: rgb(255 253 248 / 0.97);
  --display: "Trebuchet MS", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 2px;
}

body[data-theme="plumbing"] {
  --page: #f4efe3;
  --surface: #fffdf8;
  --ink: #142c4a;
  --muted: #5f625f;
  --line: #cfc5b2;
  --accent: #154d9a;
  --accent-readable: #154d9a;
  --accent-ink: #ffffff;
  --dark: #132c4b;
  --dark-ink: #fff8e9;
  --header: rgb(255 253 248 / 0.97);
  --display: Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --radius: 2px;
}

body[data-theme="electrical"] {
  --page: #e9e8e3;
  --surface: #f7f6f1;
  --ink: #181918;
  --muted: #5b5b55;
  --line: #bcbcb4;
  --accent: #ffb000;
  --accent-readable: #865200;
  --accent-ink: #171815;
  --dark: #171815;
  --dark-ink: #f7f6f1;
  --header: rgb(23 24 21 / 0.97);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 0;
}

body[data-theme="landscaping"] {
  --page: #ecebdf;
  --surface: #f7f3e8;
  --ink: #203227;
  --muted: #5f695e;
  --line: #bdc3b4;
  --accent: #315d3c;
  --accent-readable: #315d3c;
  --accent-ink: #ffffff;
  --dark: #203227;
  --dark-ink: #f7f3e8;
  --header: rgb(247 243 232 / 0.96);
  --display: Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --radius: 24px 4px 24px 4px;
}

body[data-theme="auto"] {
  --page: #ece9e2;
  --surface: #f8f5ef;
  --ink: #171717;
  --muted: #5d5b57;
  --line: #b9b5ae;
  --accent: #e23b2e;
  --accent-readable: #b52d24;
  --accent-ink: #ffffff;
  --dark: #111111;
  --dark-ink: #ffffff;
  --header: rgb(17 17 17 / 0.97);
  --display: "Arial Black", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 3px;
}

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

a {
  color: inherit;
}

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

button,
select {
  cursor: pointer;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--dark-ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.demo-ribbon {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 7px max(20px, calc((100vw - 1240px) / 2));
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.demo-ribbon p {
  display: flex;
  gap: 16px;
  margin: 0;
}

.demo-ribbon strong {
  text-transform: uppercase;
}

.demo-ribbon a {
  white-space: nowrap;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 78px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--header);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__name {
  max-width: 150px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding-block: 27px 25px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-call {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.header-call span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 17px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

body[data-theme="electrical"] .site-header,
body[data-theme="auto"] .site-header {
  border-bottom-color: rgb(255 255 255 / 0.15);
}

body[data-theme="electrical"] .site-header .brand,
body[data-theme="electrical"] .site-header .site-nav a,
body[data-theme="electrical"] .site-header .header-call,
body[data-theme="auto"] .site-header .brand,
body[data-theme="auto"] .site-header .site-nav a,
body[data-theme="auto"] .site-header .header-call {
  color: #ffffff;
}

body[data-theme="electrical"] .site-header .header-call span,
body[data-theme="auto"] .site-header .header-call span {
  color: rgb(255 255 255 / 0.62);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-readable);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
}

h1 {
  max-width: 13ch;
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h2 {
  max-width: 19ch;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h3 {
  font-size: clamp(21px, 2.1vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

body[data-theme="electrical"] h1,
body[data-theme="electrical"] h2,
body[data-theme="electrical"] h3 {
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

body[data-theme="auto"] h1,
body[data-theme="auto"] h2 {
  font-style: italic;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button--secondary {
  background: transparent;
  color: currentColor;
}

.button--text {
  min-height: 42px;
  padding: 8px 0;
  border-width: 0 0 2px;
  border-radius: 0;
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100svh - 116px));
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__image,
.hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__wash {
  background: rgb(6 18 26 / 0.66);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 100px 126px;
  color: #ffffff;
}

.hero__intro {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero__content .button--secondary {
  border-color: rgb(255 255 255 / 0.65);
  color: #ffffff;
}

.hero__content .button--text {
  color: #ffffff;
}

.hero__scroll {
  position: absolute;
  right: max(20px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll span {
  font-size: 20px;
}

.hero--hvac .hero__image {
  object-position: center center;
}

.hero--hvac .hero__content {
  display: grid;
  justify-items: start;
}

.hero--hvac .eyebrow,
.process .eyebrow,
body[data-theme="hvac"] .inner-hero .eyebrow {
  color: var(--accent);
}

.hero--hvac h1 {
  max-width: 12ch;
}

.hero--roofing {
  background: var(--dark);
}

.hero--roofing::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 58%;
  height: 6px;
  background: var(--accent);
  content: "";
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.hero--roofing .hero__image {
  object-position: center center;
}

.hero--roofing .hero__wash {
  background: linear-gradient(
    90deg,
    rgb(17 29 35 / 0.95) 0%,
    rgb(17 29 35 / 0.9) 36%,
    rgb(17 29 35 / 0.48) 62%,
    rgb(17 29 35 / 0.08) 100%
  );
}

.hero--roofing .hero__content {
  display: grid;
  justify-items: start;
}

.hero--roofing .eyebrow {
  padding: 8px 11px;
  background: var(--accent);
  color: var(--accent-ink);
}

.hero--roofing h1 {
  max-width: 12ch;
  font-size: clamp(54px, 6.2vw, 88px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero--roofing .hero__intro {
  max-width: 30ch;
}

body[data-theme="roofing"] .inner-hero .eyebrow {
  color: var(--accent);
}

.hero--plumbing {
  background: var(--page);
}

.hero--plumbing .hero__image {
  right: 0;
  left: auto;
  width: 52%;
  object-position: 55% center;
}

.hero--plumbing .hero__wash {
  display: none;
}

.hero--plumbing .hero__content {
  padding-right: min(55vw, 660px);
  color: var(--ink);
}

.hero--plumbing .hero__intro {
  max-width: 30ch;
  margin-top: 30px;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.58;
}

.hero--plumbing h1 {
  max-width: 11.5ch;
  font-size: clamp(46px, 4.8vw, 68px);
  line-height: 1.04;
}

.hero--plumbing .hero__content .button--secondary,
.hero--plumbing .hero__scroll {
  border-color: var(--ink);
  color: var(--ink);
}

.hero--electrical {
  background-color: #171815;
  background-image:
    linear-gradient(#3d3d38 1px, transparent 1px),
    linear-gradient(90deg, #3d3d38 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero--electrical .hero__image {
  right: 0;
  left: auto;
  width: 58%;
  object-position: center;
}

.hero--electrical .hero__wash {
  right: auto;
  width: 50%;
  background: #171815;
}

.hero--electrical .hero__content {
  padding-right: min(47vw, 590px);
}

.hero--electrical h1 {
  max-width: 12ch;
  font-size: clamp(52px, 5.6vw, 76px);
  line-height: 0.98;
}

.hero--electrical .hero__intro {
  max-width: 31ch;
  margin-top: 30px;
  line-height: 1.6;
}

.hero--electrical .eyebrow {
  display: inline-block;
  padding: 7px 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

.hero--landscaping {
  min-height: min(830px, calc(100svh - 116px));
  align-items: flex-end;
}

.hero--landscaping .hero__image {
  object-position: center;
}

.hero--landscaping .hero__wash {
  background: rgb(13 30 19 / 0.16);
}

.hero--landscaping .hero__content {
  width: min(100% - 40px, 1240px);
  padding: 0 0 56px;
}

.hero--landscaping .hero__content::before {
  position: absolute;
  inset: -44px auto 12px -44px;
  z-index: -1;
  width: min(760px, calc(100% + 40px));
  border-radius: 40px 4px 40px 4px;
  background: rgb(32 50 39 / 0.92);
  content: "";
  backdrop-filter: blur(5px);
}

.hero--landscaping h1,
.hero--landscaping .hero__intro {
  max-width: 650px;
}

.hero--landscaping .eyebrow {
  color: #c7dabd;
}

.hero--auto .hero__wash {
  background: rgb(0 0 0 / 0.7);
}

.hero--auto h1 {
  max-width: 11ch;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.92;
}

.hero--auto .eyebrow {
  display: inline-flex;
  padding-left: 42px;
  color: #ffffff;
}

.hero--auto .eyebrow::before {
  position: absolute;
  width: 30px;
  height: 4px;
  margin: 7px 0 0 -42px;
  background: var(--accent);
  content: "";
}

.confidence {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.confidence__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.confidence p {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 20px 24px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.confidence p:last-child {
  border-right: 1px solid var(--line);
}

.confidence strong {
  color: var(--accent-readable);
  font-size: 12px;
}

.section {
  padding-block: clamp(78px, 9vw, 128px);
}

.section-heading > p:not(.eyebrow),
.section-heading--split > p,
.process__intro > p,
.callout-band p,
.coverage p,
.fact-note > p,
.closing p,
.contact-layout__intro > p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
  gap: 80px;
}

.section-heading--split > p {
  max-width: 570px;
  margin: 0;
}

.decision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision__path {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  min-height: 320px;
  padding: 46px 46px 42px 0;
}

.decision__path + .decision__path {
  padding-right: 0;
  padding-left: 46px;
  border-left: 1px solid var(--line);
}

.decision__number,
.service-index__title > span,
.values article > span,
.detail-services article > span {
  color: var(--accent-readable);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.decision__path p {
  max-width: 52ch;
  margin: 20px 0 24px;
  color: var(--muted);
}

.services-preview,
.detail-services {
  background: var(--surface);
}

.service-ledger {
  margin: 64px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.service-ledger li {
  display: grid;
  grid-template-columns: 70px 0.9fr 1.1fr 42px;
  align-items: center;
  gap: 28px;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.service-ledger__number {
  color: var(--accent-readable);
  font-size: 12px;
  font-weight: 900;
}

.service-ledger h3 {
  font-size: clamp(20px, 2vw, 27px);
}

.service-ledger p {
  margin: 0;
  color: var(--muted);
}

.service-ledger a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.service-ledger a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 38px;
}

.process {
  background: var(--dark);
  color: var(--dark-ink);
}

.process__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 9vw, 140px);
}

.process__intro {
  align-self: start;
  position: sticky;
  top: 128px;
}

.process__intro > p {
  color: color-mix(in srgb, var(--dark-ink) 68%, transparent);
}

.process__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  list-style: none;
}

.process__steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 38px 0 42px;
  border-bottom: 1px solid rgb(255 255 255 / 0.3);
}

.process__steps li > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.process__steps p {
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--dark-ink) 70%, transparent);
}

.inner-hero {
  padding-block: clamp(96px, 13vw, 180px) clamp(84px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
  background: var(--dark);
  color: var(--dark-ink);
}

.inner-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 90px;
}

.inner-hero .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -46px;
}

.inner-hero h1 {
  max-width: 13ch;
}

.inner-hero > .shell > p:last-child {
  margin: 0;
  color: color-mix(in srgb, var(--dark-ink) 72%, transparent);
  font-size: 20px;
}

body[data-theme="plumbing"] .inner-hero {
  background: var(--page);
  color: var(--ink);
}

body[data-theme="plumbing"] .inner-hero > .shell > p:last-child {
  color: var(--muted);
}

body[data-theme="electrical"] .inner-hero {
  background-color: var(--dark);
  background-image:
    linear-gradient(#343530 1px, transparent 1px),
    linear-gradient(90deg, #343530 1px, transparent 1px);
  background-size: 48px 48px;
}

body[data-theme="electrical"] .inner-hero .eyebrow {
  justify-self: start;
  padding: 7px 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

body[data-theme="landscaping"] .inner-hero {
  background: #d8dfca;
  color: var(--ink);
}

body[data-theme="landscaping"] .inner-hero > .shell > p:last-child {
  color: var(--muted);
}

.service-index {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.service-index > li {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  padding: 54px 0 60px;
  border-bottom: 1px solid var(--line);
}

.service-index__title {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
}

.service-index__title h2 {
  max-width: 15ch;
  font-size: clamp(29px, 3.7vw, 48px);
}

.service-index__copy .lead {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.service-index__copy > p:not(.lead) {
  max-width: 60ch;
  margin: 0 0 20px;
  color: var(--muted);
}

.callout-band {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.callout-band__grid,
.closing__grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 90px;
}

.callout-band__grid p,
.closing__grid p {
  max-width: 56ch;
  margin: 0 0 28px;
}

.detail-flow > ol {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 60px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.detail-flow li {
  min-height: 310px;
  padding: 40px 38px 38px;
  border-right: 1px solid var(--line);
}

.detail-flow li:first-child {
  padding-left: 0;
}

.detail-flow li:last-child {
  padding-right: 0;
  border-right: 0;
}

.detail-flow li > span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-readable);
  font-size: 12px;
  font-weight: 900;
}

.detail-flow li p {
  margin: 18px 0 0;
  color: var(--muted);
}

.detail-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 2px solid var(--ink);
}

.detail-services article {
  min-height: 300px;
  padding: 34px 32px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-services article:nth-child(3n + 1) {
  padding-left: 0;
}

.detail-services article:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.detail-services article h3 {
  margin-top: 32px;
}

.detail-services article p {
  margin: 16px 0 0;
  color: var(--muted);
}

.faq__list {
  margin-top: 58px;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details > p {
  max-width: 760px;
  margin: -4px 0 28px;
  color: var(--muted);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values article {
  min-height: 290px;
  padding: 38px 36px;
  border-right: 1px solid var(--line);
}

.values article:first-child {
  padding-left: 0;
}

.values article:last-child {
  padding-right: 0;
  border-right: 0;
}

.values article h3 {
  margin-top: 40px;
}

.values article p {
  margin: 16px 0 0;
  color: var(--muted);
}

.coverage {
  background: var(--surface);
}

.coverage__layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 100px;
}

.coverage__layout > div > p:not(.eyebrow) {
  max-width: 50ch;
  margin: 22px 0 28px;
}

.coverage ul {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.coverage li {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
}

.coverage li span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.fact-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  border-bottom: 1px solid var(--line);
}

.fact-note > p {
  max-width: 65ch;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.contact-layout__intro {
  position: sticky;
  top: 128px;
}

.contact-layout__intro > p {
  max-width: 48ch;
  margin: 22px 0 34px;
}

.contact-layout dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-layout dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-layout dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-layout dd {
  margin: 0;
  font-weight: 800;
}

.inquiry-form {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: max(0px, calc(var(--radius) / 2));
  background: var(--page);
  color: var(--ink);
}

.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--accent);
}

.inquiry-form > .button {
  width: 100%;
  margin-top: 26px;
}

.form-disclaimer,
.form-error {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-error {
  color: #a3221b;
  font-weight: 800;
}

.form-success {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  margin-top: 24px;
  padding: 20px;
  border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.form-success[hidden],
.form-error[hidden] {
  display: none;
}

.form-success > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
}

.form-success h3 {
  font-family: var(--body);
  font-size: 18px;
}

.form-success p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.closing {
  padding-block: clamp(80px, 10vw, 140px);
  background: color-mix(in srgb, var(--accent) 17%, var(--page));
}

.site-footer {
  padding: 72px 0 28px;
  background: var(--dark);
  color: var(--dark-ink);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.7fr;
  gap: 50px;
  padding-bottom: 54px;
}

.brand--footer {
  align-self: start;
  color: var(--dark-ink);
}

.site-footer__top p {
  margin: 0;
  color: color-mix(in srgb, var(--dark-ink) 72%, transparent);
  font-size: 14px;
}

.site-footer__top a {
  text-underline-offset: 3px;
}

.site-footer__top nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.22);
}

.site-footer__bottom p {
  max-width: 760px;
  margin: 0;
  color: color-mix(in srgb, var(--dark-ink) 58%, transparent);
  font-size: 11px;
}

.mobile-request {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    gap: 18px;
  }

  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .header-call {
    display: none;
  }

  .hero--plumbing .hero__content {
    padding-right: 54%;
  }

  .contact-layout,
  .coverage__layout {
    gap: 60px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 32px, 1240px);
  }

  .demo-ribbon {
    padding-inline: 16px;
  }

  .demo-ribbon p span {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
  }

  .menu-toggle i,
  .menu-toggle i::before {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .menu-toggle i::before {
    transform: translateY(-6px);
  }

  .menu-toggle[aria-expanded="true"] i {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i::before {
    transform: rotate(-90deg);
  }

  body[data-theme="electrical"] .menu-toggle,
  body[data-theme="auto"] .menu-toggle {
    color: #ffffff;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 10px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  body[data-theme="electrical"] .site-header .site-nav a,
  body[data-theme="auto"] .site-header .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero__content,
  .hero--plumbing .hero__content,
  .hero--electrical .hero__content {
    padding: 88px 0 124px;
  }

  .hero--plumbing,
  .hero--electrical {
    align-items: flex-end;
  }

  .hero--plumbing .hero__image,
  .hero--electrical .hero__image {
    top: 0;
    width: 100%;
    height: 46%;
  }

  .hero--plumbing .hero__content,
  .hero--electrical .hero__content {
    padding-top: 390px;
    padding-right: 0;
  }

  .hero--electrical .hero__wash {
    display: none;
  }

  .hero--landscaping .hero__content::before {
    inset: -34px -16px 12px -16px;
    width: auto;
  }

  .confidence__grid {
    grid-template-columns: 1fr;
  }

  .confidence p,
  .confidence p:last-child {
    min-height: 64px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading--split,
  .process__layout,
  .inner-hero .shell,
  .callout-band__grid,
  .closing__grid,
  .coverage__layout,
  .fact-note,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .inner-hero .eyebrow {
    grid-column: auto;
    margin-bottom: -12px;
  }

  .decision__grid {
    grid-template-columns: 1fr;
  }

  .decision__path,
  .decision__path + .decision__path {
    min-height: 0;
    padding: 38px 0;
    border-left: 0;
  }

  .decision__path + .decision__path {
    border-top: 1px solid var(--line);
  }

  .process__intro,
  .contact-layout__intro {
    position: static;
  }

  .service-ledger li {
    grid-template-columns: 44px 1fr 40px;
    gap: 14px;
    padding: 22px 0;
  }

  .service-ledger p {
    grid-column: 2 / 4;
  }

  .service-index > li {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-flow > ol,
  .detail-services__grid,
  .values__grid {
    grid-template-columns: 1fr;
  }

  .detail-flow li,
  .detail-flow li:first-child,
  .detail-flow li:last-child,
  .detail-services article,
  .detail-services article:nth-child(3n + 1),
  .detail-services article:nth-child(3n),
  .values article,
  .values article:first-child,
  .values article:last-child {
    min-height: 0;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-flow li > span,
  .detail-services article h3,
  .values article h3 {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 62px;
    font-size: 16px;
  }

  .demo-ribbon a {
    font-size: 0;
  }

  .demo-ribbon a span {
    font-size: 14px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    max-width: 126px;
    font-size: 15px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero,
  .hero--landscaping {
    min-height: 700px;
  }

  .hero__wash,
  .hero--auto .hero__wash {
    background: rgb(5 13 17 / 0.7);
  }

  .hero--hvac .hero__image,
  .hero--auto .hero__image {
    object-position: 64% center;
  }

  .hero--plumbing .hero__image,
  .hero--electrical .hero__image {
    height: 40%;
  }

  .hero--plumbing .hero__content,
  .hero--electrical .hero__content {
    padding-top: 340px;
  }

  .hero--landscaping .hero__image {
    object-position: 58% center;
  }

  .hero--landscaping .hero__content {
    padding-bottom: 70px;
  }

  .hero--landscaping .hero__content::before {
    top: -28px;
  }

  .hero__scroll {
    display: none;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .button-row .button {
    min-height: 50px;
  }

  .section {
    padding-block: 72px;
  }

  .decision__path {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .service-ledger {
    margin-top: 42px;
  }

  .service-ledger li {
    grid-template-columns: 34px 1fr 36px;
  }

  .service-ledger h3 {
    font-size: 20px;
  }

  .service-index__title {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 14px;
  }

  .mobile-request {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
  }
}
