/* New home page hero (redesign, Nov 2026). Markup comes from acrox/local/patches/apply_new_hero.py.
   Every rule is scoped to .acx-hero so the old theme CSS is not affected. */
.acx-hero {
  --hero-orange: #ff9800;
  --hero-mute: rgba(255, 255, 255, 0.58);
  --hero-gutter: clamp(20px, 4vw, 56px);
  background: #000;
  color: rgba(255, 255, 255, 0.9);
  font:
    400 17px/1.6 Outfit,
    system-ui,
    sans-serif;
  padding: clamp(120px, 12vw, 180px) 0 clamp(56px, 7vw, 96px);
}
.acx-hero__wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--hero-gutter);
}
.acx-hero__copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.acx-hero .acx-hero__line {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-orange);
}
.acx-hero .acx-hero__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
}
.acx-hero .acx-hero__sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--hero-mute);
}
.acx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 32px;
}

/* Pill button with a round arrow disc, the same idea as the button in the old theme. */
.acx-hero a.acx-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 60px;
  padding: 0 8px 0 30px;
  border-radius: 70px;
  background: var(--hero-orange);
  color: #000;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.acx-hero__btn i {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  transition: transform 0.2s;
}
.acx-hero__btn i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 9px;
  height: 9px;
  margin: auto;
  border: solid var(--hero-orange);
  border-width: 2px 2px 0 0;
  transform: translateX(-2px) rotate(45deg);
}
.acx-hero__btn:hover i {
  transform: translateX(3px);
}
.acx-hero a.acx-hero__link {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hero-orange);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
}
.acx-hero a.acx-hero__link:hover {
  color: var(--hero-orange);
}
.acx-hero a:focus-visible {
  outline: 2px solid var(--hero-orange);
  outline-offset: 3px;
}

/* Stage: rounded panel with project screens, a price, a note and a notch tab. */
.acx-hero__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 8.6;
  margin-top: clamp(40px, 5vw, 72px);
  border-radius: 28px;
  background: radial-gradient(120% 60% at 50% 112%, #ff9800 0, #c25e00 34%, rgba(120, 50, 0, 0) 70%),
    radial-gradient(60% 50% at 82% 8%, rgba(255, 152, 0, 0.22), transparent 70%),
    linear-gradient(180deg, #17120c 0, #241a10 55%, #3a2208 100%);
}
.acx-hero__shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  padding-top: 22px;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.acx-hero__shot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow:
    12px 0 rgba(255, 255, 255, 0.3),
    24px 0 rgba(255, 255, 255, 0.3);
}
.acx-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
}
.acx-hero__shot--centre {
  z-index: 2;
  top: 15%;
  left: 25%;
  width: 50%;
}
.acx-hero__shot--left {
  top: 47%;
  left: 5%;
  width: 27%;
  opacity: 0.92;
  transform: rotate(-3deg);
}
.acx-hero__shot--right {
  top: 11%;
  right: 5%;
  width: 27%;
  opacity: 0.92;
  transform: rotate(3deg);
}
.acx-hero__stat,
.acx-hero__note {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 230px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}
.acx-hero__stat {
  top: clamp(20px, 3.4vw, 44px);
  left: clamp(20px, 3.4vw, 48px);
}
.acx-hero__stat strong {
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.acx-hero__note {
  right: clamp(20px, 3.4vw, 48px);
  bottom: clamp(20px, 3.4vw, 44px);
  text-align: right;
}
.acx-hero__note strong {
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.acx-hero__stat span,
.acx-hero__note span {
  color: rgba(255, 255, 255, 0.82);
}
.acx-hero .acx-hero__notch {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  margin: 0;
  padding: 18px clamp(22px, 3vw, 44px) 14px;
  border-radius: 24px 24px 0 0;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  list-style: none;
  transform: translateX(-50%);
}
.acx-hero .acx-hero__notch li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acx-hero__notch::before,
.acx-hero__notch::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 24px;
}
.acx-hero__notch::before {
  right: 100%;
  background: radial-gradient(circle at 0 0, transparent 23.5px, #000 24px);
}
.acx-hero__notch::after {
  left: 100%;
  background: radial-gradient(circle at 100% 0, transparent 23.5px, #000 24px);
}

/* Load animation: copy and stage rise in one after another as the preloader curtain lifts
   (the preloader takes about 2.3s, its curtain starts moving at about 1.6s). */
@media (prefers-reduced-motion: no-preference) {
  .acx-hero__copy > *,
  .acx-hero__stage {
    animation: acx-hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 1.7s both;
  }
  .acx-hero__copy > :nth-child(2) {
    animation-delay: 1.8s;
  }
  .acx-hero__copy > :nth-child(3) {
    animation-delay: 1.9s;
  }
  .acx-hero__copy > :nth-child(4) {
    animation-delay: 2s;
  }
  .acx-hero__stage {
    animation-delay: 2.15s;
    animation-duration: 1s;
  }
  @keyframes acx-hero-rise {
    from {
      opacity: 0;
      transform: translateY(35px);
    }
  }
}

/* Tablet and down: the note sits under the stage so it never covers the screens. */
@media (max-width: 1024px) {
  .acx-hero__stage {
    overflow: visible;
    aspect-ratio: 4 / 3;
    margin-bottom: 96px;
  }
  .acx-hero__shot--centre {
    top: 31%;
    left: 19%;
    width: 62%;
  }
  .acx-hero__shot--left {
    top: 56%;
    left: 3%;
  }
  .acx-hero__shot--right {
    top: 8%;
    right: 3%;
  }
  .acx-hero__note {
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    max-width: none;
    padding-top: 20px;
    text-align: left;
  }
}

/* Phone */
@media (max-width: 640px) {
  .acx-hero {
    font-size: 16px;
  }
  .acx-hero .acx-hero__line {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .acx-hero__title br {
    display: none;
  }
  .acx-hero a.acx-hero__btn {
    height: 54px;
  }
  .acx-hero__btn i {
    width: 40px;
    height: 40px;
  }
  .acx-hero__stage {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
  }
  .acx-hero__shot--left,
  .acx-hero__shot--right {
    display: none;
  }
  .acx-hero__shot--centre {
    top: 36%;
    left: 7%;
    width: 86%;
  }
  .acx-hero__stat {
    max-width: none;
  }
  .acx-hero .acx-hero__notch {
    gap: 3vw;
    padding: 14px 3.4vw 10px;
    border-radius: 18px 18px 0 0;
    font-size: min(12px, 3.1vw);
  }
}
