:root {
  --paper: #eef1f3;
  --ink: #111111;
  --muted: #4b5963;
  --line: #c9d2d8;
  --sage: #237aa5;
  --clay: #0077b6;
  --blue: #005f8f;
  --white: #f8fafb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.link-row a {
  color: var(--clay);
}

.editable {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.feature {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px) 0 clamp(36px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
}

.media-column {
  width: min(100%, 190px);
}

.portrait-wrap {
  position: relative;
  width: 100%;
}

.portrait-image {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-panda {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.portrait-wrap:hover .portrait-panda,
.portrait-wrap:focus-within .portrait-panda {
  opacity: 1;
}

.image-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--clay);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.social-link svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--clay);
  animation: icon-bounce 420ms ease;
  outline: none;
}

@keyframes icon-bounce {
  0% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-7px);
  }

  70% {
    transform: translateY(2px);
  }

  100% {
    transform: translateY(0);
  }
}

.feature-copy {
  width: 100%;
  max-width: none;
}

.feature-copy h2 {
  color: var(--blue);
  font-size: clamp(2rem, 4.3vw, 4.45rem);
}

.feature-copy p:not(.eyebrow) {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1.26rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
  color: var(--clay);
  font-weight: 700;
}

.outro-band {
  min-height: 30vh;
  display: grid;
  align-items: start;
  padding: clamp(38px, 6vw, 72px) 0 80px;
}

.outro-band h2 {
  max-width: 790px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.now-section {
  margin-bottom: 42px;
}

.now-section p {
  max-width: 42rem;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.research-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.research-entry {
  padding: 0;
  margin-top: 20px;
}

.research-entry h3 {
  margin: 0;
  color: var(--clay);
  font-size: 1rem;
  line-height: 1.35;
}

.research-entry p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    width: min(100%, 190px);
  }

  .media-column {
    width: min(100%, 190px);
    justify-self: center;
  }
}
