:root {
  color-scheme: light;
  --ink: #10202a;
  --muted: #526572;
  --line: #d7e0e4;
  --paper: #f7faf9;
  --white: #ffffff;
  --blue: #1f5f8f;
  --teal: #137a75;
  --green: #246b45;
  --amber: #b46a27;
  --deep: #0d1e29;
  --deep-2: #12323f;
  --shadow: 0 18px 55px rgba(16, 32, 42, 0.13);
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-color: rgba(19, 122, 117, 0.4);
  text-underline-offset: 0.18em;
}

img,
canvas {
  max-width: 100%;
}

.skip-link {
  background: var(--white);
  border: 2px solid var(--teal);
  left: 1rem;
  padding: 0.6rem 0.85rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(247, 250, 249, 0.94);
  border-bottom: 1px solid rgba(215, 224, 228, 0.86);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 72px;
  padding: 0 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--deep);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 44px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.88rem;
  line-height: 1.25;
  max-width: 32ch;
  overflow-wrap: break-word;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.18rem;
}

.nav-links a {
  border-radius: 6px;
  color: #263c47;
  font-size: 0.93rem;
  font-weight: 650;
  padding: 0.6rem 0.76rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #e9f0ef;
  color: var(--deep);
}

.nav-links .nav-action {
  background: var(--teal);
  color: var(--white);
  margin-left: 0.3rem;
}

.nav-links .nav-action:hover,
.nav-links .nav-action:focus-visible {
  background: #0f6864;
  color: var(--white);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: none;
  height: 42px;
  place-items: center;
  width: 42px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 18px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  left: 0;
  position: absolute;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

.hero {
  background: var(--deep);
  color: var(--white);
  min-height: 74svh;
  overflow: hidden;
  position: relative;
}

.hero-canvas,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-canvas {
  height: 100%;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 30, 41, 0.93) 0%, rgba(13, 30, 41, 0.78) 44%, rgba(13, 30, 41, 0.36) 100%),
    radial-gradient(circle at 78% 20%, rgba(180, 106, 39, 0.22), transparent 32%),
    linear-gradient(180deg, transparent 76%, rgba(247, 250, 249, 0.96) 100%);
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4.8rem, 9vh, 6.6rem) 1.25rem 4.5rem;
  position: relative;
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9de2d7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 14ch;
}

.hero-subtitle {
  color: #e9f7f3;
  font-size: clamp(1.25rem, 3vw, 2.05rem);
  font-weight: 700;
  margin: 0.4rem 0 1.4rem;
  max-width: 780px;
}

.hero-copy {
  color: #d4e2e4;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  margin: 0;
  max-width: 760px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 0;
  max-width: 880px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ecf4f3;
  font-size: 0.94rem;
  font-weight: 680;
  padding: 0.48rem 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: #f0b15f;
  color: #1f1609;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #ffc77c;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  background: var(--deep);
  color: var(--white);
}

.button.dark:hover,
.button.dark:focus-visible {
  background: #1b3f52;
}

.section-wrap {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 7vw, 6.5rem) 1.25rem;
}

.intro-band,
.participate-band {
  background: var(--white);
}

.intro-band .section-wrap {
  padding-top: clamp(2.6rem, 5vw, 4.2rem);
}

.intro-grid,
.participate-grid,
.venue-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.intro-grid h2,
.participate-grid h2,
.venue-grid h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.intro-copy,
.participate-copy,
.venue-grid p {
  color: #31444f;
  font-size: 1.08rem;
}

.intro-copy p,
.participate-copy p {
  margin: 0 0 1.15rem;
}

.theme-intro {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem !important;
}

.author-kit-callout {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--amber);
  border-left-width: 4px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin: 0 0 1.4rem !important;
  padding: 0.9rem 1.1rem;
}

.author-kit-label {
  color: var(--amber);
  font-weight: 700;
}

.theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.theme-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.92rem;
  color: var(--deep-2);
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 1rem 0 0;
}

.compact-heading {
  max-width: 860px;
}

.track-grid,
.speaker-grid,
.organizer-list {
  display: grid;
  gap: 1rem;
}

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

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

.organizer-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track-card,
.person-card,
.venue-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 32, 42, 0.06);
}

