/* GlobalArctic — one stylesheet for every page.

   Layout: a bright page. Each page opens with its own photograph (or, where the site has none to spare,
   the brand's blue-to-navy sky), which dissolves into the paper; the title sits on the white below it.
   Books are 3D objects on a shelf.

   Brand, kept from the original site:
   - Fonts: Inter for headings, Lato for text, Montserrat for the menu.
   - Colours: navy #0d4070, logo blue #1ca0db, text #1c2b3a, white. */

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --snow: #f2f7fb;
  --line: #d6e3ee;
  --navy: #0d4070;      /* headings, buttons, footer — as on the original site */
  --navy-deep: #082c4e; /* its hover tone */
  --blue: #1ca0db;      /* logo blue */
  --text: #1c2b3a;      /* body text, as on the original site */
  --ink-2: #3f5266;

  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --menu: "Montserrat", "Inter", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 981px) {
  body {
    font-size: 17px;
  }
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--navy);
  text-wrap: balance;
}

h4,
h5,
h6 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1.35;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  flex: none;
}

.brand img {
  width: 191px;
  height: 36px;
}

.nav__list,
.nav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 14px);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--menu);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s var(--ease);
}

.nav__link:hover,
.nav__item:focus-within > .nav__link {
  background: var(--snow);
}

.nav__link[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.nav__caret {
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  padding: 10px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(11, 31, 51, 0.16);
  opacity: 0;
  visibility: hidden;
  translate: 0 -4px;
  transition: opacity 0.15s var(--ease), translate 0.15s var(--ease), visibility 0.15s;
}

.nav__sub::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.nav__sub a {
  display: block;
  padding: 10px 14px;
  font-family: var(--menu);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  text-decoration: none;
  border-radius: 10px;
}

.nav__sub a:hover,
.nav__sub a:focus-visible {
  background: var(--snow);
}

.nav__sub a[aria-current="page"] {
  color: var(--navy);
  font-weight: 650;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header__bar {
    min-height: 62px;
  }

  .brand img {
    width: 160px;
    height: 30px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
    overflow-y: auto;
    padding: 8px var(--gutter) 40px;
    background: var(--paper);
  }

  .nav[data-open="true"] {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item + .nav__item {
    border-top: 1px solid var(--line);
  }

  /* In the open menu the top-level entries are set in the display face, like a contents page. */
  .nav__link {
    width: 100%;
    min-height: 64px;
    padding: 0;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.028em;
    border-radius: 0;
  }

  .nav__link:hover,
  .nav__item:focus-within > .nav__link,
  .nav__link[aria-current="page"] {
    background: transparent;
    color: var(--navy);
  }

  .nav__link[aria-current="page"] {
    color: var(--navy);
  }

  .nav__caret {
    display: none;
  }

  .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 16px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
  }

  .nav__sub a {
    padding: 9px 0;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    color: var(--ink-2);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--light,
.btn--solid {
  background: var(--navy);
  color: #fff;
}

.btn--light:hover,
.btn--solid:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}

.actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 44px);
}

/* ---------- Hero: photograph above, title on the paper ---------- */
.hero {
  position: relative;
}

