:root {
  color-scheme: dark;
  --white: #f7fbff;
  --muted: rgba(247, 251, 255, 0.74);
  --soft: rgba(247, 251, 255, 0.12);
  --line: rgba(247, 251, 255, 0.22);
  --cyan: #72e7ff;
  --gold: #ffb44c;
  --red: #ff6b4a;
  --bg: #03060b;
  --panel-pad: clamp(24px, 6vw, 96px);
  --font-display: "Rajdhani", "D-DIN", "DIN Condensed", "Avenir Next Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  --font-body: "DM Sans", "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.cursor-light {
  position: fixed;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(114, 231, 255, 0.16), rgba(255, 180, 76, 0.07) 38%, transparent 68%);
  mix-blend-mode: screen;
  z-index: 10;
  opacity: 0.8;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 64px) 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38) 54%, rgba(0, 0, 0, 0));
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
  font-size: 11px;
}

.desktop-nav a,
.desktop-nav button,
.mobile-nav button,
.subnav button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.desktop-nav a::after,
.desktop-nav button::after,
.subnav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--white);
  transition: right 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav button:hover::after,
.desktop-nav button:focus-visible::after,
.desktop-nav button.active::after,
.subnav button:hover::after,
.subnav button:focus-visible::after,
.subnav button.active::after {
  right: 0;
}

.subnav {
  position: fixed;
  z-index: 29;
  top: 70px;
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  min-height: 32px;
  pointer-events: auto;
}

.subnav button {
  font-size: 10px;
  color: rgba(247, 251, 255, 0.64);
}

.subnav button.active {
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 28;
  top: 72px;
  right: 18px;
  display: grid;
  gap: 6px;
  min-width: 240px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 9, 16, 0.88);
  backdrop-filter: blur(18px);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a,
.mobile-nav button {
  padding: 11px 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.section-rail {
  position: fixed;
  z-index: 25;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: grid;
  gap: 9px;
}

.rail-dot {
  width: 26px;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 320ms ease, background 320ms ease, opacity 320ms ease;
}

.rail-dot.active {
  width: 44px;
  background: var(--white);
}

.panel {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 132px var(--panel-pad) clamp(78px, 10vh, 128px);
  isolation: isolate;
  overflow: hidden;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.panel-video {
  position: absolute;
  inset: -2%;
  z-index: 0;
  width: 104%;
  height: 104%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.15) contrast(1.12) brightness(0.86);
  transition: opacity 700ms ease;
}

.panel-video.video-ready {
  opacity: 1;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translate3d(var(--shift-x, 0), var(--shift-y, 0), 0) scale(1.06);
  transition: transform 300ms ease-out;
}

.panel.has-video::before {
  opacity: 0;
}

.cosmic-field::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 22%, rgba(114, 231, 255, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 28%, rgba(255, 180, 76, 0.26) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 76%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
    linear-gradient(135deg, #02050d, #07121f 46%, #12070a);
  background-size: 160px 160px, 220px 220px, 130px 130px, cover;
  animation: starfieldShift 24s linear infinite;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 4, 10, 0.78), rgba(1, 4, 10, 0.28) 48%, rgba(1, 4, 10, 0.46)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 46%, rgba(0, 0, 0, 0.32));
}

.panel:not(:first-child) {
  box-shadow: inset 0 96px 120px rgba(2, 6, 12, 0.82);
}

.panel:not(:first-child)::after {
  background:
    linear-gradient(180deg, rgba(2, 6, 12, 0.98), rgba(2, 6, 12, 0.1) 17%, transparent 34%),
    linear-gradient(90deg, rgba(1, 4, 10, 0.78), rgba(1, 4, 10, 0.3) 48%, rgba(1, 4, 10, 0.5)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 42%, rgba(0, 0, 0, 0.38));
}

.panel:not(:last-child) .scrim::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(22vh, 190px);
  background: linear-gradient(0deg, rgba(2, 6, 12, 0.96), rgba(2, 6, 12, 0));
  pointer-events: none;
}

.scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 76%, rgba(114, 231, 255, 0.17), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(255, 107, 74, 0.18), transparent 26%);
}

.panel-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100vw - var(--panel-pad) * 2));
  display: grid;
  gap: clamp(12px, 1.35vw, 18px);
  transform: translate3d(0, calc(var(--parallax-y, 0px) + var(--reveal-y, 0px)), 0) scale(var(--reveal-scale, 1));
  transform-origin: left bottom;
}

.panel:nth-of-type(even):not(.hero) .panel-content {
  margin-left: auto;
}

.panel:nth-of-type(odd):not(.hero) .panel-content {
  margin-right: auto;
}

#open .panel-content {
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  text-align: center;
  transform-origin: center bottom;
}

