.page-home {
  --home-frame-line: rgba(214, 168, 75, 0.42);
  --home-card-bg: linear-gradient(160deg, rgba(23, 27, 33, 0.96), rgba(11, 13, 16, 0.92));
  display: block;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 56px) 0 clamp(30px, 5vw, 64px);
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(200, 16, 46, 0.34) 0%, rgba(200, 16, 46, 0) 58%),
    radial-gradient(90% 70% at 4% 96%, rgba(47, 93, 98, 0.42) 0%, rgba(47, 93, 98, 0) 62%),
    linear-gradient(175deg, var(--night) 0%, var(--ink-soft) 62%, var(--night) 100%);
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.page-home .home-hero__frame {
  position: relative;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 38px);
  border: 1px solid var(--home-frame-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(190deg, rgba(23, 27, 33, 0.72), rgba(11, 13, 16, 0.42));
  box-shadow: inset 0 1px 0 rgba(244, 220, 168, 0.14);
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--sand);
  pointer-events: none;
}

.page-home .home-hero__frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
}

.page-home .home-hero__frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: var(--radius-lg);
}

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(47, 93, 98, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .hero-context__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(214, 168, 75, 0.22);
}

.page-home .hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 10vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero-lede {
  max-width: 46ch;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
}

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

.page-home .hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.page-home .hero-jump a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sand-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.page-home .hero-jump a:hover,
.page-home .hero-jump a:focus-visible {
  border-bottom-color: var(--sand);
  color: var(--paper);
}

.page-home .home-hero__aside {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .home-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .home-hero__media .media-frame__caption {
  font-family: var(--font-editorial);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-stats__item {
  display: grid;
  gap: 4px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: rgba(23, 27, 33, 0.72);
  text-align: center;
}

.page-home .hero-stats__item .data-figure {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  color: var(--sand);
}

.page-home .hero-stats__unit {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--sand-light);
}

.page-home .hero-stats__label {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* ---------- Section heads ---------- */
.page-home .section-head {
  max-width: 720px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .section-head h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 6.4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .section-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

/* ---------- Tags ---------- */
.page-home .home-tags {
  background: linear-gradient(180deg, rgba(23, 27, 33, 0.9), rgba(11, 13, 16, 0.96));
}

.page-home .home-tags__primary {
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 0;
  list-style: none;
}

.page-home .home-tags__primary .pill {
  text-decoration: none;
}

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

.page-home .tag-group {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(23, 27, 33, 0.68);
  overflow: hidden;
}

.page-home .tag-group[open] {
  border-color: var(--line-gold);
  background: rgba(23, 27, 33, 0.92);
}

.page-home .tag-group__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-home .tag-group__summary::-webkit-details-marker {
  display: none;
}

.page-home .tag-group__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--sand);
}

.page-home .tag-group[open] .tag-group__summary::after {
  content: "−";
}

.page-home .tag-group__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .tag-group__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
}

.page-home .tag-group__body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.page-home .tag-group__body .pill {
  text-decoration: none;
}

/* ---------- Texture divider ---------- */
.page-home .home-texture {
  position: relative;
  overflow: hidden;
  transform: skewY(-1.6deg);
  margin: clamp(28px, 5vw, 56px) 0;
  border-top: 2px solid var(--milan-red);
  border-bottom: 2px solid var(--deep-red);
}

.page-home .home-texture img {
  display: block;
  width: 100%;
  height: clamp(120px, 20vw, 220px);
  object-fit: cover;
  filter: saturate(0.7) brightness(0.62);
}

.page-home .home-texture__note {
  position: absolute;
  inset: auto 0 14px 0;
  margin: 0;
  padding: 0 var(--pad-inline);
  font-family: var(--font-editorial);
  font-size: clamp(0.9rem, 3.4vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--sand-light);
  transform: skewY(1.6deg);
}

/* ---------- Schedule deck ---------- */
.page-home .home-schedule {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(200, 16, 46, 0.18), rgba(200, 16, 46, 0) 60%),
    var(--night);
}

.page-home .schedule-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .schedule-deck__rail {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(47, 93, 98, 0.26), rgba(23, 27, 33, 0.9));
}

.page-home .schedule-deck__rail-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

.page-home .round-rail {
  position: relative;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px solid var(--line-gold);
}

.page-home .round-rail__item {
  position: relative;
  padding: 0 0 20px 4px;
  display: grid;
  gap: 3px;
}

.page-home .round-rail__item:last-child {
  padding-bottom: 0;
}

.page-home .round-rail__marker {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background: var(--night);
}

.page-home .round-rail__item--now .round-rail__marker {
  background: var(--milan-red);
  border-color: var(--sand-light);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.24);
}

.page-home .round-rail__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .round-rail__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .schedule-deck__grass {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.page-home .schedule-deck__grass img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.85);
}

