:root {
  --paper: #f2efe8;
  --paper-deep: #e4dfd4;
  --ink: #1d211f;
  --muted: #646a65;
  --line: #c9c4b8;
  --accent: #bc3f24;
  --accent-hover: #96301b;
  --forest: #31483c;
  --white: #fff;
  --header-height: 76px;
  --page-gutter: clamp(20px, 5vw, 72px);
  --content-width: 1440px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", Georgia, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #f3ad35;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--page-gutter);
  color: var(--white);
  background: rgb(29 33 31 / 28%);
  border-bottom: 1px solid rgb(255 255 255 / 30%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-link,
.text-link {
  font-weight: 600;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: var(--white);
  background: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button-small {
  min-height: 46px;
  padding: 9px 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, 82svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(13 18 15 / 88%) 0%, rgb(13 18 15 / 58%) 42%, rgb(13 18 15 / 8%) 75%),
    linear-gradient(0deg, rgb(13 18 15 / 42%) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: calc(var(--header-height) + 70px) var(--page-gutter) 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5a38f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.94;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 6.8rem;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 32px;
  color: rgb(255 255 255 / 88%);
  font-size: 1.16rem;
}

.text-link {
  color: var(--white);
}

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 112px var(--page-gutter);
}

.services {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
  gap: 9vw;
}

.section-heading {
  max-width: 680px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 52px minmax(150px, 0.7fr) 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3,
.service-list p {
  margin-bottom: 0;
}

.service-number {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

.service-list p,
.work-intro {
  color: var(--muted);
}

.work {
  max-width: none;
  color: var(--white);
  background: var(--ink);
}

.work-heading,
.filters,
.gallery {
  width: min(100%, calc(var(--content-width) - 2 * var(--page-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.work .eyebrow {
  color: #e87c63;
}

.work-intro {
  max-width: 420px;
  margin-bottom: 8px;
  color: #b9bfba;
}

.filters {
  display: flex;
  gap: 8px;
  margin-top: 58px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding: 4px;
}

.filter {
  min-height: 44px;
  padding: 8px 18px;
  color: #cdd1ce;
  border: 1px solid #555b57;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.filter:hover,
.filter.is-active {
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.gallery {
  column-count: 3;
  column-gap: 16px;
}

.project {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  color: var(--white);
  background: #303531;
}

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

.gallery-status,
.noscript {
  column-span: all;
  padding: 28px 0;
  color: #b9bfba;
}

.contact {
  background:
    linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}

.contact h2 {
  font-size: 5.4rem;
  text-transform: uppercase;
}

.contact-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.contact-details p {
  max-width: 480px;
  color: var(--muted);
}

.contact-link {
  max-width: 100%;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--page-gutter);
  color: #cdd1ce;
  background: var(--forest);
  font-size: 0.92rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  min-height: 44px;
  align-content: center;
  text-underline-offset: 5px;
}

@media (max-width: 1050px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery {
    column-count: 2;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgb(10 15 12 / 88%) 0%, rgb(10 15 12 / 32%) 70%, rgb(10 15 12 / 40%) 100%);
  }

  .hero-content {
    padding-bottom: 46px;
  }

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 3rem;
  }

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

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .service-list article {
    grid-template-columns: 40px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .work-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .filters {
    margin-top: 40px;
  }

  .gallery {
    column-count: 1;
  }

  .contact {
    background: var(--paper);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact h2 {
    font-size: 3.8rem;
  }

  .contact-link {
    font-size: 1.38rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

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

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