.page-home {
  --home-line: rgba(29, 74, 99, 0.85);
  --home-soft: rgba(255, 249, 238, 0.06);
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}

.page-home .eyebrow {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

/* ---------- HERO ---------- */
.page-home .hero {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  padding: clamp(26px, 4.5vw, 56px) var(--gutter) clamp(40px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 84% -12%, rgba(255, 106, 42, 0.22), transparent 58%),
    radial-gradient(90% 70% at 6% 108%, rgba(55, 242, 196, 0.1), transparent 62%),
    var(--ink);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(29, 74, 99, 0.35) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(29, 74, 99, 0.22) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.page-home .hero__intro,
.page-home .hero__side {
  position: relative;
  min-width: 0;
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(42px, 10vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--cream);
}

.page-home .hero__lede {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

/* ---------- matrix ---------- */
.page-home .matrix {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.page-home .mx-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--home-line);
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-home .mx-group__head .mono {
  margin-left: auto;
  color: var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
}

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

.page-home .mx {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--home-soft), rgba(255, 249, 238, 0.015));
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.page-home .mx::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: -1px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.page-home .mx:hover,
.page-home .mx:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  background: rgba(255, 106, 42, 0.12);
  outline: none;
}

.page-home .mx:hover::after,
.page-home .mx:focus-visible::after {
  transform: scaleX(1);
}

.page-home .mx__code {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .mx__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.page-home .mx__arrow {
  color: var(--orange);
  opacity: 0.4;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-home .mx:hover .mx__arrow,
.page-home .mx:focus-visible .mx__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ---------- side column ---------- */
.page-home .hero__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .hero__shot {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--home-line);
}

.page-home .hero__shot img,
.page-home .fixtures__shot img,
.page-home .report-band__shot img,
.page-home .lights img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .hero__shot img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.page-home .sub-card {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--brown);
}

.page-home .sub-card__code {
  margin: 0 0 10px;
  color: #8a6a4f;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-home .sub-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  margin: 0 0 10px;
}

.page-home .sub-card__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #4a3a2c;
}

.page-home .sub-card__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .sub-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #3a2c21;
}

.page-home .sub-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}

.page-home .sub-card .btn {
  text-decoration: none;
  display: inline-block;
}

/* ---------- fixtures ---------- */
.page-home .fixtures {
  position: relative;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: var(--stand);
}

.page-home .fixtures__shot {
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .fixtures__shot img {
  aspect-ratio: 3 / 2;
  height: auto;
}

.page-home .fixtures__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .fixtures__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.page-home .fixtures__tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--home-line);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .fixtures__tab:hover {
  border-color: var(--cyan);
  color: var(--cream);
}

.page-home .fixtures__panels {
  display: block;
}

.page-home .fixtures__panel {
  display: none;
}

.page-home .fixtures__radio:nth-of-type(1):checked ~ .fixtures__tabs .fixtures__tab:nth-child(1),
.page-home .fixtures__radio:nth-of-type(2):checked ~ .fixtures__tabs .fixtures__tab:nth-child(2),
.page-home .fixtures__radio:nth-of-type(3):checked ~ .fixtures__tabs .fixtures__tab:nth-child(3) {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a0d05;
  font-weight: 600;
}

.page-home .fixtures__radio:nth-of-type(1):focus-visible ~ .fixtures__tabs .fixtures__tab:nth-child(1),
.page-home .fixtures__radio:nth-of-type(2):focus-visible ~ .fixtures__tabs .fixtures__tab:nth-child(2),
.page-home .fixtures__radio:nth-of-type(3):focus-visible ~ .fixtures__tabs .fixtures__tab:nth-child(3) {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .fixtures__radio:nth-of-type(1):checked ~ .fixtures__panels > .fixtures__panel:nth-child(1),
.page-home .fixtures__radio:nth-of-type(2):checked ~ .fixtures__panels > .fixtures__panel:nth-child(2),
.page-home .fixtures__radio:nth-of-type(3):checked ~ .fixtures__panels > .fixtures__panel:nth-child(3) {
  display: block;
}

.page-home .fixture {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(169, 193, 206, 0.22);
}

.page-home .fixture:last-child {
  border-bottom: 0;
}

.page-home .fixture__time {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-home .fixture__teams {
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream);
}

.page-home .fixture__teams em {
  font-style: normal;
  color: var(--line);
  padding: 0 2px;
}

.page-home .fixture__score {
  font-size: 13px;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .fixtures__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--home-line);
  font-size: 12px;
  color: var(--mist);
}