.hero__media {
  position: relative;
  height: clamp(260px, 52vh, 620px);
  margin-inline: clamp(0px, 1.4vw, 20px);
  border-radius: clamp(0px, 1.4vw, 20px) clamp(0px, 1.4vw, 20px) 0 0;
  overflow: hidden;
  /* The photograph thins out into the page instead of ending on an edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: settle 2.4s var(--ease) both;
}

/* The original site's blue wash, kept light so the photograph still shows its own colours. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 160, 219, 0.30) 0%, rgba(13, 64, 112, 0.34) 100%);
  pointer-events: none;
}

/* No photograph to spare for this page: the brand gradient on its own, as a sky. */
.hero__media--plain {
  height: clamp(150px, 24vh, 280px);
  background: linear-gradient(180deg, #1ca0db 0%, #0d4070 100%);
}

.hero .hero__media.hero__media--plain {
  height: clamp(130px, 20vh, 220px); /* beats the taller photo height set for page heroes further down */
}

/* Navy type on the blue sky would be hard to read, so here the title starts on the paper. */
.hero__media--plain ~ .hero__inner {
  margin-top: clamp(-36px, -2vw, -12px);
}

.hero__media--plain::after {
  display: none;
}

@keyframes settle {
  from {
    scale: 1.08;
  }
  to {
    scale: 1;
  }
}

.hero--page .hero__media {
  height: clamp(200px, 36vh, 420px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
  margin-top: clamp(-150px, -9vw, -56px); /* the title climbs into the fading photograph */
  padding-bottom: clamp(56px, 8vw, 120px);
}

.hero h1,
.hero__lead h2:first-child {
  font-size: clamp(36px, 3.9vw + 18px, 84px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero--page h1,
.hero--page .hero__lead h2:first-child {
  font-size: clamp(36px, 3.4vw + 18px, 76px);
}

.hero h1,
.hero__lead h2:first-child {
  color: var(--navy); /* titles sit inside .prose on inner pages, which would grey them */
}

/* While a long right-hand text scrolls, the title and its actions stay in view. */
@media (min-width: 901px) {
  .hero__inner:not(.hero__inner--single) > .hero__lead {
    position: sticky;
    top: 108px;
    align-self: start;
  }
}

.hero__panel {
  padding-top: clamp(0px, 9vw, 150px); /* starts level with the paper, below the photograph */
}

.hero__panel p,
.hero__panel .prose {
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
}

/* The first line of the statement is set larger, the way a magazine opens an article. */
.home .hero__panel p::first-line {
  font-size: 1.18em;
  font-weight: 700;
  color: var(--navy);
}

.hero__inner--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero__inner--single .hero__lead {
  max-width: 980px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero__panel {
    padding-top: 0;
  }

  .actions .btn,
  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Books as objects ---------- */
.features {
  padding-block: clamp(24px, 4vw, 56px) clamp(72px, 9vw, 136px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(24px, 3vw, 48px);
  list-style: none;
  margin-block: 0;
  padding: 0;
}

.cards--1 {
  grid-template-columns: minmax(0, 420px);
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .cards,
  .cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cards,
  .cards--2,
  .cards--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* The shelf: every object stands on the same line, centred in its column. */
.card__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(300px, 26vw, 400px);
  padding-bottom: 18px;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.card__media::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(11, 31, 51, 0.26) 0%, rgba(11, 31, 51, 0) 68%);
  pointer-events: none;
}

.book {
  --depth: 38px;
  --spine: #0d4070;
  position: relative;
  z-index: 1;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(27deg);
  transition: transform 0.5s var(--ease);
}

.book img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  border-radius: 1px 3px 3px 1px;
  box-shadow: inset 4px 0 6px rgba(255, 255, 255, 0.18);
}

/* Spine: a slab hinged on the cover's left edge and folded back. */
.book::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--depth);
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 40%, rgba(255, 255, 255, 0.08) 100%), var(--spine);
  transform-origin: left center;
  transform: rotateY(90deg);
}

/* Light falling across the cover. */
.book::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 28%, rgba(0, 0, 0, 0.14) 100%);
  border-radius: 1px 3px 3px 1px;
  pointer-events: none;
}

.card:hover .book,
.card:focus-within .book {
  transform: rotateY(8deg) translateY(-8px);
}

/* Photographs are not books: they hang flat, in the same frame. */
.card__media--photo {
  perspective: none;
}

.card__media--photo img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 14px;
  transition: translate 0.5s var(--ease);
}

.card:hover .card__media--photo img,
.card:focus-within .card__media--photo img {
  translate: 0 -8px;
}

.cards--2 .card__media--photo {
  height: auto;
  padding-bottom: 0;
}

.cards--2 .card__media--photo::after {
  display: none;
}

.cards--2 .card__media--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* the week pictures are square; a 3/2 frame was cutting the globe */
  object-position: center;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding-top: 26px;
  text-align: center;
}

.cards--2 .card__body {
  text-align: left;
}

