/* =============================================================================
   Aspen Winter Conference — stylesheet
   Winter / alpine theme: midnight sky, glacier blues, snow, alpenglow accent.
   You can tweak the colors below; the rest cascades from them.
============================================================================= */

:root {
  --midnight: #0a1834;
  --navy:     #12284c;
  --glacier:  #2f6f9f;
  --sky:      #6fb3d9;
  --ice:      #d9ecf7;
  --frost:    #eef5fb;
  --snow:     #f8fbfe;
  --alpenglow:#f0a94c;   /* warm accent (buttons, highlights) */
  --alpenglow-dk:#d98e2b;

  --text:   #18293d;
  --muted:  #5e7186;
  --line:   #dce7f0;

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 24, 52, 0.10);
  --shadow-sm: 0 4px 14px rgba(10, 24, 52, 0.08);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--snow);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; }
a { color: var(--glacier); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }
.center { text-align: center; }

/* ----------------------------- Buttons ----------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--alpenglow);
  color: #2b1a04;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--alpenglow-dk); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--glacier);
  color: var(--glacier);
}
.btn--ghost:hover { background: var(--glacier); color: #fff; }

/* ----------------------------- Header / Nav ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 24, 52, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { font-size: 24px; color: var(--sky); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.1rem; }
.brand__dates { font-size: .72rem; color: var(--sky); letter-spacing: .02em; }

.nav__menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav__link {
  color: #cfe0ef;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav__link--active { color: #fff; background: rgba(111, 179, 217, 0.22); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ----------------------------- Hero --------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #060f24 0%, #0a1834 38%, #163059 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: 0; }
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 28% 12%, #cfe0ef, transparent),
    radial-gradient(1px 1px at 45% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 62% 16%, #fff, transparent),
    radial-gradient(1px 1px at 78% 26%, #cfe0ef, transparent),
    radial-gradient(1.5px 1.5px at 88% 12%, #fff, transparent),
    radial-gradient(1px 1px at 55% 8%, #fff, transparent);
  opacity: .8;
}
/* Cosmic web (galaxy survey) backdrop */
.cosmos { position: absolute; inset: 0; width: 100%; height: 100%; }
.nebula { mix-blend-mode: screen; }
.cw-filaments line { opacity: .2; }
.cw-nodes circle {
  fill: url(#nodeGlow);
  animation: twinkle 7s ease-in-out infinite;
}
.cw-nodes circle:nth-child(3n)   { animation-duration: 9s; animation-delay: -2s; }
.cw-nodes circle:nth-child(3n+1) { animation-duration: 6s; animation-delay: -4s; }
.galaxies use { animation: galaxyPulse 12s ease-in-out infinite; }
.galaxies use:nth-child(2) { animation-delay: -5s; }
.galaxies use:nth-child(3) { animation-delay: -8s; }
@keyframes twinkle    { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes galaxyPulse{ 0%, 100% { opacity: .82; } 50% { opacity: 1; } }

.mountains { position: absolute; bottom: 0; left: 0; width: 100%; height: 62%; }
.mtn--back  { fill: #1b3a64; }
.mtn--front { fill: #0f2746; }
.snow       { fill: #eef5fb; opacity: .92; }

.hero__content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 150px;
}
.hero__headline {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero__subhead {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: var(--ice);
  margin: 0 0 28px;
  font-weight: 400;
}
.hero__meta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero__pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  backdrop-filter: blur(4px);
}
.hero__cta { margin-top: 4px; }

/* ----------------------------- Sections ----------------------------------- */
.section { padding: 76px 0; }
.section--light { background: var(--frost); }
.section--accent { background: linear-gradient(180deg, var(--navy), var(--midnight)); color: var(--ice); }
.section--accent .section__title { color: #fff; }
.section--accent a { color: var(--sky); }

.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0 0 8px;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--alpenglow);
  border-radius: 3px;
  margin-top: 14px;
}
.section--accent .section__title::after { margin-left: auto; margin-right: auto; }
.center .section__title::after { margin-left: auto; margin-right: auto; }

.section__intro { color: var(--muted); max-width: 640px; margin: 0 0 28px; font-size: 1.05rem; }
.section--accent .section__intro { color: var(--ice); }
.section__note {
  background: rgba(47, 111, 159, .08);
  border-left: 3px solid var(--glacier);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.prose p { margin: 0 0 18px; font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

/* ----------------------------- Topic chips -------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--glacier);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ----------------------------- Speakers ----------------------------------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 12px;
}
.speaker {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.speaker:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.speaker__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  display: grid; place-items: center;
}
.speaker__avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker__avatar--initials {
  background: linear-gradient(135deg, var(--glacier), var(--sky));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
}
.speaker__name { font-size: 1.02rem; margin: 0 0 4px; }
.speaker__affil { font-size: .85rem; color: var(--muted); margin: 0; }

/* ----------------------------- Program ------------------------------------ */
.day { margin-bottom: 34px; }
.day__title {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule tr { border-bottom: 1px solid var(--line); }
.schedule tr:last-child { border-bottom: 0; }
.schedule td { padding: 14px 18px; vertical-align: top; }
.schedule__time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--glacier); white-space: nowrap; width: 90px; }
.schedule__title { font-weight: 500; }
.schedule__speaker { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ----------------------------- Timeline (dates) --------------------------- */
.timeline { list-style: none; padding: 0; margin: 12px 0 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline__item {
  position: relative;
  padding: 0 0 24px 36px;
  display: flex; flex-direction: column;
}
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--alpenglow); border: 3px solid var(--snow);
  box-shadow: 0 0 0 2px var(--alpenglow);
}
.timeline__date { font-weight: 600; color: var(--navy); }
.timeline__label { color: var(--muted); }

/* ----------------------------- Fees table --------------------------------- */
.fees { width: 100%; border-collapse: collapse; margin: 8px 0 28px; background: rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; }
.fees tr { border-bottom: 1px solid rgba(255,255,255,0.12); }
.fees tr:last-child { border-bottom: 0; }
.fees td { padding: 13px 18px; }
.fees__cat { color: var(--ice); }
.fees__amt { text-align: right; font-weight: 600; color: #fff; white-space: nowrap; }

/* ----------------------------- Venue -------------------------------------- */
.venue__address {
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 8px 0 22px;
}

/* ----------------------------- Travel ------------------------------------- */
.travel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.travel__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.travel__sub { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.travel__col p { margin: 0 0 14px; }
.travel__col p:last-child { margin-bottom: 0; }

/* ----------------------------- Organizers --------------------------------- */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.organizer {
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  border-top: 4px solid var(--glacier);
}
.organizer__name { margin: 0 0 4px; font-size: 1.08rem; }
.organizer__role { margin: 0 0 4px; color: var(--alpenglow-dk); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.organizer__affil { margin: 0; color: var(--muted); font-size: .9rem; }

.sponsors-wrap { margin-top: 40px; text-align: center; }
.sponsors__title { font-size: 1rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.sponsors { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; padding: 0; margin: 0; }
.sponsors__item { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }

/* ----------------------------- Contact ------------------------------------ */
.contact__email {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.3rem;
  font-family: var(--font-head);
  color: var(--sky);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.contact__email:hover { border-bottom-color: var(--sky); }

/* ----------------------------- Footer ------------------------------------- */
.site-footer {
  background: var(--midnight);
  color: #9fb3c8;
  padding: 30px 0;
  font-size: .9rem;
}
.site-footer p { margin: 0 0 6px; }
.footer__top { color: var(--sky); text-decoration: none; font-size: .85rem; }
.footer__top:hover { text-decoration: underline; }

/* ----------------------------- Responsive --------------------------------- */
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--midnight);
    padding: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__menu--open { max-height: 80vh; padding: 8px; }
  .nav__link { padding: 12px 14px; }
  .travel { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero__content { padding: 80px 24px 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
