:root {
  --background: #f7f3ea;
  --foreground: #181915;
  --muted: #686a5f;
  --line: #d8d1c4;
  --ink: #181915;
  --paper: #fffdf7;
  --clay: #b95632;
  --clay-dark: #87391f;
  --moss: #4f6846;
  --blue: #315d73;
  --gold: #dba84c;
  --font-geist-mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(24, 25, 21, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 25, 21, 0.035) 1px, transparent 1px),
    var(--background);
  background-size: 42px 42px;
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 28px));
  min-height: 68px;
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(24, 25, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(48, 40, 28, 0.08);
}

.brand,
.nav-links,
.hero-actions,
.countdown {
  display: flex;
  align-items: center;
}

.brand {
  gap: 5px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--clay-dark);
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.hero {
  width: 100%;
  min-height: calc(100svh - 92px);
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 80% 18%, rgba(219, 168, 76, 0.16), transparent 34%),
    radial-gradient(circle at 12% 84%, rgba(185, 86, 50, 0.18), transparent 34%),
    linear-gradient(135deg, #151814 0%, #1f2d2a 54%, #102433 100%);
  color: var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 252px);
  margin: 0 auto;
}

.hero-copy,
.event-panel {
  max-width: none;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  color: var(--paper);
  font-size: clamp(2.45rem, 5vw, 4.75rem);
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  margin-top: 0.18em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 7px;
  font-weight: 900;
}

.button {
  padding: 15px 20px;
}

.primary {
  background: var(--clay);
  color: #fffaf1;
  box-shadow: 0 14px 30px rgba(10, 10, 8, 0.26);
}

.event-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: auto;
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.12), rgba(255, 253, 247, 0.05)),
    rgba(255, 253, 247, 0.06);
  color: #fffdf7;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(10, 10, 8, 0.24);
  backdrop-filter: blur(12px);
}

.event-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 7px;
}

.event-detail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.08);
}

.event-detail span {
  color: rgba(255, 253, 247, 0.62);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-detail strong {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.date-detail strong {
  color: #f7d68b;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.why-layout {
  padding-top: 86px;
  padding-bottom: 86px;
}

.why-layout h2,
.why-layout p {
  max-width: 900px;
}

.why-layout p {
  margin-bottom: 0;
}

.why-section,
.how-section,
.countdown-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.58);
}

.why-section,
.how-section,
.section-shell,
.countdown-section {
  scroll-margin-top: 96px;
}

.two-column,
.how-layout,
.dinner-section,
.countdown-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
  padding-top: 86px;
  padding-bottom: 86px;
}

.two-column h2,
.how-layout h2,
.dinner-copy h2 {
  max-width: 740px;
}

.two-column p:not(.section-kicker),
.dinner-copy p {
  max-width: 740px;
}

.section-heading {
  max-width: 760px;
  padding-top: 86px;
  margin-bottom: 34px;
}

.presenter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 86px;
}

.presenter-card,
.faq-item {
  border: 1px solid rgba(24, 25, 21, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
}

.presenter-card {
  min-height: 330px;
  padding: 24px;
}

.presenter-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  margin-bottom: 16px;
}

.session-number {
  display: block;
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

.speaker-avatars {
  display: flex;
  align-items: center;
  min-width: 88px;
  justify-content: flex-end;
}

.speaker-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: -10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  font-weight: 900;
  overflow: hidden;
}

.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-avatar:hover {
  transform: translateY(-2px);
}

.presenter-name {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--clay-dark);
  font-weight: 900;
}

.presenter-affiliation {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 2px;
}

.presenter-name a {
  text-decoration: underline;
  text-decoration-color: rgba(135, 57, 31, 0.28);
  text-underline-offset: 4px;
}

.presenter-name a:hover {
  color: var(--blue);
}

