.page-home {
  --ph-radius: 18px;
  --ph-border: 1px solid rgba(0, 212, 255, 0.22);
  --ph-shadow: 0 16px 40px rgba(10, 26, 63, 0.12);
  background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 40%);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(10, 26, 63, 0.08);
}

.page-home .breadcrumb a {
  color: var(--electric-blue);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .hero-strip {
  position: relative;
  overflow: hidden;
  background: var(--deep-blue);
  color: var(--white);
  isolation: isolate;
}

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

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

.page-home .hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 63, 0.82) 0%, rgba(10, 26, 63, 0.38) 45%, rgba(10, 26, 63, 0.92) 100%),
    radial-gradient(ellipse at 78% 22%, rgba(255, 107, 53, 0.2) 0%, transparent 46%),
    radial-gradient(ellipse at 12% 80%, rgba(0, 212, 255, 0.24) 0%, transparent 42%);
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 20px;
}

.page-home .hero-copy .live-clock {
  margin-bottom: 18px;
}

.page-home .hero-copy .section-kicker {
  margin-bottom: 14px;
  border-left-color: var(--orange);
  color: var(--electric-blue);
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.page-home .hero-lead {
  max-width: 52rem;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px;
}

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

.page-home .hero-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 24px 20px 32px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.5) rgba(255, 255, 255, 0.08);
}

.page-home .ticker-item {
  flex: 0 0 232px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ph-radius);
  padding: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-number);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--electric-blue);
  text-transform: uppercase;
}

.page-home .ticker-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.page-home .ticker-label--live::before {
  background: var(--orange);
  animation: ph-pulse-dot 1.6s ease infinite;
}

@keyframes ph-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 53, 0); }
}

.page-home .ticker-venue {
  font-size: 15px;
  color: var(--white);
}

.page-home .ticker-stage {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .calendar-section {
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-home .cal-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .cal-title-group {
  max-width: 640px;
}

.page-home .cal-aside {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.page-home .cal-summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .cal-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin: 0;
}

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

.page-home .calendar-board {
  background: var(--white);
  border: 1px solid rgba(10, 26, 63, 0.08);
  border-radius: 20px;
  box-shadow: var(--ph-shadow);
  padding: 22px 18px;
}

.page-home .timeline-svg {
  width: 100%;
  overflow: hidden;
}

.page-home .timeline-svg svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .timeline-base {
  stroke: rgba(10, 26, 63, 0.14);
  stroke-width: 3;
  stroke-dasharray: 4 4;
}

.page-home .timeline-live {
  stroke: var(--orange);
  stroke-width: 4;
}

.page-home .timeline-node {
  fill: var(--white);
  stroke: var(--electric-blue);
  stroke-width: 4;
}

.page-home .timeline-text {
  font-family: var(--font-number);
  font-size: 13px;
  fill: var(--text-secondary);
}

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

.page-home .cal-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-top: 1px solid rgba(10, 26, 63, 0.07);
  font-size: 14px;
}

.page-home .cal-time {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--electric-blue);
}

.page-home .cal-venue {
  font-weight: 600;
  color: var(--text-primary);
}

.page-home .status-pill--live {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  color: #087a52;
}

.page-home .status-pill--done {
  background: rgba(10, 26, 63, 0.06);
  border-color: rgba(10, 26, 63, 0.12);
  color: var(--text-secondary);
}

.page-home .calendar-media,
.page-home .metric-media,
.page-home .report-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 63, 0.08);
  background: var(--light-gray);
}

.page-home .calendar-media img,
.page-home .metric-media img,
.page-home .report-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .cal-cta {
  margin-top: 20px;
  display: flex;
}

