:root {
  --blue: #07537a;
  --blue-ink: #063d5b;
  --gold: #d7ad34;
  --gold-soft: #fff5ce;
  --ivory: #fffdf7;
  --paper: #fbf8ef;
  --ink: #30261f;
  --muted: #81766c;
  --line: rgba(7, 83, 122, 0.16);
  --shadow: 0 24px 60px rgba(36, 27, 15, 0.16);
  color-scheme: light;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(215, 173, 52, 0.08), transparent 30%, transparent 70%, rgba(7, 83, 122, 0.06)),
    radial-gradient(circle at top left, rgba(215, 173, 52, 0.1), transparent 34rem);
  z-index: -1;
}

a {
  color: inherit;
}

.eyebrow,
h1,
h2,
h3,
.date-title,
.time {
  letter-spacing: 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
.date-title {
  color: var(--blue-ink);
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  margin: 0;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3.5rem);
}

.agenda-first {
  padding-top: clamp(1.25rem, 3vw, 2.2rem);
}

.section-inner {
  margin: 0 auto;
  max-width: 74rem;
}

.intro-hero {
  padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3.5rem) 0;
}

.hero-panel {
  align-items: center;
  /*background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 253, 247, 0.94)),
    linear-gradient(135deg, rgba(215, 173, 52, 0.16), rgba(7, 83, 122, 0.06));
  border: 1px solid rgba(7, 83, 122, 0.12);
  border-left: 0.45rem solid var(--gold);*/
  /*box-shadow: 0 18px 42px rgba(48, 38, 31, 0.06);*/
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  min-height: 12rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-panel img {
  display: block;
  justify-self: center;
  max-height: 7rem;
  max-width: 100%;
  object-fit: contain;
}

.hero-panel h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.hero-panel p:last-child {
  color: #5f554d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  margin: 0.8rem 0 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 30rem;
  margin: 0;
}

.tools {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.search {
  background: #fff;
  border: 1px solid rgba(7, 83, 122, 0.16);
  color: var(--ink);
  flex: 1;
  font: inherit;
  min-height: 3rem;
  padding: 0.75rem 1rem;
}

.agenda-grid {
  display: grid;
  gap: 1.1rem;
}

.day {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 83, 122, 0.12);
  box-shadow: 0 12px 32px rgba(48, 38, 31, 0.06);
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) minmax(0, 1fr);
}

.day-header {
  background: linear-gradient(135deg, rgba(255, 245, 206, 0.92), rgba(255, 255, 255, 0.7));
  border-right: 1px solid rgba(7, 83, 122, 0.1);
  padding: 1.25rem;
}

.date-title {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
}

.weekday {
  color: var(--blue);
  display: block;
  font-weight: 800;
  margin-top: 0.4rem;
}

.theme {
  color: var(--muted);
  display: block;
  margin-top: 1.2rem;
}

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

.event {
  align-items: start;
  border-bottom: 1px solid rgba(7, 83, 122, 0.12);
  display: grid;
  gap: 1rem;
  grid-template-columns: 6rem minmax(0, 1fr);
  padding: 1rem 1.2rem;
}

.event:last-child {
  border-bottom: 0;
}

.time {
  background: var(--gold);
  color: #5a4211;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.18rem 0.35rem;
}

.event-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.place {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.calendar-link {
  align-items: center;
  background: rgba(7, 83, 122, 0.06);
  border: 1px solid rgba(7, 83, 122, 0.12);
  color: var(--blue-ink);
  display: inline-flex;
  gap: 0.42rem;
  min-height: 2rem;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 0.7rem;
  padding: 0.36rem 0.64rem;
  text-decoration: none;
  width: max-content;
}

.calendar-link svg {
  color: var(--gold);
  display: block;
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.calendar-link:hover {
  background: rgba(215, 173, 52, 0.16);
  border-color: rgba(215, 173, 52, 0.42);
}

.calendar-link:focus-visible {
  outline: 3px solid rgba(215, 173, 52, 0.42);
  outline-offset: 2px;
}

.highlight-band {
  background: var(--blue);
  color: #fff;
}

.highlight-layout {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 17rem;
}

.highlight-band h2 {
  color: #fff;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.qr-panel {
  background: #fff;
  color: var(--blue-ink);
  padding: 1rem;
  text-align: center;
}

.qr-panel img {
  aspect-ratio: 1;
  display: block;
  width: 100%;
}

.qr-panel span {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 0.7rem;
}

.footer {
  border-top: 1px solid rgba(7, 83, 122, 0.12);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem);
}

.empty {
  color: var(--muted);
  font-size: 1.1rem;
  padding: 2rem 0;
}

@media (max-width: 820px) {
  .section-heading,
  .tools,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-panel,
  .highlight-layout,
  .day {
    grid-template-columns: 1fr;
  }

  .day-header {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 83, 122, 0.1);
  }

  .event {
    grid-template-columns: 5.4rem minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-panel {
    min-height: 0;
    text-align: center;
  }

  .event {
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }

  .time {
    justify-content: flex-start;
    width: max-content;
  }
}