.track-card {
  padding: 1.35rem;
}

.track-label {
  color: var(--amber);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.track-card h3 {
  font-size: 1.32rem;
  margin-bottom: 1rem;
}

.track-card p,
.person-card p {
  color: var(--muted);
  margin: 0;
}

.program-band {
  background: #eaf2f1;
  border-bottom: 1px solid #d6e3e1;
  border-top: 1px solid #d6e3e1;
}

.format-strip {
  background: var(--deep);
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.format-strip div {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem;
}

.format-strip div:last-child {
  border-right: 0;
}

.format-strip strong,
.format-strip span {
  display: block;
}

.format-strip strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.format-strip span {
  color: #c8d8dc;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.schedule {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.day {
  background: var(--white);
  border: 1px solid #d0dedc;
  border-radius: var(--radius);
  padding: 1.2rem;
}

.day > p {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 850;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.day h3 {
  font-size: 1.22rem;
  margin-bottom: 1rem;
}

.day ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.day li {
  border-top: 1px solid #e4eceb;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  padding: 0.62rem 0;
}

.day time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.person-card {
  min-height: 150px;
  padding: 1.12rem;
}

.person-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.person-card span {
  color: var(--teal);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 0.95rem;
}

.dates-list,
.venue-panel dl {
  display: grid;
  gap: 0;
  margin: 1.4rem 0;
}

.dates-list div,
.venue-panel dl div {
  border-top: 1px solid rgba(16, 32, 42, 0.14);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  padding: 0.86rem 0;
}

dt {
  color: var(--deep);
  font-weight: 850;
}

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

.venue-band {
  background: #f1f4f2;
  border-top: 1px solid var(--line);
}

.venue-panel {
  align-self: start;
  padding: 1.15rem 1.25rem;
}

.site-footer {
  background: var(--deep);
  color: var(--white);
}

.footer-grid {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.footer-grid p {
  color: #c3d3d6;
  margin: 0.25rem 0 0;
}

.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-grid a {
  color: #d9f4ef;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.75rem;
  }

  .nav-links .nav-action {
    margin: 0.35rem 0 0;
    text-align: center;
  }

  .intro-grid,
  .participate-grid,
  .venue-grid,
  .track-grid,
  .schedule,
  .speaker-grid,
  .organizer-list {
    grid-template-columns: 1fr;
  }

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

  .format-strip div:nth-child(2) {
    border-right: 0;
  }

  .format-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding-bottom: 2rem;
    padding-top: 3.25rem;
  }

  h1 {
    font-size: clamp(2.55rem, 10.8vw, 3.15rem);
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1.16rem;
    margin-bottom: 1rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-meta {
    gap: 0.55rem;
    margin-top: 1.25rem;
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.1rem;
  }

  .hero-meta span {
    padding: 0.42rem 0.74rem;
  }

  .button {
    min-height: 42px;
    padding: 0.66rem 0.9rem;
  }

  .hero-meta span,
  .button {
    width: 100%;
  }

  .section-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .format-strip {
    grid-template-columns: 1fr;
  }

  .format-strip div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 0;
  }

  .format-strip div:last-child {
    border-bottom: 0;
  }

  .day li,
  .dates-list div,
  .venue-panel dl div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Detailed program (2026-10-20) */
.program-note {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 62rem;
}

.schedule-full {
  grid-template-columns: minmax(0, 1fr);
}

.day-full li {
  grid-template-columns: 7.2rem minmax(0, 1fr);
}

.day-full li.session-row {
  border-top: 2px solid var(--teal);
  display: block;
  margin-top: 0.6rem;
  padding: 0.7rem 0 0.35rem;
}

.day-full li.session-row span {
  color: var(--teal);
  font-weight: 850;
}

.day-full .talk div {
  display: grid;
  gap: 0.2rem;
}

.day-full .talk strong {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
}

.day-full .authors {
  color: var(--muted);
  font-size: 0.94rem;
}

.day-full .presenter {
  color: var(--green);
  font-size: 0.9rem;
  font-style: italic;
}

.day-full .tag {
  color: var(--amber);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .day-full li {
    gap: 0.3rem;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
