@media (max-width: 700px) {
  .nav-inner {
    padding: 18px 24px !important;
    gap: 14px !important;
  }

  .logo {
    font-size: .82rem !important;
  }

  .nav .btn {
    padding: 10px 14px !important;
    font-size: .58rem !important;
    letter-spacing: .22em !important;
  }

  .hero-inner {
    padding: 122px 18px 74px !important;
  }

  .kicker {
    margin-bottom: 18px !important;
    font-size: .6rem !important;
    letter-spacing: .42em !important;
  }

  .hero h1 {
    margin-bottom: 20px !important;
    font-size: clamp(3rem, 15.5vw, 4.7rem) !important;
    line-height: .96 !important;
  }

  .hero-sub {
    margin-bottom: 30px !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .hero-ctas {
    gap: 12px !important;
  }

  .hero-ctas .btn {
    width: min(100%, 290px);
    padding: 12px 18px !important;
    font-size: .62rem !important;
  }

  .hero-stats {
    margin-top: 36px;
  }
}

@media (min-width: 701px) {
  .hero {
    min-height: calc(100vh - 74px) !important;
  }

  .hero-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    min-height: calc(100vh - 74px) !important;
    padding: clamp(70px, 8vh, 110px) clamp(560px, 46vw, 720px) clamp(48px, 6vh, 82px) clamp(54px, 7vw, 108px) !important;
  }

  .hero h1 {
    max-width: 760px !important;
    margin: 18px 0 18px !important;
    font-size: clamp(4.8rem, 8.4vw, 8.7rem) !important;
    line-height: .86 !important;
    letter-spacing: -.075em !important;
  }

  .hero-sub {
    max-width: 600px !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .hero-ctas {
    justify-content: flex-start !important;
  }

  .hero-stats {
    width: min(720px, 100%) !important;
    margin-top: 28px !important;
  }

  .hero-inner::after {
    content: "PILOT-03 SHOT PLAN\A\A Shot 4,473      Armed\A Field symmetry  94.8%\A Thermal loop    21.4 MWe export\A Grid sync       41 days online\A\A Operator proof: capacitor bank, confinement field, turbine output, and shot log are visible before the visitor scrolls.";
    position: absolute;
    right: clamp(42px, 6vw, 96px);
    top: clamp(126px, 16vh, 174px);
    width: min(470px, 33vw);
    min-height: 360px;
    padding: 24px;
    border: 1px solid rgba(115, 255, 82, .28);
    border-radius: 28px;
    white-space: pre-line;
    color: rgba(235, 255, 230, .94);
    font: 700 14px/1.55 "IBM Plex Mono", ui-monospace, monospace;
    background:
      linear-gradient(180deg, rgba(5, 18, 9, .86), rgba(6, 10, 8, .72)),
      repeating-linear-gradient(0deg, rgba(115, 255, 82, .08) 0 1px, transparent 1px 38px),
      repeating-linear-gradient(90deg, rgba(255, 183, 36, .06) 0 1px, transparent 1px 44px);
    box-shadow: 0 36px 110px rgba(0, 0, 0, .36), inset 0 0 0 1px rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .hero-inner::before {
    content: "";
    position: absolute;
    right: clamp(72px, 8vw, 134px);
    top: clamp(390px, 50vh, 510px);
    z-index: 2;
    width: min(400px, 28vw);
    height: 86px;
    border-radius: 20px;
    background:
      linear-gradient(90deg, #78ff52 0 27%, transparent 27% 31%, #ffb724 31% 58%, transparent 58% 62%, #f24b2e 62% 74%, transparent 74% 100%),
      rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 13px rgba(255, 255, 255, .07), 0 22px 48px rgba(0, 0, 0, .28);
  }
}

@media (max-width: 700px) {
  .hero-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    padding-top: 96px !important;
  }

  .hero h1 {
    order: 2;
    font-size: clamp(2.55rem, 11.4vw, 3.5rem) !important;
    line-height: .9 !important;
    text-align: left !important;
  }

  .kicker {
    order: 1;
  }

  .hero-sub {
    order: 3;
    margin-bottom: 16px !important;
    text-align: left !important;
  }

  .hero-ctas {
    order: 5;
    margin-top: 16px !important;
  }

  .hero-stats {
    order: 6;
    margin-top: 20px !important;
  }

  .hero-inner::after {
    order: 4;
    content: "LIVE REACTOR CONSOLE\A Shot 4,473 armed\A Q peak 2.1\A Grid export 21.4 MWe\A Operator review passed";
    display: block;
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(115, 255, 82, .3);
    border-radius: 20px;
    white-space: pre-line;
    color: rgba(235, 255, 230, .94);
    font: 750 12px/1.55 "IBM Plex Mono", ui-monospace, monospace;
    background: linear-gradient(180deg, rgba(5, 18, 9, .86), rgba(6, 10, 8, .74));
    box-shadow: 0 18px 52px rgba(0, 0, 0, .32);
  }
}
