@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e2933;
  --paper: #f6f3ec;
  --brand: #142028;
  --accent: #b8492a;
  --muted: #5e6c74;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Barlow", sans-serif;
  --header-h: 64px;
  --pitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 18'%3E%3Cpath d='M2 16 L24 2 L46 16' fill='none' stroke='%23B8492A' stroke-width='3' stroke-linejoin='miter'/%3E%3C/svg%3E");
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
section,
article[id] {
  scroll-margin-top: var(--space-96);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.demo-notice h2 {
  font-family: inherit;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: 0;
  scroll-margin-top: 0;
}

.demo-notice p {
  max-width: none;
  margin: 0;
}

h1 {
  margin: 0 0 var(--space-16);
  font-size: clamp(2.75rem, 3.6vw + 1.7rem, 5.25rem);
}

h2 {
  margin: 0 0 var(--space-16);
  font-size: clamp(2rem, 2vw + 1.25rem, 3.25rem);
}

h3 {
  margin: 0 0 var(--space-12);
  font-size: clamp(1.75rem, 1.2vw + 1.25rem, 2.25rem);
}

p,
dd,
li {
  max-width: 68ch;
}

p {
  margin: 0 0 var(--space-16);
}

a {
  color: inherit;
}

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

.site-header :focus-visible,
.hero :focus-visible,
.faqs :focus-visible,
.site-footer :focus-visible,
.steps :focus-visible,
.areas :focus-visible,
.callbar :focus-visible {
  outline-color: var(--paper);
}

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

.skip-link:focus {
  position: fixed;
  left: var(--space-16);
  top: var(--space-8);
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--space-12) var(--space-16);
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.vg-placeholder {
  background: #ffe600;
  color: #111;
  outline: 2px solid #111;
  padding: 0 0.3em;
  border-radius: 2px;
  font-weight: 600;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.pitch {
  display: block;
  width: 48px;
  height: 16px;
  margin: 0 0 var(--space-12);
  background: var(--pitch) left center / contain no-repeat;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.45;
  max-width: 42rem;
  margin: 0 0 var(--space-24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-12) var(--space-24);
  border: 2px solid transparent;
  background: var(--accent);
  color: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--ghost {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-height: var(--header-h);
  padding: var(--space-12);
  background: var(--brand);
  color: var(--paper);
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: calc(100vw - 120px);
}

.nav-toggle {
  margin-left: auto;
  flex-shrink: 0;
  min-height: 48px;
  min-width: 48px;
  padding: var(--space-8) var(--space-16);
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-panel {
  display: none;
}

.nav-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  position: fixed;
  z-index: 120;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-24) var(--space-16) var(--space-96);
  background: var(--brand);
  overflow: auto;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.menu a {
  display: flex;
  align-items: flex-end;
  min-height: 48px;
  padding: var(--space-8) 0 var(--space-12);
  color: var(--paper);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background-image: var(--pitch);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 0;
}

.menu a[aria-current="true"] {
  background-size: 32px 10px;
}

.nav-panel .btn {
  align-self: flex-start;
}

.header-call {
  display: none;
}

.hero {
  background: var(--brand);
  color: var(--paper);
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--brand);
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 45%;
}

.hero__copy {
  padding: var(--space-32) var(--space-16) var(--space-48);
}

@media (max-width: 899px) {
  .hero__photo {
    width: 100%;
    aspect-ratio: auto;
    height: min(125vw, max(8rem, calc(100svh - var(--header-h) - 48px - 21rem)));
  }

  .hero__copy {
    padding: var(--space-24) var(--space-16) var(--space-24);
  }

  .hero .lead {
    margin-bottom: var(--space-16);
  }

  .hero .trust {
    line-height: 1.3;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin: var(--space-24) 0;
}

.hero__actions .btn {
  width: 100%;
}

.trust {
  margin: 0;
  max-width: none;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 899px) {
  .hero__actions {
    margin: 0 0 var(--space-12);
  }
}

.services {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: var(--space-64) 0 0;
}

.tiles {
  display: grid;
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tile__frame {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--brand);
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile:hover .tile-title,
.tile:focus-visible .tile-title {
  color: var(--accent);
}

.tile-title {
  margin: var(--space-16) 0 var(--space-8);
  font-family: var(--display);
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.tile p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}

.explain {
  margin-top: var(--space-64);
  padding: var(--space-48) 0;
  background: var(--brand);
  color: var(--paper);
}

.explain article {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-32) 0;
  border-top: 1px solid rgba(246, 243, 236, 0.22);
}

.explain article:last-child {
  border-bottom: 1px solid rgba(246, 243, 236, 0.22);
}

.num {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 0.85;
  color: var(--accent);
}

.explain p,
.steps p,
.faqs p {
  max-width: 68ch;
}

.steps {
  position: relative;
  padding: var(--space-48) 0;
  background: var(--brand) url("/images/hero-roof.webp") center 40% / cover no-repeat;
  color: var(--paper);
}

.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 40, 0.88);
}

.steps .wrap {
  position: relative;
}

.steps ol {
  list-style: none;
  margin: var(--space-32) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-24);
}

.steps li {
  max-width: none;
  margin: 0;
  padding-top: var(--space-16);
  border-top: 4px solid var(--accent);
}

.step-num {
  display: block;
  margin-bottom: var(--space-8);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.9;
}

.about {
  padding: var(--space-64) 0 0;
  background: var(--paper);
}

.facts {
  margin: var(--space-32) 0 0;
  padding: var(--space-24) 0 0;
  border-top: 4px solid var(--accent);
}

.facts div + div {
  margin-top: var(--space-24);
}

