:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #68716f;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: rgba(23, 32, 31, 0.13);
  --teal: #0c5b58;
  --aqua: #4ca7a1;
  --gold: #c59a4a;
  --coral: #d86d4f;
  --plum: #5d3d62;
  --shadow: 0 24px 70px rgba(23, 32, 31, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.8), #fbfaf6 58%),
    radial-gradient(circle at 15% 10%, rgba(216, 109, 79, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(76, 167, 161, 0.17), transparent 30%);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 45px rgba(23, 32, 31, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--plum));
  color: #fff8e8;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.98rem;
}

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(23, 32, 31, 0.78);
  font-size: 0.94rem;
}

.top-nav a:hover,
.header-action:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.button,
.hero-panel a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 750;
}

.header-action {
  padding: 0 18px;
  border: 1px solid rgba(12, 91, 88, 0.22);
  background: rgba(251, 250, 246, 0.72);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 54px;
  color: #fffaf0;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 33, 31, 0.84) 0%, rgba(10, 33, 31, 0.44) 48%, rgba(10, 33, 31, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 33, 31, 0.78) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.button {
  padding: 0 20px;
  border: 1px solid rgba(255, 250, 240, 0.32);
}

.button svg,
.search-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.primary {
  background: #fffaf0;
  color: #183230;
}

.button.secondary {
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.08);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  width: min(330px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.panel-date {
  display: inline-block;
  margin-bottom: 18px;
  color: #ffe7aa;
  font-weight: 850;
}

.hero-panel h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.hero-panel p {
  color: rgba(255, 250, 240, 0.78);
  line-height: 1.55;
}

.hero-panel a {
  min-height: 38px;
  padding: 0 15px;
  background: rgba(255, 250, 240, 0.92);
  color: #183230;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: -32px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-strip div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.intro-strip strong {
  display: block;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.intro-strip span {
  color: var(--muted);
}

.section-shell,
.selection,
.city-band,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.section-shell {
  padding: 88px 0 54px;
}

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

.section-heading h2,
.selection-copy h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.agenda-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filters,
.event-card,
.selection-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(23, 32, 31, 0.08);
}

.filters {
  position: sticky;
  top: 98px;
  padding: 18px;
}

.search-box {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.filter-group {
  margin-top: 22px;
}

.filter-group > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--teal);
  color: #fffaf0;
}

.agenda-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.agenda-toolbar p {
  margin: 0;
  color: var(--muted);
}

.agenda-toolbar select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

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

.event-card {
  min-height: 250px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 154, 74, 0.44);
  box-shadow: 0 24px 60px rgba(23, 32, 31, 0.13);
}

.event-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.date-tile {
  width: 64px;
  min-width: 64px;
  overflow: hidden;
  border: 1px solid rgba(197, 154, 74, 0.4);
  border-radius: 8px;
  background: #fffaf0;
  text-align: center;
}

.date-tile span {
  display: block;
  padding: 5px;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.date-tile strong {
  display: block;
  padding: 8px 0 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.tag {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(76, 167, 161, 0.13);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.event-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.event-card p {
  color: var(--muted);
  line-height: 1.55;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(23, 32, 31, 0.78);
  font-size: 0.9rem;
}

.event-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(23, 32, 31, 0.055);
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.selection {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 30px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.selection-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.selection-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.selection-list article {
  min-height: 210px;
  padding: 20px;
}

.selection-list span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.selection-list h3 {
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.selection-list p {
  color: var(--muted);
  line-height: 1.55;
}

.city-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.city-band p {
  margin: 0;
  padding: 28px 18px;
  background: linear-gradient(135deg, #ffffff, #f5f1e8);
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  .hero {
    min-height: 720px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(430px, 100%);
    margin-top: 34px;
  }

  .intro-strip,
  .agenda-layout,
  .selection,
  .city-band {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .events-grid,
  .selection-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 112px 16px 34px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

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

  .intro-strip,
  .section-shell,
  .selection,
  .city-band,
  .site-footer {
    width: calc(100% - 20px);
  }

  .intro-strip div,
  .filters,
  .event-card,
  .selection-list article {
    padding: 16px;
  }

  .agenda-toolbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
