:root {
  --bg: #f7f0e6;
  --paper: #fffaf2;
  --ink: #203021;
  --muted: #5f665c;
  --green: #3f5235;
  --green-dark: #273720;
  --red: #9d3d32;
  --gold: #d8ae3b;
  --blue: #1f56a8;
  --line: rgba(32, 48, 33, 0.18);
  --shadow: 0 24px 80px rgba(39, 55, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 174, 59, 0.2), transparent 32rem),
    linear-gradient(180deg, #fbf5eb 0%, var(--bg) 58%, #f3eadc 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  color: var(--green-dark);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-size: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-dark);
  background: rgba(63, 82, 53, 0.1);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: min(820px, calc(100svh - 72px));
  padding: clamp(56px, 7vw, 108px) clamp(20px, 5vw, 80px) clamp(44px, 6vw, 84px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(157, 61, 50, 0.22);
  border-radius: 16px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 850px;
}

.kicker,
.section__eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(3.1rem, 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--green-dark);
  font-size: 1.35rem;
  line-height: 1.1;
}

.theme {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--green);
  font-family: "Atkinson Hyperlegible", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fffaf2;
  background: var(--red);
  box-shadow: 0 14px 36px rgba(157, 61, 50, 0.28);
}

.button--secondary {
  color: var(--green-dark);
  background: rgba(255, 250, 242, 0.62);
  border-color: var(--line);
}

.button--disabled,
.button:disabled {
  color: rgba(39, 55, 32, 0.72);
  background: rgba(255, 250, 242, 0.78);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
}

.button--disabled:hover,
.button--disabled:focus-visible,
.button:disabled:hover,
.button:disabled:focus-visible {
  transform: none;
}

.button--large {
  min-width: min(100%, 300px);
}

.button i,
.site-footer a i {
  font-size: 0.95em;
}

.hero__mark {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(32vw, 440px);
  min-width: 240px;
}

.hero__mark img {
  width: 100%;
  border-radius: 10px;
}

.logos-band {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.55fr;
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
  padding: 28px clamp(20px, 5vw, 80px);
  background: #fff;
  border-block: 1px solid var(--line);
}

.logos-band img {
  max-height: 74px;
  object-fit: contain;
}

.logos-band img:last-child {
  justify-self: end;
  max-height: 86px;
}

.section {
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 80px);
}

.intro-grid,
.theme-panel,
.submission,
.organization {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts div {
  position: relative;
  padding: 18px;
  padding-left: 62px;
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts div > i {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fffaf2;
  background: var(--green);
  border-radius: 50%;
  font-size: 0.88rem;
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.facts span {
  color: var(--green-dark);
  font-weight: 800;
}

.theme-section {
  background: var(--green-dark);
}

.theme-section h2,
.theme-section h3 {
  color: #fffaf2;
}

.theme-section p {
  color: rgba(255, 250, 242, 0.78);
}

.theme-panel {
  margin-bottom: 44px;
}

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

.tracks article {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
}

.tracks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 50px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.tracks span i {
  font-size: 1.05rem;
}

.submission {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(157, 61, 50, 0.08), transparent 52%),
    var(--paper);
}

.submission__copy {
  max-width: 780px;
}

.schedule__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.schedule__header p {
  max-width: 450px;
}

.program-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 30px;
  padding: 22px;
  color: #fffaf2;
  background: var(--red);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(157, 61, 50, 0.2);
}

.program-highlight > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--red);
  background: #fffaf2;
  border-radius: 50%;
}

.program-highlight time {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-highlight h3,
.program-highlight p {
  color: inherit;
}

.program-highlight h3 {
  margin-bottom: 8px;
}

.program-highlight p {
  margin-bottom: 0;
}

.program-block,
.program-day {
  margin-top: 34px;
}

.program-block > h3,
.program-day > header {
  margin-bottom: 16px;
}

.program-block > h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
}

.program-day > header {
  padding: 18px 22px;
  color: #fffaf2;
  background: var(--green-dark);
  border-radius: 8px;
}

.program-day > header time {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.05;
}

.program-period {
  margin-top: 16px;
}

.program-period h4 {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 10px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.62);
}

.program-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.program-table th,
.program-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.program-table thead th {
  color: var(--red);
  background: rgba(157, 61, 50, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-table tbody th {
  width: 190px;
  color: var(--green-dark);
  font-weight: 900;
}

.program-table tbody tr:last-child th,
.program-table tbody tr:last-child td {
  border-bottom: 0;
}

.program-table td > strong {
  display: block;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.program-meta span {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  padding: 6px 8px;
  color: var(--muted);
  background: rgba(63, 82, 53, 0.08);
  border-radius: 999px;
  font-size: 0.84rem;
  line-height: 1.25;
}

.program-meta strong {
  color: var(--red);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--red);
}

.timeline article {
  position: relative;
  min-height: 240px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.5);
}

.timeline article > i {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fffaf2;
  background: var(--red);
  border-radius: 50%;
}

.timeline article:last-child {
  border-right: 0;
}

.timeline time {
  display: block;
  margin-bottom: 42px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.organization {
  background: #fff;
}

.organization__logos {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.organization__logos img {
  max-height: 78px;
  object-fit: contain;
}

.organization__logos img:nth-child(2) {
  max-height: 90px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 80px);
  color: #fffaf2;
  background: var(--green-dark);
}

.site-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.site-footer__logos {
  display: grid;
  grid-template-columns: 0.45fr 1.25fr 1fr;
  align-items: center;
  gap: clamp(18px, 5vw, 64px);
  padding: 20px;
  background: #fff;
  border-top: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 8px;
}

.site-footer__logos img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.site-footer__logos img:first-child {
  max-height: 92px;
  justify-self: start;
}

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

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }

  .main-nav a i {
    display: none;
  }

  .hero,
  .intro-grid,
  .theme-panel,
  .submission,
  .organization,
  .schedule__header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__mark {
    width: min(74vw, 360px);
  }

  .logos-band {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logos-band img:last-child {
    justify-self: center;
  }

  .tracks,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program-table {
    min-width: 680px;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero::before {
    inset: 10px;
  }

  .hero {
    display: block;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero__content {
    width: min(100%, 310px);
    max-width: 310px;
  }

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

  .kicker {
    font-size: 0.68rem;
  }

  .theme {
    font-size: 1.08rem;
    overflow-wrap: anywhere;
  }

  .hero__mark {
    width: min(100%, 280px);
    min-width: 0;
    margin: 32px auto 0;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .tracks article,
  .timeline article {
    min-height: auto;
  }

  .program-highlight {
    grid-template-columns: 1fr;
  }

  .program-table {
    min-width: 620px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .site-footer__content {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__logos {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-footer__logos img,
  .site-footer__logos img:first-child {
    justify-self: center;
    max-height: 72px;
  }
}
