.page-home {
  --home-cut: 22px;
  --home-gap: clamp(12px, 2vw, 18px);
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(900px 460px at 88% -6%, rgba(255, 107, 44, 0.16), transparent 62%),
    radial-gradient(780px 420px at 0% 6%, rgba(47, 243, 196, 0.09), transparent 58%),
    var(--navy-900);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .section {
  padding: clamp(34px, 6vw, 72px) 0;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cy);
  margin: 0 0 8px;
}

.page-home .display-title {
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  max-width: 20ch;
  transform: rotate(-1.4deg);
  transform-origin: left center;
}

.page-home .section-lead {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  margin: 14px 0 0;
}

.page-home .section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  transform: rotate(-0.8deg);
  transform-origin: left center;
}

/* ---------- hero collage ---------- */
.page-home .hero {
  padding: clamp(20px, 4vw, 48px) 0 clamp(16px, 3vw, 32px);
}

.page-home .hero-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(22px, 4vw, 38px);
}

.page-home .hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(11, 39, 69, 0.94) 0%, rgba(7, 26, 47, 0.97) 70%);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.page-home .hero-card h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.26;
  font-weight: 800;
}

.page-home .hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.page-home .hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0;
}

.page-home .hero-card--main {
  padding: 0;
  min-height: 410px;
  justify-content: flex-end;
  border-color: rgba(255, 107, 44, 0.3);
}

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

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-home .hero-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(to top, rgba(5, 15, 28, 0.97) 10%, rgba(5, 15, 28, 0.72) 58%, rgba(5, 15, 28, 0.06));
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--steel);
}

.page-home .hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .hero-facts .num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .hero-body .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .hero-card--side {
  padding: 0;
  border-color: rgba(47, 243, 196, 0.22);
}

.page-home .side-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.page-home .side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .side-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.4vw, 22px);
}

.page-home .side-body .btn {
  align-self: flex-start;
  margin-top: 2px;
}

.page-home .hero-card--mini {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(120deg, rgba(255, 107, 44, 0.2), rgba(11, 39, 69, 0.92) 58%);
  border-color: rgba(255, 107, 44, 0.34);
}

.page-home .mini-note {
  flex: 1 1 220px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.page-home .mini-link {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--cy);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 243, 196, 0.45);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .mini-link:hover,
.page-home .mini-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- section head ---------- */
.page-home .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-home .head-copy {
  max-width: 68ch;
}

/* ---------- schedule rail ---------- */
.page-home .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-home .sched-track {
  display: flex;
  gap: var(--home-gap);
  overflow-x: auto;
  margin-top: 18px;
  padding: 6px 2px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(to right, #000 93%, rgba(0, 0, 0, 0.1) 100%);
  mask-image: linear-gradient(to right, #000 93%, rgba(0, 0, 0, 0.1) 100%);
}

.page-home .sched-card {
  flex: 0 0 min(78vw, 288px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(11, 39, 69, 0.92), rgba(7, 26, 47, 0.96));
}

.page-home .sched-card.sched-live {
  border-left-color: var(--cy);
}

.page-home .sched-card.sched-done {
  border-left-color: var(--steel);
  opacity: 0.92;
}

.page-home .sched-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .sched-cluster {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: rgba(244, 247, 251, 0.08);
  padding: 3px 8px;
}

.page-home .sched-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .sched-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
}

.page-home .sched-live .sched-state {
  color: var(--cy);
}

.page-home .sched-live .sched-state::before {
  background: var(--cy);
  box-shadow: 0 0 0 4px rgba(47, 243, 196, 0.16);
}

.page-home .sched-done .sched-state::before {
  background: var(--violet);
}

.page-home .sched-round {
  margin: 4px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.page-home .sched-time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.page-home .sched-venue {
  margin: auto 0 0;
  font-size: 13px;
  color: var(--steel);
}

/* ---------- journal + board ---------- */
.page-home .journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .tablist {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-home .tablist::-webkit-scrollbar {
  display: none;
}

.page-home .tab {
  flex: 0 0 auto;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--steel);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .tab:hover {
  color: var(--ink);
}

.page-home .tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: 2px;
}

.page-home .tab-panel {
  padding-top: 6px;
}

.page-home .tab-panel[hidden] {
  display: none;
}

.page-home .brief {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-soft);
}

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

.page-home .brief-meta {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cy);
}

.page-home .brief h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.page-home .brief p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.page-home .board-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(11, 39, 69, 0.95), rgba(5, 15, 28, 0.98));
  box-shadow: var(--shadow-panel);
}

.page-home .board-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-home .board-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .board-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2.4vw, 22px);
}

.page-home .board-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

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

.page-home .board-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

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

.page-home .board-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .board-name {
  font-size: 14px;
  color: var(--ink);
}

.page-home .board-team {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .board-score {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--cy);
}

.page-home .board-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
}

.page-home .split-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .split-bar {
  display: flex;
  height: 8px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(244, 247, 251, 0.08);
}

.page-home .split-a {
  flex: 58 1 0;
  background: linear-gradient(90deg, var(--orange-soft), var(--orange-deep));
}

.page-home .split-b {
  flex: 42 1 0;
  background: linear-gradient(90deg, var(--violet), var(--cy));
}

.page-home .split-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
}

/* ---------- brand strip ---------- */
.page-home .brand-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) clamp(18px, 4vw, 48px);
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
  background: linear-gradient(118deg, rgba(139, 92, 246, 0.24), rgba(7, 26, 47, 0.92) 54%, rgba(47, 243, 196, 0.18));
}

.page-home .brand-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .brand-strip-inner {
  position: relative;
  max-width: 68ch;
}

.page-home .brand-strip .section-lead {
  color: rgba(244, 247, 251, 0.82);
}

/* ---------- steps ---------- */
.page-home .steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(22px, 3.4vw, 34px);
  counter-reset: step;
}

.page-home .step {
  position: relative;
  padding: 20px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(11, 39, 69, 0.86), rgba(7, 26, 47, 0.96));
}

.page-home .step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .step::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cy));
  opacity: 0.75;
}

.page-home .step h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 800;
}

.page-home .step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .steps-cta {
  margin: clamp(18px, 3vw, 26px) 0 0;
}

/* ---------- trust ---------- */
.page-home .trust {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--cy), transparent) 1;
  background: linear-gradient(180deg, rgba(10, 15, 23, 0.96), rgba(5, 15, 28, 0.99));
}

.page-home .trust-head {
  max-width: 70ch;
}

.page-home .trust-head p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 24px;
  margin: clamp(20px, 3vw, 30px) 0 0;
}

.page-home .trust-item dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}

.page-home .trust-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .trust-item dd.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.page-home .trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.page-home .trust-links a {
  font-size: 14px;
  color: var(--cy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-home .trust-links a:hover,
.page-home .trust-links a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

@media (min-width: 780px) {
  .page-home .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
  }

  .page-home .section-head .btn {
    flex: 0 0 auto;
  }

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

@media (min-width: 900px) {
  .page-home .hero-collage {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    grid-template-areas:
      "main side"
      "mini side";
  }

  .page-home .hero-card--main {
    grid-area: main;
    min-height: 486px;
  }

  .page-home .hero-card--side {
    grid-area: side;
    justify-content: flex-start;
  }

  .page-home .hero-card--mini {
    grid-area: mini;
  }

  .page-home .sched-card {
    flex-basis: 272px;
  }

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

@media (min-width: 960px) {
  .page-home .journal-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .display-title,
  .page-home .section-title {
    transform: none;
  }

  .page-home .mini-link,
  .page-home .tab,
  .page-home .trust-links a {
    transition: none;
  }
}
