:root {
  --night: #071323;
  --night-2: #0b1930;
  --panel: rgba(13, 28, 51, 0.84);
  --panel-strong: #101f38;
  --gold: #c8a878;
  --gold-light: #ead8b8;
  --cream: #f7f1e6;
  --muted: #aab4c3;
  --line: rgba(200, 168, 120, 0.25);
  --line-soft: rgba(255, 255, 255, 0.08);
  --success: #a8d5c2;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 6%, rgba(54, 83, 130, 0.3), transparent 32rem),
    radial-gradient(circle at 12% 28%, rgba(200, 168, 120, 0.07), transparent 24rem),
    var(--night);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

button, select { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.6) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(200,168,120,.55) 0 1px, transparent 1.4px);
  background-size: 93px 93px, 147px 147px;
  background-position: 11px 17px, 52px 71px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.stars-b {
  opacity: 0.23;
  transform: rotate(17deg) scale(1.08);
  background-size: 211px 211px, 173px 173px;
}

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.hero { padding-top: 30px; }

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.brand-logo {
  display: block;
  width: 220px;
  height: 72px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.brand-program { white-space: nowrap; }

.private-pill {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .13em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  align-items: center;
  min-height: 475px;
  padding: 50px 0 34px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  margin: 0 0 16px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold);
  text-shadow: 0 0 32px rgba(200,168,120,.08);
}

.hero-copy { max-width: 710px; color: #c8cfda; font-size: clamp(16px, 2vw, 20px); }

.season-orbit {
  position: relative;
  width: 290px;
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
}

.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-outer { inset: 0; animation: slow-spin 32s linear infinite; }
.orbit-outer::before, .orbit-outer::after, .orbit-outer span {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(200,168,120,.8);
}
.orbit-outer::before { left: 31px; top: 55px; }
.orbit-outer::after { right: 18px; bottom: 82px; }
.orbit-outer span { left: 50%; bottom: -4px; }
.orbit-inner { inset: 37px; border-color: rgba(255,255,255,.12); }

.orbit-core {
  width: 154px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  background: radial-gradient(circle at 42% 35%, rgba(200,168,120,.17), rgba(10,25,48,.88) 67%);
  box-shadow: inset 0 0 50px rgba(200,168,120,.09), 0 0 70px rgba(51,84,135,.12);
}
.orbit-core strong { color: var(--cream); font-size: 30px; letter-spacing: .02em; }

@keyframes slow-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-outer { animation: none; } }

.method-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 820px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}
.method-note p { margin: 0; }
.method-note strong { color: var(--cream); }
.method-icon { color: var(--gold); font-size: 19px; line-height: 1.2; }

.planner-panel {
  margin-top: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17,34,60,.96), rgba(8,21,39,.91));
  box-shadow: var(--shadow);
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
h2 { margin-bottom: 0; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.08; font-weight: 800; }

.reset-button {
  color: var(--gold-light);
  border: 0;
  border-bottom: 1px solid rgba(200,168,120,.55);
  background: transparent;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.reset-button:hover, .reset-button:focus-visible { color: white; border-color: white; }

.filters {
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr;
  gap: 18px;
  margin-top: 30px;
}

.filter-group { min-width: 0; border: 0; padding: 0; margin: 0; }
.filter-group > span, .filter-group legend {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(3,11,23,.42);
}

.segment {
  min-height: 47px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.segment:hover { color: var(--cream); }
.segment.active { color: #071323; background: var(--gold); box-shadow: 0 4px 18px rgba(200,168,120,.18); }

select {
  width: 100%;
  min-height: 59px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 0 42px 0 15px;
  color: var(--cream);
  background: #0b172b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
select:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.focus-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(200,168,120,.09);
  border: 1px solid rgba(200,168,120,.17);
}
.focus-symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200,168,120,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 20px;
}
.focus-kicker { margin-bottom: 3px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.focus-card p:last-child { margin-bottom: 0; color: #d2d8e0; font-size: 13px; }

.timeline-section { padding: 104px 0 30px; }
.timeline-heading { margin-bottom: 46px; }
.result-count { margin: 0 0 6px; color: var(--muted); font-size: 12px; }

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 168px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 2%, var(--line) 96%, transparent);
}

.month-label {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 47px;
  margin: 54px 0 22px;
}
.month-label:first-child { margin-top: 0; }
.month-label h3 { margin: 0; color: var(--gold-light); font-size: 14px; letter-spacing: .14em; }
.month-line { height: 1px; align-self: center; background: var(--line-soft); }

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 47px;
  margin-bottom: 18px;
}

.date-cell { padding-top: 24px; text-align: right; }
.date-day { display: block; color: var(--cream); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.date-meta { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.4; }

.timeline-dot {
  position: absolute;
  left: 162px;
  top: 29px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--night);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,168,120,.42), 0 0 15px rgba(200,168,120,.4);
}

