@font-face {
  font-family: "Akkurat";
  src: url("assets/fonts/akkurat-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akkurat";
  src: url("assets/fonts/akkurat-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akkurat Mono";
  src: url("assets/fonts/akkurat-mono.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: #fff;
  font-family: "Akkurat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  background: #2a2a2a;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a:focus-visible {
  color: #aa0001;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 36px 7vw 28px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.08) 24%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.62) 78%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    url("assets/hero.jpg") center 42% / cover no-repeat;
}

.header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.logo {
  width: 118px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.company {
  margin: 10px 0 0;
  max-width: 16rem;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.main {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 28px;
}

.lead {
  position: relative;
  margin: 0 0 0 0.7em;
  max-width: 12em;
  font-family: "Akkurat Mono", "Akkurat", monospace;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.35;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.lead::before {
  content: "\201D";
  position: absolute;
  right: calc(100% + 0.15em);
  top: 0.08em;
  font-size: 1.8em;
  line-height: 0.7;
}

.contact h1,
.offices h2 {
  margin: 0 0 10px;
  font-family: "Akkurat Mono", "Akkurat", monospace;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact h1 {
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  max-width: 9rem;
}

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 18px 64px;
}

address {
  font-style: normal;
}

address p,
.jobs,
.credit {
  margin: 0 0 10px;
}

.jobs {
  margin: 18px 0 0;
  font-weight: 300;
}

.page--document {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.84) 100%),
    url("assets/hero.jpg") center 42% / cover no-repeat;
}

.page--document .main {
  display: block;
  padding: 40px 0 8px;
}

.legal {
  max-width: 42rem;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

.legal h1 {
  margin: 0 0 28px;
  font-family: "Akkurat Mono", "Akkurat", monospace;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal h2,
.legal h3 {
  margin: 32px 0 10px;
  font-family: "Akkurat Mono", "Akkurat", monospace;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal h3 {
  margin-top: 22px;
  font-family: "Akkurat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.legal p {
  margin: 0 0 12px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 16px;
}

.credit {
  margin: 0;
  max-width: 36rem;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .page {
    padding: 24px 22px 22px;
    background-position: 62% center;
  }

  .header {
    flex-direction: column;
    gap: 16px;
  }

  .logo {
    width: 92px;
  }

  .company {
    margin: 0;
  }

  .main {
    padding: 56px 0 32px;
  }

  .lead {
    margin-left: 1.15em;
    font-size: 26px;
  }

  .offices {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
