.page-home {
  --home-gap: 20px;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

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

/* ---------- Hero ---------- */
.page-home .hero {
  padding: 16px 0 8px;
}

.page-home .hero-frame {
  position: relative;
  overflow: hidden;
  padding: 36px 18px 24px;
  border-radius: var(--radius-m);
  color: var(--paper-light);
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 106, 33, 0.24), transparent 58%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 20px, rgba(242, 106, 33, 0.18) 20px 38px);
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.92;
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-lift);
}

.page-home .hero-context a {
  color: var(--paper-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 240, 228, 0.35);
}

.page-home .hero-context a:hover {
  color: var(--orange-lift);
  border-bottom-color: var(--orange-lift);
}

.page-home .hero-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .hero-copy .eyebrow {
  color: var(--orange-lift);
}

.page-home .hero h1 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 8.4vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--paper-light);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(246, 240, 228, 0.82);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.page-home .hero-actions .btn {
  min-height: 48px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(246, 240, 228, 0.18);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.1;
  color: var(--orange-lift);
}

.page-home .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(246, 240, 228, 0.72);
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-s);
  border: 1px solid rgba(246, 240, 228, 0.28);
}

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

.page-home .hero-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: rgba(7, 26, 47, 0.84);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-light);
}

.page-home .hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.page-home .quick-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- Sections ---------- */
.page-home .home-section {
  padding: 46px 0;
}

.page-home .home-section--tint {
  background: var(--paper-light);
}

.page-home .home-section--navy {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper-light);
}

.page-home .section-title {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.4vw, 2.7rem);
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
}

.page-home .section-lede {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--grey-blue);
}

.page-home .home-section--navy .section-title {
  color: var(--paper-light);
}

.page-home .home-section--navy .section-lede {
  color: rgba(246, 240, 228, 0.8);
}

.page-home .home-section--navy .eyebrow {
  color: var(--orange-lift);
}

.page-home .section-tail {
  margin: 26px 0 0;
}

.page-home .note {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  font-size: 13px;
  line-height: 1.75;
  color: var(--grey-blue);
}

.page-home .home-section--navy .note {
  color: rgba(246, 240, 228, 0.78);
}

.page-home .note-label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- Reports ---------- */
.page-home .report-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

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

.page-home .index-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper-light);
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-home .index-item:hover {
  border-color: var(--orange-lift);
  transform: translateX(3px);
}

.page-home .index-link {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-home .index-num {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .index-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
}

.page-home .index-meta {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey-blue);
}

.page-home .save-btn {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: transparent;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.page-home .save-btn:hover {
  background: var(--orange-lift);
  color: var(--ink);
}

.page-home .save-btn[aria-pressed="true"] {
  background: var(--orange);
  color: var(--ink);
}

.page-home .save-btn--lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.page-home .report-aside {
  padding: 22px 20px;
  border-radius: var(--radius-m);
  background: var(--navy);
  color: var(--paper-light);
}

.page-home .report-aside h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--paper-light);
}

.page-home .aside-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aside;
}

.page-home .aside-steps li {
  position: relative;
  padding: 0 0 14px 30px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 240, 228, 0.78);
  border-left: 1px solid rgba(246, 240, 228, 0.2);
  margin-left: 9px;
}

.page-home .aside-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-home .aside-steps li::before {
  counter-increment: aside;
  content: counter(aside);
  position: absolute;
  left: -10px;
  top: -2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-home .aside-steps li span {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--paper-light);
}

/* ---------- Band ---------- */
.page-home .band-figure {
  margin: 22px 0 18px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .band-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .band {
  display: grid;
  gap: 12px;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper);
}

.page-home .band-side {
  padding: 22px 20px 24px;
}

.page-home .band-side--home {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper-light);
}

.page-home .band-side--away {
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange-lift) 100%);
  color: var(--ink);
}