.card h2 {
  font-size: clamp(21px, 0.5vw + 18px, 25px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p,
.card .prose {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.card__link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: auto;
  padding: 0 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.cards--2 .card__link {
  align-self: flex-start;
}

.card:hover .card__link,
.card__link:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 600px) {
  .card__media {
    height: 380px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
}

.site-footer p {
  font-size: 15px;
  line-height: 1.55;
}

.social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.social a:hover {
  background: #fff;
  color: var(--navy);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 560px) {
  .site-footer__bar {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= Inner pages ================= */

/* ---------- Rich text ---------- */
.prose {
  overflow-wrap: break-word; /* a long unbroken string (a URL, an e-mail) must wrap, not widen the page */
  min-width: 0;
}
.prose > * + * {
  margin-top: 1.05em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  font-size: clamp(27px, 1.4vw + 20px, 40px);
  margin-top: 1.3em;
}

.prose h3 {
  font-size: clamp(22px, 0.8vw + 18px, 28px);
  margin-top: 1.3em;
}

.prose h4,
.prose h5,
.prose h6 {
  font-size: 1.05em;
  margin-top: 1.5em;
}

.prose ul,
.prose ol {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--blue);
}

.prose a {
  overflow-wrap: anywhere;
}

.prose blockquote {
  margin-inline: 0;
  padding-left: 22px;
  border-left: 2px solid var(--blue);
}

.kicker {
  font-family: var(--display);
  font-size: clamp(26px, 1.6vw + 18px, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--navy);
}

.figure {
  margin: 0;
}

/* ---------- Page hero details ---------- */
.hero__lead .prose {
  margin-top: clamp(20px, 2.4vw, 32px);
  color: var(--ink-2);
}

.hero__lead .prose p {
  font-size: clamp(19px, 0.7vw + 16px, 24px);
  line-height: 1.5;
  max-width: 58ch;
}

/* Address blocks arrive as one short paragraph per line; keep them together. */
.hero__lead .prose > p + p {
  margin-top: 0.35em;
}

/* Book pages: the cover is the object, standing beside its title. */
.hero__lead .figure {
  display: flex;
  justify-content: flex-start;
  height: clamp(300px, 30vw, 460px);
  margin-bottom: clamp(28px, 3vw, 44px);
  perspective: 1400px;
}

.hero__lead .figure img {
  width: auto;
  max-width: none;
  height: 100%;
  border-radius: 1px 3px 3px 1px;
  transform: rotateY(18deg);
  transform-origin: left center;
  box-shadow: -18px 22px 44px rgba(11, 31, 51, 0.28);
}

.hero__panel .prose + .prose {
  margin-top: 1.05em;
}

.hero__panel .prose h1 {
  font-size: clamp(27px, 1.4vw + 20px, 40px);
  line-height: 1.08;
  color: var(--navy);
}

.hero__panel .prose h2 {
  font-size: clamp(22px, 0.8vw + 18px, 28px);
  color: var(--navy);
}

/* "GlobalArctic MOOC / started on coursera": the second line is a subtitle. */
.hero__panel .prose h1 + h2 {
  margin-top: 0.3em;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--navy);
}

.hero__panel .prose h4 {
  color: var(--navy);
}

.hero__extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: calc(-1 * clamp(24px, 4vw, 64px));
  padding-bottom: clamp(56px, 8vw, 120px);
}

.hero__extras .actions,
.hero__extras .logos {
  margin: 0;
}

/* ---------- Content sections ---------- */
.section {
  padding-bottom: clamp(64px, 9vw, 136px);
}

.section__inner > * + * {
  margin-top: clamp(40px, 6vw, 88px);
}

.section__inner > .prose {
  max-width: 66ch;
  font-size: clamp(18px, 0.4vw + 17px, 21px);
  line-height: 1.7;
}

.cols {
  display: grid;
  gap: clamp(28px, 6vw, 104px);
  align-items: start;
}

.cols--2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .cols--2,
  .cols--3,
  .cols--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Photo band: the one dark moment, for sections that had their own photograph ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 clamp(0px, 1.4vw, 20px) clamp(64px, 9vw, 136px);
  padding-block: clamp(64px, 9vw, 128px);
  color: #fff;
  background: var(--navy);
  border-radius: clamp(0px, 1.4vw, 20px);
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.72) 0%, rgba(7, 26, 43, 0.9) 100%);
}

.band .prose,
.band .prose h2,
.band .prose h3 {
  color: #fff;
}

.band .prose a {
  color: #fff;
}

/* ---------- People and partners ---------- */
.people {
  display: grid;
}

.person {
  position: relative;
  display: grid;
  grid-template-columns: clamp(120px, 20vw, 280px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.person:first-child {
  padding-top: 0;
  border-top: 0;
}

.person__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--snow);
  border-radius: 14px;
}

.person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: scale 0.6s var(--ease);
}

.person--link:hover .person__media img {
  scale: 1.04;
}

.person__media--logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 12%;
}

.person__media--logo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.person h2 {
  font-size: clamp(26px, 1.6vw + 18px, 42px);
  line-height: 1.06;
}

.person__name-link {
  color: inherit;
  text-decoration: none;
}

.person__name-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.person--link:hover .person__name-link {
  color: var(--navy);
}

.person__role {
  margin-top: 12px;
  font-size: clamp(17px, 0.4vw + 16px, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.person .prose {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
}

.person__links {
  position: relative;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.person__links a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.person__links a:hover {
  background: var(--navy);
  color: #fff;
}

.person__links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.person__links svg[fill="none"] {
  fill: none;
}

@media (max-width: 560px) {
  .person {
    grid-template-columns: minmax(0, 1fr);
  }

  .person__media {
    width: min(64%, 240px);
  }
}

/* ---------- Logos ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.logo {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
}

.logo img {
  width: auto;
  height: 26px;
  max-width: 150px;
  object-fit: contain;
}

/* ---------- Notice ---------- */
.notice {
  margin-top: 4px;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