.presenter-company {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.presenter-company::before {
  content: "/";
  margin-right: 10px;
  color: var(--clay);
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 68px;
  padding: 18px 20px 18px 56px;
  border: 1px solid rgba(24, 25, 21, 0.13);
  border-radius: 8px;
  background: var(--paper);
  color: #3c3e37;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 16px;
  height: 16px;
  border: 5px solid var(--gold);
  border-radius: 50%;
}

.dinner-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  align-items: center;
}

.circle-visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 25, 21, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(219, 168, 76, 0.8), rgba(185, 86, 50, 0.88)),
    var(--gold);
}

.circle-visual::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px dashed rgba(255, 253, 247, 0.7);
  border-radius: 50%;
}

.circle-visual span {
  position: absolute;
  display: block;
  width: 74px;
  height: 74px;
  border: 10px solid rgba(255, 253, 247, 0.8);
  border-radius: 50%;
  background: rgba(24, 25, 21, 0.24);
}

.circle-visual span:nth-child(1) {
  top: 12%;
  left: 40%;
}

.circle-visual span:nth-child(2) {
  top: 42%;
  right: 12%;
}

.circle-visual span:nth-child(3) {
  bottom: 12%;
  left: 40%;
}

.circle-visual span:nth-child(4) {
  top: 42%;
  left: 12%;
}

.countdown-layout {
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 24px;
  column-gap: 54px;
  align-items: center;
}

.countdown-layout h2 {
  margin-bottom: 6px;
}

.countdown {
  gap: 8px;
}

.countdown-actions {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.countdown-item {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 86px;
  border: 1px solid rgba(24, 25, 21, 0.14);
  border-radius: 8px;
  background: var(--paper);
}

.countdown-item span {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.countdown-item small {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.countdown-status {
  display: grid;
  gap: 4px;
  min-width: min(100%, 390px);
  padding: 20px;
  border: 1px solid rgba(24, 25, 21, 0.14);
  border-radius: 8px;
  background: var(--paper);
}

.countdown-status strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.05;
}

.countdown-status span {
  color: var(--muted);
  line-height: 1.45;
}

.location-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 247, 0.38);
  text-underline-offset: 4px;
}

.map-frame {
  grid-column: 1 / -1;
  width: 100%;
  min-height: clamp(320px, 38vw, 520px);
  margin-top: 0;
  border: 1px solid rgba(24, 25, 21, 0.14);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 38vw, 520px);
  border: 0;
}

.faq-section {
  padding-bottom: 86px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 22px;
}

.faq-item p,
.presenter-card p {
  margin-bottom: 0;
}

.text-link {
  margin-top: 20px;
  color: var(--clay-dark);
}

.inline-link {
  color: var(--clay-dark);
  font-weight: 900;
}

.faq-item .text-link {
  min-height: auto;
  justify-content: flex-start;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.98rem;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.footer-register {
  min-height: 44px;
  padding: 12px 18px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-inner,
  .two-column,
  .how-layout,
  .dinner-section,
  .countdown-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
  }

  .presenter-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .countdown-layout {
    justify-items: start;
  }

  .countdown-actions {
    justify-items: center;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    width: min(100% - 16px, 1180px);
    gap: 10px;
  }

  .brand span:last-child {
    display: grid;
  }

  .header-cta {
    min-height: 38px;
    padding: 10px 14px;
  }

  .hero {
    gap: 28px;
    padding: 48px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.75rem);
  }

  .button {
    width: 100%;
    min-height: 54px;
    text-align: center;
  }

  .event-panel {
    margin-top: 34px;
    padding: 24px;
  }

  .presenter-affiliation {
    display: grid;
    gap: 2px;
  }

  .presenter-company::before {
    content: "";
    margin-right: 0;
  }

  .two-column,
  .why-layout,
  .how-layout,
  .dinner-section,
  .countdown-layout {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    padding-top: 64px;
  }

  .presenter-grid,
  .faq-section {
    padding-bottom: 64px;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .countdown-item {
    min-width: 0;
  }

  .site-footer {
    display: grid;
  }
}
