@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("sofia-sans-condensed.woff2") format("woff2");
  font-weight: 650;
  font-display: swap;
}

.route-home .site-header {
  --nav-indicator: var(--accent);
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  background: transparent;
  border: 0;
  color: var(--paper);
}
.route-home .mark img { filter: brightness(0) invert(1); }
.route-home .mark:focus-visible { outline-color: var(--paper); }
.marquee {
  --hero-plum: color-mix(in srgb, var(--brand) 48%, var(--ink));
  --hero-height: clamp(33rem, min(81svh, 58vw), 50rem);
  --portrait-inset: clamp(0px, calc((100vw - var(--hero-height) * 1.76) * .2), 12vw);
  --portrait-feather: min(calc(var(--portrait-inset) * 1.8), 10rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-plum);
  color: var(--paper);
}
.marquee-inner {
  display: grid;
  align-items: center;
  min-height: var(--hero-height);
  padding-block:
    calc(var(--header-height) + clamp(.85rem, 1.9vw, 2rem))
    calc(clamp(3.75rem, 8svh, 6rem) + clamp(1.75rem, 3.25vw, 3.25rem));
}
.hero-shot { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-backdrop {
  position: absolute;
  inset: -3rem;
  background-position: 58% 40%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(32px);
  opacity: .38;
}
.hero-shot--close-up { --portrait-focus: 55% 15%; --mobile-portrait-focus: 54% center; }
.hero-shot--crossed-arms { --portrait-focus: 50% 40%; --mobile-portrait-focus: 52% 29%; }
.hero-shot--wide { --portrait-focus: 58% 39%; --mobile-portrait-focus: 69% center; }
.hero-shot img {
  position: absolute;
  inset: 0 var(--portrait-inset) 0 auto;
  width: min(56%, calc(var(--hero-height) * .97));
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-focus);
  mask-image: linear-gradient(90deg, transparent, #000 43%, #000 calc(100% - var(--portrait-feather)), transparent);
}
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #160a2eee, #160a2eb3 7%, #160a2e44 20%, transparent 34%),
    linear-gradient(90deg, var(--hero-plum), #241042e6 27%, #24104269 48%, transparent 68%),
    linear-gradient(0deg, #21103980, transparent 22%);
}
.marquee::after {
  content: "";
  position: absolute;
  inset: auto -7% -1px;
  height: clamp(44px, min(8vw, calc(var(--hero-height) * .14)), 108px);
  background: radial-gradient(ellipse 78% 105% at 42% 105%, var(--paper) 75%, #fffffff0 81%, #ffffff82 91%, transparent);
  pointer-events: none;
}
.title { width: fit-content; }
.title .label { color: var(--accent); }
.title h1 {
  font: 650 clamp(5.875rem, min(10.35vw, calc(var(--hero-height) * .179)), 13.15rem)/.88 "Sofia Sans Condensed", var(--display);
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: -.035em;
  margin: .14em 0 .19em -.025em;
}
.hero-intro { max-width: 29ch; font-size: clamp(1.04rem, 1.45vw, 1.4rem); line-height: 1.45; }

.editorial-home {
  --scene-space: clamp(3.25rem, 6.3vw, 7.25rem);
  --scene-pause: clamp(4.5rem, 9vw, 9.5rem);
  --scene-rule: color-mix(in srgb, var(--brand) 20%, var(--paper));
  --scene-violet: color-mix(in srgb, var(--brand) 7%, var(--paper));
  --scene-blue: color-mix(in srgb, var(--accent) 19%, var(--paper));
  padding-block: clamp(1.65rem, 2.25vw, 2.8rem) var(--scene-space);
  background:
    linear-gradient(var(--paper), transparent clamp(60px, 8vw, 140px)),
    radial-gradient(ellipse 90% 25% at 90% 0%, var(--scene-violet), transparent 72%),
    radial-gradient(ellipse 79% 32% at 99% 48%, var(--scene-blue), transparent 74%),
    radial-gradient(ellipse 78% 28% at 3% 96%, var(--scene-violet), transparent 72%),
    var(--paper);
  color: var(--ink);
}

.editorial-home > section + section { margin-top: var(--scene-space); }
.editorial-home > .credits-roll { margin-top: clamp(2.85rem, 5.4vw, 6rem); }
.editorial-home > .senate-scene { margin-block: var(--scene-pause); }
.editorial-home a { color: var(--brand); }
.editorial-home a:focus-visible { outline-color: var(--brand); }
.editorial-home h2 {
  font: 600 var(--feature-heading-size)/.93 var(--display);
  letter-spacing: -.026em;
}

.sequence-head, .reel-grid, .research-grid, .research-copy, .senate-grid {
  display: grid;
  gap: var(--editorial-column-gap);
}
.sequence-head, .reel-grid, .research-copy {
  grid-template-columns: var(--editorial-columns);
}
.sequence-head, .reel-grid { align-items: start; }
.sequence-head h2 { font-size: clamp(3.1rem, 5vw, 5rem); }
.sequence-head h2 em { display: block; position: relative; color: var(--brand); font-style: normal; }
.sequence-head h2 em::after {
  content: "";
  position: absolute;
  inset: auto auto -.16em 0;
  width: clamp(2.5rem, 5vw, 4.75rem);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
}
.sequence-intro > p, .research-scene p:not(.label), .profile-scene p {
  max-width: 45ch;
  font-size: var(--page-lede-size);
  line-height: 1.55;
}
.sequence-links, .profile-links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.sequence-links { margin-top: .55rem; }
.sequence-links a:first-child, .profile-links a:first-child { font-weight: 700; }

.credits-roll h2 { max-width: 14ch; font-size: clamp(2.65rem, 4.5vw, 4.85rem); }
.credits-roll .label, .research-scene .label { color: var(--brand); margin-bottom: .8rem; }
.credits-roll ul { margin: 0; padding: 0; list-style: none; }
.credits-roll li + li { border-top: 1px solid var(--scene-rule); }
.credits-roll li a {
  display: grid;
  min-height: 44px;
  padding-block: .56rem;
  padding-inline-end: .35rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .14rem .65rem;
}
.credits-roll li a span:first-child { grid-column: 1; font-size: .78rem; color: var(--ink); }
.credits-roll .link-arrow { grid-area: 1 / 2 / span 2; align-self: center; }
.credits-roll li a strong { font-size: clamp(1rem, 1.6vw, 1.2rem); }
.credits-roll a:is(:hover, :focus-visible) { background: var(--scene-violet); }
.credits-roll a:active { background: color-mix(in srgb, var(--brand) 16%, var(--paper)); }

.research-grid { gap: clamp(1.1rem, 3vw, 2.65rem); }
.research-copy {
  align-items: center;
  row-gap: clamp(.9rem, 4.2vw, 4rem);
}
.research-copy p + p { margin-top: .5rem; }
.profile-scene p { margin: .85rem 0 .35rem; }
.rally-frame {
  overflow: hidden;
  border-radius: 1.1rem clamp(2.25rem, 5vw, 5.25rem) 1.55rem clamp(2rem, 4vw, 4.25rem);
}
.rally-frame img {
  display: block;
  width: 100%;
}
.research-scene figcaption, .senate-context figcaption { font-size: .78rem; margin-top: .55rem; }

.senate-grid {
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  grid-template-rows: auto 1fr;
  gap: .8rem clamp(2rem, 6vw, 6.5rem);
  align-items: start;
}
.senate-grid h2 { max-width: 11ch; margin-bottom: .35rem; }
.senate-heading { grid-area: 1 / 1; }
.senate-context { grid-area: 2 / 1; max-width: 18rem; }
.senate-context img { display: block; width: 100%; border-radius: 1.2rem 2.4rem 1.2rem 1.7rem; }
.senate-quote {
  grid-area: 1 / 2 / span 2;
  border-left: 2px solid var(--scene-rule);
  padding-left: clamp(1.1rem, 3.2vw, 3.25rem);
}
.senate-grid blockquote { max-width: 32ch; font: 600 clamp(1.85rem, 3.15vw, 3.5rem)/1.07 var(--display); }
.senate-quote figcaption { max-width: 46ch; color: var(--brand); font-size: .92rem; margin-top: .8rem; }

.media-scene-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.media-scene-head h2 { font-size: clamp(2.65rem, 4.5vw, 4.85rem); }
.media-scene-head p { margin-top: .6rem; }
.media-scene .media-mark-list {
  --logo-columns: 5;
  row-gap: clamp(.85rem, 2.2vw, 2rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 4.1vw, 3.5rem);
  max-width: 67rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 3.75rem);
  border-radius: clamp(1.65rem, 4vw, 4rem) clamp(1.4rem, 3vw, 2.75rem)
    clamp(2rem, 5vw, 4.5rem) clamp(1.4rem, 3vw, 2.75rem);
  background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 13%, var(--paper)), var(--scene-violet));
  box-shadow: 0 1.05rem 2.8rem -.9rem color-mix(in srgb, var(--brand) 26%, transparent);
}
.profile-grid figure { width: min(100%, 18.5rem); justify-self: center; }
.profile-grid > figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: clamp(2.1rem, 5vw, 4.5rem) 1.15rem clamp(2rem, 4.5vw, 4.25rem) 1.5rem;
}
.profile-socials { max-width: 42ch; margin-top: .8rem; padding-top: .85rem; border-top: 1px solid var(--scene-rule); }
.profile-socials-title { display: block; font-size: .85rem; color: var(--brand); }
.profile-socials .social-link img {
  width: 18px;
  height: 18px;
  /* Tint the black marks to match the site's purple. */
  filter: invert(14.59%) sepia(100%) hue-rotate(218.64deg) saturate(1021%);
}
@media (max-width: 575px) {
  .marquee-inner {
    align-items: end;
    min-height: clamp(35rem, 83svh, 46rem);
    padding-block: calc(var(--header-height) + clamp(9.75rem, 25svh, 15.75rem)) clamp(3.35rem, 8.5svh, 5.1rem);
  }
  .hero-shot img {
    right: 0;
    width: 100%;
    height: 72%;
    object-position: var(--mobile-portrait-focus);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
  }
  .hero-shot::after {
    background:
      linear-gradient(180deg, #160a2ef5, #160a2ea3 9%, #160a2e44 21%, transparent 34%),
      linear-gradient(0deg, var(--hero-plum) 8%, #241042e8 35%, #24104246 55%, transparent 73%);
  }
  .title h1 { font-size: min(23.8vw, clamp(4.85rem, 17.4vw, 8.3rem)); }
  .hero-intro { max-width: 34ch; }
}
@media (576px <= width <= 760px) {
  .title .label { max-width: 42vw; text-wrap: balance; }
}
@media (max-width: 760px) {
  .sequence-head, .reel-grid, .research-copy, .senate-grid { grid-template-columns: minmax(0, 1fr); }
  .senate-grid { grid-template-rows: auto; gap: 1.4rem; }
  .senate-heading, .senate-quote, .senate-context { grid-area: auto; }
  .media-scene .media-mark-list { --logo-columns: 3; }
  .profile-scene h2 { font-size: clamp(2.75rem, 8vw, 4.5rem); }
}
@media (max-width: 620px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-grid figure { width: min(78%, 14.5rem); }
}
@media (max-width: 520px) {
  .media-scene .media-mark-list { --logo-columns: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-intro { animation: intro-settle .55s var(--motion-ease) both; }
  [data-motion="rule"].motion-entered::after {
    transform: scaleX(1);
    animation: accent-rule .42s var(--motion-ease);
  }
  .rally-frame.motion-entered img { animation: rally-open .72s var(--motion-ease); }
  @keyframes accent-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes rally-open {
    from { clip-path: inset(6% 0 10%); transform: scale(1.035); }
    to { clip-path: inset(0); transform: scale(1); }
  }
}