.facts dt {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.facts dd {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 36ch;
}

.facts a,
.contact-list a,
.site-footer a {
  display: inline-block;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  min-height: 44px;
}

.facts a {
  font-weight: 600;
}

.areas {
  margin-top: var(--space-64);
  padding: var(--space-32) 0;
  background: var(--accent);
  color: var(--paper);
}

.areas h3 {
  margin: 0 0 var(--space-8);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.areas__place {
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 0.95;
}

.our-work {
  padding: var(--space-64) 0;
  background: var(--brand);
  color: var(--paper);
}

.work-gallery {
  margin: var(--space-32) 0 0;
}

.work-gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.work-gallery li {
  margin: 0;
  max-width: none;
}

.work-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.work-gallery figcaption {
  margin: var(--space-24) 0 0;
  max-width: 42rem;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.45;
}

.contact {
  padding: var(--space-64) 0 0;
  background: var(--paper);
}

address {
  font-style: normal;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-12);
  margin: 0 0 var(--space-24);
}

.contact-actions .btn {
  width: 100%;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 var(--space-12);
  max-width: 40ch;
}

.contact-list a:not(.btn) {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.map {
  margin-top: var(--space-32);
}

.map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  background: var(--paper);
}

.map p {
  margin: var(--space-12) 0 0;
}

.faqs {
  margin-top: var(--space-64);
  padding: var(--space-64) 0 var(--space-96);
  background: var(--brand);
  color: var(--paper);
}

.faqs h3 {
  margin-bottom: var(--space-24);
}

.faqs details {
  border-top: 1px solid rgba(246, 243, 236, 0.22);
}

.faqs details:last-of-type {
  border-bottom: 1px solid rgba(246, 243, 236, 0.22);
}

.faqs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 48px;
  padding: var(--space-16) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faqs summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

.faqs details[open] summary::after {
  content: "-";
}

.faqs details p {
  margin: 0 0 var(--space-16);
}

.site-footer {
  padding: var(--space-48) 0;
  background: var(--brand);
  color: var(--paper);
  border-top: 4px solid var(--accent);
}

.footer-logo {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: var(--space-16);
}

.site-footer p {
  margin: 0 0 var(--space-12);
  max-width: 40ch;
}

.site-footer a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.legal {
  margin-top: var(--space-24);
  color: var(--paper);
  font-size: 1rem;
}

.page-main {
  padding: var(--space-48) 0 var(--space-96);
}

.page-main h1 {
  margin-bottom: var(--space-24);
}

.page-main h2 {
  margin-top: var(--space-32);
}

.page-main a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

body.nav-open {
  overflow: hidden;
}

.callbar {
  position: fixed;
  z-index: 130;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(48px + env(safe-area-inset-bottom));
  padding: 0 var(--space-16) env(safe-area-inset-bottom);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.callbar a:focus-visible {
  outline-offset: -4px;
}

@media (min-width: 700px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
  }

  .work-gallery ul {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .steps ol {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-32);
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .wrap {
    width: min(1120px, calc(100% - 64px));
  }

  .site-header {
    gap: var(--space-16);
    padding: var(--space-12) var(--space-32);
  }

  .logo img {
    height: 40px;
    max-width: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel,
  .nav-panel.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
    position: static;
    top: auto;
    padding: 0;
    margin-left: auto;
    background: transparent;
    overflow: visible;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
  }

  .menu a {
    min-height: 44px;
    padding: var(--space-8) var(--space-8) var(--space-12);
    font-family: var(--text);
    font-size: 1rem;
    font-weight: 600;
  }

  .header-call {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 48px;
    padding: var(--space-8) var(--space-16);
    background: var(--accent);
    color: var(--paper);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }

  .hero {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }

  .hero__photo {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: auto;
    min-height: 100%;
    margin-bottom: calc(var(--space-64) * -1);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-96) var(--space-32) var(--space-128) var(--space-32);
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    width: auto;
  }

  .services {
    padding-top: var(--space-96);
  }

  .tiles {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-16);
  }

  .explain {
    margin-top: var(--space-96);
    padding: var(--space-64) 0;
  }

  .explain article {
    grid-template-columns: 128px 1fr;
    gap: var(--space-32);
    align-items: start;
  }

  .steps {
    padding: var(--space-64) 0;
  }

  .about {
    padding-top: var(--space-128);
  }

  .about-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: var(--space-64);
    align-items: start;
  }

  .facts {
    margin-top: var(--space-48);
  }

  .areas {
    margin-top: var(--space-96);
    padding: var(--space-48) 0;
  }

  .our-work {
    padding: var(--space-96) 0;
  }

  .areas__inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-32);
  }

  .areas h3 {
    margin: 0;
  }

  .contact {
    padding-top: var(--space-96);
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .contact-actions .btn {
    width: auto;
  }

  .map {
    margin-top: 0;
  }

  .faqs {
    margin-top: var(--space-96);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: var(--space-32);
    align-items: start;
  }

  body.nav-open {
    overflow: visible;
  }

  .callbar {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .site-header {
    padding: var(--space-12) var(--space-16);
    gap: var(--space-12);
  }

  .logo img {
    height: 36px;
  }

  .nav-panel,
  .nav-panel.is-open {
    gap: var(--space-8);
  }

  .menu {
    gap: 0;
  }

  .menu a {
    padding: var(--space-8) var(--space-8) var(--space-12);
  }

  .header-call,
  .nav-panel .btn {
    padding: var(--space-8) var(--space-12);
  }
}

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: calc((100% - 1120px) / 2) minmax(280px, 460px) 1fr;
  }

  .hero__copy {
    grid-column: 2;
    padding-left: 0;
    padding-right: var(--space-48);
  }

  .hero__photo {
    grid-column: 3;
  }

  .logo img {
    height: 48px;
  }
}

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