:root {
  --press-ink: #243659;
  --press-deep: #16233f;
  --press-muted: #66738c;
  --press-paper: #f5f7fb;
  --press-white: #ffffff;
  --press-line: rgba(36, 54, 89, 0.13);
  --press-blue: #5b83f5;
  --press-rainbow: linear-gradient(90deg, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #d8e63b, #f9a825, #ff5722);
}

html {
  scroll-behavior: smooth;
}

body.press-page {
  color: var(--press-ink);
  background: var(--press-paper);
}

.press-page * {
  box-sizing: border-box;
}

.press-page img {
  display: block;
  max-width: 100%;
}

.press-page a:focus-visible {
  outline: 3px solid #2196f3;
  outline-offset: 4px;
}

#press-main {
  overflow: hidden;
}

.press-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.press-hero {
  position: relative;
  padding: 145px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 143, 177, 0.17), transparent 28%),
    radial-gradient(circle at 70% 92%, rgba(33, 150, 243, 0.1), transparent 32%),
    var(--press-paper);
}

.press-hero::after {
  position: absolute;
  top: 88px;
  right: -130px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(36, 54, 89, 0.08);
  border-radius: 50%;
  content: "";
}

.press-kicker,
.section-number {
  margin: 0;
  color: var(--press-muted);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.press-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 15px 0 0;
  color: var(--press-ink);
  font-family: "Old Standard TT", serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.press-hero h1 em {
  display: inline-block;
  color: transparent;
  background: var(--press-rainbow);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 400;
}

.hero-lede {
  position: relative;
  z-index: 1;
  max-width: 710px;
  margin: 25px 0 0;
  color: #53617f;
  font-size: 18px;
  line-height: 1.65;
}

.hero-rule {
  width: min(1120px, calc(100% - 40px));
  height: 5px;
  margin: 42px auto 0;
  background: var(--press-rainbow);
}

.press-section {
  padding: 66px 0 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-areas:
    "number title"
    ". intro";
  column-gap: 34px;
  row-gap: 12px;
  margin-bottom: 32px;
  align-items: start;
}

.section-number {
  grid-area: number;
  padding-top: 12px;
  line-height: 1.6;
}

.section-heading h2 {
  grid-area: title;
  margin: 0;
  color: var(--press-ink);
  font-family: "Old Standard TT", serif;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  grid-area: intro;
  max-width: 760px;
  margin: 0;
  color: var(--press-muted);
  font-size: 15px;
  line-height: 1.65;
}

.article-list {
  display: grid;
  gap: 12px;
}

.press-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-width: 0;
  min-height: 142px;
  border: 1px solid var(--press-line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--press-white);
  box-shadow: 0 10px 28px rgba(36, 54, 89, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.press-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 131, 245, 0.36);
  box-shadow: 0 16px 36px rgba(36, 54, 89, 0.1);
}

.publication-logo {
  display: flex;
  min-height: 100%;
  padding: 24px;
  border-right: 1px solid var(--press-line);
  align-items: center;
  justify-content: center;
}

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

.publication-logo-light {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(36, 54, 89, 0.08) 36px),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(36, 54, 89, 0.08) 36px);
}

.publication-logo-dark {
  background: var(--press-deep);
}

.publication-logo-icon img {
  width: 52px;
  height: 52px;
}

.publication-logo-wide img {
  max-width: 160px;
}

.card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  grid-template-rows: auto 1fr;
  gap: 7px 24px;
  min-width: 0;
  padding: 21px 24px;
  align-items: center;
}

.card-meta {
  display: flex;
  grid-column: 1;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: var(--press-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-meta span + span::before {
  margin-right: 14px;
  color: rgba(36, 54, 89, 0.35);
  content: "•";
}

.press-card h3 {
  grid-column: 1;
  margin: 0;
  color: var(--press-ink);
  font-family: "Old Standard TT", serif;
  font-size: clamp(22px, 2.25vw, 29px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.article-link {
  display: flex;
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 68px;
  padding-left: 22px;
  border-left: 1px solid var(--press-line);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--press-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 160ms ease;
}

.article-link span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-link span:last-child {
  font-size: 19px;
  line-height: 1;
  transition: transform 160ms ease;
}

.article-link:hover {
  color: var(--press-blue);
}

.article-link:hover span:last-child {
  transform: translate(2px, -2px);
}

.projects-section {
  width: 100%;
  border-top: 1px solid var(--press-line);
  background: #edf1f8;
}

.projects-section .press-card {
  box-shadow: none;
}

@media (max-width: 760px) {
  .press-wrap,
  .hero-rule {
    width: min(100% - 30px, 1120px);
  }

  .press-hero {
    padding: 124px 0 44px;
  }

  .press-hero h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-rule {
    margin-top: 34px;
  }

  .press-section {
    padding: 52px 0 60px;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-number {
    margin-bottom: 9px;
    padding-top: 0;
  }

  .section-heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-heading > p:last-child {
    margin-top: 12px;
  }

  .press-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 156px;
  }

  .publication-logo {
    padding: 16px;
  }

  .publication-logo img,
  .publication-logo-wide img {
    max-width: 82px;
    max-height: 44px;
  }

  .publication-logo-icon img {
    width: 44px;
    height: 44px;
  }

  .card-content {
    display: flex;
    padding: 17px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .press-card h3 {
    font-size: clamp(20px, 5.2vw, 24px);
  }

  .article-link {
    min-height: auto;
    margin-top: auto;
    padding: 9px 0 0;
    border-top: 1px solid var(--press-line);
    border-left: 0;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .press-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .publication-logo {
    padding: 11px;
  }

  .publication-logo img,
  .publication-logo-wide img {
    max-width: 68px;
  }

  .card-content {
    padding: 15px;
  }

  .card-meta {
    gap: 8px;
    font-size: 9px;
  }

  .card-meta span + span::before {
    margin-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-card,
  .article-link span:last-child {
    transition: none;
  }

  .press-card:hover {
    transform: none;
  }
}
