:root {
  --bg: #071427;
  --bg-deep: #04101f;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(226, 197, 126, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --gold: #e2c57e;
  --gold-bright: #f7df9d;
  --head: #fff7e4;
  --body: #d6deea;
  --muted: #95a4b9;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 88, 138, 0.32), transparent 38rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  color: var(--body);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(5.5rem, 11vh, 8rem) 1.5rem;
}

#constellation,
.hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  z-index: 1;
  background: radial-gradient(75% 65% at 50% 42%, transparent 38%, rgba(4, 12, 25, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1000px);
  text-align: center;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.8rem 1.4rem;
    min-width: 220px;
    min-height: 90px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.logo-image {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 760px) {
    .logo-card {
        min-width: 180px;
        min-height: 75px;
        padding: 0.6rem 1rem;
    }

    .logo-image {
        max-width: 140px;
        max-height: 50px;
    }
}

.eyebrow,
.section-label {
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin: 3rem 0 1.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(226, 197, 126, 0.08);
  padding: 0.58rem 1.2rem;
}

.event-kicker {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.event-kicker span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold-bright);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--head);
  font-family: var(--font-serif);
  font-weight: 500;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1.04;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.42);
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--gold-bright);
  font-style: italic;
}

.hero-copy {
  max-width: 650px;
  margin: 1.55rem auto 0;
  color: var(--head);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}

.event-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  margin-top: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(226, 197, 126, 0.065);
  padding: 0.85rem 1.35rem;
  color: var(--head);
  box-shadow: 0 22px 45px -30px rgba(0, 0, 0, 0.7);
}

.event-meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 0.85rem;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.map-link {
  display: inline-flex;
  margin-left: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(226, 197, 126, 0.08);
  padding: 0.38rem 0.75rem;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 4vw, 2.25rem);
  margin-top: 3.2rem;
}

.countdown div {
  position: relative;
  min-width: 68px;
}

.countdown div + div::before {
  content: ":";
  position: absolute;
  left: calc(clamp(0.75rem, 4vw, 2.25rem) / -2 - 0.14em);
  top: 0.1em;
  color: rgba(226, 197, 126, 0.58);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.7rem);
}

.countdown strong {
  display: block;
  color: var(--head);
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 8vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.countdown span,
.timezone {
  color: var(--gold-bright);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.timezone {
  margin: 0.95rem 0 0;
  color: var(--muted);
}

.why {
  max-width: 680px;
  margin: 3.9rem auto 0;
}

.why p:last-child {
  margin: 0;
  color: rgba(214, 222, 234, 0.92);
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.format-section {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  padding: clamp(4.5rem, 10vw, 7.5rem) 1.5rem;
}

.section-inner {
  width: min(100%, 1140px);
  margin-inline: auto;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.45rem);
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 3.3rem;
}

.session-card {
  cursor: pointer;
  display: block;
  width: 100%;
  min-height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  padding: clamp(1.55rem, 3vw, 2.45rem);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 34px 80px -55px rgba(0, 0, 0, 0.75);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.session-card:hover,
.session-card:focus-visible,
.session-card.is-active {
  border-color: var(--line);
}

.session-card:hover,
.session-card:focus-visible {
  transform: translateY(-4px);
}

.session-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.session-card.is-active {
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 197, 126, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), var(--panel));
  box-shadow:
    0 34px 80px -55px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(226, 197, 126, 0.08);
}

.session-type {
  margin: 0 0 0.9rem;
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.session-card h3 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.14;
}

.session-time {
  margin: 0.4rem 0 1.15rem;
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-weight: 600;
}

.session-card p:last-child {
  margin: 0;
  color: rgba(214, 222, 234, 0.94);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.session-panels {
  margin-top: 1.8rem;
}

.schedule-panel {
  margin-top: 2.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(30, 88, 138, 0.2), transparent 32rem),
    rgba(4, 16, 31, 0.58);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: 0 36px 90px -70px rgba(0, 0, 0, 0.9);
}

.session-panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(30, 88, 138, 0.2), transparent 32rem),
    rgba(4, 16, 31, 0.58);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: 0 36px 90px -70px rgba(0, 0, 0, 0.9);
}

.session-panel[hidden] {
  display: none;
}

.panel-intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.panel-intro h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.panel-intro p:last-child {
  margin: 1rem 0 0;
  color: var(--head);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.35rem;
  margin-top: 2.6rem;
}

.detail-block {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-block h4,
.register-panel h4 {
  margin: 0.35rem 0 1.2rem;
  color: var(--head);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.detail-block > p:not(.section-label):not(.note) {
  margin: 0;
  color: rgba(214, 222, 234, 0.94);
  font-family: var(--font-serif);
  font-size: 1.17rem;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.9rem 0;
}

.timeline li:first-child {
  padding-top: 0;
}

.timeline li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline time {
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
}

.timeline span {
  color: var(--body);
}

.note {
  margin: 1.2rem 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  color: var(--body);
}

.expect-list {
  display: grid;
  gap: 0.9rem;
}

.expect-list article {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.9rem;
}

.expect-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.expect-list span {
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.expect-list h5 {
  margin: 0.2rem 0 0.35rem;
  color: var(--head);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.expect-list p {
  margin: 0;
  color: var(--body);
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.audience-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(226, 197, 126, 0.07);
  padding: 0.55rem 0.85rem;
  color: var(--head);
  font-size: 0.84rem;
  font-weight: 600;
}

.register-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(226, 197, 126, 0.11), rgba(255, 255, 255, 0.035));
  padding: clamp(1.25rem, 3vw, 2rem);
}

.register-panel p:not(.section-label) {
  margin: 0;
  color: var(--muted);
}

.register-link {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: var(--gold-bright);
  padding: 1rem 1.35rem;
  color: #06111f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.register-link:hover,
.register-link:focus-visible {
  background: #ffe9ad;
  transform: translateY(-2px);
}

.celebration-note {
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.celebration-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.celebration-note strong {
  color: var(--text-primary);
}

footer {
  background: var(--bg-deep);
  padding: 4.5rem 1.5rem 1.8rem;
}

.footer-inner,
.footer-bottom {
  width: min(100%, 1140px);
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  color: var(--head);
  font-weight: 600;
}

.footer-desc {
  margin-top: 0.85rem !important;
  max-width: 560px;
  line-height: 1.65;
}

footer p {
  margin: 0;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-nav {
  width: min(100%, 1140px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 3rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

footer a {
  color: var(--body);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .hero {
    padding-inline: 1rem;
  }

  .event-meta {
    display: flex;
  }

  .event-meta span {
    width: 100%;
  }

  .event-meta span::after {
    display: none !important;
  }

  .map-link {
    margin: 0.8rem 0 0;
  }

  .countdown {
    gap: 0.9rem;
  }

  .countdown div {
    min-width: 58px;
  }

  .countdown div + div::before {
    display: none;
  }

  .session-grid,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .schedule-panel {
    padding: 1.25rem;
  }

  .register-panel {
    align-items: stretch;
    flex-direction: column;
  }
}