.page-home .band-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.page-home .band-score {
  margin: 4px 0 2px;
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 14vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-home .band-sub {
  margin: 0 0 16px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

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

.page-home .band-metrics li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13.5px;
  border-top: 1px solid rgba(246, 240, 228, 0.18);
}

.page-home .band-side--away .band-metrics li {
  border-top-color: rgba(36, 28, 24, 0.18);
}

.page-home .band-metrics b {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Tabs ---------- */
.page-home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 16px;
}

.page-home .tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}

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

.page-home .tab[aria-selected="true"],
.page-home .tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper-light);
}

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

.page-home .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .metric {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
}

.page-home .home-section--tint .metric {
  background: var(--paper-light);
}

.page-home .metric span {
  display: block;
  font-size: 12.5px;
  color: var(--grey-blue);
}

.page-home .metric b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.page-home .recent-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--paper-light);
}

.page-home .recent-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.page-home .recent-list li:first-child {
  border-top: 0;
}

.page-home .recent-round {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  min-width: 62px;
}

.page-home .recent-line {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--navy);
  flex: 1 1 auto;
}

/* ---------- Schedule ---------- */
.page-home .schedule-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.page-home .schedule-tabs .tab-list {
  margin-top: 0;
}

.page-home .timeline {
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
  position: relative;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 18px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--paper);
}

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

.page-home .timeline-title {
  margin: 4px 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}

.page-home .timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  color: var(--grey-blue);
}

.page-home .schedule-aside {
  display: grid;
  gap: 14px;
}

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

.page-home .schedule-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

/* ---------- Bookmarks ---------- */
.page-home .bookmark-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

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

.page-home .bookmark-points li {
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(246, 240, 228, 0.07);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 240, 228, 0.82);
}

.page-home .bookmark-points b {
  display: block;
  margin-bottom: 3px;
  font-size: 14.5px;
  color: var(--paper-light);
}

.page-home .bookmark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .bookmark-actions .btn,
.page-home .bookmark-actions .save-btn {
  min-height: 48px;
}

.page-home .bookmark-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(246, 240, 228, 0.22);
}

.page-home .bookmark-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .bookmark-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(7, 26, 47, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-light);
}

/* ---------- Trust ---------- */
.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .trust-stats li {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper-light);
}

.page-home .trust-stats .stat-num {
  color: var(--navy);
  font-size: 24px;
}

.page-home .trust-stats .stat-label {
  color: var(--grey-blue);
}

.page-home .trust-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.page-home .trust-block {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-light);
}

.page-home .trust-block h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--navy);
}

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

.page-home .verify-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .verify-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  padding-top: 2px;
}

.page-home .trust-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--grey-blue);
}

.page-home .trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-home .trust-links .btn {
  min-height: 44px;
}

/* ---------- Path ---------- */
.page-home .path-grid {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .path-step {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper-light);
}

.page-home .path-step::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 26px);
}

.page-home .path-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 8px;
}

.page-home .path-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy);
}

.page-home .path-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--grey-blue);
}

.page-home .path-step .note {
  margin-top: 12px;
  font-size: 12.5px;
}

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

.page-home .path-actions .btn {
  min-height: 48px;
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 820px) {
  .page-home .hero {
    padding-top: 26px;
  }

  .page-home .hero-frame {
    padding: 52px 40px 40px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 38px;
  }

  .page-home .home-section {
    padding: 64px 0;
  }

  .page-home .band {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .page-home .band-side--away {
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
    padding-left: calc(6% + 22px);
  }

  .page-home .band-side {
    padding: 30px 28px 32px;
  }

  .page-home .report-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-home .schedule-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }

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

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

  .page-home .recent-list li {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1024px) {
  .page-home .path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hero h1 {
    max-width: 15ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .index-item,
  .page-home .quick-link,
  .page-home .tab,
  .page-home .save-btn {
    transition: none;
  }

  .page-home .index-item:hover {
    transform: none;
  }
}