.page-home .schedule-deck__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.page-home .match-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--milan-red);
  border-radius: var(--radius-md);
  background: var(--home-card-bg);
}

.page-home .match-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-home .match-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .match-card__clock {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.page-home .match-card__clock .data-figure {
  font-size: clamp(2rem, 8vw, 2.6rem);
  color: var(--paper);
  letter-spacing: -0.01em;
}

.page-home .match-card__tz {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sand);
}

.page-home .match-card__rows {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .match-card__rows > div {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 8px;
}

.page-home .match-card__rows dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .match-card__rows dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
}

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

/* ---------- Tandem rail ---------- */
.page-home .home-tandem {
  background: linear-gradient(180deg, var(--night), rgba(18, 22, 27, 0.98));
  overflow: hidden;
}

.page-home .home-tandem__head {
  max-width: 760px;
}

.page-home .tandem-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px var(--pad-inline) 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .tandem-card {
  flex: 0 0 min(84vw, 340px);
  scroll-snap-align: start;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(122, 12, 30, 0.42), rgba(23, 27, 33, 0.96) 58%);
}

.page-home .tandem-card__tag {
  margin: 0;
}

.page-home .tandem-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .tandem-card__pair {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tandem-card__slot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.page-home .tandem-card__when {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--sand-light);
}

.page-home .tandem-card__what {
  font-size: 13px;
  color: var(--text-body);
}

.page-home .tandem-card__gap {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  justify-self: center;
  margin: 0;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(47, 93, 98, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-home .tandem-card__gap-num {
  font-size: 1rem;
  color: var(--paper);
}

.page-home .tandem-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}

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

/* ---------- Updates ---------- */
.page-home .home-updates {
  background: var(--night);
}

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

.page-home .update-log__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .update-log__item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .update-log__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sand);
}

.page-home .update-log__body h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}

.page-home .update-log__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

.page-home .update-log__link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sand-light);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 2px;
}

.page-home .update-log__link:hover,
.page-home .update-log__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--sand);
}

/* ---------- Dusk / guide ---------- */
.page-home .home-dusk {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--deep-red);
}

.page-home .home-dusk img {
  display: block;
  width: 100%;
  height: clamp(200px, 42vw, 380px);
  object-fit: cover;
  filter: brightness(0.5) saturate(0.9);
}

.page-home .home-dusk__caption {
  margin-top: -34px;
  position: relative;
  padding: clamp(20px, 4vw, 34px) clamp(18px, 4vw, 36px);
  margin-inline: var(--pad-inline);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-gold);
  background: linear-gradient(170deg, rgba(47, 93, 98, 0.94), rgba(11, 13, 16, 0.96));
}

.page-home .home-dusk__caption h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-dusk__caption p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

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

/* ---------- FAQ ---------- */
.page-home .home-faq {
  background: linear-gradient(180deg, var(--ink-soft), var(--night));
}

.page-home .home-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.page-home .home-faq__lead h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .home-faq__lead p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-home .home-faq__list {
  display: grid;
  gap: 10px;
}

.page-home .faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(23, 27, 33, 0.82);
  overflow: hidden;
}

.page-home .faq-item[open] {
  border-color: var(--line-gold);
}

.page-home .faq-item__q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .faq-item__q::-webkit-details-marker {
  display: none;
}

.page-home .faq-item__q::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  color: var(--sand);
}

.page-home .faq-item[open] .faq-item__q::after {
  content: "−";
}

.page-home .faq-item__a {
  padding: 0 16px 16px;
}

.page-home .faq-item__a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
}

/* ---------- Reveal fallback ---------- */
.page-home [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .js-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 320ms ease, transform 320ms ease;
  }

  .page-home .js-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Tablet & desktop ---------- */
@media (min-width: 720px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
  }

  .page-home .home-hero__aside {
    align-content: end;
  }

  .page-home .home-hero__media {
    height: 100%;
  }

  .page-home .home-hero__media .media-frame__img {
    height: 100%;
    object-fit: cover;
  }

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

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

  .page-home .update-log__item {
    grid-template-columns: 8em minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
  }

  .page-home .update-log__link {
    justify-self: end;
  }

  .page-home .home-faq__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .page-home .home-faq__lead {
    position: sticky;
    top: 96px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: clamp(34px, 4vw, 62px);
  }

  .page-home .schedule-deck {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(20px, 3vw, 36px);
  }

  .page-home .schedule-deck__rail {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .page-home .schedule-deck__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: calc(-1 * clamp(0px, 3vw, 40px));
    padding-right: clamp(0px, 3vw, 40px);
  }

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

  .page-home .home-dusk__caption {
    margin-top: -70px;
    max-width: 760px;
  }
}
