/* New Hope 2027 Leadership Retreat — ghosted blueprint theme */

* { box-sizing: border-box; }

:root {
  --bg: #04070d;
  --bg-soft: #070d18;
  --panel: #081120;
  --blue: #0080ff;
  --blue-bright: #35a1ff;
  --blue-faint: rgba(0, 128, 255, 0.14);
  --grid-fine: rgba(0, 128, 255, 0.055);
  --grid-strong: rgba(0, 128, 255, 0.11);
  --ink: #ffffff;
  --body: #c7d6ea;
  --muted: #7e97b8;
  --rule: rgba(0, 128, 255, 0.22);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Blueprint grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px),
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
}

header, main, footer { position: relative; z-index: 1; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 0.75em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0.5em 0 0; padding-left: 1.25em; }
li { margin-bottom: 0.3em; }
li::marker { color: var(--blue); }
a { color: var(--blue-bright); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 20px 56px;
  border-bottom: 1px solid var(--rule);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 128, 255, 0.16), transparent 70%);
}

.hero-rings {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 860px;
  height: 860px;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  pointer-events: none;
}
.hero-rings circle,
.hero-rings line {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 1;
}

.hero-inner { position: relative; }

.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 1px rgba(0, 128, 255, 0.45), 0 0 48px rgba(0, 128, 255, 0.25);
  background: #000;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(44px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.retreat-title {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: clamp(21px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.dates {
  margin: 0 0 22px;
  color: var(--body);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.motto {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.motto span { color: var(--blue-bright); }

/* ---------- Sticky day nav ---------- */

.day-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 7, 13, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.day-nav-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.day-nav a {
  display: block;
  text-align: center;
  padding: 10px 4px;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.day-nav a:hover,
.day-nav a:focus-visible {
  border-color: var(--blue);
  color: var(--blue-bright);
  outline: none;
}

/* ---------- Layout ---------- */

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

section { padding: 40px 0 8px; }

section h2 {
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ---------- Purpose ---------- */

.purpose {
  text-align: center;
  padding-top: 48px;
}
.purpose h2 {
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.purpose p {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(18px, 3.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- Day sections ---------- */

.day { border-top: 1px solid var(--rule); scroll-margin-top: 76px; }

.day-head { margin-bottom: 8px; }
.day-kicker {
  margin: 0 0 6px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.day-theme {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(0, 128, 255, 0.12);
}
.session:first-of-type { border-top: 0; }

.time {
  margin: 0;
  padding-top: 3px;
  color: var(--blue-bright);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.session-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.session-body p { margin-bottom: 0.6em; }

.leaders {
  color: var(--ink);
  font-weight: 700;
}
.tagline {
  color: var(--blue-bright);
  font-style: italic;
  font-weight: 600;
}
.note {
  color: var(--muted);
  font-style: italic;
}

.session.break .session-body h3 { color: var(--muted); }
.session.break .time { color: var(--muted); }

/* ---------- Outcomes ---------- */

.outcomes { border-top: 1px solid var(--rule); }
.outcomes h2 { margin-bottom: 10px; }
.outcomes > p { color: var(--body); }
.outcomes ol {
  list-style: none;
  counter-reset: outcome;
  margin: 20px 0 0;
  padding: 0;
}
.outcomes li {
  counter-increment: outcome;
  position: relative;
  margin: 0;
  padding: 16px 0 16px 64px;
  border-top: 1px solid rgba(0, 128, 255, 0.12);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}
.outcomes li::before {
  content: counter(outcome, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Closing ---------- */

.closing {
  border-top: 1px solid var(--rule);
  text-align: center;
  padding-top: 48px;
}
.closing-text {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: clamp(19px, 3.6vw, 24px);
  line-height: 1.55;
}
.closing .motto { font-size: 16px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  text-align: center;
  padding: 28px 20px 36px;
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0 0 4px; }
footer p:last-child { margin-bottom: 0; }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 48px 16px 44px; }
  .hero-logo { width: 168px; height: 168px; margin-bottom: 22px; }
  .hero-rings { width: 620px; height: 620px; }
  main { padding: 0 16px 32px; }
  section { padding: 32px 0 4px; }
  .session {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 18px 0;
  }
  .time { padding-top: 0; font-size: 14px; }
  .motto { font-size: 13px; letter-spacing: 0.12em; }
  .closing .motto { font-size: 14px; }
  .outcomes li { padding-left: 52px; font-size: 17px; }
  .outcomes li::before { font-size: 22px; top: 15px; }
}
