.home-hero {
  isolation: isolate;
  background: #080b0a;
}

.home-wave-image {
  background: none;
}

.home-wave-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/home-wave.webp") center 59% / cover no-repeat;
}

.home-wave-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-wave-image::after {
  background: linear-gradient(90deg,#060b0a 0%,#060b0ab8 30%,#060b0a4f 55%,transparent 80%),
    linear-gradient(0deg,#080b0a96 0%,transparent 42%);
}

.home-wave-toggle {
  position: absolute;
  inset: auto var(--gutter) .7rem auto;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  color: #cce3d9;
  border: 1px solid #a6c9b861;
  background: #091611db;
  transition: color .2s, border-color .2s, background-color .2s;
}

.home-wave-toggle:hover {
  color: var(--signal);
  border-color: var(--signal);
  background: #0f211a;
}

.home-wave-icon {
  inline-size: .62rem;
  block-size: .73rem;
  border-inline: 2px solid currentColor;
}

.home-wave-toggle[data-paused] .home-wave-icon {
  inline-size: 0;
  block-size: 0;
  border: .38rem solid transparent;
  border-inline-start: .55rem solid currentColor;
  border-inline-end: 0;
}

.home-wave-toggle:not([data-paused]) .wave-resume,
.home-wave-toggle[data-paused] .wave-pause {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-wave-toggle, .home-wave-canvas { display: none; }
}

.home-hero .hero-inner {
  min-block-size: clamp(33rem, 44vw, 42rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(3.7rem,6vw,6rem);
}

.home-hero h1 {
  font-size: clamp(2.85rem, 5.7vw, 5.75rem);
  max-width: 14ch;
  text-wrap: pretty;
}

.home-hero .hero-lead {
  max-width: 36ch;
}

.home-hero .hero-body {
  color: #d5dfd8;
}

.home-hero-actions {
  align-items: stretch;
  width: min(100%, 38rem);
}

.button.home-aion-button {
  min-height: 4.1rem;
  min-width: min(100%, 13.7rem);
  padding-inline: .85rem 1.1rem;
  gap: .75rem;
  font-size: 1.18rem;
  letter-spacing: .035em;
  color: #f5ecd9;
  border-color: #e9b44c;
  background: linear-gradient(105deg,#211a0f,#100e0a);
  box-shadow: 0 0 1.8rem #e9b44c1c;
}

.home-aion-button > span:last-child {
  margin-inline-start: auto;
  color: #e9b44c;
}

.button.home-aion-button:hover {
  background: #3b2a13;
  color: #fff8e6;
  box-shadow: 0 0 1.8rem #e9b44c36;
}

.button.home-briefing-button {
  background: #080d0bcb;
}

.home-relief > img {
  object-position: 60% center;
}

.home-aion-feature {
  color: #f4f3ed;
  background: #0f100f;
  border: 1px solid #aa854057;
  border-block-start-color: #e9b44c;
  display: grid;
  grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr);
  align-items: stretch;
}

.home-aion-feature-copy {
  padding: clamp(1.5rem,4vw,4rem);
}

.home-aion-feature-copy p {
  margin-block-start: .55rem;
  color: #cecec7;
}

.home-aion-feature-copy .button.outline {
  color: #e9b44c;
  border-color: #9b8354;
  background: #17150f;
}

.home-aion-feature-copy .button.outline:hover {
  border-color: #e9b44c;
  background: #2c2213;
}

.home-aion-feature-figure {
  display: grid;
  place-items: center;
  padding: 1.35rem;
  background: linear-gradient(90deg,#0f100f 0%,#0f100f57 33%,#0f100f1f),
    radial-gradient(ellipse at 58% 50%, #0009, transparent 70%),
    url("assets/home-amber-relief.webp") 56% center / cover no-repeat, #222721;
}

.home-aion-feature-figure > img {
  inline-size: clamp(6rem, 12vw, 9.5rem);
  filter: drop-shadow(0 0 .8rem #e9b44c40);
}

@media (max-width: 700px) {
  .home-wave-image::before { background-position: 59% center; }
  .home-wave-image::after {
    background: linear-gradient(90deg,#060b0af0 0%,#060b0a8e 67%,#060b0a45),
      linear-gradient(0deg,#080b0aaf 0%,transparent 59%);
  }
  .home-hero .hero-inner { min-block-size: auto; }
  .home-aion-feature { grid-template-columns: minmax(0,1.5fr) minmax(0,.65fr); }
  .home-aion-feature-figure { padding: .4rem; }
}

@media (max-width: 440px) {
  .home-hero .hero-inner { padding-block-end: 4.45rem; }
  .home-hero h1 { font-size: clamp(2.18rem,10vw,2.85rem); }
  .home-hero-actions { width: 100%; }
  .home-hero-actions > a { width: 100%; }
  .home-aion-feature {
    grid-template-columns: minmax(0,1fr);
    background: linear-gradient(90deg,#0f100ffa,#0f100fd6 57%,#0f100f92),
      url("assets/home-amber-relief.webp") 60% center / cover no-repeat, #0f100f;
  }
  .home-aion-feature-figure { display: none; }
}
