@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #20211f;
  --paper: #f2efe7;
  --white: #fffdf7;
  --orange: #e85e21;
  --orange-text: #a83b0c;
  --line: #bab5aa;
  --muted: #5e605b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.58 "DM Sans", sans-serif;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  background: var(--white);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: min(1320px, calc(100% - 48px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand span {
  font: 700 31px/0.8 "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
}

nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.header-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  padding: 12px 17px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--ink);
  color: #fff;
}

.hero-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(58px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  font-size: clamp(62px, 7vw, 108px);
}

h2 {
  font-size: clamp(48px, 5.2vw, 74px);
}

h3 {
  font-size: clamp(28px, 3vw, 39px);
}

.hero-intro {
  max-width: 520px;
  margin: 29px 0;
  color: #d5d3cc;
  font-size: 18px;
}

.button {
  gap: 24px;
}

.button span {
  font-size: 21px;
  line-height: 1;
}

.hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgb(32 33 31 / 88%);
  padding: 8px 11px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.services {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  padding-block: 105px;
}

.service-list {
  border-top: 2px solid var(--ink);
}

.services .eyebrow,
.site-ledger .eyebrow,
.about .eyebrow {
  color: var(--orange-text);
}

.service-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-list .number {
  color: var(--orange);
  font: 700 24px/1 "Barlow Condensed", sans-serif;
}

.service-list p {
  max-width: 580px;
  margin: 9px 0 0;
  color: var(--muted);
}

.approach {
  padding: 94px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  background: var(--ink);
  color: #fff;
}

.approach-copy > p:last-child {
  max-width: 530px;
  color: #d0cec7;
  font-size: 18px;
}

.approach ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #666760;
}

.approach li {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  border-bottom: 1px solid #666760;
}

.approach b {
  color: var(--orange);
  font: 700 25px/1 "Barlow Condensed", sans-serif;
}

.site-ledger {
  padding-block: 105px;
}

.ledger-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.photo-grid figure {
  grid-column: span 4;
  margin: 0;
}

.photo-grid .photo-wide {
  grid-column: span 8;
}

.photo-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: #d8d4ca;
}

.photo-grid .photo-tall img {
  object-position: center 47%;
}

.photo-grid figcaption {
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.about-copy {
  max-width: 620px;
  font-size: 18px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.about ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}

.about li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.contact {
  padding: 92px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  background: var(--orange);
  color: #fff;
}

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

.contact-actions {
  border-top: 2px solid #fff;
}

.contact-actions a {
  min-height: 95px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgb(255 255 255 / 60%);
}

.contact-actions small {
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-actions span {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2.5vw, 29px);
  font-weight: 800;
}

footer {
  width: min(1320px, calc(100% - 48px));
  min-height: 105px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}

footer p {
  margin-left: auto;
}

footer > a:last-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px max(24px, 8vw);
  }

  .hero-image {
    height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 36px);
    min-height: 0;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand span {
    font-size: 26px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-action {
    margin-left: auto;
    padding: 10px 12px;
    font-size: 11px;
  }

  .hero,
  .services,
  .approach,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 60px 24px;
  }

  h1 {
    font-size: clamp(41px, 13.2vw, 64px);
  }

  .hero-image {
    height: 330px;
  }

  .hero-image img {
    object-position: 54% 58%;
  }

  .section-shell {
    width: calc(100% - 40px);
  }

  .services,
  .site-ledger {
    padding-block: 72px;
  }

  .services,
  .approach,
  .about,
  .contact {
    gap: 38px;
  }

  .approach,
  .contact {
    padding: 70px 20px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .photo-grid figure,
  .photo-grid .photo-wide {
    grid-column: span 1;
  }

  .photo-grid .photo-wide:last-child {
    grid-column: 1 / -1;
  }

  .photo-grid img {
    height: 245px;
  }

  .photo-grid .photo-wide:last-child img {
    height: 265px;
  }

  .about {
    padding: 70px 0;
  }

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

  footer {
    width: calc(100% - 40px);
    padding: 25px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  footer p {
    width: 100%;
    margin: 0;
    order: 3;
  }
}

@media (max-width: 390px) {
  .header-action {
    max-width: 150px;
    text-align: center;
  }

  nav {
    font-size: 12px;
  }

  .contact-actions span {
    font-size: 17px;
  }
}

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