@media (max-width: 1180px) {
  .site-nav {
    gap: 13px;
    font-size: 10px;
  }

  .brand img {
    height: 56px;
  }

  .site-header {
    min-height: 78px;
    padding: 0 16px 0 22px;
  }
}

@media (max-width: 1050px) {
  :root {
    --rail: 0px;
  }

  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100vw - 24px));
  }

  .site-header {
    border-radius: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: -20px;
  }

  .split,
  .section-head,
  .arsenal-head,
  .paths-head,
  .manifesto-layout,
  .apply,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .manifesto-grid,
  .paths-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-carousel {
    min-height: 460px;
  }

  .scene {
    width: min(360px, 82vw);
    height: 360px;
  }

  .card3d {
    width: 170px;
    height: 240px;
    transform:
      translate(-50%, -50%)
      rotateY(calc(360deg / var(--n) * var(--i)))
      translateZ(245px);
  }

  .arsenal-list article {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }

  .arsenal-list article p {
    grid-column: 2;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp {
    right: 20px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
    padding: 0 14px 0 18px;
    border-radius: 20px;
  }

  .brand img {
    height: 48px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    z-index: 60;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
    border-radius: 999px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5, 5, 9, .97);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
    z-index: 50;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .language-switcher {
    padding: 14px;
    margin: 4px 0;
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  :root {
    --ticker: 34px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body::after {
    background-size: 620px auto;
    opacity: .28;
  }

  main {
    width: calc(100vw - 20px);
    margin-top: 10px;
  }

  .top-marquee {
    height: var(--ticker);
  }

  .marquee-track {
    font-size: 10px;
    gap: 18px;
  }

  .site-header {
    top: var(--ticker);
    width: calc(100vw - 20px);
    margin-top: 8px;
    min-height: 64px;
  }

  .hero {
    padding: 28px 18px 0;
    min-height: auto;
    overflow: hidden;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .82) 72%),
      rgba(0, 0, 0, .38);
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
    letter-spacing: -3px;
    line-height: .88;
  }

  .hero-text {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .btn,
  .apply-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
    margin-top: 12px;
    align-items: end;
  }

  .hero-visual img {
    max-width: 110%;
    margin-left: -5%;
  }

  .floating-card {
    display: none;
  }

  .section-pad {
    padding: 58px 0;
  }

  .split h2,
  .section-head h2,
  .manifesto-content h2,
  .paths-head h2,
  .method h2,
  .apply h2,
  .contact h2 {
    font-size: clamp(34px, 10vw, 42px);
    letter-spacing: -1.8px;
    line-height: .96;
  }

  .split p,
  .section-head p,
  .manifesto-content > p,
  .paths-head p,
  .apply p {
    font-size: 16px;
  }

  .intro-grid,
  .manifesto-grid,
  .platform-grid {
    margin-top: 24px;
  }

  .arsenal,
  .apply,
  .selected-projects {
    padding: 42px 18px;
  }

  .arsenal-head h2 {
    font-size: clamp(48px, 16vw, 70px);
    letter-spacing: -3px;
  }

  .arsenal-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .arsenal-list article p {
    grid-column: auto;
  }

  .arsenal-list article h3 {
    font-size: 22px;
  }

  .paths-head h2 {
    font-size: clamp(42px, 14vw, 62px);
    letter-spacing: -2.8px;
  }

  .paths-grid article,
  .platform-grid article {
    min-height: auto;
    padding: 26px;
  }

  .paths-grid h3 {
    font-size: 28px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    height: 58px;
    border-radius: 14px;
  }

  .logo-track {
    font-size: 12px;
    gap: 30px;
  }

  .manifesto-carousel {
    height: auto;
    min-height: 0;
    margin-top: 42px;
    overflow: hidden;
  }

  .manifesto-carousel::before {
    width: 320px;
    height: 320px;
    filter: blur(45px);
    opacity: .45;
  }

  .scene {
    height: auto;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    perspective: none;
    display: block;
    padding: 10px 18px 26px;
    -webkit-overflow-scrolling: touch;
  }

  .a3d {
    display: flex;
    gap: 16px;
    width: max-content;
    height: auto;
    animation: none;
    transform: none;
    transform-style: flat;
  }

  .card3d {
    width: 180px;
    height: auto;
    min-width: 180px;
    aspect-ratio: 7 / 10;
    position: relative;
    inset: auto;
    transform: none !important;
    border-radius: 22px;
  }

  .apply-form {
    padding: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 10px;
  }

  .contact-copy {
    padding: 22px 12px;
  }

  .map-card,
  .map-card iframe {
    min-height: 320px;
  }

  .site-footer {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .footer-brand img {
    height: 46px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 84px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 40px;
  }

  .site-header {
    min-height: 62px;
    padding-left: 14px;
  }

  h1 {
    font-size: 50px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .arsenal,
  .apply,
  .selected-projects {
    padding-left: 14px;
    padding-right: 14px;
  }

  .intro-grid article,
  .manifesto-grid article,
  .paths-grid article,
  .platform-grid article,
  .timeline article {
    padding: 24px;
  }

  .card3d {
    width: 165px;
    min-width: 165px;
  }
}