.home-intro {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  padding-block: clamp(28px, 5vw, 76px) clamp(26px, 4vw, 60px);
}

.home-intro h1 {
  max-width: 14ch;
}

.home-intro .hero-description {
  max-width: 39ch;
}

.home-satellite {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #54485f;
  border-radius: 15px;
  background: linear-gradient(148deg, #231e2a 0%, #100e16 45%, #14111c 100%);
  box-shadow: 0 20px 58px #0302058c, inset 0 1px #9b869b36;
}

.home-satellite-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 24 / 13;
  min-width: 0;
  background: #0f1119;
  border-bottom: 1px solid #362d42;
}

.home-satellite-stage img,
.home-satellite-scene {
  width: 100%;
  height: 100%;
}

.home-satellite-stage img {
  object-fit: contain;
}

.home-satellite-scene {
  background: #0f1119 url("/assets/orbital-front.webp") no-repeat;
  background-size: 300% 300%;
  filter: brightness(1.13) contrast(1.04);
}

.home-satellite-scene[data-frame="0"] { background-position: 0 0; }
.home-satellite-scene[data-frame="1"] { background-position: 50% 0; }
.home-satellite-scene[data-frame="2"] { background-position: 100% 0; }
.home-satellite-scene[data-frame="3"] { background-position: 0 50%; }
.home-satellite-scene[data-frame="4"] { background-position: 50% 50%; }
.home-satellite-scene[data-frame="5"] { background-position: 100% 50%; }
.home-satellite-scene[data-frame="6"] { background-position: 0 100%; }
.home-satellite-scene[data-frame="7"] { background-position: 50% 100%; }
.home-satellite-scene[data-frame="8"] { background-position: 100% 100%; }

.home-satellite-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-height: 129px;
  padding: clamp(15px, 2.2vw, 24px);
}

.home-satellite-type {
  margin: 0 0 5px;
  color: var(--gold);
  font: 650 10px var(--label);
  letter-spacing: .065em;
  text-transform: uppercase;
}

.home-satellite-caption h2 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 29px);
  letter-spacing: -.045em;
  line-height: 1.1;
}

.home-satellite-status {
  min-height: 1.2em;
  margin: 9px 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.home-satellite-progress {
  display: block;
  width: min(100%, 12rem);
  height: 6px;
  margin-top: 7px;
  accent-color: var(--green);
}

.home-satellite-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.home-satellite-actions .button {
  min-height: 42px;
  text-align: center;
}

.home-satellite-actions .text-link {
  min-height: 34px;
  justify-content: center;
}

.home-tasks {
  padding-top: 14px;
  padding-bottom: clamp(28px, 4vw, 58px);
}

.home-tasks .section-heading {
  align-items: end;
}

.home-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-task-grid li {
  min-width: 0;
}

.home-task {
  display: block;
  position: relative;
  min-width: 0;
  height: 100%;
  padding: clamp(16px, 2.1vw, 26px);
  border: 1px solid #3a3343;
  border-radius: 12px;
  background: radial-gradient(ellipse at 100% 100%, #271934 0%, transparent 72%), linear-gradient(142deg, #1d1922, #121015 71%);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.home-task:is(:hover, :focus-visible) {
  border-color: #90809f;
  transform: translateY(-3px);
  box-shadow: 0 9px 25px #050305b3;
}

.home-task-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: #211b24;
  border: 1px solid #514453;
  border-radius: 8px;
}

.home-task-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

.home-task-grid li:nth-child(2) .home-task-icon { color: var(--violet); }
.home-task-grid li:nth-child(3) .home-task-icon { color: var(--green); }

.home-task h3 {
  margin: 16px 0 8px;
  color: var(--silver);
  font-size: clamp(20px, 2.45vw, 30px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.home-task p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-task-arrow {
  position: absolute;
  top: clamp(16px, 2.1vw, 26px);
  right: clamp(16px, 2.1vw, 26px);
  color: var(--violet);
}

.home-craft,
.home-offline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 25px;
  padding: 20px clamp(17px, 2.2vw, 32px);
  margin-bottom: clamp(29px, 5vw, 64px);
  border: 1px solid #414835;
  border-radius: 12px;
  background: linear-gradient(120deg, #232b21, #15141b 67%);
}

.home-craft {
  margin-bottom: 16px;
  border-color: #42384a;
  background: linear-gradient(118deg, #221b29, #15141b 68%);
}

.home-craft .button-row {
  column-gap: 18px;
}

.home-offline-copy {
  display: flex;
  align-items: start;
  gap: 14px;
}

.home-offline-copy .home-task-icon {
  flex: 0 0 42px;
  color: var(--green);
  background: #252e23;
  border-color: #4d5a43;
}

.home-craft h2,
.home-offline h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.45vw, 31px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.home-craft p,
.home-offline-copy p,
.home-offline-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-offline-status:not(:empty) {
  margin-top: 8px;
}

@media (max-width: 950px) {
  .home-satellite-caption {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .home-satellite-actions {
    flex-flow: row wrap;
    align-items: center;
    gap: 7px 13px;
  }
}

@media (max-width: 620px) {
  .home-task-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .home-tasks .section-heading .text-link {
    margin-top: 9px;
  }

  .home-task h3 {
    margin-top: 11px;
  }
}
