.page-home {
  --home-snow: #F6F9F7;
  --home-deep: #0B3D2E;
  --home-mid: #0f4a38;
  --home-gold-soft: rgba(201, 162, 39, 0.16);
  --home-ice-soft: rgba(168, 218, 220, 0.35);
  --home-mist: rgba(168, 218, 220, 0.08);
  background: var(--home-snow);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: clip;
}

.page-home .breadcrumbs {
  padding-top: 18px;
  padding-bottom: 6px;
}

.page-home .hero {
  position: relative;
  padding: 36px 0 64px;
  background:
    radial-gradient(1200px 420px at 84% 10%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(135deg, var(--brand-deep-green) 0%, var(--home-mid) 62%, #145a44 100%);
  color: #fff;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-28deg, transparent 0 22px, var(--home-mist) 23px 25px),
    linear-gradient(90deg, transparent 0 42%, rgba(168, 218, 220, 0.06) 42% 58%, transparent 58%);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
}

.page-home .hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.page-home .hero-updated {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hero h1 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.28;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  max-width: 13em;
}

.page-home .hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 38em;
  margin-bottom: 24px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.page-home .hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hero-metrics strong {
  font-family: var(--font-num);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--brand-gold);
}

.page-home .hero-metrics span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-img {
  background: var(--home-snow);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.page-home .hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .hero-caption {
  margin: 10px 4px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .calendar-board {
  padding: 52px 0;
}

.page-home .calendar-head {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.page-home .calendar-filter {
  display: flex;
  flex-wrap: wrap;
}

.page-home .calendar-filter .chip[aria-pressed="true"] {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--dark-text-on-gold);
}

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

.page-home .calendar-tape {
  background: var(--surface-white);
  border: 1px solid var(--border-muted);
  border-radius: 28px 10px 28px 10px;
  padding: 18px;
}

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

.page-home .match-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border-muted);
}

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

.page-home .match-row--hot {
  background: linear-gradient(90deg, var(--home-gold-soft), transparent 70%);
  border-radius: 18px 6px 18px 6px;
}

.page-home .match-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .match-title i {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0 4px;
}

.page-home .match-round {
  font-family: var(--font-num);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.page-home .match-time {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--brand-deep-green);
  background: var(--surface-light-ice);
  border-radius: 999px;
  padding: 4px 10px;
}

.page-home .calendar-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--surface-light-green);
  border-radius: 18px 6px 18px 6px;
  font-size: 0.9rem;
}

.page-home .calendar-note p {
  margin: 0;
}

.page-home .calendar-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .calendar-aside h3 {
  margin: 0;
  font-size: 1.2rem;
}

.page-home .calendar-aside p {
  margin: 0;
  font-size: 0.95rem;
}

.page-home .calendar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .calendar-img img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .league-strip {
  padding: 54px 0 44px;
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--surface-light-green) 100%);
}

.page-home .strip-head {
  margin-bottom: 24px;
}

.page-home .league-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74vw;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 20px 20px;
  scroll-snap-type: x proximity;
}

.page-home .league-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: 20px 18px;
  background: linear-gradient(140deg, var(--brand-deep-green), #0d4636);
  border-radius: 26px 8px 26px 8px;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.page-home .league-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(168, 218, 220, 0.18);
}

.page-home .league-card:hover,
.page-home .league-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11, 61, 46, 0.22);
  outline: none;
}

.page-home .league-code {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
}

.page-home .league-round {
  font-family: var(--font-num);
  font-size: 0.95rem;
  color: var(--brand-ice-blue);
}

.page-home .league-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.page-home .ios-section {
  padding: 56px 0;
  background:
    linear-gradient(90deg, rgba(168, 218, 220, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(168, 218, 220, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--brand-deep-green), #082e24);
  background-size: 40px 40px, 40px 40px, auto;
  color: #fff;
}

.page-home .ios-grid {
  display: grid;
  gap: 28px;
}

.page-home .ios-copy h2 {
  color: #fff;
}

.page-home .ios-desc {
  max-width: 36em;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .ios-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 0;
}

.page-home .ios-feature-list li {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px 6px 18px 6px;
  border: 1px solid rgba(168, 218, 220, 0.16);
}

.page-home .ios-feature-list b {
  font-family: var(--font-num);
  font-size: 1.4rem;
  color: var(--brand-gold);
  line-height: 1.1;
}

.page-home .ios-feature-list span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .ios-section .btn-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.page-home .ios-panel {
  border-radius: 30px 10px 30px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(168, 218, 220, 0.2);
}

.page-home .ios-panel h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.page-home .ios-panel p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .ios-panel .link-arrow {
  color: var(--brand-gold);
}

.page-home .map-section {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--surface-light-ice), var(--surface-white));
}

.page-home .map-grid {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

.page-home .map-visual {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 30px 10px 30px 10px;
  padding: 18px;
}

.page-home .hei-map {
  width: 100%;
  height: auto;
  max-width: 460px;
  margin: 0 auto;
  display: block;
}

.page-home .map-outline {
  fill: rgba(255, 255, 255, 0.45);
  stroke: var(--brand-gold);
  stroke-width: 4;
  stroke-linejoin: round;
}

.page-home .map-pin circle {
  fill: var(--brand-gold);
  stroke: #fff;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.page-home .map-pin:hover circle {
  transform: scale(1.2);
}

.page-home .map-pin text {
  font-size: 13px;
  fill: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
}

.page-home .map-copy p {
  font-size: 1.02rem;
}

.page-home .map-copy > p:first-of-type {
  margin-top: 0;
}

.page-home .map-facts {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.page-home .map-facts li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px dashed var(--border-muted);
  font-size: 0.95rem;
}

.page-home .map-facts li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.15em;
  width: 9px;
  height: 9px;
  background: var(--brand-gold);
  transform: rotate(45deg);
}

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

.page-home .map-trust {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 14px;
}

.page-home .map-image-row {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.page-home .map-image-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.page-home .voice-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-home .voice-card {
  margin: 0;
  padding: 22px;
}

.page-home .voice-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 12px;
}

.page-home .voice-card figcaption {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.page-home .journal-teaser {
  display: grid;
  gap: 24px;
  margin-top: 38px;
  padding: 24px;
  background: var(--surface-light-green);
  border-radius: 30px 10px 30px 10px;
}

.page-home .journal-img img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.page-home .journal-copy h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.page-home .journal-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-home .journal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-muted);
}

.page-home .journal-list li:last-child {
  border-bottom: 0;
}

.page-home .journal-list p {
  margin: 0;
}

.page-home .image-frame {
  overflow: hidden;
}

.page-home .image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-home [data-reveal][data-reveal-visible] {
  opacity: 1;
  transform: none;
}

@media (min-width: 680px) {
  .page-home .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 760px) {
  .page-home .calendar-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

@media (min-width: 860px) {
  .page-home .league-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-columns: auto;
    overflow-x: visible;
    padding-inline: 0;
  }

  .page-home .journal-teaser {
    grid-template-columns: 300px 1fr;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: 5fr 6fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .calendar-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .page-home .ios-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .map-grid {
    grid-template-columns: 5fr 6fr;
    align-items: center;
  }
}

@media (min-width: 820px) {
  .page-home .map-image-row {
    grid-template-columns: 1fr 300px;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
