:root {
  --blue: #075bd8;
  --deep: #052f73;
  --ice: #eef6ff;
  --white: #fff;
  --ink: #10213a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(7,91,216,.15), transparent 26rem),
    linear-gradient(180deg, #fff 0%, var(--ice) 100%);
  font-family: "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
}

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

header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(5,47,115,.14);
}

header nav { display: flex; align-items: center; gap: 1rem; }
.nav-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wordmark { color: var(--deep); font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.status { display: flex; gap: 8px; align-items: center; color: var(--deep); font-size: .84rem; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #24b36b; box-shadow: 0 0 0 5px rgba(36,179,107,.12); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 7vw;
  padding: 90px 0 110px;
}

.eyebrow { color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .18em; margin: 0 0 18px; }
h1 { margin: 0; color: var(--deep); font-size: clamp(4.7rem, 12vw, 9.7rem); line-height: .8; letter-spacing: -.085em; }
h1 span { color: var(--blue); }
.lede { max-width: 430px; margin: 35px 0 0; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; }

.portrait-card { margin: 0; transform: rotate(3deg); }
.portrait-frame { padding: 12px; background: var(--white); border: 1px solid rgba(5,47,115,.14); box-shadow: 0 24px 60px rgba(5,47,115,.18); }
.portrait-frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.84) contrast(1.04); }
figcaption { padding: 14px 8px 2px; color: var(--deep); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-align: center; }

.gif-card { margin-bottom: 85px; padding: clamp(24px, 4vw, 46px); color: white; background: var(--deep); border-radius: 4px; box-shadow: 0 28px 80px rgba(5,47,115,.22); }
.gif-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.gif-heading .eyebrow { color: #8fc1ff; margin-bottom: 8px; }
h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: -.045em; }
.badge { flex: none; padding: 9px 12px; border: 1px solid rgba(255,255,255,.3); font-size: .64rem; letter-spacing: .14em; }
.gif-wrap { overflow: hidden; position: relative; aspect-ratio: 16 / 8.8; background: #021c45; }
.gif-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.source { display: inline-block; margin-top: 16px; color: #b9d8ff; font-size: .78rem; text-decoration: none; }
.source:hover { color: white; }

footer { padding: 0 0 40px; color: #56708f; font-size: .78rem; text-align: center; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding: 65px 0 80px; }
  .portrait-card { width: min(76vw, 380px); justify-self: center; }
  .gif-heading { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .portrait-card { animation: settle .8s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(28px) rotate(0); } }
}