.page-home .metric-panel {
  background:
    radial-gradient(ellipse at 82% 18%, rgba(0, 212, 255, 0.16) 0%, transparent 46%),
    radial-gradient(ellipse at 8% 80%, rgba(255, 107, 53, 0.14) 0%, transparent 40%),
    linear-gradient(135deg, var(--deep-blue) 0%, var(--mid-blue) 100%);
  color: var(--white);
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-home .metric-wrap {
  display: grid;
  gap: 24px;
}

.page-home .metric-header {
  display: grid;
  gap: 16px;
}

.page-home .metric-title-group {
  max-width: 680px;
}

.page-home .metric-header .section-kicker {
  color: var(--orange);
  border-left-color: var(--orange);
}

.page-home .metric-header h2 {
  margin: 8px 0 0;
  color: var(--white);
}

.page-home .metric-lead {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.page-home .metric-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: var(--ph-border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}

.page-home .metric-note__tag {
  font-family: var(--font-number);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric-blue);
}

.page-home .metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .metric-tab {
  font-family: var(--font-number);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.32);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .metric-tab:hover,
.page-home .metric-tab:focus {
  background: rgba(0, 212, 255, 0.16);
  color: var(--white);
  border-color: var(--electric-blue);
}

.page-home .metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .metric-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ph-radius);
  padding: 22px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "ring title"
    "ring desc";
  column-gap: 14px;
  align-items: start;
  scroll-margin-top: 86px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .metric-card:target {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.28);
  animation: ph-target-pulse 0.45s ease;
}

@keyframes ph-target-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

.page-home .metric-ring {
  grid-area: ring;
  width: 68px;
  height: 68px;
  position: relative;
}

.page-home .metric-ring svg {
  width: 68px;
  height: 68px;
  transform: rotate(-90deg);
}

.page-home .ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 5;
}

.page-home .ring-bar {
  fill: none;
  stroke: var(--electric-blue);
  stroke-width: 5;
  stroke-linecap: round;
}

.page-home .ring-bar--orange {
  stroke: var(--orange);
}

.page-home .metric-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-number);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .metric-card h3 {
  grid-area: title;
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--white);
  font-family: var(--font-heading);
}

.page-home .metric-card p {
  grid-area: desc;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
}

.page-home .metric-media {
  margin-top: 32px;
}

.page-home .report-section {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--light-gray);
}

.page-home .report-header {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.page-home .report-intro {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .report-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #087a52;
  font-family: var(--font-number);
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}

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

.page-home .report-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .report-card {
  background: var(--white);
  border: 1px solid rgba(10, 26, 63, 0.08);
  border-radius: var(--ph-radius);
  padding: 18px 18px 14px;
  box-shadow: 0 6px 18px rgba(10, 26, 63, 0.06);
}

.page-home .report-time {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 6px;
}

.page-home .report-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

.page-home .report-card p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .report-detail summary {
  cursor: pointer;
  color: var(--electric-blue);
  font-size: 14px;
  font-weight: 600;
}

.page-home .report-detail p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  border-left: 3px solid var(--electric-blue);
  padding-left: 12px;
}

.page-home .report-media {
  margin-top: 0;
}

.page-home .report-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .history-section {
  padding-top: 72px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.22), transparent 45%),
    linear-gradient(120deg, var(--deep-blue) 0%, #12265a 100%);
  color: var(--white);
}

.page-home .history-box {
  display: grid;
  gap: 18px;
  align-items: start;
}

.page-home .history-copy {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.page-home .history-copy .section-kicker {
  color: var(--orange);
  border-left-color: var(--orange);
}

.page-home .history-copy h2 {
  color: var(--white);
  margin: 0;
}

.page-home .history-copy p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 0;
}

.page-home .history-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 10px;
}

.page-home .history-stats span {
  font-family: var(--font-number);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
}

.page-home .history-stats strong {
  font-size: 20px;
  color: var(--electric-blue);
}

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

@media (min-width: 720px) {
  .page-home .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-home .report-media {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-strip {
    min-height: 620px;
    display: flex;
    align-items: flex-end;
  }

  .page-home .hero-copy {
    padding-top: 120px;
    padding-bottom: 36px;
    max-width: 920px;
  }

  .page-home .hero-ticker {
    padding-left: max(20px, calc((100% - var(--container-max)) / 2 + 20px));
    padding-right: max(20px, calc((100% - var(--container-max)) / 2 + 20px));
  }

  .page-home .cal-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .calendar-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 24px;
  }

  .page-home .metric-header {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    align-items: start;
  }

  .page-home .metric-note {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .metric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .page-home .report-header {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    align-items: end;
  }

  .page-home .history-box {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 36px;
  }

  .page-home .history-copy {
    grid-column: 1;
  }

  .page-home .history-stats {
    grid-column: 1 / -1;
  }

  .page-home .history-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    flex-direction: column;
  }
}