#open .page-mark,
#open .subtitle,
#open .split-grid,
#open .card-grid {
  width: 100%;
}

.hero-content {
  max-width: 1000px;
}

.kicker,
.page-mark,
.source-line {
  margin: 0;
  color: rgba(247, 251, 255, 0.72);
  font-family: var(--font-display);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-mark {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(680px, 100%);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 251, 255, 0.22);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1,
h2 {
  max-width: 980px;
  text-transform: none;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(34px, 5vw, 70px);
  max-width: none;
  white-space: nowrap;
}

h2 {
  font-size: clamp(28px, 3.25vw, 48px);
}

h3 {
  color: var(--white);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.12;
}

.subtitle {
  max-width: 700px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.32vw, 20px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.22;
  text-wrap: balance;
}

.lede {
  max-width: 620px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.48vw, 22px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.hero-content {
  width: min(1120px, calc(100vw - var(--panel-pad) * 2));
  max-width: 1120px;
}

@media (min-width: 981px) {
  .panel:not(.hero) .panel-content {
    width: min(50vw, calc(100vw - var(--panel-pad) * 2));
    max-width: 50vw;
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.split-grid,
.card-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-grid.wide {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(14px, 1.45vw, 21px);
  border: 1px solid rgba(247, 251, 255, 0.2);
  background: linear-gradient(135deg, rgba(6, 14, 24, 0.58), rgba(4, 7, 12, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(114, 231, 255, 0.58);
  pointer-events: none;
  opacity: 0.7;
}

.hover-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hover-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.54);
  background: linear-gradient(135deg, rgba(10, 31, 54, 0.82), rgba(12, 14, 24, 0.54));
}

.glass-card p,
.timeline p,
.source-list p {
  color: var(--muted);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.52;
}

.compact .glass-card {
  min-height: 118px;
}

.statement {
  max-width: 1040px;
  padding: 18px 22px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 0, 0, 0.27);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.32;
}

.source-line {
  max-width: 1120px;
}

.source-line a,
.source-list a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(114, 231, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 320ms ease, text-decoration-color 320ms ease;
}

.source-line a:hover,
.source-line a:focus-visible,
.source-list a:hover,
.source-list a:focus-visible {
  color: var(--cyan);
  text-decoration-color: currentColor;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-grid .span {
  grid-column: 1 / -1;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 960px;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.24);
}

.timeline.long article {
  grid-template-columns: minmax(130px, 0.22fr) 1fr;
}

.evidence-list {
  list-style: none;
  margin: 0;
  padding: clamp(16px, 2vw, 25px);
}

.evidence-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  padding: 10px 0;
}

.evidence-list span,
.stack-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--cyan);
  color: #001018;
  font-weight: 900;
}

.statement-card p {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.18;
}

.stack-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.stack-flow article {
  min-height: 122px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(3, 12, 21, 0.64);
}

.stack-flow p {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 600;
  line-height: 1.2;
}

.join-card {
  max-width: 680px;
}

.source-list {
  display: grid;
  gap: 10px;
  max-width: 1120px;
}

.source-list article {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) 1fr;
  gap: 20px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sources-panel .panel-content {
  gap: 14px;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  --reveal-y: 44px;
  --reveal-scale: 0.985;
  transition:
    opacity 1300ms ease,
    filter 1300ms ease,
    transform 1500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  --reveal-y: 0px;
  --reveal-scale: 1;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 950ms ease, filter 950ms ease, transform 1150ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(120ms + var(--word-index, 0) * 58ms);
}

.in-view .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.site-footer .word {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.reveal .page-mark,
.reveal .subtitle,
.reveal .lede,
.reveal .pill-row,
.reveal .split-grid,
.reveal .card-grid,
.reveal .timeline,
.reveal .statement,
.reveal .source-line,
.reveal .source-list,
.reveal .glass-card {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px);
  transition:
    opacity 1050ms ease,
    filter 1050ms ease,
    transform 1250ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 360ms;
}

