@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --brand-color: #0060a7;
  --footer-color: #004f8a;
  color: #182220;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
  background: #fafbf9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 1.2em;
  height: 1.2em;
}

.reconstruction-notice {
  padding: 11px 24px;
  color: #2d2100;
  background: #ffd84d;
  letter-spacing: 0.3px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.site-header,
.about,
.contact,
.location,
footer {
  width: min(1240px, 100% - 64px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 40px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
}

.site-header nav > a {
  position: relative;
  color: #59625f;
}

.site-header nav > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #182220;
  transition: width 0.2s ease;
}

.site-header nav > a:hover::after,
.site-header nav > a:focus-visible::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .site-header nav > a::after {
    transition: none;
  }
}

.hero {
  position: relative;
  width: min(1360px, 100% - 32px);
  height: min(690px, 100vh - 124px);
  min-height: 580px;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  border-radius: 5px;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #051c1bb8 0%, #051c1b66 42%, #051c1b0d 72%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: clamp(40px, 8vw, 116px);
  width: min(620px, 100% - 64px);
  transform: translateY(-48%);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: #9fcfca;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}

.company-name {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 600;
}

h1 {
  margin: 0;
  letter-spacing: -4px;
  font-size: clamp(50px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.06;
}

.hero-copy {
  max-width: 525px;
  margin: 27px 0 0;
  color: #ffffffc7;
  font-size: 17px;
  line-height: 1.7;
}

.photo-credit {
  position: absolute;
  right: 18px;
  bottom: 12px;
  margin: 0;
  color: #ffffff85;
  font-size: 7px;
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  padding: 124px 0;
  border-bottom: 1px solid #e2e7e4;
}

.section-label {
  color: var(--brand-color);
}

.about h2,
.contact h2,
.location h2 {
  margin: 0;
  letter-spacing: -2px;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.15;
}

.about > div > p {
  max-width: 670px;
  margin: 25px 0 0;
  color: #68716e;
  font-size: 18px;
  line-height: 1.8;
}

.contact {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  padding: 116px 0;
}

.contact-heading > p:last-child {
  max-width: 340px;
  margin: 24px 0 0;
  color: #747d79;
  font-size: 14px;
  line-height: 1.7;
}

.contact-list {
  border-top: 1px solid #dfe5e2;
}

.contact-list > a,
.contact-list > .contact-item {
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  border-bottom: 1px solid #dfe5e2;
  transition: color 0.2s, padding 0.2s;
}

.contact-list > a:hover,
.contact-list > a:focus-visible {
  padding-left: 6px;
  color: var(--brand-color);
}

.contact-list .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--brand-color);
  border: 1px solid #d8e1de;
  border-radius: 50%;
}

.contact-list .icon svg {
  width: 17px;
  height: 17px;
}

.contact-list > a > svg,
.contact-list > .contact-item > svg {
  color: #98a19e;
}

.contact-list a span:nth-child(2),
.contact-list .contact-item span:nth-child(2) {
  font-size: 14px;
  font-weight: 600;
}

.contact-list small {
  display: block;
  margin-bottom: 4px;
  color: #8b9490;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
}

.location {
  padding: 20px 0 120px;
}

.location-copy {
  padding-top: 52px;
}

.location-copy > p:not(.section-label) {
  max-width: 350px;
  margin: 24px 0 30px;
  color: #69736f;
  font-size: 14px;
  line-height: 1.8;
}

footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 180px;
  padding: 48px 0;
  color: #fff;
  background: var(--footer-color);
}

footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--footer-color);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #ffffffb8;
  font-size: 12px;
}

footer > p {
  margin: 0;
  color: #ffffff7a;
  text-align: right;
  font-size: 10px;
}

@media (max-width: 760px) {
  .reconstruction-notice {
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.4;
  }

  .site-header,
  .about,
  .contact,
  .location,
  footer {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 76px;
  }

  .site-header nav > a {
    display: none;
  }

  .hero {
    width: calc(100% - 16px);
    height: 680px;
    min-height: 0;
  }

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

  .hero-shade {
    background: linear-gradient(0deg, #051c1bc7, #051c1b14 80%);
  }

  .hero-content {
    top: auto;
    bottom: 54px;
    left: 28px;
    width: calc(100% - 56px);
    transform: none;
  }

  .company-name {
    margin-bottom: 15px;
  }

  h1 {
    letter-spacing: -3px;
    font-size: 47px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .about,
  .contact,
  .location {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 0;
  }

  .about > div > p {
    font-size: 16px;
  }

  .contact {
    gap: 50px;
  }

  .location,
  .location-copy {
    padding-top: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    min-height: 270px;
    padding: 45px 20px;
  }

  footer::before {
    display: none;
  }

  footer > p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .photo-credit {
    display: none;
  }

  .contact-list > a,
  .contact-list > .contact-item {
    grid-template-columns: 44px 1fr 18px;
    gap: 12px;
  }
}
