/* First-paint CSS for the Immersive homepage hero and navigation only. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/designs/assets/manrope.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #111;
  --muted: #666;
  --line: #ddd;
  --accent: #bdc9d7;
  --gutter: clamp(24px, 4.2vw, 72px);
}

* {
  box-sizing: border-box;
}

html.immersive-page {
  background: #000;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
  font: inherit;
}

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

svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button svg,
a svg {
  flex: 0 0 auto;
}

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

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.055em;
}

.skip {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: #fff;
  color: #111;
}

.skip:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 52px;
  padding: 15px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 3px;
}

.masthead {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  padding: 24px var(--gutter);
  color: #fff;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  font-size: 30px;
  letter-spacing: -2px;
  font-weight: 700;
  line-height: 1;
}

.brand-dot {
  color: #bdc9d7;
}

.nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: 25px;
}

.nav-links a {
  padding: 11px 15px;
  border-radius: 3px;
  font-size: 12px;
  background: #ffffff12;
}

.nav-cta {
  margin-left: auto;
  min-height: 42px;
  padding: 11px 15px;
  background: #ffffff18;
  border-color: #ffffff23;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: #ffffff18;
  color: #fff;
  border: 1px solid #ffffff23;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100svh;
  height: 100dvh;
  color: #fff;
  background: #111;
}

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

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 46%);
  -webkit-mask-image: radial-gradient(
    ellipse 54% 43% at 50% 47%,
    #000 25%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 54% 43% at 50% 47%,
    #000 25%,
    transparent 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0006 0%, #0005 24%, #0004 53%, #000e 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px var(--gutter) 150px;
}

.hero h1 {
  font-size: clamp(38px, 5.35vw, 80px);
  line-height: 1.04;
  font-weight: 400;
  max-width: 1000px;
}

.hero h1 span {
  display: block;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.hero-content > .eyebrow {
  margin-bottom: 24px;
  color: #ddd;
}

.hero-description {
  max-width: 560px;
  margin-top: 28px;
  font-size: 15px;
  color: #e5e5e5;
  text-wrap: balance;
}

@media (max-width: 1100px) {
  .navigation {
    gap: 20px;
  }
  .nav-links {
    margin-left: 0;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: 25px;
  }
  .masthead {
    padding-block: 22px;
  }
  .brand {
    font-size: 28px;
  }
  .nav-cta {
    font-size: 11px;
    min-width: 0;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 22px;
  }
  .navigation {
    flex-wrap: wrap;
    gap: 15px;
  }
  .nav-cta {
    margin-left: auto;
    min-height: 36px;
    padding: 8px 14px;
    font-size: 11px;
    gap: 18px;
  }
  .menu-toggle {
    display: block;
    order: 3;
    height: 37px;
    font-size: 10px;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 4;
    width: 100%;
    padding: 15px;
    gap: 5px;
    margin: 0;
    background: rgb(17 19 17 / 55%);
    border: 1px solid #ffffff23;
    border-radius: 3px;
  }
  .js .nav-links:not(.open) {
    display: none;
  }
  .nav-links a {
    padding: 12px;
    font-size: 14px;
    color: #fff;
  }
  .hero-content {
    padding: 100px var(--gutter) 85px;
  }
  .hero h1 {
    font-size: clamp(31px, 8.8vw, 44px);
    letter-spacing: -0.06em;
  }
}

@media (max-height: 700px) {
  .hero-content {
    padding-top: 85px;
    padding-bottom: 65px;
  }
  .hero-content > .eyebrow {
    margin-bottom: 14px;
  }
  .hero-description {
    margin-top: 16px;
    font-size: 13px;
  }
}

@media (max-height: 450px) {
  .masthead {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .hero-content {
    padding-top: 74px;
    padding-bottom: 38px;
  }
  .hero h1 {
    font-size: clamp(24px, 6.6dvh, 30px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: hero-settle 60s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.16);
  }
  to {
    transform: scale(1);
  }
}
