/* ==========================================================================
   pages/fellows.css
   Styles used only by fellows.html.
   ========================================================================== */

/* Page-specific rules */
@layer site {
  body {
    margin: 0;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f7f2ef;
  }

  @media (max-width:900px) {
    .c2,
    .c3,
    .c4,
    .c5 {
      grid-template-columns: minmax(0, 1fr);
    }

    .grid.c4,
    .grid.c3:has(.face) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 24px 14px;
    }
  }

  main h1.heading.heading-xl {
    font-family: Verdana, Geneva, sans-serif !important;
    font-weight: 400 !important;
    font-size: 48px !important;
    color: var(--nv-black) !important;
  }

  .nav {
    position: sticky !important;
    top: 24px !important;
    z-index: 60 !important;
    margin: 24px 32px 0 !important;
    background: rgba(255, 255, 255, 0.6) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
    backdrop-filter: blur(18px) saturate(1.5) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.14) !important;
  }

  .nav .container {
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 10px !important;
  }

  .nav .logo {
    display: block !important;
    height: 20px !important;
    width: auto !important;
  }

  .nav .logo img {
    height: 20px !important;
    width: auto !important;
    display: block;
  }

  .nav-inner {
    min-height: 56px !important;
    padding: 6px 0 !important;
    gap: 40px;
    align-items: center;
  }

  .nav .btn {
    background: #ff2700 !important;
    color: #fff !important;
    border-radius: 999px !important;
    height: 32px !important;
    padding: 0 18px !important;
    font-family: Verdana, Geneva, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-self: end;
  }

  .nav .btn:hover {
    background: #D92100 !important;
  }

  .nav-links a.nav-link {
    font-family: Verdana, Geneva, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #010101 !important;
    text-decoration: none !important;
  }

  .nav-links a.nav-link:hover {
    color: #D92100 !important;
  }

  @media (min-width:901px) {
    .nav-inner {
      display: grid !important;
      grid-template-columns: 1fr auto 1fr;
    }

    .nav-links {
      justify-self: center !important;
      margin: 0 !important;
      display: flex !important;
      gap: 28px !important;
    }
  }

  @media (max-width:900px) {
    .nav {
      margin: 12px 12px 0 !important;
    }

    .nav-inner {
      display: flex !important;
      justify-content: space-between;
    }

    main p.hero__text {
      width: auto !important;
      max-width: 100% !important;
    }
  }
}

/* Element styles (outside the layers on purpose: they override shared rules,
   like the inline styles they replace) */
.page {
  background-color: transparent;
}

/* Hero: the "Meet the Fellows" video block, moved here from the Fellowship
   page (14 Nov 2026). Same box as the Apply hero: rounded, 16:8, text over
   a shaded video. */
.fellows-hero {
  padding-top: 24px;
  padding-bottom: 40px;
}

.fellows-hero__inner {
  width: 100%;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

.fellows-hero__box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16/8;
  min-height: 420px;
  background: #202124;
}

.fellows-hero__video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fellows-hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  pointer-events: none;
}

.fellows-hero__lede {
  position: absolute;
  top: 32px;
  left: 28px;
  z-index: 1;
  margin: 0;
  max-width: 34ch;
  font-size: 22px !important;
  line-height: 1.5 !important;
  color: var(--nv-white) !important;
}

@media (max-width: 900px) {
  .fellows-hero__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .fellows-hero__box {
    aspect-ratio: auto;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .fellows-hero__lede {
    position: static;
    max-width: none;
    font-size: 18px !important;
  }
}

.fellows-grid {
  padding-top: 20px;
}

.fellows-grid__grid {
  row-gap: 40px;
  margin-top: 16px;
}

.fellows-grid__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}

.fellows-grid__name {
  font-size: 18px;
}

.fellows-grid__link {
  margin-top: 10px;
}

.apply {
  padding-top: 110px;
  padding-bottom: 110px;
  background-color: var(--nv-black);
  position: relative;
  overflow: hidden;
}

.apply__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.apply__title {
  font-size: clamp(38px, 5vw, 56px) !important;
  margin-bottom: 28px;
}

.apply__text {
  margin-bottom: 28px;
}

.apply__button {
  background-color: var(--nv-red);
  color: var(--nv-white);
  font-weight: 700;
  border-radius: 999px;
}

.apply__span {
  font-weight: normal;
}

.official-partners {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid #d0d0ce;
  background-color: transparent;
}

.official-partners__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.official-partners__label {
  margin: 0;
  color: var(--nv-text-gray);
}

.official-partners__box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 48px;
}

.official-partners__img {
  height: 18px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-2 {
  height: 24px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-3 {
  height: 14px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-4 {
  height: 32px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-5 {
  height: 26px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-6 {
  height: 13px;
  width: auto;
  flex: none;
  display: block;
}

.official-partners__img-7 {
  height: 18px;
  width: auto;
  flex: none;
  display: block;
}

/* The hero title must sit in the "site" layer: the shared heading rules there
   carry !important and would otherwise win over these. */
@layer site {
  main h1.heading.heading-xl.fellows-hero__title {
    position: absolute;
    left: 28px;
    bottom: 32px;
    z-index: 1;
    margin: 0;
    max-width: calc(100% - 56px);
    color: var(--nv-white) !important;
    /* same title as the Apply hero */
    font-family: "Maison Neue Mono", "Maison Neue Mono Bold", "Maison Neue", ui-monospace, Menlo, Consolas, monospace !important;
    font-size: clamp(34px, 4vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em;
  }

  @media (max-width: 900px) {
    main h1.heading.heading-xl.fellows-hero__title {
      position: static;
      max-width: none;
      margin-top: auto;
    }
  }
}
