.page-home {
  --home-gap: 22px;
  --home-edge: rgba(11, 20, 22, 0.12);
  --home-cyan-soft: rgba(24, 224, 208, 0.16);
  --home-orange-soft: rgba(255, 106, 42, 0.16);
  padding-bottom: 0;
  color: var(--text);
}

.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--slate-deep);
}

.page-home .home-context__dot {
  width: 22px;
  height: 3px;
  background: var(--orange);
  display: inline-block;
}

/* ---------- hero ---------- */
.page-home .hero {
  padding: 26px 0 54px;
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-size: clamp(2.5rem, 9vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--deep-green);
  position: relative;
  display: inline-block;
}

.page-home .hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 6%;
  bottom: -6px;
  height: 8px;
  background: linear-gradient(90deg, var(--cyan), rgba(24, 224, 208, 0));
  border-radius: 4px;
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-deep);
}

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

.page-home .hero__meta {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-deep);
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
}

.page-home .hero__visual {
  position: relative;
  min-width: 0;
}

.page-home .hero__shot {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  background: var(--ink);
}

.page-home .hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.86);
}

.page-home .hero__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero__board {
  position: relative;
  margin: -34px 8px 0 auto;
  width: min(76%, 290px);
  background: var(--deep-green);
  border: 1px solid var(--home-cyan-soft);
  border-left: 3px solid var(--cyan);
  padding: 16px 18px 18px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero__board-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--lamp);
}

.page-home .hero__board-num {
  font-family: var(--font-num);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.page-home .hero__board-unit {
  font-size: 0.9rem;
  margin-left: 4px;
  color: var(--cyan);
}

.page-home .hero__board-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(247, 242, 232, 0.78);
}

/* ---------- overview ---------- */
.page-home .overview {
  background: var(--sand);
  padding: 52px 0 56px;
  border-top: 1px solid var(--home-edge);
}

.page-home .home-scores {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 32px;
  background: rgba(11, 20, 22, 0.14);
  border: 1px solid rgba(11, 20, 22, 0.14);
}

.page-home .home-score {
  background: var(--paper);
  padding: 22px 20px 24px;
  position: relative;
  min-width: 0;
}

.page-home .home-score::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 4px;
  background: var(--orange);
}

.page-home .home-score__num {
  font-family: var(--font-num);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: inline-block;
}

.page-home .home-score__unit {
  font-size: 0.85rem;
  margin-left: 6px;
  color: var(--slate-deep);
  letter-spacing: 0.08em;
}

.page-home .home-score__label {
  margin: 12px 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-green);
}

.page-home .home-score__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--slate-deep);
}

.page-home .overview__base {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 34px;
  align-items: stretch;
}

.page-home .overview__figure {
  margin: 0;
  min-width: 0;
}

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

.page-home .overview__figure .media__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-deep);
}

.page-home .fact-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(11, 20, 22, 0.12);
  border: 1px solid rgba(11, 20, 22, 0.12);
}

.page-home .fact-strip__item {
  background: var(--deep-green);
  color: var(--paper);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .fact-strip__item .num {
  font-family: var(--font-num);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

/* ---------- laps / timeline ---------- */
.page-home .laps {
  padding: 56px 0 58px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, rgba(232, 217, 190, 0.55) 100%);
}

.page-home .track {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .track__item {
  position: relative;
  padding: 20px 0 0 26px;
  border-left: 2px dashed rgba(62, 85, 99, 0.32);
  min-width: 0;
}

.page-home .track__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--cyan);
  box-sizing: border-box;
}

.page-home .track__item:first-child::before {
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .track__num {
  display: block;
  font-family: var(--font-num);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .track__title {
  margin: 6px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-home .track__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--slate-deep);
}

.page-home .laps__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- terminal ---------- */
.page-home .terminal {
  background: var(--ink);
  color: var(--paper);
  padding: 50px 0 54px;
  position: relative;
  overflow: hidden;
}

.page-home .terminal::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(24, 224, 208, 0.18), rgba(24, 224, 208, 0) 68%);
  pointer-events: none;
}

.page-home .terminal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-home .terminal__figure {
  margin: 0;
  min-width: 0;
}