.reveal.in-view .page-mark,
.reveal.in-view .subtitle,
.reveal.in-view .lede,
.reveal.in-view .pill-row,
.reveal.in-view .split-grid,
.reveal.in-view .card-grid,
.reveal.in-view .timeline,
.reveal.in-view .statement,
.reveal.in-view .source-line,
.reveal.in-view .source-list,
.reveal.in-view .glass-card {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.site-footer {
  position: relative;
  z-index: 4;
  background: #111;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(210px, 0.42fr) minmax(315px, 0.66fr) minmax(150px, 0.32fr);
  justify-content: center;
  column-gap: clamp(38px, 3.7vw, 58px);
  align-items: start;
  max-width: 1440px;
  min-height: 738px;
  margin: 0 auto;
  padding: 50px 4.3% 48px;
}

.footer-brand-block {
  display: grid;
  gap: 34px;
  align-content: start;
}

.footer-brand {
  display: inline-grid;
  grid-template-columns: 70px 1fr;
  gap: 21px;
  align-items: center;
  width: fit-content;
}

.footer-logo {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.footer-brand em {
  display: block;
  margin-top: 11px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
}

.footer-description {
  max-width: 515px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.14;
}

.newsletter-form {
  display: grid;
  gap: 16px;
  max-width: 523px;
  margin-top: 2px;
}

.newsletter-form label,
.footer-social h3,
.footer-column h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsletter-form p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr 84px;
  width: 523px;
  max-width: 100%;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #d8d8d8;
}

.newsletter-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.newsletter-row input::placeholder {
  color: rgba(0, 0, 0, 0.48);
}

.newsletter-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  background: #111;
  color: var(--white);
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.newsletter-row button:hover,
.newsletter-row button:focus-visible {
  background: #2d64ff;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.95);
}

.newsletter-row button span {
  display: block;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-2px);
}

.footer-social {
  display: grid;
  gap: 25px;
  margin-top: 5px;
}

.footer-social div {
  display: flex;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  padding: 0;
  border-radius: 7px;
  background: var(--white);
  color: #111;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  transition: transform 240ms ease, background 240ms ease;
}

.youtube-link span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #111;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  background: var(--cyan);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 15px;
}

.footer-column h2 {
  margin-bottom: 8px;
  display: block;
  opacity: 1;
  white-space: nowrap;
}

.footer-column a,
.footer-column button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.08;
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease, transform 240ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-column button:hover,
.footer-column button:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-projects {
  gap: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: color 240ms ease, background 240ms ease;
}

.footer-bottom:hover,
.footer-bottom:focus-visible {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1280px) and (min-width: 981px) {
  .footer-grid {
    grid-template-columns: minmax(330px, 1fr) minmax(120px, 0.32fr) minmax(245px, 0.62fr) minmax(112px, 0.3fr);
    column-gap: clamp(34px, 4vw, 58px);
    min-height: 620px;
    padding: 42px 4.3% 40px;
  }

  .footer-brand {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .footer-logo {
    width: 58px;
    height: 58px;
  }

  .footer-brand strong {
    font-size: 24px;
    font-weight: 600;
  }

  .footer-brand em {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 300;
  }

  .footer-description {
    max-width: 405px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.18;
  }

  .newsletter-form label,
  .footer-social h3,
  .footer-column h2 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.16em;
  }

  .newsletter-form p {
    font-size: 16px;
    font-weight: 300;
  }

  .newsletter-row {
    width: 405px;
    height: 36px;
    grid-template-columns: 1fr 60px;
  }

  .newsletter-row input {
    font-size: 15px;
  }

  .newsletter-row button span {
    font-size: 27px;
  }

  .footer-column {
    gap: 13px;
  }

  .footer-column h2 {
    margin-bottom: 5px;
  }

  .footer-column a,
  .footer-column button {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.12;
  }

  .footer-social a {
    width: 34px;
    height: 27px;
    font-size: 20px;
    border-radius: 6px;
  }

  .youtube-link span {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 11px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .section-rail,
  .subnav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .panel {
    min-height: auto;
    padding-top: 112px;
  }

  .panel-content {
    transform: none !important;
  }

  .split-grid,
  .split-grid.wide,
  .card-grid.two,
  .card-grid.three,
  .stack-flow {
    grid-template-columns: 1fr;
  }

  .stack-flow article {
    min-height: 92px;
  }

  .timeline article,
  .timeline.long article,
  .source-list article {
    grid-template-columns: 1fr;
  }

  .cursor-light {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 18px;
  }

  .panel {
    padding: 96px 18px 40px;
  }

  .panel-content {
    width: 100%;
  }

  .pill-row span {
    width: 100%;
  }

  h1 {
    font-size: clamp(27px, 8.5vw, 38px);
    white-space: normal;
  }

  h2 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 18px;
  }

  .lede {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 38px 22px 34px;
  }

  .footer-brand {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .footer-logo {
    width: 56px;
    height: 56px;
  }

  .newsletter-form label,
  .footer-social h3,
  .footer-column h2 {
    font-size: 22px;
  }

  .footer-bottom {
    min-height: 62px;
    padding: 0 22px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@keyframes fallbackDrift {
  from {
    transform: scale(1.03) translate3d(-1.2%, -0.8%, 0);
  }

  to {
    transform: scale(1.14) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes starfieldShift {
  from {
    background-position: 0 0, 0 0, 0 0, center;
  }

  to {
    background-position: 160px 240px, -220px 180px, 130px -160px, center;
  }
}