.event-card {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(13,28,51,.68);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.event-card:hover { transform: translateY(-2px); border-color: var(--line); background: rgba(16,34,60,.88); }

.event-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.event-type { margin-bottom: 6px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.event-card h3 { margin-bottom: 7px; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.2; letter-spacing: -.025em; }
.event-position { margin-bottom: 0; color: var(--muted); font-size: 12px; font-weight: 600; }

.status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  padding: 6px 9px;
  color: var(--success);
  background: rgba(168,213,194,.08);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.partial { color: var(--gold-light); background: rgba(200,168,120,.08); }

.event-body { margin: 17px 0 0; color: #bec7d4; font-size: 13px; }

.house-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
}
.house-badge {
  min-width: 74px;
  border-radius: 10px;
  padding: 10px 11px;
  color: var(--night);
  background: var(--gold);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}
.house-copy { color: var(--cream); font-size: 12px; font-weight: 700; }
.house-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 600; }
.house-placeholder { grid-template-columns: auto 1fr; color: var(--muted); font-size: 11px; }
.house-placeholder .house-badge { color: var(--gold-light); background: transparent; border: 1px solid var(--line); }

.empty-state { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state span { color: var(--gold); font-size: 24px; }
.empty-state h3 { margin: 12px 0 4px; }
.empty-state p { color: var(--muted); }

.data-note {
  display: flex;
  gap: 17px;
  margin: 54px 0 0 192px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line-soft);
}
.data-note-icon { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); font-weight: 800; }
.data-note h3 { margin-bottom: 4px; color: var(--cream); font-size: 13px; }
.data-note p { margin-bottom: 0; font-size: 11px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line-soft);
  color: #798497;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .season-orbit { position: absolute; right: 2vw; top: 100px; width: 210px; opacity: .38; z-index: -1; }
  .orbit-core { width: 115px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .month-filter { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 22px; }
  .brand { gap: 10px; font-size: 9px; letter-spacing: .12em; }
  .brand-logo { width: 155px; height: 58px; margin-left: -12px; }
  .brand-divider { height: 22px; }
  .private-pill { padding: 6px 8px; font-size: 7px; }
  .hero-grid { padding: 88px 0 35px; }
  h1 { font-size: clamp(43px, 14.5vw, 68px); }
  .hero-copy { font-size: 15px; }
  .method-note { font-size: 11px; }
  .planner-panel { margin-inline: -4px; padding: 24px 18px; border-radius: 20px; }
  .section-heading { align-items: flex-start; }
  .reset-button { white-space: nowrap; font-size: 10px; }
  .filters { grid-template-columns: 1fr; gap: 16px; }
  .month-filter { grid-column: auto; }
  .segmented { grid-template-columns: 1fr 1fr; }
  .segment { min-height: 44px; }
  .focus-card { align-items: flex-start; padding: 17px; }
  .timeline-section { padding-top: 75px; }
  .timeline-heading { align-items: flex-end; margin-bottom: 38px; }
  .timeline::before { left: 18px; }
  .month-label { grid-template-columns: 1fr; margin: 45px 0 18px 40px; }
  .month-line { display: none; }
  .event-row { grid-template-columns: 1fr; gap: 9px; padding-left: 40px; margin-bottom: 24px; }
  .date-cell { padding-top: 0; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .date-day { font-size: 22px; }
  .date-meta { margin: 0; }
  .timeline-dot { left: 12px; top: 7px; }
  .event-card { padding: 20px 18px; }
  .event-top { gap: 12px; }
  .status { padding: 5px 7px; font-size: 7px; }
  .event-body { font-size: 12px; }
  .house-result { align-items: start; }
  .data-note { margin: 42px 0 0 40px; padding: 19px; }
  footer { flex-direction: column; }
}

@media (max-width: 410px) {
  .private-pill { display: none; }
  .brand-logo { width: 145px; }
  .brand-program { font-size: 8px; }
  .season-orbit { right: -55px; }
  .section-heading { display: block; }
  .reset-button { margin-top: 14px; }
  .timeline-heading { display: flex; }
  .timeline-heading .result-count { text-align: right; }
  .event-top { display: block; }
  .status { margin-top: 12px; }
}