.page-home .terminal__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(24, 224, 208, 0.32);
}

.page-home .terminal .section__title {
  color: var(--paper);
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 5.6vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-home .terminal .eyebrow {
  color: var(--cyan);
}

.page-home .terminal__lead {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(247, 242, 232, 0.8);
}

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

.page-home .terminal__item {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.86);
  padding-left: 16px;
  position: relative;
}

.page-home .terminal__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--lamp);
  transform: rotate(45deg);
}

.page-home .terminal__item strong {
  color: var(--cyan);
  font-weight: 700;
  margin-right: 6px;
}

.page-home .terminal__link {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 106, 42, 0.45);
  padding-bottom: 3px;
}

.page-home .terminal__link:hover,
.page-home .terminal__link:focus-visible {
  border-bottom-color: var(--orange);
}

/* ---------- pickup ---------- */
.page-home .pickup {
  padding: 52px 0 54px;
  background: var(--paper);
}

.page-home .pickup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .pickup .section__title {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 5.6vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .pickup__lead {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--slate-deep);
  max-width: 32em;
}

.page-home .pickup__list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .pickup__list li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.page-home .pickup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 3px;
  background: var(--orange);
}

.page-home .pickup__figure {
  margin: 0;
  min-width: 0;
  position: relative;
}

.page-home .pickup__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

/* ---------- reel ---------- */
.page-home .reel {
  padding: 54px 0 58px;
  background: var(--sand);
  border-top: 1px solid var(--home-edge);
}

.page-home .reel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.page-home .reel-card {
  display: block;
  text-decoration: none;
  background: var(--deep-green);
  color: var(--paper);
  padding: 22px 20px 24px;
  border: 1px solid rgba(247, 242, 232, 0.14);
  position: relative;
  transition: transform 160ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.page-home .reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 224, 208, 0.18), rgba(255, 106, 42, 0.16));
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.page-home .reel-card:hover,
.page-home .reel-card:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 10px 26px rgba(11, 20, 22, 0.28);
  transform: translateY(-3px);
}

.page-home .reel-card:hover::after,
.page-home .reel-card:focus-visible::after {
  opacity: 1;
}

.page-home .reel-card__meta {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lamp);
  position: relative;
  z-index: 1;
}

.page-home .reel-card__title {
  margin: 10px 0 8px;
  font-size: 1.12rem;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.page-home .reel-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: rgba(247, 242, 232, 0.76);
  position: relative;
  z-index: 1;
}

.page-home .reel-card__cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  position: relative;
  z-index: 1;
}

.page-home .reel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- closer ---------- */
.page-home .closer {
  padding: 40px 0 48px;
  background: var(--paper);
}

.page-home .closer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 26px 22px;
  background: var(--deep-green);
  border-left: 4px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0);
}

.page-home .closer__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .closer__text {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(247, 242, 232, 0.78);
}

.page-home .closer .btn {
  justify-self: start;
}

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

  .page-home .overview__base {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 26px;
  }

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

  .page-home .closer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 30px 30px;
    gap: 26px;
  }

  .page-home .closer .btn {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    padding: 34px 0 66px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 46px;
  }

  .page-home .hero__title {
    font-size: clamp(3.4rem, 5.2vw, 4.6rem);
  }

  .page-home .hero__lead {
    font-size: 1.05rem;
  }

  .page-home .hero__board {
    width: min(72%, 300px);
    margin-top: -46px;
  }

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

  .page-home .home-score {
    padding: 26px 22px 28px;
  }

  .page-home .home-score__num {
    font-size: 3.4rem;
  }

  .page-home .fact-strip {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .page-home .track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .track__item {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 2px dashed rgba(62, 85, 99, 0.32);
  }

  .page-home .track__item::before {
    left: 0;
    top: -7px;
  }

  .page-home .track__num {
    margin-top: 6px;
  }

  .page-home .terminal__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
  }

  .page-home .pickup__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 46px;
  }
}

@media (min-width: 1280px) {
  .page-home .hero__title {
    font-size: 4.8rem;
  }

  .page-home .track {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .reel-card {
    transition: none;
  }

  .page-home .reel-card:hover,
  .page-home .reel-card:focus-visible {
    transform: none;
  }
}
