@font-face {
  font-family: "HK Grotesk";
  src: url("assets/fonts/HKGrotesk-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("assets/fonts/HKGrotesk-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("assets/fonts/HKGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglo";
  src: url("assets/fonts/Reglo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0f0f10;
  --dark-grey: #3e3e44;
  --mid-grey: #8d8b99;
  --off-white: #f2f2f2;
  --white: #fcfcfc;
  --red: #da1015;
  --font-body: "HK Grotesk", "Segoe UI", sans-serif;
  --font-title: "Reglo", "Arial Narrow", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--off-white);
}

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

a {
  color: var(--dark-grey);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--red);
}

a:hover,
a:focus-visible {
  color: var(--red);
}

a:focus-visible,
.skip-link:focus {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--white);
  color: var(--black);
  font-weight: 500;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.75rem var(--space);
  background: var(--white);
  box-shadow: 0 2px 5px rgb(0 0 0 / 7%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: inherit;
}

.brand img {
  width: 3.15rem;
  height: auto;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(78vh, 40rem);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--space) * 2) var(--space);
  color: var(--white);
  text-align: center;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(15 15 16 / 55%) 0%, rgb(15 15 16 / 72%) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1.65rem;
  left: 50%;
  width: 2px;
  height: 3.3rem;
  background: var(--red);
  transform: translateX(-50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.place {
  margin: 0.75rem 0 0;
  color: var(--off-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: calc(var(--space) * 2.2) var(--space);
}

.section-narrow {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section-wide {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.panel {
  position: relative;
  background: var(--white);
}

.panel::after {
  content: "";
  position: absolute;
  bottom: -0.7rem;
  left: 50%;
  width: 1.4rem;
  height: 1.4rem;
  border: 0.35rem solid var(--red);
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subhead {
  margin: 0 0 1.5rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section p {
  margin: 0 0 1.1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.services li {
  padding: 1.6rem 1.1rem;
  background: var(--white);
  border-top: 3px solid var(--red);
  text-align: center;
}

.services h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.6rem 1.25rem;
  background: var(--white);
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card address {
  font-style: normal;
}

.contact-card p,
.contact-card address p {
  margin: 0;
}

.reach {
  margin-top: 2rem;
  padding: 1.6rem 1.25rem;
  background: var(--white);
  text-align: center;
}

.reach img {
  display: block;
  width: 100%;
  max-height: 14rem;
  margin: 0 0 1.5rem;
  object-fit: cover;
}

.reach-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reach a {
  font-weight: 500;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem var(--space) 2.5rem;
  color: var(--white);
  background: var(--dark-grey);
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--off-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-logo {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--white);
  border-radius: 50%;
}

.footer-logo img {
  width: 2.6rem;
}

.footer-copy h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-copy address {
  font-style: normal;
}

.legal {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mid-grey);
  font-size: 0.9rem;
}

.page-404 {
  min-height: 55vh;
  text-align: center;
}

.page-404 h1 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .services,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-copy {
    text-align: center;
  }
}
