:root {
  --blue: #236eb0;
  --blue-80: #4a8cc1;
  --blue-40: #a9cce8;
  --blue-20: #dcecf9;
  --navy: #3d4057;
  --ink: #16252a;
  --muted: #53626b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: white;
  font-family: Poppins, Arial, sans-serif;
}

header {
  background: var(--blue);
  color: #fff;
  padding: 13px clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  font-family: "Ballinger Mono", "DejaVu Sans Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

header .small {
  font-size: 11px;
  opacity: 0.86;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.brand {
  text-align: center;
  padding: 56px 20px 48px;
}

.brand img {
  display: block;
  width: min(560px, 100%);
  height: auto;
  margin: auto;
}

.intro {
  background: var(--blue);
  color: #fff;
  text-align: center;
  position: relative;
  padding: 24px 18px 26px;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  background: var(--blue-80);
}

.intro::after {
  inset: 0 0 0 auto;
  background: var(--blue-20);
}

h1 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.28;
  font-weight: 600;
  margin: 0 0 8px;
}

.intro p {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  margin: 0;
}

.destinations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 0 32px;
}

.destination {
  --accent: var(--blue);
  --action: #195785;
  container-type: inline-size;
  border: 1px solid var(--blue-40);
  border-top: 6px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  padding: 24px 20px 19px;
  display: flex;
  flex-direction: column;
  min-height: 338px;
  color: var(--ink);
  text-decoration: none;
}

.people {
  --accent: #c10ab4;
  --action: #8c087f;
}

.media {
  --accent: #00bc8f;
  --action: #007a5d;
}

.host {
  --accent: #0092ff;
  --action: #0066b2;
}

.identity {
  /* Same row on every card: the height Pacific Broadcast takes at full width. */
  height: calc(100cqw * 772 / 3029);
  display: flex;
  align-items: center;
  justify-content: center;
}

.identity img {
  display: block;
}

/* People is the widest, so it fills the card. Media and Host match that height. */
.people .identity img {
  width: 100%;
  height: auto;
}

.media .identity img,
.host .identity img {
  height: calc(100cqw * 372 / 2515);
  width: auto;
}

/* Pacific Broadcast always fills the card width. Its middle matches the others. */
.broadcast .identity img {
  width: 100%;
  height: auto;
}

.destination h2 {
  font-size: 17px;
  line-height: 1.42;
  font-weight: 600;
  margin: 23px 0 12px;
  /* Two lines, so a one-line heading leaves a gap and the body copy starts together. */
  min-height: calc(1.42em * 2);
}

.destination p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 23px;
}

.action {
  display: block;
  border-top: 1px solid var(--blue-20);
  padding-top: 16px;
  margin-top: auto;
  color: var(--action);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

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

.site-footer {
  margin-top: auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid #d8dfe6;
  background: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 560px) {
  main {
    width: min(100% - 36px, 460px);
  }

  header .small {
    display: none;
  }

  .brand {
    padding: 42px 6px 34px;
  }

  .intro {
    padding: 24px 30px;
  }

  .destinations {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .destination {
    min-height: unset;
    padding: 20px;
  }

  .destination h2 {
    margin: 12px 0 8px;
  }

  .destination p {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .destination {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  .destination:hover {
    box-shadow: 0 8px 24px rgba(35, 110, 176, 0.12);
    transform: translateY(-2px);
  }
}
