:root {
  --navy-950: #08121d;
  --navy-900: #0d1b2a;
  --navy-800: #12263f;
  --navy-700: #1a3657;
  --ink: #102235;
  --muted: #5c7082;
  --line: #d7e0e7;
  --paper: #f6f8fa;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-soft: #f3ecd6;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: -0.05em;
}

.brand small {
  display: block;
  color: #b5c2cd;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.site-nav a,
.footer-links a {
  color: #dce5eb;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 750;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.social-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: currentColor;
}

.button:hover {
  background: #e0c36f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--navy-900);
}

.eyebrow,
.section-kicker,
.slot-time,
.edition-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.75rem;
}

.hero {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(4rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: #d0dae2;
  font-size: clamp(1.55rem, 3.5vw, 2.75rem);
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 2rem;
  color: #d0dae2;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-description {
  max-width: 680px;
  margin: -0.75rem 0 1.25rem;
  color: #aab2c0;
  font-size: 1rem;
}

.hero-meta {
  margin: 0 0 2rem;
  color: #8fe3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--navy-800);
}

.hero-aside p {
  margin-bottom: 0.25rem;
  color: #d0dae2;
  font-size: 0.9rem;
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.hero-facts {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0 1.25rem;
  border-top: 1px solid var(--line);
  color: #d0dae2;
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-heading p {
  max-width: 460px;
  margin-bottom: 0.15rem;
  color: var(--muted);
}

.edition-grid,
.speaker-grid {
  display: grid;
  gap: 1rem;
}

.edition-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: border-color 140ms ease, transform 140ms ease;
}

.edition-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.edition-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-card.upcoming .edition-status {
  border-color: rgba(124, 92, 255, 0.7);
  color: #c9c0ff;
}

.edition-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.edition-card.upcoming {
  border-top: 4px solid var(--gold);
  background: var(--navy-800);
  color: var(--white);
}

.edition-card.upcoming .edition-meta,
.edition-card.upcoming .card-copy {
  color: #d0dae2;
}

.edition-number {
  color: var(--gold);
  font-size: 0.75rem;
}

.edition-card h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.55rem;
}

.edition-meta,
.card-copy {
  color: var(--muted);
}

.edition-meta {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 650;
}

.card-copy {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.arrow-link {
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 750;
}

.upcoming .arrow-link {
  color: var(--gold);
}

.speaker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.speaker-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.speaker-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.speaker-photo {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.speaker-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.speaker-role {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.talk-list {
  margin: 0;
  padding: 0.9rem 0 0 1rem;
  border-top: 1px solid var(--line);
}

.talk-list li {
  margin: 0.45rem 0;
  padding-left: 0.25rem;
  font-size: 0.9rem;
}

.talk-list a {
  color: #8fe3ff;
  text-decoration: none;
}

.talk-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.organizer {
  background: var(--gold-soft);
}

.organizer-grid {
  display: grid;
  gap: 2rem;
}

.organizer h2 {
  margin-bottom: 0.8rem;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3rem);
}

.organizer p {
  max-width: 700px;
  color: #364a5b;
}

.placeholder-note {
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: #536575;
  font-size: 0.86rem;
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
}

.footer-inner {
  min-height: 96px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-note {
  margin: 0;
  color: #9eacb8;
  font-size: 0.8rem;
}

.page-hero {
  padding: 4rem 0;
  background: var(--navy-900);
  color: var(--white);
}

.page-hero h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: #d0dae2;
  font-size: 1.1rem;
}

.edition-intro {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.edition-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  padding: 1rem;
  background: var(--white);
}

.fact-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact strong {
  font-size: 1.02rem;
}

.agenda {
  border-top: 1px solid var(--line);
}

.agenda-item {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.slot-time {
  color: #82691c;
  font-size: 0.75rem;
  font-weight: 700;
}

.agenda-item h2 {
  margin-bottom: 0.45rem;
  color: var(--navy-900);
  font-size: 1.35rem;
}

.agenda-item p {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.speaker-line {
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.speaker-line a {
  text-decoration: none;
}

.speaker-line a:hover {
  color: #82691c;
  text-decoration: underline;
}

.text-content {
  max-width: 760px;
}

.text-content h2 {
  margin-top: 2.5rem;
  color: var(--navy-900);
}

.text-content p,
.text-content li {
  color: #435769;
}

@media (min-width: 700px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
    align-items: stretch;
  }

  .edition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .organizer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .edition-intro {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
  }

  .agenda-item {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1000px) {
  .speaker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }
}

/* Visual language aligned with liebeck.io */
  :root {
    --navy-950: #0a0c10;
    --navy-900: #0f1218;
    --navy-800: #141925;
    --navy-700: #1b2230;
    --ink: #e6e9ef;
    --muted: #aab2c0;
    --line: #222a38;
    --paper: #0a0c10;
    --white: #ffffff;
    --gold: #34d0ff;
    --gold-soft: rgba(124, 92, 255, 0.12);
  }

  body {
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 12, 16, 0.8);
    border-bottom-color: var(--line);
    backdrop-filter: blur(14px);
  }

  .brand-mark {
    border: 0;
    border-radius: 9px;
    background: linear-gradient(100deg, #7c5cff, #34d0ff);
    color: #0a0c10;
    font-weight: 800;
  }

  .brand small,
  .site-nav a,
  .footer-links a {
    color: var(--muted);
  }

  .button {
    border-radius: 999px;
    border-color: transparent;
    background: linear-gradient(100deg, #7c5cff, #34d0ff);
    color: #071018;
    box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.6);
  }

  .button:hover {
    background: linear-gradient(100deg, #8b70ff, #5bdbff);
    transform: translateY(-2px);
  }

  .button-secondary {
    border-color: var(--line);
    background: var(--navy-800);
    color: var(--ink);
    box-shadow: none;
  }

  .button-secondary:hover {
    background: #1b2230;
    color: var(--white);
  }

  .site-nav .button,
  .organizer .button:not(.button-secondary) {
    color: #071018;
  }

  .hero,
  .page-hero {
    background: var(--navy-950);
  }

  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    position: absolute;
    top: -300px;
    left: 35%;
    width: 780px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 92, 255, 0.25), transparent 60%), radial-gradient(circle at 70% 50%, rgba(52, 208, 255, 0.16), transparent 55%);
    content: "";
    filter: blur(24px);
    pointer-events: none;
  }

  .hero-grid,
  .hero > .shell {
    position: relative;
  }

  .eyebrow,
  .section-kicker,
  .slot-time,
  .edition-number {
    color: var(--gold);
  }

  .hero-lede,
  .hero-aside p,
  .section-heading p,
  .edition-meta,
  .card-copy,
  .speaker-role,
  .agenda-item p,
  .text-content p,
  .text-content li {
    color: var(--muted);
  }

  .hero-aside,
  .edition-card,
  .speaker-card,
  .fact,
  .placeholder-note {
    border-color: var(--line);
    background: var(--navy-800);
  }

  .edition-card,
  .speaker-card,
  .fact {
    border-radius: 16px;
  }

  .edition-card:hover {
    border-color: #7c5cff;
  }

  .edition-card.upcoming {
    border-top-color: #7c5cff;
    background: linear-gradient(150deg, rgba(124, 92, 255, 0.16), rgba(52, 208, 255, 0.05));
  }

  .edition-card.upcoming .edition-meta,
  .edition-card.upcoming .card-copy {
    color: var(--muted);
  }

  .section-heading h2,
  .organizer h2,
  .agenda-item h2,
  .text-content h2 {
    color: var(--ink);
  }

  .organizer {
    background: var(--navy-900);
    border-block: 1px solid var(--line);
  }

  .organizer p {
    color: var(--muted);
  }

  .organizer a {
    color: #8fe3ff;
  }

  .placeholder-note {
    color: var(--muted);
  }

  .site-footer {
    background: var(--navy-950);
    border-top: 1px solid var(--line);
  }

  .footer-note {
    color: var(--ink);
  }

  .footer-links a {
    color: #8fe3ff;
  }

  .footer-links a:hover {
    color: #ffffff;
  }

@media (max-width: 560px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0;
  }
}
