:root {
  --ink: #263236;
  --green: #254337;
  --green-dark: #254337;
  --blue: #31566b;
  --terracotta: #b85c38;
  --paper: #fbf7ef;
  --cream: #fffdf7;
  --muted: #5f6a6d;
  --line: #d9d0c2;
  --white: #ffffff;
  --header-height: 72px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
}

body,
a,
button,
input,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 253, 247, 0.98);
  border-bottom: 1px solid var(--line);
}

.brand {
  width: min(330px, 100%);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--green);
}

.header-call {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-call-label {
  color: #f5d7c8;
}

#help,
#visit,
#who,
#contact {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero {
  position: relative;
  min-height: min(730px, calc(100svh - var(--header-height) - 42px));
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: url("/a-hand-around-the-house-hero-bath-v2.webp");
  background-size: cover;
  background-position: 58% center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(17, 36, 30, 0.9) 0%,
    rgba(17, 36, 30, 0.82) 38%,
    rgba(17, 36, 30, 0.5) 62%,
    rgba(17, 36, 30, 0.14) 100%
  );
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 58px;
}

.eyebrow,
.section-number {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c8b7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-lead {
  max-width: 690px;
  margin: 0 0 28px;
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 850;
}

.button-primary {
  color: var(--green-dark);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  background: rgba(17, 36, 30, 0.28);
  border-color: rgba(255, 255, 255, 0.72);
}

.button:hover,
.button:focus-visible,
.header-call:hover,
.header-call:focus-visible {
  outline: 3px solid #f3c8b7;
  outline-offset: 3px;
}

.trust-line {
  max-width: 760px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff8ed;
  font-size: 15px;
  font-weight: 800;
}

.trust-line span {
  margin: 0 9px;
  color: #f3c8b7;
}

.help-section,
.operator-section {
  padding: 78px 24px;
  background: var(--cream);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  column-gap: 80px;
  align-items: end;
}

.section-heading .section-number {
  grid-column: 1 / -1;
}

h2 {
  margin: 0;
  color: var(--green);
  font-size: 50px;
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
}

.help-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 54px;
}

.help-groups article {
  padding-top: 18px;
  border-top: 3px solid var(--green);
}

.help-groups article:nth-child(2) {
  border-color: var(--terracotta);
}

.help-groups article:nth-child(3) {
  border-color: var(--blue);
}

.help-groups article > span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.help-groups h3 {
  min-height: 56px;
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
}

.help-groups p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.parent-route {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 54px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.parent-route strong {
  color: var(--blue);
}

.parent-route span {
  color: var(--muted);
  font-size: 16px;
}

.parent-route a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 850;
}

.visit-section {
  padding: 78px 24px;
  color: var(--white);
  background: var(--green-dark);
}

.section-number-light {
  color: #f3c8b7;
}

.visit-intro {
  max-width: 760px;
}

.visit-intro h2 {
  color: var(--white);
}

