.page-home {
  --home-radius: 18px;
  --home-gap: 28px;
}

.page-home .home-hero {
  position: relative;
  background: var(--deep-blue);
  padding: 72px 0 96px;
  color: var(--text-primary);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: 38%;
  height: 138%;
  background: var(--bright-orange);
  opacity: 0.1;
  transform: skewX(-10deg) rotate(6deg);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 72px;
  width: 96px;
  height: 10px;
  background: var(--bright-orange);
  transform: skewX(-18deg);
  clip-path: polygon(0 0, 86% 0, 100% 100%, 14% 100%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--home-gap);
  align-items: center;
}

.page-home .home-hero .eyebrow {
  color: var(--pale-gold);
}

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  margin: 18px 0 20px;
  color: var(--off-white);
}

.page-home .hero-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 34em;
  margin: 0 0 30px;
}

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

.page-home .hero-panel {
  background: rgba(26, 58, 92, 0.62);
  border: 1px solid rgba(168, 195, 224, 0.24);
  border-radius: var(--home-radius);
  padding: 14px;
  box-shadow: 0 22px 50px rgba(5, 16, 36, 0.35);
}

.page-home .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 12px;
}

.page-home .panel-title {
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.page-home .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--off-white);
  background: rgba(255, 107, 0, 0.16);
  border: 1px solid rgba(255, 107, 0, 0.5);
  padding: 3px 9px;
  border-radius: 999px;
}

.page-home .live-badge i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bright-orange);
  animation: home-live-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes home-live-pulse {
  from {
    transform: scale(0.7);
    opacity: 0.7;
  }
  to {
    transform: scale(1.35);
    opacity: 1;
  }
}

.page-home .score-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  background: rgba(10, 31, 60, 0.72);
  border-radius: 14px;
  padding: 14px 8px;
  margin-bottom: 12px;
  text-align: center;
}

.page-home .score-col strong {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--off-white);
}

.page-home .score-col span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.page-home .score-mid {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.page-home .mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 2px 12px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.page-home .mini-stats span {
  background: rgba(10, 31, 60, 0.6);
  padding: 4px 8px;
  border-radius: 6px;
}

.page-home .hero-device {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
}

.page-home .home-modules {
  background: var(--off-white);
  color: var(--ink-blue);
  padding: 88px 0 72px;
}

.page-home .home-modules .eyebrow,
.page-home .home-latest .eyebrow {
  color: var(--bright-orange);
}

.page-home .modules-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-home .modules-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
  margin: 10px 0 8px;
  color: var(--ink-blue);
}

.page-home .modules-head .section-note {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
}

.page-home .module-tabs {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.page-home .tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
}

.page-home .tab-labels {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(10, 31, 60, 0.07);
  border-radius: 14px;
  margin-bottom: 18px;
}

.page-home .tab-labels label {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate);
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home #tab-result:checked ~ .tab-labels label[for="tab-result"],
.page-home #tab-shot:checked ~ .tab-labels label[for="tab-shot"] {
  background: var(--deep-blue);
  color: var(--off-white);
  border-color: rgba(168, 195, 224, 0.3);
}

.page-home .tab-panel {
  display: none;
  animation: home-panel-in 0.3s ease both;
}

.page-home #tab-result:checked ~ .panel-result,
.page-home #tab-shot:checked ~ .panel-shot {
  display: block;
}

@keyframes home-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .tab-flex {
  display: grid;
  gap: 20px;
}

.page-home .panel-result {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(61, 77, 97, 0.14);
  border-radius: var(--home-radius);
  padding: 24px;
}

.page-home .panel-result h3,
.page-home .panel-shot h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 14px;
}

.page-home .panel-result h3 {
  color: var(--ink-blue);
}

.page-home .result-timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .result-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(61, 77, 97, 0.12);
}

.page-home .result-timeline li:last-child {
  border-bottom: 0;
}

.page-home .minute {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--bright-orange);
}

.page-home .team {
  font-size: 0.95rem;
  color: var(--deep-blue);
}

.page-home .mark {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  background: rgba(10, 31, 60, 0.06);
  padding: 3px 8px;
  border-radius: 999px;
}

.page-home .result-note p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 12px;
}

.page-home .result-note a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--bright-orange);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 0, 0.3);
  padding-bottom: 2px;
}

.page-home .panel-shot {
  background: var(--deep-blue);
  border-radius: var(--home-radius);
  padding: 20px;
  color: var(--text-primary);
}

.page-home .panel-shot h3 {
  color: var(--off-white);
}

