.page-home {
  --home-hero-min-height: 640px;
}

.page-home .home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--home-hero-min-height);
  overflow: hidden;
  background: var(--color-deep-blue);
  color: var(--color-snow-white);
}

.page-home .home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 43, 61, 0.18) 0%, rgba(15, 43, 61, 0.82) 100%);
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 48px;
}

.page-home .home-hero-kicker {
  display: flex;
  align-items: center;
}

.page-home .home-hero-copy {
  max-width: 680px;
}

.page-home .home-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--color-snow-white);
}

.page-home .home-hero-desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 56ch;
  margin: 0;
  color: rgba(245, 248, 250, 0.86);
}

.page-home .home-preview {
  border-top: 1px solid rgba(245, 248, 250, 0.24);
  padding-top: 24px;
}

.page-home .home-preview-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 12px;
}

.page-home .home-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-preview-list li {
  border-bottom: 1px solid rgba(245, 248, 250, 0.14);
}

.page-home .home-preview-list a {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  color: var(--color-snow-white);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: padding-left var(--transition), background var(--transition);
}

.page-home .home-preview-list a:hover,
.page-home .home-preview-list a:focus-visible {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.28), transparent 70%);
}

.page-home .home-preview-no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent);
}

.page-home .home-preview-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.page-home .home-preview-arrow {
  font-family: var(--font-mono);
  color: var(--color-gold);
  text-align: right;
  font-size: 0.9rem;
}

.page-home .home-data-panel {
  position: relative;
  background: var(--color-snow-white);
  padding: 88px 0;
}

.page-home .home-data-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-snow-blue) 0% 25%, var(--color-ice-blue) 25% 50%, var(--color-gold) 50% 75%, var(--color-accent) 75% 100%);
}

.page-home .home-data-desc {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 64ch;
  margin-top: 24px;
  color: rgba(15, 43, 61, 0.84);
}

.page-home .home-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
}

.page-home .home-data-item {
  background: var(--color-snow-white);
  border: 1px solid rgba(107, 122, 140, 0.22);
  border-left: 4px solid var(--color-snow-blue);
  padding: 24px 24px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.page-home .home-data-item:hover {
  border-left-color: var(--color-accent);
  transform: translateY(-2px);
}

.page-home .home-data-item .stat-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-gray-blue);
  margin-bottom: 12px;
}

.page-home .home-data-item .stat-value {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 200;
  line-height: 1;
  color: var(--color-snow-blue);
}

.page-home .home-sidestage {
  background: var(--color-ice-blue);
  padding: 88px 0;
}

.page-home .home-stage-layout {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.page-home .home-stage-card {
  background: var(--color-snow-white);
  box-shadow: 0 0 0 1px rgba(27, 94, 143, 0.12);
}

.page-home .home-stage-media {
  border-bottom: 1px solid rgba(27, 94, 143, 0.12);
}

.page-home .home-stage-body {
  padding: 28px;
}

.page-home .home-stage-tag {
  margin-bottom: 16px;
}

.page-home .home-stage-title {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--color-deep-blue);
}

.page-home .home-stage-text {
  font-family: var(--font-serif);
  line-height: 1.8;
  color: rgba(15, 43, 61, 0.82);
  margin: 0 0 24px;
}

.page-home .home-stage-aside {
  background: var(--color-deep-blue);
  color: var(--color-snow-white);
  padding: 28px;
  border-left: 4px solid var(--color-accent);
}

.page-home .home-stage-aside-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 20px;
}

.page-home .home-stage-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-stage-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(245, 248, 250, 0.16);
}

.page-home .home-stage-key {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(245, 248, 250, 0.72);
}

.page-home .home-stage-val {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
}

.page-home .home-stage-note {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245, 248, 250, 0.72);
  margin: 0;
}

.page-home .home-companion {
  background: var(--color-deep-blue);
  color: var(--color-snow-white);
  padding: 88px 0;
}

.page-home .home-companion-layout {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.page-home .home-companion-visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-ice-blue);
}

.page-home .home-companion-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-companion-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .home-companion-lead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0 0 24px;
  color: var(--color-snow-white);
}

.page-home .home-companion-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-companion-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-serif);
  color: rgba(245, 248, 250, 0.84);
  line-height: 1.7;
}

.page-home .home-companion-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
}

.page-home .home-android {
  background: var(--color-snow-white);
  padding: 88px 0;
}

.page-home .home-android-layout {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.page-home .home-android-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .home-android-visual {
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-ice-blue);
}

.page-home .home-android-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-android-lead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-deep-blue);
  margin: 0 0 18px;
}

.page-home .home-android-text {
  font-family: var(--font-serif);
  line-height: 1.8;
  color: rgba(15, 43, 61, 0.8);
  margin: 0 0 28px;
}

.page-home .home-android-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-closing {
  background: var(--color-snow-blue);
  color: var(--color-snow-white);
  padding: 96px 0;
}

.page-home .home-closing-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(245, 248, 250, 0.3);
  border-top: 4px solid var(--color-accent);
  padding: 48px 32px;
  background: rgba(15, 43, 61, 0.25);
}

.page-home .home-closing-box h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 200;
  line-height: 1.2;
  color: var(--color-snow-white);
  margin: 16px 0 20px;
}

.page-home .home-closing-box p {
  font-family: var(--font-serif);
  line-height: 1.8;
  color: rgba(245, 248, 250, 0.82);
  margin: 0 0 32px;
}

.page-home .home-closing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home .home-closing .btn-outline {
  border-color: rgba(245, 248, 250, 0.8);
  color: var(--color-snow-white);
}

.page-home .home-closing .btn-outline:hover,
.page-home .home-closing .btn-outline:focus-visible {
  background: rgba(245, 248, 250, 0.12);
}

@media (min-width: 641px) {
  .page-home .home-data-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-stage-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }

  .page-home .home-companion-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .home-android-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .page-home .home-closing-box {
    padding: 56px 48px;
  }
}

@media (min-width: 901px) {
  .page-home {
    --home-hero-min-height: 100vh;
  }

  .page-home .home-hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: end;
    padding-bottom: 72px;
  }

  .page-home .home-preview {
    margin-top: 0;
  }

  .page-home .home-data-panel,
  .page-home .home-sidestage {
    padding: 120px 0;
  }

  .page-home .home-data-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-stage-layout {
    grid-template-columns: 1.6fr 0.9fr;
    gap: 32px;
  }

  .page-home .home-stage-body {
    padding: 32px;
  }

  .page-home .home-companion,
  .page-home .home-android {
    padding: 120px 0;
  }

  .page-home .home-companion-layout,
  .page-home .home-android-layout {
    gap: 48px;
    margin-top: 48px;
  }

  .page-home .home-closing {
    padding: 120px 0;
  }
}