.visit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.visit-steps li {
  min-height: 145px;
  padding: 20px 28px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.visit-steps li + li {
  padding-left: 28px;
}

.visit-steps li:last-child {
  border-right: 0;
}

.visit-steps span {
  display: block;
  margin-bottom: 18px;
  color: #f3c8b7;
  font-size: 12px;
  font-weight: 850;
}

.visit-steps strong {
  display: block;
  font-size: 21px;
}

.visit-steps p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.price-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.price-facts > div {
  padding-top: 18px;
  border-top: 3px solid var(--terracotta);
}

.price-facts > div:nth-child(2) {
  border-color: #f3c8b7;
}

.price-facts > div:nth-child(3) {
  border-color: #7fa3b3;
}

.price-facts span {
  display: block;
  font-family: var(--font-serif);
  font-size: 60px;
  line-height: 1;
}

.price-facts strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.price-facts p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.cost-note {
  max-width: 900px;
  margin: 42px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.operator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 70px;
  align-items: stretch;
}

.operator-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.operator-details {
  align-self: end;
}

.operator-points {
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.operator-points > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.operator-points strong {
  color: var(--green);
}

.operator-points span {
  color: var(--muted);
  font-size: 16px;
}

.safety-note {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.customer-proof {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.customer-proof-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.customer-proof-heading .section-number {
  margin: 0;
}

.customer-proof h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.08;
}

.customer-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.customer-review {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 25px 28px 22px 0;
}

.customer-review + .customer-review {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.customer-review blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.42;
}

.customer-review figcaption {
  margin-top: auto;
  padding-top: 24px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.customer-review figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.closing-section {
  color: var(--white);
  background: var(--ink);
  border-top: 8px solid var(--terracotta);
}

.closing-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 70px 0;
}

.closing-inner h2 {
  max-width: 850px;
  color: var(--white);
  font-size: 62px;
}

.closing-inner > p:not(.section-number) {
  max-width: 720px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.button-closing {
  color: var(--green-dark);
  background: var(--cream);
}

.closing-email {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-weight: 750;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(260px, 1fr) auto;
  align-items: end;
  gap: 42px;
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer img {
  width: min(330px, 100%);
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

@media (min-width: 981px) {
  .closing-inner {
    align-items: center;
    text-align: center;
  }

  .closing-inner h2,
  .closing-inner > p {
    width: 100%;
  }

  .closing-actions {
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .site-footer img {
    justify-self: start;
  }

  .site-footer p {
    max-width: 360px;
    justify-self: center;
    text-align: center;
  }

  .site-footer nav {
    justify-self: end;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 16px;
    padding: 8px 18px;
  }

  .desktop-nav {
    display: none;
  }

  .section-heading,
  .operator-grid {
    grid-template-columns: 1fr;
  }

  .operator-grid {
    gap: 38px;
  }

  .section-heading > p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
  }

  .help-groups {
    gap: 24px;
  }

  .parent-route {
    grid-template-columns: 1fr auto;
  }

  .parent-route span {
    grid-column: 1;
  }

  .parent-route a {
    grid-column: 2;
    grid-row: 1 / 3;
  }

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

  .site-footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 58px;
  }

  body {
    font-size: 17px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 7px 13px;
  }

  .brand {
    width: min(214px, 100%);
  }

  .header-call {
    min-width: 72px;
    min-height: 44px;
    padding: 7px 13px;
  }

  .header-call-number {
    display: none;
  }

  .header-call-label {
    color: var(--white);
  }

  .hero {
    min-height: 0;
    align-items: stretch;
    background-image: url("/a-hand-around-the-house-hero-bath-mobile-v2.webp");
    background-position: center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(17, 36, 30, 0.88) 0%,
      rgba(17, 36, 30, 0.8) 52%,
      rgba(17, 36, 30, 0.7) 100%
    );
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 38px 0 34px;
  }

  h1 {
    max-width: 340px;
    margin-bottom: 18px;
    font-size: 43px;
    line-height: 1.03;
  }

  .hero-lead {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-line {
    font-size: 14px;
  }

  .trust-line span {
    margin: 0 5px;
  }

  .help-section,
  .visit-section,
  .operator-section {
    padding: 50px 17px;
  }

  h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .section-heading > p:last-child {
    margin-top: 18px;
  }

  .help-groups,
  .visit-steps,
  .price-facts {
    grid-template-columns: 1fr;
  }

  .help-groups {
    margin-top: 38px;
  }

  .help-groups h3 {
    min-height: 0;
    font-size: 22px;
  }

  .parent-route {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 38px;
  }

  .parent-route span,
  .parent-route a {
    grid-column: 1;
    grid-row: auto;
  }

  .visit-steps {
    margin-top: 38px;
  }

  .visit-steps li,
  .visit-steps li + li {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

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

  .visit-steps span {
    margin-bottom: 8px;
  }

  .price-facts {
    gap: 16px;
    margin-top: 38px;
  }

  .price-facts > div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 15px;
    align-items: start;
    padding-top: 15px;
  }

  .price-facts span {
    grid-row: 1 / 3;
    font-size: 43px;
  }

  .price-facts > .price-project span {
    font-size: 31px;
    white-space: nowrap;
  }

  .price-facts strong {
    margin-top: 0;
    font-size: 18px;
  }

  .price-facts p {
    margin-top: 2px;
  }

  .operator-grid {
    gap: 38px;
  }

  .operator-lead {
    font-size: 18px;
  }

  .operator-points > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .customer-proof-heading {
    display: block;
    margin-bottom: 20px;
  }

  .customer-proof h3 {
    margin-top: 8px;
    font-size: 30px;
  }

  .customer-reviews {
    grid-template-columns: 1fr;
  }

  .customer-review {
    min-height: 0;
    padding: 22px 0;
  }

  .customer-review + .customer-review {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .customer-review blockquote {
    font-size: 19px;
  }

  .closing-inner {
    width: calc(100% - 34px);
    min-height: 420px;
    padding: 50px 0;
  }

  .closing-inner h2 {
    font-size: 45px;
  }

  .closing-inner > p:not(.section-number) {
    font-size: 18px;
  }

  .closing-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-closing {
    width: 100%;
  }

  .closing-email {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    width: calc(100% - 34px);
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .site-footer img {
    width: 240px;
  }

  .site-footer nav {
    grid-column: 1;
    flex-wrap: wrap;
  }
}

@media (max-width: 350px) {
  .brand {
    width: 185px;
  }

  .hero-content {
    padding: 24px 0 20px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .button {
    min-height: 50px;
    font-size: 16px;
  }

  .trust-line {
    font-size: 13px;
  }

  h2 {
    font-size: 35px;
  }
}

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

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