.page-home .shot-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-home .shot-map .map-bg {
  fill: var(--deep-blue);
}

.page-home .shot-map .map-line {
  stroke: var(--mist-blue);
  stroke-width: 1.5;
}

.page-home .shot-map .map-goal {
  fill: var(--gold);
}

.page-home .shot-map .dot-hot {
  fill: var(--bright-orange);
}

.page-home .shot-map .dot-faded {
  fill: var(--mist-blue);
}

.page-home .shot-map .dot-gold {
  fill: var(--pale-gold);
}

.page-home .shot-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.page-home .shot-metrics div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 195, 224, 0.14);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.page-home .shot-metrics strong {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--off-white);
}

.page-home .shot-metrics span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.page-home .shot-visual {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.page-home .shot-visual img {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--home-radius);
}

.page-home .caption {
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 660px;
  margin: 0 auto;
}

.page-home .caption strong {
  color: var(--deep-blue);
  font-weight: 700;
}

.page-home .home-membership {
  position: relative;
  background: var(--ink-blue);
  color: var(--text-primary);
  overflow: hidden;
  padding: 96px 0 88px;
}

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

.page-home .membership-inner {
  position: relative;
  z-index: 1;
}

.page-home .membership-copy {
  margin-bottom: 28px;
}

.page-home .membership-copy .eyebrow {
  color: var(--gold);
}

.page-home .membership-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  margin: 12px 0 14px;
  color: var(--off-white);
}

.page-home .membership-copy p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.96rem;
  max-width: 30em;
  margin: 0;
}

.page-home .membership-copy strong {
  color: var(--pale-gold);
  font-weight: 700;
}

.page-home .membership-card {
  background: rgba(10, 31, 60, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--home-radius);
  padding: 28px;
  box-shadow: 0 22px 50px rgba(5, 16, 36, 0.35);
}

.page-home .membership-card .tag--gold {
  margin-bottom: 14px;
}

.page-home .membership-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 12px;
  color: var(--off-white);
}

.page-home .membership-card > p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-home .member-details {
  margin: 0 0 20px;
  border: 1px solid rgba(232, 199, 107, 0.28);
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.06);
}

.page-home .member-details summary {
  cursor: pointer;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pale-gold);
  list-style: none;
}

.page-home .member-details summary::-webkit-details-marker {
  display: none;
}

.page-home .member-details[open] summary {
  border-bottom: 1px solid rgba(232, 199, 107, 0.2);
}

.page-home .member-details ul {
  margin: 0;
  padding: 14px 16px 16px;
}

.page-home .member-details li {
  position: relative;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 6px 0 0;
  padding-left: 14px;
}

.page-home .member-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .home-data {
  position: relative;
  background: var(--deep-blue);
  color: var(--text-primary);
  padding: 64px 0 88px;
}

.page-home .home-data::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bright-orange), rgba(255, 107, 0, 0) 72%);
}

.page-home .data-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.page-home .data-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  margin: 12px 0 10px;
  color: var(--off-white);
}

.page-home .data-head p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.96rem;
  margin: 0;
}

.page-home .data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .data-card {
  background: var(--light-blue);
  border: 1px solid rgba(168, 195, 224, 0.16);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}

.page-home .data-card .stat-number {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--bright-orange);
}

.page-home .data-card .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.page-home .data-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .trust-line {
  font-family: var(--font-data);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(26, 58, 92, 0.5);
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin: 0;
}

.page-home .home-latest {
  background: var(--off-white);
  color: var(--ink-blue);
  padding: 88px 0 96px;
}

.page-home .latest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .latest-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin: 0;
  color: var(--ink-blue);
}

.page-home .latest-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bright-orange);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 0, 0.35);
  padding-bottom: 3px;
  white-space: nowrap;
}

.page-home .latest-grid {
  display: grid;
  gap: 18px;
}

.page-home .report-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(61, 77, 97, 0.12);
  border-radius: 16px;
  padding: 22px;
  overflow: hidden;
}

.page-home .report-card .tag {
  margin-bottom: 12px;
}

.page-home .report-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--deep-blue);
  margin: 0 0 8px;
}

.page-home .report-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
}

.page-home .report-featured img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.page-home [data-reveal] {
  opacity: 1;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

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

@media (min-width: 760px) {
  .page-home .tab-flex {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 56px;
  }

  .page-home .membership-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .membership-copy {
    margin-bottom: 0;
  }

  .page-home .latest-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
  }

  .page-home .report-featured {
    grid-row: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-badge i {
    animation: none;
  }

  .page-home .tab-panel {
    animation: none;
  }

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