@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("assets/fonts/Lato-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("assets/fonts/Lato-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #1976bc;
  --blue-deep: #124b78;
  --blue-dark: #153a57;
  --ink: #1e3445;
  --muted: #576a78;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #d8e1e7;
  --orange: #f6a520;
  --gutter: clamp(20px, 5.2vw, 88px);
  --content: 1192px;
  --display: "Raleway", Arial, sans-serif;
  --body: "Lato", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
button { font: inherit; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 20; left: 12px; top: 12px; transform: translateY(-150%);
  padding: 10px 14px; background: var(--white); color: var(--blue-dark);
}
.skip-link:focus { transform: translateY(0); }

.topline { background: var(--blue-deep); color: var(--white); font-size: 13px; line-height: 1.3; }
.topline__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline p { margin: 0; letter-spacing: .015em; }
.topline a { color: var(--white); font-weight: 700; text-decoration: none; }
.topline__label { margin-right: 8px; color: #c8dfef; font-weight: 400; }

.site-header { position: relative; z-index: 5; background: var(--white); }
.header__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 134px; display: block; }
.brand img { width: 134px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); margin-left: auto; }
.main-nav a, .footer-main nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: color .18s ease; }
.main-nav a:hover, .footer-main nav a:hover { color: var(--blue); }
.header-call { display: inline-flex; min-height: 46px; align-items: center; gap: 10px; padding: 0 17px; color: var(--white); background: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; }
.header-call span { font-size: 18px; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(36px, 7.5vw, 108px); padding-top: clamp(44px, 7vw, 94px); padding-bottom: clamp(60px, 8vw, 108px); }
.hero__copy { padding-block: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--blue); font: 700 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow__dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--orange); }
.hero h1, .section h2, .work-story h2, .contact-copy h2 {
  margin: 0; font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em;
}
.hero__lead { max-width: 510px; margin: 27px 0 11px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.hero__detail { max-width: 470px; margin: 0; color: var(--muted); font-size: 16px; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 16px; padding: 0 21px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.button span { font-size: 18px; }
.button--blue { background: var(--blue); color: var(--white); }
.button--blue:hover { background: var(--blue-deep); }
.text-link { color: var(--blue-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; font-size: 16px; transition: transform .18s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.hero__note { margin: 21px 0 0; color: var(--muted); font-size: 13px; }
.hero__figure { position: relative; margin: 0; padding-bottom: 41px; }
.hero__figure::before { content: ""; position: absolute; top: 24px; right: -18px; bottom: 17px; left: 18px; background: #e8f1f6; }
.hero__figure img { position: relative; width: 100%; aspect-ratio: 1.13; object-fit: cover; object-position: center; }
.hero__figure figcaption { position: absolute; z-index: 1; right: -1px; bottom: 0; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 40px); min-height: 57px; padding: 13px 18px; color: var(--ink); background: var(--white); box-shadow: 0 8px 28px rgb(21 58 87 / 9%); font-size: 14px; font-weight: 700; }
.hero__figure figcaption span { color: var(--blue); font: 700 10px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.intro-band { color: var(--white); background: var(--blue); }
.intro-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 83px; }
.intro-band p { margin: 0; font-family: var(--display); font-size: clamp(17px, 2vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.intro-band a { flex: 0 0 auto; color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; }
.intro-band a span { margin-left: 8px; font-size: 17px; }

.section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 49px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section h2, .work-story h2, .contact-copy h2 { font-size: clamp(38px, 4.1vw, 55px); }
.section-heading__aside { max-width: 345px; margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.services-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 54px minmax(170px, .74fr) 1.3fr; align-items: start; gap: 24px; padding: 25px 0 24px; border-bottom: 1px solid var(--line); }
.service-row__number { padding-top: 5px; color: var(--blue); font: 700 12px/1 var(--body); letter-spacing: .06em; }
.service-row h3 { margin: 0; font: 700 20px/1.35 var(--display); letter-spacing: -.02em; }
.service-row p { max-width: 660px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.62; }
.services-foot { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 23px; }
.services-foot p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; }
.services-foot .text-link { flex: 0 0 auto; }

.work-story { color: var(--white); background: var(--blue-dark); }
.work-story__inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(44px, 8vw, 120px); min-height: 470px; padding-block: clamp(56px, 7vw, 85px); }
.work-story__image { display: flex; justify-content: center; align-items: center; min-height: 305px; margin: 0; }
.work-story__image img { width: min(100%, 285px); max-height: 365px; object-fit: contain; }
.eyebrow--light { color: #cce2f1; }
.work-story h2 { max-width: 600px; margin-bottom: 20px; }
.work-story__copy > p:not(.eyebrow) { max-width: 620px; margin: 0 0 13px; color: #e0eaf1; font-size: 16px; }
.button--light { background: var(--white); color: var(--blue-dark); }
.button--light:hover { color: var(--white); background: var(--blue); }
.work-story .button { margin-top: 17px; }
.work-story .button--light:hover { background: #eaf3f8; color: var(--blue-dark); }

.projects { padding-bottom: clamp(75px, 9vw, 120px); }
.section-heading--projects { margin-bottom: 44px; }
.project-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 42px 36px; align-items: start; }
.project { margin: 0; min-width: 0; }
.project img { width: 100%; aspect-ratio: 1.37; object-fit: cover; background: var(--paper); }
.project figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 13px; }
.project figcaption span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project figcaption strong { font: 700 18px/1.4 var(--display); }
.project figcaption small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.project--boiler { margin-top: 94px; }
.project--access { width: 75%; }
.project--bath { width: 82%; justify-self: end; margin-top: -45px; }
.project-source { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-top: 28px; margin: 44px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.contact-section { padding-block: clamp(62px, 8vw, 96px) 25px; color: var(--white); background: var(--blue); }
.contact-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.contact-copy h2 { max-width: 470px; }
.contact-copy > p:last-child { max-width: 420px; margin: 19px 0 0; color: #e4f0f7; }
.contact-details { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 4px; }
.contact-details__item > span, .contact-place > span { color: #c8e0ef; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-phone { display: block; margin-top: 4px; font: 700 clamp(24px, 2.4vw, 32px)/1.2 var(--display); text-decoration: none; white-space: nowrap; }
.contact-details__item p { margin: 10px 0 0; color: #e4f0f7; font-size: 14px; }
.contact-details__actions { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.contact-form-link { color: var(--white); font-size: 13px; font-weight: 700; }
.contact-place { display: flex; align-items: center; gap: 18px; padding-block: 24px; margin-top: 55px; border-top: 1px solid rgb(255 255 255 / 28%); }
.contact-place > span { margin-right: 2px; }
.contact-place strong { font-size: 15px; }
.contact-place a { margin-left: auto; color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; }

.site-footer { color: var(--ink); background: var(--paper); }
.footer-main { display: grid; grid-template-columns: 145px 1fr auto auto; align-items: center; gap: 25px; min-height: 145px; padding-block: 25px; }
.brand--footer { flex-basis: 120px; }
.brand--footer img { width: 120px; }
.footer-main p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-main nav { display: flex; gap: 19px; }
.footer-main nav a { font-size: 12px; }
.footer-phone { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 53px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--muted); }

@media (max-width: 900px) {
  :root { --gutter: clamp(22px, 5vw, 42px); }
  .header__inner { gap: 18px; }
  .brand { flex-basis: 116px; }
  .brand img { width: 116px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 13px; }
  .header-call { padding-inline: 13px; }
  .hero { grid-template-columns: 1fr .88fr; gap: 36px; }
  .hero h1 { font-size: clamp(45px, 6.5vw, 58px); }
  .service-row { grid-template-columns: 36px minmax(150px, .78fr) 1.2fr; gap: 17px; }
  .work-story__inner { grid-template-columns: .65fr 1.35fr; gap: 45px; }
  .contact-details { flex-direction: column; align-items: start; }
  .footer-main { grid-template-columns: 125px 1fr auto; }
  .footer-phone { grid-column: 3; }
  .footer-main nav { grid-column: 2; grid-row: 2; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 82px; }
  body { font-size: 16px; }
  .topline { font-size: 12px; }
  .topline__inner { min-height: 36px; }
  .topline__label { display: none; }
  .header__inner { position: relative; min-height: 76px; justify-content: initial; }
  .brand { flex-basis: 112px; }
  .brand img { width: 112px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; padding: 9px 0 9px 9px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }
  .menu-toggle__icon { display: flex; width: 19px; flex-direction: column; gap: 5px; }
  .menu-toggle__icon i { height: 2px; width: 19px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header-call { min-height: 40px; gap: 6px; margin-left: 4px; padding-inline: 11px; font-size: 12px; }
  .header-call span { display: none; }
  .main-nav { position: absolute; top: calc(100% - 1px); left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); display: none; align-items: stretch; gap: 0; padding: 5px var(--gutter) 13px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 15px 20px rgb(21 58 87 / 10%); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 48px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(45px, 13vw, 60px); }
  .hero__lead { margin-top: 19px; }
  .hero__figure { max-width: 550px; margin-inline: auto; padding-bottom: 33px; }
  .hero__figure::before { top: 15px; right: -9px; bottom: 12px; left: 9px; }
  .hero__figure img { aspect-ratio: 1.14; }
  .hero__figure figcaption { min-height: 49px; max-width: calc(100% - 21px); gap: 9px; padding: 10px 12px; font-size: 12px; }
  .hero__figure figcaption span { font-size: 9px; }
  .intro-band__inner { min-height: 74px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .intro-band p { font-size: 17px; }
  .intro-band a { font-size: 12px; }
  .section { padding-block: 67px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 31px; }
  .section h2, .work-story h2, .contact-copy h2 { font-size: clamp(38px, 10vw, 48px); }
  .section-heading__aside { max-width: 490px; font-size: 15px; }
  .service-row { grid-template-columns: 31px 1fr; gap: 3px 12px; padding-block: 18px; }
  .service-row__number { grid-row: span 2; padding-top: 7px; }
  .service-row h3 { font-size: 19px; }
  .service-row p { grid-column: 2; font-size: 15px; }
  .services-foot { align-items: flex-start; flex-direction: column; gap: 14px; }
  .work-story__inner { grid-template-columns: 1fr; gap: 22px; padding-block: 46px 51px; }
  .work-story__image { min-height: 190px; }
  .work-story__image img { width: 170px; max-height: 205px; }
  .work-story h2 { max-width: 460px; }
  .work-story__copy > p:not(.eyebrow) { font-size: 15px; }
  .work-story .button { margin-top: 9px; }
  .projects { padding-top: 67px; padding-bottom: 67px; }
  .section-heading--projects { margin-bottom: 29px; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .project img { aspect-ratio: 1.15; }
  .project--boiler, .project--bath { margin-top: 0; }
  .project--access, .project--bath { width: auto; justify-self: auto; }
  .project figcaption { padding-top: 9px; }
  .project figcaption strong { font-size: 15px; }
  .project figcaption small { font-size: 12px; }
  .project figcaption span { font-size: 9px; }
  .project-source { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 28px; padding-top: 18px; font-size: 13px; }
  .contact-section { padding-top: 53px; }
  .contact-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-copy > p:last-child { margin-top: 14px; font-size: 15px; }
  .contact-details { gap: 23px; }
  .contact-details__actions { gap: 13px; }
  .contact-place { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-top: 41px; }
  .contact-place strong { font-size: 14px; }
  .contact-place a { grid-column: 2; margin: 7px 0 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 17px 12px; padding-block: 24px; }
  .brand--footer { grid-column: 1; grid-row: 1; }
  .footer-main p { grid-column: 1 / -1; grid-row: 2; }
  .footer-main nav { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; gap: 14px; }
  .footer-phone { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .footer-legal { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding-block: 13px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .header__inner { gap: 8px; }
  .brand { flex-basis: 96px; }
  .brand img { width: 96px; }
  .menu-toggle { gap: 6px; padding-left: 4px; font-size: 12px; }
  .header-call { min-height: 38px; padding-inline: 9px; font-size: 11px; }
  .topline__inner { gap: 8px; font-size: 11px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero__actions .button { width: 100%; padding-inline: 11px; font-size: 13px; }
  .project-grid { grid-template-columns: 1fr; }
  .project--boiler, .project--bath { margin-top: 0; }
  .contact-phone { font-size: 25px; }
  .contact-place { grid-template-columns: 1fr; }
  .contact-place a { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
