:root {
  --bg: #f7f1ec;
  --bg-alt: #efe3dc;
  --surface: rgba(255, 250, 247, 0.86);
  --surface-strong: rgba(255, 251, 248, 0.96);
  --surface-deep: rgba(111, 15, 24, 0.92);
  --ink: #1f1717;
  --ink-soft: rgba(31, 23, 23, 0.72);
  --line: rgba(111, 15, 24, 0.16);
  --primary: #8f1820;
  --primary-deep: #6f0f18;
  --primary-soft: rgba(143, 24, 32, 0.1);
  --gold: #b68a57;
  --shadow: 0 28px 70px rgba(85, 28, 33, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --sidebar-width: 320px;
  --content-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 24, 32, 0.12), transparent 24%),
    linear-gradient(180deg, #fbf7f4 0%, var(--bg) 42%, var(--bg-alt) 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, calc(var(--content-width) + var(--sidebar-width) + 7rem));
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 2rem;
}

.sidebar,
.main-content,
.section,
.site-footer,
.hero-banner {
  position: relative;
}

.sidebar {
  position: sticky;
  top: 1.5rem;
  align-self: start;
  min-height: calc(100vh - 3rem);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 251, 248, 0.96), rgba(251, 243, 239, 0.88)),
    var(--surface-strong);
  border: 1px solid rgba(143, 24, 32, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(143, 24, 32, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(143, 24, 32, 0.05) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  pointer-events: none;
}

.brand,
.sidebar-panel,
.site-nav {
  position: relative;
  z-index: 1;
}

.brand {
  display: block;
}

.brand-logo {
  width: min(100%, 220px);
  height: auto;
}

.sidebar-panel {
  margin-top: 1.6rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(143, 24, 32, 0.08);
}

.sidebar-kicker,
.eyebrow,
.section-kicker,
.mini-label,
.program-type {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sidebar-kicker,
.eyebrow,
.section-kicker,
.mini-label,
.program-type {
  color: var(--primary);
}

.conference-meta h1,
.hero-intro h2,
.section-heading h2,
.organizer-card h3,
.speaker-name,
.program-content h3,
.venue-card h3,
.contact-card h3 {
  margin: 0;
  font-family: "Domine", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.conference-meta h1 {
  margin-top: 0.8rem;
  font-size: 2.35rem;
  line-height: 0.95;
}

.conference-meta p:last-child,
.sidebar-note p,
.hero-lead,
.feature-card p,
.speaker-affiliation,
.program-org,
.contact-card a,
.organizer-card a,
.venue-card p,
.site-footer p {
  color: var(--ink-soft);
}

.conference-meta p:last-child,
.sidebar-note p {
  margin: 0.9rem 0 0;
  line-height: 1.7;
}

.site-nav {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.6rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.3rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(143, 24, 32, 0.04);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a::after {
  content: "↗";
  font-size: 0.9rem;
  color: rgba(143, 24, 32, 0.5);
}

.site-nav a:hover,
.site-nav a.is-active {
  transform: translateX(6px);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(143, 24, 32, 0.25);
  color: #fff8f6;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  color: rgba(255, 248, 246, 0.78);
}

.main-content {
  min-width: 0;
  padding-bottom: 2rem;
}

.hero-banner {
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid rgba(143, 24, 32, 0.12);
  box-shadow: var(--shadow);
}

.banner-frame {
  position: relative;
  min-height: 19rem;
}

.banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 7, 8, 0.04), rgba(18, 7, 8, 0.26));
}

.banner-frame img {
  width: 100%;
  height: 100%;
  min-height: 19rem;
  object-fit: cover;
}

.hero-intro {
  padding: 1.7rem 1.8rem 1.9rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 248, 0.98), rgba(250, 239, 235, 0.9));
}

.hero-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.72fr);
  gap: 1.6rem;
  align-items: end;
}

.hero-intro h2 {
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions,
.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(111, 15, 24, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff7f5;
}

.button-secondary {
  border-color: rgba(143, 24, 32, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 1rem 0 3.8rem;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 0.98;
  max-width: 14ch;
}

.overview-grid,
.organizer-strip,
.speaker-grid,
.venue-grid,
.contact-grid {
  display: grid;
  gap: 1.15rem;
}

.overview-grid,
.venue-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
}

.organizer-strip,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.speaker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.speaker-card,
.program-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(143, 24, 32, 0.1);
  box-shadow: var(--shadow);
}

.feature-card,
.speaker-card {
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 248, 245, 0.95));
}

.statement-card {
  min-height: 100%;
}

.statement-card p:last-child {
  margin-top: 1rem;
  font-size: 1.04rem;
  line-height: 1.88;
}

.metric-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.metric-list div {
  padding-top: 1rem;
  border-top: 1px solid rgba(143, 24, 32, 0.12);
}

.metric-list div:first-child {
  padding-top: 0.2rem;
  border-top: none;
}

.metric-list strong {
  display: block;
  font-family: "Domine", serif;
  font-size: 2.55rem;
  color: var(--primary-deep);
}

