/* GIOE One Reunion — shared styles */

:root {
  --bg: #101319;
  --surface: #161b24;
  --border: #1d222c;
  --rule: #2c313d;
  --rule-strong: #3a4150;
  --gold: #c9a24b;
  --cream: #e9ddc0;
  --ivory: #f2ecdd;
  --muted: #8f96a3;
  --faint: #59606e;
  --serif: 'DM Serif Display', serif;
  --sans: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

.page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shell {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font: 400 22px var(--serif);
  color: var(--cream);
  white-space: nowrap;
}

.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 20px;
  font: 500 14px var(--sans);
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--gold); }

/* Main */
.main {
  padding: 44px 26px 56px;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  color: var(--gold);
  font: 500 12px var(--sans);
  letter-spacing: 0.28em;
}

.hero-title {
  font: 400 46px var(--serif);
  color: var(--ivory);
  line-height: 1.08;
  margin: 14px 0 0;
  text-wrap: pretty;
}

.hero-sub {
  color: var(--muted);
  font: 300 17px var(--sans);
  line-height: 1.6;
  margin: 16px 0 0;
}

/* Facts grid */
.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}

.fact {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.fact:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}

.fact-label {
  color: var(--muted);
  font: 500 11px var(--sans);
  letter-spacing: 0.2em;
}

.fact-value {
  color: var(--ivory);
  font: 400 20px var(--serif);
  margin-top: 4px;
}

.fact-value.gold { color: var(--gold); }

/* Countdown */
.countdown { margin-top: 36px; }

.countdown-label {
  color: var(--muted);
  font: 500 11px var(--sans);
  letter-spacing: 0.2em;
  text-align: center;
}

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

.count-cell {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 4px;
  text-align: center;
}

.count-num {
  font: 400 32px var(--serif);
  color: var(--cream);
}

.count-cell.gold .count-num { color: var(--gold); }

.count-unit {
  color: var(--muted);
  font: 500 11px var(--sans);
  letter-spacing: 0.18em;
  margin-top: 2px;
}

/* CTAs */
.ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  padding: 17px;
  text-align: center;
  font: 600 16px var(--sans);
  min-height: 44px;
}

.btn-primary:hover { color: var(--bg); background: #d9b45e; }

.btn-secondary {
  border: 1px solid var(--rule-strong);
  color: var(--cream);
  border-radius: 999px;
  padding: 16px;
  text-align: center;
  font: 500 16px var(--sans);
  min-height: 44px;
}

/* What's next cards */
.next-section {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}

.next-cards {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px 20px;
}

.next-card:hover { border-color: var(--rule-strong); }

.next-card-title {
  display: block;
  color: var(--ivory);
  font: 400 19px var(--serif);
}

.next-card-sub {
  display: block;
  color: var(--muted);
  font: 300 14px var(--sans);
  margin-top: 3px;
}

.next-card-arrow {
  color: var(--gold);
  font-size: 18px;
}

/* Page variants */
.hero-title.sm {
  font-size: 42px;
  line-height: 1.1;
}

/* Timeline (The Day) */
.timeline {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: flex;
  gap: 20px;
}

.tl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.tl-dot.filled {
  background: var(--gold);
  border: none;
}

.tl-line {
  width: 1px;
  flex: 1;
  background: var(--rule);
}

.tl-body {
  padding-bottom: 32px;
  flex: 1;
}

.tl-item:last-child .tl-body { padding-bottom: 0; }

.tl-time {
  color: var(--gold);
  font: 500 12px var(--sans);
  letter-spacing: 0.2em;
}

.tl-title {
  color: var(--ivory);
  font: 400 22px var(--serif);
  margin-top: 6px;
}

.tl-desc {
  color: var(--muted);
  font: 300 15px var(--sans);
  line-height: 1.6;
  margin-top: 6px;
}

/* Info / CTA cards */
.info-card {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 20px 22px;
}

.info-card.gold-border {
  margin-top: 32px;
  border-color: var(--gold);
  padding: 22px;
}

.info-card-title {
  color: var(--cream);
  font: 400 18px var(--serif);
}

.info-card.gold-border .info-card-title { font-size: 20px; }

.info-card-text {
  color: var(--muted);
  font: 300 14px var(--sans);
  line-height: 1.6;
  margin-top: 6px;
}

.info-card .btn-primary {
  display: block;
  margin-top: 14px;
  padding: 14px;
  font-size: 15px;
}

.info-card.gold-border .btn-primary { padding: 15px; font-size: 16px; }

/* Memories gallery */
.gallery {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gallery-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gallery-title {
  color: var(--cream);
  font: 400 24px var(--serif);
}

.gallery-hint {
  color: var(--faint);
  font: 300 13px var(--sans);
}

.gallery-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.photo-slot {
  height: 180px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px dashed var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--faint);
  font: 300 13px var(--sans);
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.share-section {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  text-align: center;
}

.share-quote {
  font: 400 26px var(--serif);
  color: var(--cream);
  line-height: 1.4;
  text-wrap: pretty;
}

.share-note {
  color: var(--muted);
  font: 300 14px var(--sans);
  margin-top: 10px;
}

.btn-secondary.inline {
  display: inline-block;
  margin-top: 16px;
  padding: 13px 28px;
  font-size: 15px;
}

/* Volunteer teams */
.team-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px;
}

.team-name {
  color: var(--ivory);
  font: 400 18px var(--serif);
}

.team-desc {
  color: var(--muted);
  font: 300 13px var(--sans);
  line-height: 1.5;
  margin-top: 4px;
}

.footnote {
  margin-top: 36px;
  text-align: center;
  color: var(--faint);
  font: 400 14px var(--sans);
  font-style: italic;
}

/* Footer motto */
.motto {
  margin-top: 44px;
  text-align: center;
}

.motto-line {
  color: var(--faint);
  font: 400 14px var(--sans);
  font-style: italic;
}

.motto-main {
  color: var(--gold);
  font: 400 22px var(--serif);
  margin-top: 8px;
}
