@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/roboto-condensed-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/roboto-condensed-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1d232c;
  --muted: #6c7480;
  --line: #d7dbe1;
  --line-strong: #c4c9d1;
  --accent-text: #99a991;
  --accent-fill: #c4d4bc;
  --accent-hover: #b9c9b1;
  --band-gray: #888d95;
  --shell: 1120px;
  --narrow: 780px;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-heading: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

.site-shell {
  width: min(calc(100% - 36px), var(--shell));
  margin: 0 auto;
}

.site-header {
  background: #fff;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 150px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 88px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-discipline {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-solid {
  color: var(--ink);
  background: var(--accent-fill);
}

.button-solid:hover,
.button-solid:focus-visible {
  background: var(--accent-hover);
}

.button-outline {
  color: var(--accent-text);
  background: #fff;
  border-color: var(--line-strong);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--accent-text);
}

.button-block {
  width: 100%;
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero-image {
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 26, 37, 0.58) 0%, rgba(20, 26, 37, 0.2) 46%, rgba(20, 26, 37, 0.04) 100%);
}

.home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 72px;
  color: #fff;
}

.hero-title {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.94;
}

.hero-subtitle {
  max-width: 34ch;
  margin: 12px 0 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.statement-band {
  color: var(--ink);
}

.statement-band-primary {
  background: var(--accent-fill);
}

.statement-band-secondary {
  background: var(--band-gray);
}

.statement-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 46px;
}

.statement-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  text-align: right;
}

.statement-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.page-section {
  padding: 34px 0 0;
}

.page-section-last {
  padding-bottom: 30px;
}

.page-title-band {
  margin-bottom: 26px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-title-band h1,
.page-title-band h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 700;
  line-height: 0.96;
}

.narrow-copy {
  width: min(100%, var(--narrow));
  margin: 0 auto;
  text-align: center;
}

.narrow-copy h2,
.contact-copy h2,
.plain-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 0.98;
}

.narrow-copy p,
.plain-copy p,
.contact-copy p,
.record-block p,
.focus-block p,
.service-column li,
.project-intro p,
.project-type-list li {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.45;
}

.narrow-copy p,
.plain-copy p,
.contact-copy p,
.project-intro p {
  margin: 14px 0 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: start;
}

.two-column figure,
.gallery-figure,
.service-column figure {
  margin: 0;
}

.two-column img,
.service-column img,
.image-grid img,
.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-column img,
.gallery-figure img {
  aspect-ratio: 4 / 3;
}

.plain-copy {
  max-width: 100%;
}

.focus-grid,
.record-grid,
.simple-columns,
.services-columns,
.project-type-list {
  display: grid;
  gap: 20px;
}

.simple-columns.three-up,
.record-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-columns.four-up,
.focus-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.focus-block,
.record-block {
  padding: 0;
}

.record-entry-list {
  display: grid;
  gap: 28px;
}

.record-entry {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.record-entry-reverse {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.record-entry-reverse .record-entry-media {
  order: 2;
}

.record-entry-media {
  margin: 0;
  border: 1px solid var(--line);
  background: #f7f8f2;
  overflow: hidden;
}

.record-entry-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.record-entry-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.98;
}

.focus-block h3,
.record-block h3,
.service-column h3,
.section-subtitle {
  margin: 0 0 12px;
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.record-block h3,
.focus-block h3 {
  font-size: 1.45rem;
}

.record-entry-copy p {
  margin: 0;
}

.record-entry-copy p + p {
  margin-top: 10px;
}

.record-entry-copy .section-note {
  margin-bottom: 8px;
}

.services-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.service-column h3 {
  min-height: 54px;
  text-align: center;
}

.service-column img {
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
}

.service-column ul,
.project-type-list ul {
  margin: 0;
  padding-left: 18px;
}

.service-column li {
  margin-bottom: 4px;
}

.section-note {
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.image-grid {
  display: grid;
  gap: 12px;
}

.image-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-grid img {
  aspect-ratio: 4 / 3;
}

.project-intro {
  width: min(100%, 980px);
}

.project-group + .project-group {
  margin-top: 34px;
}

.project-group h2 {
  margin: 0 0 10px;
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
}

.project-group p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.4;
}

.project-grid {
  display: grid;
  gap: 12px;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-grid.commercial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid.residential-grid,
.project-grid.fire-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.centered-action {
  margin-top: 22px;
  text-align: center;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  padding: 20px;
}

.contact-line {
  display: block;
  font-size: 1.06rem;
  line-height: 1.45;
}

.contact-line + .contact-line,
.contact-line + p,
.contact-card .button {
  margin-top: 10px;
}

.site-footer {
  margin-top: 42px;
  background: var(--accent-fill);
  color: var(--ink);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: 24px 0 20px;
  align-items: start;
}

.footer-brand {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.footer-copy p,
.footer-contact p {
  margin: 0;
  line-height: 1.45;
}

.footer-contact {
  text-align: left;
}

.footer-contact strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-contact a {
  color: var(--ink);
}

.footer-bottom {
  padding: 0 0 20px;
  color: rgba(29, 35, 44, 0.86);
  font-size: 0.95rem;
}

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

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

@media (max-width: 1080px) {
  .services-columns,
  .simple-columns.four-up,
  .focus-grid,
  .project-grid.residential-grid,
  .project-grid.fire-grid,
  .image-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-shell,
  .two-column,
  .contact-cta,
  .simple-columns.three-up,
  .record-grid,
  .record-entry,
  .record-entry-reverse {
    grid-template-columns: 1fr;
  }

  .header-shell {
    gap: 18px;
    min-height: auto;
    padding: 22px 0 18px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 16px 20px;
  }

  .brand-logo {
    height: 76px;
  }

  .statement-shell {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .statement-label {
    text-align: left;
  }

  .home-hero-content {
    padding-bottom: 38px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 64px;
  }

  .brand-name {
    font-size: 1.58rem;
  }

  .brand-discipline {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .site-nav {
    gap: 12px 14px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .services-columns,
  .simple-columns.four-up,
  .focus-grid,
  .project-grid.commercial-grid,
  .project-grid.residential-grid,
  .project-grid.fire-grid,
  .image-grid-home {
    grid-template-columns: 1fr;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
