/* Breakpoints + disable custom cursor on touch */

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    width: 100%;
    padding: 14px clamp(12px, 2.6vw, 18px) 10px;
  }

  .brand {
    font-size: 34px;
  }

  .hero-word {
    left: -8vw;
    top: 20vh;
    font-size: 68vw;
  }

  .robot-wrap:not(.robot-wrap--h) {
    top: 24vh;
    left: 8vw;
    width: min(74vw, 520px);
  }

  .robot-wrap:not(.robot-wrap--h) .robot {
    width: min(74vw, 520px);
  }

  .robot-wrap--h {
    top: calc(16vh + 40vw);
    left: 24vw;
    width: min(19vw, 260px);
  }

  .tagline {
    left: 24px;
    font-size: 40px;
    bottom: 86px;
  }

  .scroll {
    bottom: 30px;
    font-size: 26px;
  }

  .overlay-inner {
    padding: 16px 14px 24px;
  }

  .overlay-link {
    font-size: clamp(40px, 13vw, 82px);
  }
}

@media (max-width: 640px) {
  .top-bar .contact-link {
    display: none;
  }

  .top-bar {
    padding: 14px clamp(14px, 2.4vw, 28px);
  }

  .brand {
    font-size: 5vh;
  }

  .actions {
    gap: 10px;
  }

  .contact-link {
    height: 38px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-word {
    top: 50%;
    left: 0 !important;
    right: 0;
    width: 100%;
    text-align: center;
    margin-left: -22px;
    transform: none;
    margin-top: -128px;
    font-size: clamp(174px, 48vw, 270px);
    line-height: 0.76;
  }

  .robot-wrap:not(.robot-wrap--h) {
    top: calc(50% + 64px);
    left: calc(50% - 74px);
    transform: none;
    width: min(62vw, 300px);
  }

  .robot-wrap:not(.robot-wrap--h) .robot {
    width: 100%;
  }

  .robot-wrap--h {
    top: calc(50% + 96px);
    left: calc(50% + 66px);
    transform: none;
    width: min(13vw, 62px);
  }

  .overlay-inner {
    padding: 14px 12px 20px;
  }
}

@media (max-width: 420px) {
  .contact-link {
    padding: 0 12px;
    font-size: 10px;
  }

  .hero-word {
    font-size: clamp(152px, 45vw, 220px);
    margin-top: -114px;
    margin-left: -18px;
  }

  .robot-wrap--h {
    display: none;
  }

  .robot-wrap:not(.robot-wrap--h) {
    width: min(68vw, 330px);
    left: calc(50% - 66px);
    top: calc(50% + 56px);
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none;
  }

  .hero,
  .hero * {
    cursor: auto;
  }
}
