@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --porcelain: #f2efe7;
  --porcelain-deep: #e7e1d6;
  --navy: #10243a;
  --navy-soft: #1b344d;
  --copper: #aa6747;
  --copper-light: #c58a6b;
  --ink-muted: #64707a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--porcelain);
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
}

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

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr);
  overflow: hidden;
  background: var(--porcelain);
}

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 0 clamp(26px, 4.3vw, 70px);
  border-bottom: 1px solid rgba(16, 36, 58, 0.17);
  background: var(--porcelain);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-seal {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-weight: 580;
  letter-spacing: -0.08em;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}

.brand:hover .brand-seal {
  background: var(--copper);
  color: var(--porcelain);
  transform: rotate(-5deg);
}

.brand-seal span {
  margin: 0 2px;
  color: var(--copper);
  font-style: italic;
}

.brand:hover .brand-seal span {
  color: inherit;
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.brand-name small {
  color: var(--copper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.6vw, 42px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 2px;
  transition: color 220ms ease, transform 220ms ease;
}

.header-phone span {
  color: var(--copper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-phone b {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 520;
  letter-spacing: 0.01em;
}

.header-phone:hover {
  color: var(--copper);
}

.header-phone:active {
  transform: translateY(1px);
}

.hero {
  min-height: calc(100dvh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  overflow: hidden;
}

.stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 36, 58, 0.035) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--porcelain);
}

.pipe-plan {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: var(--porcelain);
  stroke: var(--copper);
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
}

.pipe-plan circle {
  fill: var(--porcelain);
  stroke-width: 3;
}

.plumber-image {
  position: absolute;
  top: 5.5%;
  right: 4.4%;
  width: 59%;
  height: 57%;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 50px, 100% 100%, 0 100%);
}

.plumber-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 57% 50%;
  filter: saturate(0.72) sepia(0.08) contrast(0.97);
  transform: scale(1.02);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.plumber-image:hover img {
  filter: saturate(0.9) sepia(0.04) contrast(1);
  transform: scale(1.05);
}

.image-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(16, 36, 58, 0.4));
  pointer-events: none;
}

figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--porcelain);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

figcaption span:last-child {
  color: rgba(242, 239, 231, 0.7);
}

.intro {
  position: absolute;
  right: 7%;
  bottom: 5.5%;
  left: 5.6%;
  z-index: 3;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 15px;
  color: var(--copper);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--copper);
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(70px, 7.55vw, 112px);
  font-weight: 430;
  letter-spacing: -0.064em;
  line-height: 0.85;
  text-wrap: balance;
}

h1 em {
  color: var(--copper);
  font-weight: 340;
}

.intro-meta {
  display: grid;
  grid-template-columns: minmax(260px, 390px) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(24px, 3.8vh, 41px);
}

.intro-meta > p {
  max-width: 380px;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--copper);
  color: var(--ink-muted);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.65;
}

.primary-cta {
  min-width: 196px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 17px 0 22px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--porcelain);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 230ms ease, color 230ms ease, transform 230ms ease;
}

.primary-cta svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 230ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--copper);
  border-color: var(--copper);
}

.primary-cta:hover svg,
.primary-cta:focus-visible svg {
  transform: translateX(4px);
}

.primary-cta:active {
  transform: translateY(1px) scale(0.985);
}

.service-proof {
  position: relative;
  z-index: 4;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 5vh, 54px) 30px 32px;
  background: var(--navy);
  color: var(--porcelain);
}

.service-proof::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  width: 8px;
  content: "";
  background: var(--copper);
}

.proof-kicker {
  margin: 0 0 28px;
  color: rgba(242, 239, 231, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-kicker span {
  color: var(--copper-light);
}

.service-proof h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(25px, 2.25vw, 33px);
  font-weight: 390;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.proof-copy {
  margin: 20px 0 0;
  color: rgba(242, 239, 231, 0.62);
  font-size: 10px;
  line-height: 1.65;
}

.proof-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(242, 239, 231, 0.17);
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 239, 231, 0.17);
  color: rgba(242, 239, 231, 0.82);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-list span {
  color: var(--copper-light);
}

.service-types {
  display: grid;
  gap: 6px;
}

.service-types p {
  margin: 0;
  color: rgba(242, 239, 231, 0.55);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aside-phone {
  display: grid;
  gap: 4px;
  padding-top: 17px;
  border-top: 1px solid var(--copper);
  transition: color 220ms ease, transform 220ms ease;
}

.aside-phone small {
  color: var(--copper-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.aside-phone strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 430;
}

.aside-phone:hover {
  color: var(--copper-light);
}

.aside-phone:active {
  transform: translateY(1px);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .plumber-image {
    width: 66%;
  }

  .intro-meta {
    grid-template-columns: minmax(220px, 330px) auto;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .page {
    grid-template-rows: 64px minmax(0, 1fr);
    overflow: visible;
  }

  .site-header {
    min-height: 64px;
    padding: 0 17px;
  }

  .brand {
    gap: 9px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .brand-name strong {
    font-size: 15px;
  }

  .brand-name small {
    font-size: 7px;
  }

  .header-phone span {
    display: none;
  }

  .header-phone b {
    font-family: "Manrope", sans-serif;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: calc(100dvh - 64px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: visible;
  }

  .stage {
    display: grid;
    grid-template-rows: 205px auto;
    overflow: hidden;
  }

  .pipe-plan {
    z-index: 4;
    height: 205px;
    transform: scaleX(1.2) translateX(-8%);
  }

  .plumber-image {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: 205px;
    margin: 0 18px 0 42px;
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  }

  .plumber-image img {
    object-position: 55% 51%;
  }

  figcaption {
    min-height: 34px;
    padding: 0 10px;
    font-size: 6px;
  }

  .intro {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    padding: 23px 20px 24px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 8px;
  }

  h1 {
    max-width: 335px;
    font-size: clamp(53px, 15.1vw, 61px);
    line-height: 0.88;
  }

  .intro-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
  }

  .intro-meta > p {
    max-width: 165px;
    padding-left: 10px;
    font-size: 9px;
    line-height: 1.5;
  }

  .primary-cta {
    min-width: 156px;
    min-height: 49px;
    gap: 12px;
    padding: 0 12px 0 15px;
    font-size: 8px;
  }

  .primary-cta svg {
    width: 17px;
  }

  .service-proof {
    min-height: 170px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 13px 20px;
    padding: 18px 20px 17px 25px;
  }

  .service-proof::before {
    left: 0;
    width: 6px;
  }

  .proof-kicker {
    margin-bottom: 8px;
    font-size: 6px;
  }

  .service-proof h2 {
    max-width: 175px;
    font-size: 21px;
    line-height: 1;
  }

  .proof-copy,
  .service-types {
    display: none;
  }

  .proof-list {
    align-self: stretch;
  }

  .proof-list li {
    grid-template-columns: 20px 1fr;
    padding: 7px 0;
    font-size: 6px;
  }

  .aside-phone {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
  }

  .aside-phone small {
    font-size: 6px;
  }

  .aside-phone strong {
    font-size: 15px;
  }
}

@media (max-height: 760px) and (max-width: 700px) {
  .stage {
    grid-template-rows: 180px auto;
  }

  .pipe-plan,
  .plumber-image {
    height: 180px;
  }

  .intro {
    padding-top: 17px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: 50px;
  }

  .service-proof {
    min-height: 154px;
    padding-top: 14px;
    padding-bottom: 13px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