.metric-list span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.organizer-card h3,
.venue-card h3,
.contact-card h3 {
  margin-top: 0.8rem;
  font-size: 1.9rem;
  line-height: 1.02;
}

.organizer-card a,
.contact-card a {
  display: inline-flex;
  margin-top: 1.05rem;
  font-weight: 700;
  color: var(--primary-deep);
  border-bottom: 1px solid rgba(143, 24, 32, 0.25);
}

.speaker-card {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(143, 24, 32, 0.08), rgba(255, 249, 246, 0.92));
}

.speaker-link {
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.speaker-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(143, 24, 32, 0.06), transparent 44%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.speaker-link:hover,
.speaker-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(143, 24, 32, 0.22);
  box-shadow: 0 24px 44px rgba(111, 15, 24, 0.16);
}

.speaker-link:hover::after,
.speaker-link:focus-visible::after {
  opacity: 1;
}

.speaker-name {
  font-size: 2.05rem;
  line-height: 0.98;
}

.speaker-affiliation {
  margin: 1rem 0 0;
  line-height: 1.75;
}

.speaker-cta {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.speaker-cta::after {
  content: "↗";
  font-size: 0.95rem;
}

.program-shell {
  position: relative;
  display: grid;
  gap: 1rem;
}

.program-shell::before {
  content: "";
  position: absolute;
  left: 11.4rem;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(143, 24, 32, 0.14), rgba(143, 24, 32, 0.42), rgba(143, 24, 32, 0.14));
}

.program-item {
  position: relative;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(253, 247, 244, 0.95));
}

.program-item::before {
  content: "";
  position: absolute;
  left: 10.75rem;
  top: 1.35rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 50%;
  background: #fff8f6;
  border: 4px solid var(--primary-deep);
  box-shadow: 0 0 0 7px rgba(143, 24, 32, 0.08);
}

.program-time {
  padding-top: 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.program-content {
  padding-left: 1.3rem;
}

.program-content h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.05;
}

.program-speaker,
.program-org {
  display: block;
}

.program-speaker {
  margin: 0.55rem 0 0;
  font-weight: 700;
  color: var(--ink);
}

.program-org {
  margin: 0.25rem 0 0;
  line-height: 1.7;
}

.keynote {
  background: linear-gradient(135deg, rgba(143, 24, 32, 0.12), rgba(255, 248, 245, 0.98));
}

.interval,
.brief {
  background: linear-gradient(180deg, rgba(143, 24, 32, 0.05), rgba(255, 248, 245, 0.94));
}

.reception {
  background: linear-gradient(135deg, rgba(182, 138, 87, 0.18), rgba(255, 248, 245, 0.94));
}

.map-card {
  overflow: hidden;
  min-height: 23rem;
  background: linear-gradient(180deg, rgba(143, 24, 32, 0.08), rgba(255, 250, 247, 0.95));
}

.map-frame {
  position: relative;
  min-height: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(143, 24, 32, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(143, 24, 32, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(249, 238, 232, 0.92));
  background-size: 30px 30px, 30px 30px, cover;
}

.map-grid,
.map-ring,
.map-pin,
.map-label {
  position: absolute;
}

.map-grid {
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(143, 24, 32, 0.12), transparent 18%),
    radial-gradient(circle at 72% 62%, rgba(182, 138, 87, 0.16), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(111, 15, 24, 0.08), transparent 42%);
}

.map-ring {
  left: 50%;
  top: 50%;
  width: 10rem;
  height: 10rem;
  margin-left: -5rem;
  margin-top: -5rem;
  border-radius: 50%;
  border: 1px solid rgba(143, 24, 32, 0.22);
  animation: pulse-ring 4s ease-in-out infinite;
}

.map-pin {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 18px 35px rgba(111, 15, 24, 0.24);
}

.map-pin span {
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  background: #fff8f6;
}

.map-label {
  left: 50%;
  top: calc(50% + 3.2rem);
  transform: translateX(-50%);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 251, 248, 0.92);
  border: 1px solid rgba(143, 24, 32, 0.16);
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 0.4rem;
  padding: 1.6rem 0 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(143, 24, 32, 0.12);
}

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

html.is-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

html.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
    min-height: unset;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .overview-grid,
  .venue-grid,
  .organizer-strip,
  .speaker-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .program-shell::before {
    left: 1rem;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-left: 1.45rem;
  }

  .program-item::before {
    left: 0.42rem;
    top: 1.35rem;
  }

  .program-content {
    padding-left: 0;
  }

  .program-time {
    padding-left: 1.55rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1rem;
    gap: 1rem;
  }

  .sidebar,
  .hero-banner,
  .feature-card,
  .speaker-card,
  .program-item {
    border-radius: 22px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-intro,
  .sidebar,
  .feature-card,
  .speaker-card,
  .program-item {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .banner-frame,
  .banner-frame img {
    min-height: 13rem;
  }

  .hero-intro h2 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .venue-actions {
    flex-direction: column;
  }
}
