@font-face {
  font-family: "Moderniz";
  src: url("/assets/fonts/Moderniz.otf") format("opentype");
  font-display: swap;
}

:root {
  --paper: #e9e6df;
  --paper-soft: #f3f0e9;
  --ink: #111216;
  --muted: #666a70;
  --night: #0b0c0d;
  --night-muted: #9aa2ab;
  --blue: #286cff;
  --campaign: #35cbd3;
  --line: rgba(17, 18, 22, 0.16);
  --line-light: rgba(241, 240, 235, 0.19);
  --gutter: max(42px, calc((100vw - 1440px) / 2));
  --display: "Moderniz", "Arial Black", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.page-grid {
  width: 100%;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 1000;
  padding: 11px 14px;
  color: var(--paper-soft);
  background: var(--night);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding-inline: var(--gutter);
  color: #fff;
}

.site-header.is-open {
  color: var(--ink);
  background: rgba(233, 230, 223, 0.97);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.bloom {
  width: 27px;
  aspect-ratio: 1802 / 1593;
  background: currentColor;
  mask: url("/assets/images/bloom-silhouette.png") center / contain no-repeat;
  -webkit-mask: url("/assets/images/bloom-silhouette.png") center / contain no-repeat;
}

.site-header nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.site-header nav a,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  padding: 0;
  justify-content: flex-end;
  background: transparent;
  border: 0;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #063f55;
}

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

.hero-media {
  object-fit: cover;
  object-position: center;
  animation: hero-reveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 12, 18, 0.38), transparent 27%),
    linear-gradient(0deg, rgba(5, 12, 18, 0.58), transparent 43%);
}

.hero-composition {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 70px;
  align-items: end;
  height: 100%;
  padding-top: 150px;
  padding-bottom: 62px;
}

.hero-identity p,
.hero-release > span:first-child {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-identity p {
  margin-bottom: 19px;
}

.hero-identity h1 {
  font-family: var(--display);
  font-size: clamp(58px, 7.2vw, 104px);
  font-weight: 400;
  line-height: 0.89;
  text-transform: uppercase;
}

[id] {
  scroll-margin-top: 104px;
}

.hero-release {
  display: grid;
  gap: 9px;
  align-self: end;
  justify-self: end;
  width: min(100%, 340px);
  min-height: 92px;
  padding: 2px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-release strong {
  font-size: 18px;
  line-height: 1.3;
}

.hero-release .underlined {
  width: max-content;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 44px;
  align-items: center;
  min-height: 120px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
  font-size: 12px;
}

.footer-brand .bloom {
  width: 22px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.footer-contact:hover,
.footer-contact:focus-visible {
  opacity: 0.62;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer small {
  font-size: 10px;
}

@keyframes hero-reveal {
  from {
    opacity: 0.72;
    transform: scale(1.012);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1050px) {
  :root {
    --gutter: 32px;
  }

  .hero-composition {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

}

@media (max-width: 960px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
    font-size: 13px;
  }

  .bloom {
    width: 24px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 20px;
    color: var(--ink);
    background: var(--paper);
  }

  .site-header.is-open nav {
    display: flex;
  }

  .site-header nav a {
    min-height: 58px;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 680px;
    height: 100svh;
  }

  .hero-media {
    object-position: 54% center;
  }

  .hero-composition {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 124px;
    padding-bottom: 34px;
  }

  .hero-identity {
    align-self: end;
  }

  .hero-identity h1 {
    font-size: 42px;
  }

  .hero-release {
    justify-self: stretch;
    width: 100%;
    min-height: 0;
    padding-bottom: 14px;
  }

  .hero-release strong {
    font-size: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 12px 20px;
    min-height: 190px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 2px 22px;
  }

  .site-footer small {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (min-width: 600px) and (max-width: 960px) {
  .hero-identity h1 {
    font-size: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
