@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

.fnb_wrap {
  --fnb-margin: 40px;
  --fnb-bar-h: 82px;
  --fnb-fg: rgba(255, 250, 242, 0.94);
  --fnb-ring: rgba(255, 250, 242, 0.45);
  --fnb-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--fnb-bar-h);
  font-family: var(--fnb-sans);
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.3, 0.9, 0.1, 1);
}

.fnb_wrap.is-docked {
  --fnb-fg: rgba(255, 250, 242, 0.94);
  --fnb-ring: rgba(255, 255, 255, 0.35);
}

.fnb_wrap.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.36s cubic-bezier(0.7, 0, 0.16, 1);
}

.fnb_wrap.is-hidden:focus-within {
  transform: none;
}

/* The glass layer is taller than the bar so a low-floating pill never runs out of box to clip into. */
.fnb_bg {
  --fnb-ct: 0px;
  --fnb-cx: 0px;
  --fnb-cb: 32px;
  --fnb-cr: 0px;
  --fnb-fill: 0;
  --fnb-blur: 0px;
  --fnb-sat: 1;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--fnb-bar-h) + 32px);
  background-color: rgba(29, 29, 31, var(--fnb-fill));
  -webkit-backdrop-filter: blur(var(--fnb-blur)) saturate(var(--fnb-sat));
  backdrop-filter: blur(var(--fnb-blur)) saturate(var(--fnb-sat));
  clip-path: inset(var(--fnb-ct) var(--fnb-cx) var(--fnb-cb) var(--fnb-cx) round var(--fnb-cr));
  pointer-events: none;
  will-change: clip-path;
}

.fnb_nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 var(--fnb-margin);
  color: var(--fnb-fg);
  transition: color 0.32s cubic-bezier(0.3, 0.9, 0.1, 1);
}

.fnb_logo {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
  pointer-events: auto;
}

.fnb_logo_svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.fnb_logo_text {
  display: inline-flex;
  align-items: baseline;
}

.fnb_logo_mark {
  display: inline-block;
  border-radius: 2px;
}

/* Static mask: clips the folding letters at the mark's right edge, with vertical headroom. */
.fnb_logo_tail {
  display: inline-block;
  clip-path: inset(-0.3em 0 -0.3em 0);
}

.fnb_logo_tail_inner {
  display: inline-block;
  will-change: transform;
}

.fnb_links {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fnb_links_item {
  display: block;
}

.fnb_link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  border-radius: 2px;
  pointer-events: auto;
  transition: opacity 0.18s cubic-bezier(0.7, 0, 0.16, 1);
}

.fnb_link:hover {
  opacity: 1;
}

.fnb_cta {
  grid-column: 3;
  justify-self: end;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.fnb_cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: currentColor;
  opacity: 0.14;
  transition: opacity 0.2s cubic-bezier(0.7, 0, 0.16, 1);
}

.fnb_cta:hover::before {
  opacity: 0.24;
}

.fnb_logo:focus-visible,
.fnb_link:focus-visible,
.fnb_cta:focus-visible {
  outline: 1px solid var(--fnb-ring);
  outline-offset: 2px;
}

.fnb_wrap.is-docked .fnb_logo:focus-visible {
  outline: none;
}

.fnb_wrap.is-docked .fnb_logo:focus-visible .fnb_logo_mark {
  outline: 1px solid var(--fnb-ring);
  outline-offset: 2px;
}

/* Docked layout, applied for one synchronous measurement only - the JS reads it, then removes it. */
.fnb_wrap.is-measuring .fnb_nav {
  display: flex;
  justify-content: center;
}

.fnb_wrap.is-measuring .fnb_logo {
  margin-right: 24px;
}

.fnb_wrap.is-measuring .fnb_logo_tail {
  display: none;
}

.fnb_wrap.is-measuring .fnb_links {
  gap: 20px;
  margin-right: 10px;
}

.fnb_page {
  position: relative;
  width: 100%;
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.fnb_hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background-color: #101010;
}

.fnb_hero_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
  filter: brightness(0.86) saturate(0.92);
}

.fnb_hero_scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(16, 16, 16, 0.42) 0%, rgba(16, 16, 16, 0) 22%),
    linear-gradient(to top, rgba(16, 16, 16, 0.5) 0%, rgba(16, 16, 16, 0) 42%);
  pointer-events: none;
}

.fnb_hero_title {
  position: absolute;
  left: 40px;
  bottom: 40px;
  max-width: 7.4em;
  margin: 0;
  font-size: clamp(64px, 11vw, 176px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: rgba(255, 250, 242, 0.92);
}

.fnb_body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 18vh;
  align-content: start;
  min-height: 200vh;
  padding: 22vh 40px 24vh;
  box-sizing: border-box;
  background-color: #ebebe9;
}

.fnb_text {
  grid-column: 9 / 13;
  max-width: 340px;
  margin: 0;
  font-size: 15px;
  font-weight: 380;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(16, 16, 16, 0.78);
}

.fnb_media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: #dededc;
}

.fnb_media_wide {
  grid-column: 1 / 8;
  aspect-ratio: 3 / 2;
}

.fnb_media_tall {
  grid-column: 9 / 12;
  align-self: end;
  margin-top: 30vh;
  aspect-ratio: 4 / 5;
}

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

@media (prefers-reduced-motion: reduce) {
  .fnb_wrap,
  .fnb_wrap.is-hidden {
    transition: none;
  }
}

@media (max-width: 767px) {
  .fnb_wrap {
    --fnb-margin: 20px;
    --fnb-bar-h: 72px;
  }

  .fnb_links {
    display: none;
  }

  .fnb_hero_title {
    left: 20px;
    bottom: 28px;
  }

  .fnb_body {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12vh;
    padding: 16vh 20px 20vh;
  }

  .fnb_text,
  .fnb_media_wide {
    grid-column: 1;
  }

  .fnb_media_tall {
    grid-column: 1;
    justify-self: end;
    width: 68%;
    margin-top: 0;
  }
}
