:root {
  color-scheme: light;
  --ink: #142124;
  --muted: #5c6b6f;
  --line: #d9e0e1;
  --paper: #ffffff;
  --soft: #f3f6f6;
  --teal: #438c9a;
  --teal-dark: #102f35;
  --amber: #efb64f;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 32px;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 24px;
  color: #ffffff;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1.05;
}

.brand-name {
  font-size: 23px;
  font-weight: 750;
}

.brand-detail {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a,
.footer-links a,
.text-link {
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--amber);
}

.login-link {
  justify-self: end;
  min-width: 128px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.login-link:hover,
.login-link:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: min(820px, 82svh);
  overflow: hidden;
  background: #253438;
  color: #ffffff;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 23, 26, 0.84) 0%, rgba(10, 23, 26, 0.56) 43%, rgba(10, 23, 26, 0.08) 76%),
    linear-gradient(180deg, rgba(10, 23, 26, 0.42) 0%, transparent 28%, rgba(10, 23, 26, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--shell);
  min-height: min(820px, 82svh);
  margin-inline: auto;
  padding: 150px 0 86px;
}

.hero-location {
  margin: 0 0 18px;
  color: #d9e9ec;
  font-size: 14px;
  font-weight: 650;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 680;
  line-height: 1.04;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: #edf4f5;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button-primary {
  background: var(--amber);
  color: #1c2426;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffca68;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.intro-band {
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 64px;
}

.section-label {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.intro-copy {
  max-width: 780px;
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
}

.products,
.about {
  padding-block: 96px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

h2 {
  margin: 9px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 650;
  line-height: 1.12;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--teal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 24px;
}

.product-item-wide {
  grid-column: 1 / -1;
}

.product-item img {
  width: 100%;
  height: 420px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--soft);
}

.product-item-wide img {
  height: 460px;
}

.product-copy {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.product-copy h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
}

.services {
  padding-block: 96px;
  scroll-margin-top: 24px;
  background: var(--teal-dark);
  color: #ffffff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 76px;
}

.section-label-light {
  color: #8ed0dc;
}

.services-copy > p:not(.section-label) {
  margin: 26px 0 0;
  color: #d5e3e5;
  font-size: 18px;
}

.service-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.service-list li {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 650;
}

.installation-media {
  margin: 0;
}

.installation-media img {
  width: 100%;
  height: 560px;
  border-radius: 4px;
  object-fit: cover;
}

.installation-media figcaption {
  margin-top: 12px;
  color: #b8ced2;
  font-size: 13px;
}

.about {
  scroll-margin-top: 24px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.about-copy {
  padding-top: 34px;
}

.about-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.contact {
  padding-block: 70px;
  scroll-margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #dcebed;
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal);
}

.contact-phone {
  font-size: 18px;
  font-weight: 750;
}

.site-footer {
  padding-block: 34px;
  background: #0c171a;
  color: #ffffff;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer strong {
  font-size: 15px;
}

.site-footer p {
  margin: 5px 0 0;
  color: #9eb1b5;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: #d6e1e3;
  font-size: 13px;
  font-weight: 650;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: min(760px, 80svh);
  }

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

  .intro-layout,
  .services-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout,
  .about-layout {
    gap: 28px;
  }

  .services-layout {
    gap: 46px;
  }

  .about-copy {
    padding-top: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    gap: 14px;
    padding-block: 18px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-detail {
    font-size: 9px;
  }

  .login-link {
    min-width: 108px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    padding: 120px 0 58px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 23, 26, 0.86) 0%, rgba(10, 23, 26, 0.48) 82%),
      linear-gradient(180deg, rgba(10, 23, 26, 0.44) 0%, transparent 24%, rgba(10, 23, 26, 0.32) 100%);
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-band {
    padding-block: 34px;
  }

  .intro-copy {
    font-size: 18px;
  }

  .products,
  .about,
  .services {
    padding-block: 68px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-item-wide {
    grid-column: auto;
  }

  .product-item img {
    height: 300px;
  }

  .product-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .installation-media img {
    height: 340px;
  }

  .contact {
    padding-block: 54px;
  }

  .contact-actions,
  .footer-layout,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
  }

  .footer-layout {
    gap: 24px;
  }

  .footer-links {
    gap: 10px;
  }
}

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

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