.page-home {
  --home-grid-line: rgba(232, 240, 255, .055);
  --home-hair: rgba(232, 240, 255, .10);
  --home-glass: linear-gradient(158deg, rgba(232, 240, 255, .12), rgba(232, 240, 255, .03));
  --home-glow-a: radial-gradient(58% 46% at 72% 6%, rgba(33, 212, 232, .18), transparent 70%);
  --home-glow-b: radial-gradient(48% 42% at 10% 0%, rgba(255, 91, 31, .20), transparent 72%);
  display: block;
}

/* ---------- breadcrumb ---------- */
.page-home .home-crumb {
  padding-top: clamp(14px, 2vw, 22px);
  padding-inline: clamp(16px, 4vw, 40px);
  max-width: var(--shell);
  margin-inline: auto;
}

/* ---------- hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--ink-900);
  color: var(--glass-100);
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 84px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 82%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: -12% -8% auto -8%;
  height: 96%;
  background: var(--home-glow-a), var(--home-glow-b);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grid-500);
}

.page-home .home-hero__eyebrow .mono {
  color: var(--lime-400);
  font-size: 14px;
}

.page-home .home-hero__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 12vw, 118px);
  line-height: .95;
  letter-spacing: -.02em;
}

.page-home .home-hero__title-line {
  display: block;
}

.page-home .home-hero__title-line--accent {
  background: linear-gradient(96deg, var(--orange-500), var(--orange-300) 44%, var(--lime-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(232, 240, 255, .82);
}

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

.page-home .home-hero__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, rgba(33, 212, 232, .18), rgba(255, 91, 31, .16));
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .home-hero__media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(232, 240, 255, .78);
  background: linear-gradient(180deg, transparent, rgba(7, 14, 34, .88));
}

.page-home .home-hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  margin: clamp(30px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--home-hair);
  border-block: 1px solid var(--home-hair);
}

.page-home .home-hero__fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  background: var(--ink-900);
}

.page-home .home-hero__fact-num {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: var(--lime-400);
  line-height: 1;
}

.page-home .home-hero__fact-unit {
  margin-left: 2px;
  font-size: .5em;
  color: rgba(184, 255, 60, .7);
}

.page-home .home-hero__fact-text {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--grid-text, var(--grid-500));
}

/* ---------- shared section rhythm for this page ---------- */
.page-home .home-zones,
.page-home .home-data,
.page-home .home-h2h,
.page-home .home-saved {
  padding-block: clamp(60px, 8vw, 112px);
}

.page-home .home-zones,
.page-home .home-h2h {
  background-color: var(--ink-900);
  color: var(--glass-100);
}

.page-home .home-data {
  background-color: var(--ink-700);
  color: var(--glass-100);
  position: relative;
}

.page-home .home-data::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 100%;
  background: radial-gradient(70% 60% at 0% 0%, rgba(255, 91, 31, .12), transparent 72%);
  pointer-events: none;
}

.page-home .home-data > .container {
  position: relative;
  z-index: 1;
}

/* ---------- zones ---------- */
.page-home .home-zones {
  position: relative;
}

.page-home .home-zones__head .section__title,
.page-home .home-data__head .section__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .home-zones__list {
  display: grid;
  gap: 14px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .zone-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 20px 20px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: var(--home-glass);
  backdrop-filter: blur(10px);
  transition: border-color .24s var(--ease), transform .24s var(--ease), background-color .24s var(--ease);
}

.page-home .zone-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.page-home .zone-card:hover,
.page-home .zone-card:focus-within {
  border-color: rgba(184, 255, 60, .5);
  transform: translateY(-4px);
}

.page-home .zone-card:hover::after,
.page-home .zone-card:focus-within::after {
  transform: scaleX(1);
}

.page-home .zone-card__code {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--orange-500);
}

.page-home .zone-card__name {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
}

.page-home .zone-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 240, 255, .7);
}

.page-home .zone-card__coord {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--grid-500);
}

.page-home .home-zones__foot {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-size: 14px;
  color: rgba(232, 240, 255, .66);
}

.page-home .home-zones__foot a {
  color: var(--cyan-400);
  text-underline-offset: 3px;
}

.page-home .home-zones__foot a:hover {
  color: var(--lime-400);
}

/* ---------- data ---------- */
.page-home .home-data__layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-data__device {
  position: relative;
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-glass);
  box-shadow: var(--shadow-deep);
}

.page-home .home-data__device img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .home-data__device-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(232, 240, 255, .8);
  background: linear-gradient(180deg, transparent, rgba(7, 14, 34, .9));
}

