@font-face {
  font-family: "D-DIN";
  src: url("assets/fonts/D-DIN.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

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

:root {
  color-scheme: dark;
  --black: #050708;
  --ice: #eef5f2;
  --muted: rgba(238, 245, 242, 0.88);
  --faint: rgba(238, 245, 242, 0.16);
  --foam: #d2d6d4;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--ice);
  font-family: "D-DIN", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
}

.site-frame {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  color: var(--ice);
}

.site-frame::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(238, 245, 242, 0.72);
  content: "";
}

.page-scroll {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scrollbar-width: none;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

.page-section {
  position: relative;
  display: grid;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 92px clamp(20px, 5vw, 76px) clamp(58px, 7vw, 92px);
  isolation: isolate;
}

.section-photo,
.section-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.section-photo {
  width: 100%;
  height: 100%;
  filter: grayscale(0.42) brightness(0.5) contrast(1.1);
  object-fit: cover;
}

.section-video {
  display: block;
}

.section-shade {
  z-index: -1;
  display: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(238, 245, 242, 0.72);
  border-bottom: 1px solid rgba(238, 245, 242, 0.72);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.78));
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.is-scrolling .scroll-cue {
  opacity: 0;
}

.scroll-cue-down {
  bottom: 34px;
  transform: translateX(-50%) rotate(45deg);
}

.scroll-cue-up {
  top: 34px;
  transform: translateX(-50%) rotate(225deg);
}

.hero-section {
  place-items: center;
}

.hero-section .section-photo {
  object-position: center 64%;
  filter: grayscale(0.12) brightness(0.78) contrast(1.05);
  transform: scale(1.13);
}

.hero-section .section-shade {
  display: none;
}

.hero-content {
  display: grid;
  gap: 22px;
  text-align: center;
}

.brand-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
  white-space: nowrap;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 7.4vw, 7.8rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 0.86;
  text-transform: uppercase;
}

.mountain-a {
  position: relative;
  display: inline-block;
  color: transparent;
}

.mountain-a::before,
.mountain-a::after {
  position: absolute;
  inset: 0;
  color: var(--ice);
  content: "A";
}

.mountain-a::before {
  clip-path: polygon(0 100%, 46% 0, 54% 0, 34% 100%);
}

.mountain-a::after {
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 66% 100%);
}

.hero-content p {
  margin: 0;
  color: var(--ice);
  font-size: clamp(1.08rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.section-content {
  display: grid;
  width: min(920px, 100%);
  gap: 30px;
  align-self: center;
}

.section-content-left {
  justify-self: start;
}

.section-content-right {
  justify-self: end;
}

.section-content h2 {
  margin: 0;
  font-size: clamp(2.05rem, 6.25svh, 4.85rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.62);
  text-transform: uppercase;
}

.headline-line {
  display: block;
}

.section-copy {
  width: min(750px, 100%);
  margin: 0;
  color: var(--ice);
  font-size: clamp(1.05rem, 1.32vw, 1.24rem);
  font-weight: 400;
  line-height: 1.48;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.78);
  text-wrap: pretty;
}

.mission-section .section-copy {
  width: min(750px, 100%);
}

.section-copy + .section-copy {
  margin-top: -14px;
}

.mission-section .section-content,
.approach-section .section-content {
  width: min(1160px, 100%);
}

.mission-section .section-photo {
  object-position: center;
  filter: grayscale(0.12) brightness(0.78) contrast(1.05);
  transform: scale(1.08);
}

.approach-section .section-photo {
  object-position: center 56%;
  filter: grayscale(0.16) brightness(0.68) contrast(1.08);
  transform: scale(1.05);
}

@media (max-width: 920px) {
  .section-content,
  .section-content-right {
    justify-self: start;
  }
}

@media (max-height: 760px) {
  .page-section {
    padding-top: 78px;
    padding-bottom: 44px;
  }

  .section-content {
    gap: 18px;
  }

  .section-content h2 {
    font-size: clamp(2rem, 6.2svh, 4.35rem);
  }

}

@media (max-height: 620px) {
  .page-section {
    padding-top: 68px;
    padding-bottom: 32px;
  }

  .section-content h2 {
    font-size: clamp(1.75rem, 5.7svh, 3.35rem);
  }

}

@media (max-width: 620px) {
  .site-frame::before {
    inset: 12px;
  }

  .scroll-cue {
    width: 13px;
    height: 13px;
    border-color: rgba(238, 245, 242, 0.72);
  }

  .scroll-cue-down {
    bottom: 24px;
  }

  .scroll-cue-up {
    top: 24px;
  }

  .page-section {
    padding: 88px 24px 58px;
  }

  .hero-section .section-photo {
    object-position: 34% center;
    transform: scale(1.04);
  }

  .mission-section .section-photo {
    object-position: 56% center;
    transform: scale(1.03);
  }

  .approach-section .section-photo {
    object-position: 72% center;
    transform: scale(1.02);
  }

  .section-content {
    gap: 18px;
  }

  .section-content h2 {
    font-size: clamp(2rem, 5.8svh, 3.35rem);
  }

  .section-copy {
    width: min(28rem, 100%);
    font-size: clamp(1.14rem, 4.35vw, 1.28rem);
    line-height: 1.38;
  }

  .hero-content {
    gap: 18px;
  }

  .hero-content p {
    font-size: clamp(1.18rem, 5vw, 1.72rem);
  }

}

@media (max-width: 620px) and (max-height: 700px) {
  .page-section {
    padding: 76px 24px 42px;
  }

  .section-content {
    gap: 14px;
  }

  .section-content h2 {
    font-size: clamp(1.7rem, 5.25svh, 2.6rem);
  }

  .section-copy {
    font-size: clamp(1.1rem, 3.7vw, 1.18rem);
    line-height: 1.32;
  }

  .section-copy + .section-copy {
    margin-top: -6px;
  }

}

.mission-section,
.approach-section {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