.page-home .fixtures__note a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 42, 0.4);
}

/* ---------- lights band ---------- */
.page-home .lights {
  position: relative;
  height: clamp(140px, 20vw, 240px);
  overflow: hidden;
}

.page-home .lights img {
  height: 100%;
  filter: saturate(0.9) brightness(0.72);
}

.page-home .lights::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 32%, transparent 68%, var(--stand) 100%);
  pointer-events: none;
}

/* ---------- report band ---------- */
.page-home .report-band {
  background: var(--stand);
  padding: clamp(40px, 6vw, 78px) var(--gutter);
}

.page-home .report-band__inner {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
}

.page-home .report-band__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .report-band__body {
  display: grid;
  gap: 22px;
}

.page-home .report-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 86%);
  gap: 14px;
  margin: 0;
  padding: 4px 4px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .report-card {
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  background: rgba(5, 18, 31, 0.78);
}

.page-home .report-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.06em;
}

.page-home .report-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .report-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .report-card__link {
  justify-self: start;
  margin-top: 4px;
  color: var(--orange);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 42, 0.45);
  padding-bottom: 2px;
}

.page-home .report-band__shot {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--home-line);
}

.page-home .report-band__shot img {
  aspect-ratio: 4 / 5;
  height: auto;
}

/* ---------- paths ---------- */
.page-home .paths {
  position: relative;
  background: var(--cream);
  color: var(--brown);
  padding: clamp(42px, 6vw, 82px) var(--gutter);
}

.page-home .paths .eyebrow {
  color: #8a6a4f;
}

.page-home .paths__graph {
  display: none;
  width: min(620px, 100%);
  height: auto;
  margin: 0 0 8px;
}

.page-home .paths__head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .paths__lede {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.75;
  color: #4a3a2c;
}

.page-home .paths__track {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .path-step {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(36, 26, 19, 0.14);
  background: var(--paper);
}

.page-home .path-step__num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .path-step__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
}

.page-home .path-step__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: #4a3a2c;
}

.page-home .path-step__link {
  display: inline-block;
  font-size: 13px;
  color: #a63d10;
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 61, 16, 0.4);
  padding-bottom: 2px;
}

/* ---------- trust ---------- */
.page-home .trust {
  background: var(--ink);
  border-top: 1px solid var(--home-line);
  padding: clamp(42px, 6vw, 82px) var(--gutter);
}

.page-home .trust__lede {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 clamp(26px, 3.6vw, 42px);
  padding: 0;
  list-style: none;
}

.page-home .trust__item {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(55, 242, 196, 0.07), transparent 70%);
}

.page-home .trust__num {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .trust__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .trust__body {
  display: grid;
  gap: 20px;
}

.page-home .trust__text {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .trust__text a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 42, 0.45);
}

.page-home .trust__contact {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--home-line);
  background: rgba(10, 39, 64, 0.7);
  display: grid;
  gap: 8px;
}

.page-home .trust__contact-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream);
}

.page-home .trust__contact-line a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 193, 90, 0.4);
  word-break: break-all;
}

.page-home .trust__legal {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--line);
}

.page-home a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

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

  .page-home .report-track {
    grid-auto-columns: minmax(280px, 60%);
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .hero__side {
    position: sticky;
    top: 84px;
  }

  .page-home .paths__graph {
    display: block;
  }

  .page-home .paths__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .page-home .path-step:nth-child(2) {
    margin-top: 22px;
  }

  .page-home .path-step:nth-child(3) {
    margin-top: 44px;
  }

  .page-home .report-band__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    align-items: start;
  }

  .page-home .report-track {
    grid-auto-columns: minmax(272px, 46%);
  }

  .page-home .trust__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-home .report-track {
    grid-auto-columns: minmax(300px, 1fr);
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .page-home .hero__shot img {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .mx,
  .page-home .mx::after,
  .page-home .mx__arrow,
  .page-home .fixtures__tab {
    transition: none;
  }

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