.page-home .home-data__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .home-data__card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 16px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-sm);
  background: rgba(7, 14, 34, .5);
}

.page-home .home-data__card .data-card__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--grid-500);
}

.page-home .home-data__card .data-card__value {
  font-size: clamp(26px, 4.4vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--lime-400);
}

.page-home .home-data__card .data-card__unit {
  margin-left: 4px;
  font-size: .46em;
  color: rgba(184, 255, 60, .72);
}

.page-home .home-data__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- h2h ---------- */
.page-home .home-h2h {
  position: relative;
}

.page-home .home-h2h__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-h2h__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--home-hair);
  background: linear-gradient(140deg, rgba(255, 91, 31, .2), rgba(33, 212, 232, .18));
  -webkit-clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.page-home .home-h2h__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-h2h__title {
  font-size: clamp(26px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 10px 0 16px;
}

.page-home .home-h2h__lede {
  color: rgba(232, 240, 255, .78);
}

.page-home .home-h2h__cards {
  display: grid;
  gap: 14px;
  margin: clamp(20px, 3vw, 30px) 0 clamp(20px, 3vw, 28px);
}

.page-home .h2h-card {
  position: relative;
  padding: 18px 18px 16px 24px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-sm);
  background: var(--home-glass);
}

.page-home .h2h-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
}

.page-home .h2h-card--orange::before {
  background: var(--orange-500);
}

.page-home .h2h-card--cyan::before {
  background: var(--cyan-400);
}

.page-home .h2h-card__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-home .h2h-card__desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 240, 255, .72);
}

.page-home .h2h-card__meta {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--lime-400);
}

/* ---------- saved ---------- */
.page-home .home-saved {
  background-color: var(--floor-050);
  color: var(--ink-900);
}

.page-home .home-saved__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page-home .home-saved__title {
  font-size: clamp(26px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 10px 0 16px;
}

.page-home .home-saved .section__index {
  color: var(--orange-500);
}

.page-home .home-saved__lede {
  color: rgba(7, 14, 34, .74);
}

.page-home .home-saved__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: clamp(18px, 3vw, 26px) 0;
}

.page-home .home-saved__hint {
  font-size: 13px;
  color: rgba(7, 14, 34, .55);
}

.page-home .home-saved__disclosure {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.page-home .home-saved__disclosure .disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
}

.page-home .home-saved__disclosure .disclosure__trigger:hover {
  color: var(--orange-500);
}

.page-home .home-saved__disclosure .disclosure__icon {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange-500);
  border-bottom: 2px solid var(--orange-500);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .24s var(--ease);
}

.page-home .home-saved__disclosure .disclosure__trigger[aria-expanded="true"] .disclosure__icon {
  transform: rotate(225deg) translate(-2px, -2px);
}

.page-home .home-saved__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  background: var(--line-light);
}

.page-home .home-saved__list .jump-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 13px 18px;
  background: #fff;
}

.page-home .home-saved__list .jump-list__link {
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: rgba(255, 91, 31, .5);
  text-underline-offset: 3px;
}

.page-home .home-saved__list .jump-list__link:hover {
  color: var(--orange-500);
  text-decoration-color: var(--orange-500);
}

.page-home .home-saved__list .jump-list__meta {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(7, 14, 34, .5);
}

.page-home .home-saved__aside {
  display: grid;
  gap: 18px;
}

.page-home .home-saved__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-home .home-saved__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-saved__figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(7, 14, 34, .55);
}

.page-home .home-saved__note {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--cyan-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(33, 212, 232, .1);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(7, 14, 34, .78);
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .page-home .home-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-zones__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-data__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-h2h__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(36px, 5vw, 72px);
  }

  .page-home .home-hero__media {
    transform: translateY(18px);
  }

  .page-home .home-zones__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-data__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: center;
  }

  .page-home .home-data__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-h2h__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .home-h2h__figure {
    position: sticky;
    top: 96px;
  }

  .page-home .home-saved__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__facts {
    gap: 0;
  }

  .page-home .home-hero__fact {
    padding: 22px 28px;
    border-right: 1px solid var(--home-hair);
  }

  .page-home .home-hero__fact:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .zone-card,
  .page-home .zone-card::after,
  .page-home .home-saved__disclosure .disclosure__icon {
    transition: none;
  }

  .page-home .zone-card:hover {
    transform: none;
  }

  .page-home .home-hero__media {
    transform: none;
  }
}
