@media (max-width: 1080px) {
  .section-heading {
    gap: 50px;
  }

  .project-media,
  .project-narrow .project-media {
    --project-media-height: 300px;
  }

  .continuum-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }

  .principles-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid article {
    min-height: 260px;
    border-bottom: 1px solid var(--line-light);
  }

  .proof-grid article:nth-child(2) {
    border-right: 0;
  }

  .proof-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .proof-grid article:first-child,
  .proof-grid article:nth-child(3) {
    padding-left: 0;
  }

  .proof-grid article:nth-child(2),
  .proof-grid article:last-child {
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .hero-content,
  .footer {
    width: min(100% - 32px, var(--shell));
  }

  .section-heading,
  .statement-layout,
  .continuum-layout,
  .principles-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .statement-layout,
  .continuum-layout,
  .principles-layout {
    gap: 34px;
  }

  .section-heading h2,
  .statement h2,
  .continuum h2,
  .principles h2,
  .follow h2 {
    font-size: 46px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 8px;
    border: 1px solid #303735;
    border-radius: 7px;
    background: #0b0e0d;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links .nav-github {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    margin: 0;
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-statement {
    font-size: 42px;
  }

  .hero-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-status > div,
  .hero-status > div:first-child,
  .hero-status > div:last-child {
    min-height: 74px;
    padding: 13px 16px;
  }

  .hero-status > div:nth-child(2) {
    border-right: 0;
  }

  .hero-status > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(225, 235, 230, 0.14);
  }

  .statement-copy {
    gap: 28px;
  }

  .project-wide,
  .project-narrow {
    grid-column: 1 / -1;
  }

  .project-media,
  .project-narrow .project-media {
    --project-media-height: clamp(250px, 36vw, 300px);
  }

  .continuum-heading {
    position: static;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article,
  .principle-list article:first-child,
  .principle-list article:last-child {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-list article:last-child {
    border-bottom: 0;
  }

  .principle-list article > span {
    margin-bottom: 36px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding: 24px 0;
  }

  .footer p {
    display: none;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-nav {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 56px;
    padding: 6px 6px 6px 9px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .hero {
    min-height: calc(100svh - 36px);
  }

  .hero-content {
    padding: 88px 0 30px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: 48px;
  }

  .hero-statement {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-intro {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero-status > div,
  .hero-status > div:first-child,
  .hero-status > div:last-child {
    min-height: 64px;
    gap: 3px;
    padding: 9px 16px;
  }

  .status-label {
    font-size: 8px;
  }

  .hero-status strong {
    font-size: 11px;
  }

  .statement,
  .projects,
  .continuum,
  .proof,
  .principles {
    padding: 78px 0 84px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .statement h2,
  .continuum h2,
  .principles h2,
  .follow h2 {
    font-size: 36px;
  }

  .statement h2 {
    margin-bottom: 34px;
  }

  .statement-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 22px;
  }

  .statement-copy p,
  .section-lead,
  .continuum-heading > p:last-child {
    font-size: 16px;
  }

  .project-grid {
    gap: 12px;
  }

  .project-media,
  .project-narrow .project-media {
    --project-media-height: 250px;
  }

  .project-body {
    min-height: 0;
    padding: 21px 20px 20px;
  }

  .project-card h3 {
    font-size: 28px;
  }

  .visual-label {
    top: 14px;
    left: 15px;
    font-size: 9px;
  }

  .story-node {
    width: 58px;
    height: 58px;
    font-size: 8px;
  }

  .story-node-a { left: 8%; }
  .story-node-b { left: 37%; }
  .story-node-c { right: 22%; }
  .story-node-d { right: 4%; }

  .story-caption,
  .agent-readout,
  .coordinates,
  .gate-hash {
    left: 15px;
    bottom: 13px;
  }

  .telemetry-readout {
    display: none;
  }

  .flight-path {
    inset: 60px 28px 48px;
  }

  .gate-flow {
    width: calc(100% - 30px);
    gap: 5px;
  }

  .gate-flow span {
    min-height: 40px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .focus-visual {
    padding: 48px 14px 16px;
  }

  .focus-workspace {
    grid-template-columns: 34px 1fr;
  }

  .focus-rail {
    gap: 13px;
    padding-top: 14px;
  }

  .focus-rail i {
    width: 14px;
    height: 14px;
  }

  .focus-organizer {
    gap: 8px;
    padding: 9px;
  }

  .focus-organizer-head {
    font-size: 8px;
  }

  .focus-organizer-head strong {
    font-size: 9px;
  }

  .focus-lanes {
    gap: 6px;
  }

  .focus-lane {
    gap: 5px;
    padding: 7px;
  }

  .focus-lane span {
    padding: 5px 6px;
    font-size: 8px;
  }

  .fpv-media img {
    padding: 28px 28px 4px;
  }

  .continuum-loop li {
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }

  .continuum-loop li > span {
    width: 42px;
    height: 42px;
  }

  .continuum-loop::before {
    left: 20px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article,
  .proof-grid article:first-child,
  .proof-grid article:nth-child(2),
  .proof-grid article:nth-child(3),
  .proof-grid article:last-child {
    min-height: 0;
    padding: 26px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .proof-number {
    margin-bottom: 42px;
  }

  .follow {
    min-height: 500px;
  }

  .follow-inner {
    padding: 76px 0;
  }

  .follow p:not(.section-index) {
    font-size: 16px;
  }

  .footer {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .not-found h1 {
    font-size: 42px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content {
    padding-top: 82px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-statement {
    font-size: 31px;
  }

  .hero-intro {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
