:root {
  --ink: #152019;
  --muted: #627067;
  --line: #dce4dd;
  --paper: #f6f8f5;
  --white: #ffffff;
  --forest: #17623f;
  --forest-dark: #0f472e;
  --mint: #dff2e7;
  --aqua: #dff3f2;
  --blue: #225fc9;
  --coral: #c84c42;
  --yellow: #f1c75b;
  --shadow: 0 14px 38px rgba(21, 32, 25, 0.09);
}

* {
  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;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.home-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}

.home-heading {
  min-width: 0;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 12px;
  margin-top: 2px;
}

.top-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.top-button:hover {
  transform: translateY(-1px);
}

.top-button-events {
  min-width: 104px;
  border-color: var(--forest);
  background: var(--mint);
  box-shadow: 0 2px 4px rgba(21, 32, 25, 0.08);
}

.top-button-newsletter {
  min-width: 124px;
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(23, 98, 63, 0.24);
}

.top-button-events:hover {
  border-color: var(--forest-dark);
  background: #e4efe7;
}

.top-button-newsletter:hover {
  border-color: var(--forest-dark);
  background: var(--forest-dark);
}

.top-button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

footer nav a:hover {
  color: var(--forest);
}

.eyebrow,
.section-label {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.intro-copy {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--forest-dark);
  background: var(--forest-dark);
}

.product-paths {
  border-bottom: 1px solid var(--line);
}

.events-path {
  min-width: 0;
  padding: 38px 0;
}

.path-heading,
.section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.path-heading .text-link,
.section-heading .text-link {
  margin-left: auto;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.path-heading h2 {
  font-size: 28px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.event-column {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.event-column + .event-column {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.event-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.event-row time {
  display: grid;
  justify-items: center;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.event-row time strong {
  font-size: 20px;
  line-height: 1;
}

.event-row time span,
.event-venue {
  color: var(--muted);
  font-size: 12px;
}

.event-row time > span:not(.date-time) {
  font-size: 16px;
  font-weight: 750;
}

.event-row time .date-time {
  margin-top: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.event-copy {
  min-width: 0;
  display: grid;
}

.event-badges {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.event-badge {
  max-width: 100%;
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--mint);
  color: var(--forest-dark);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-badge-category {
  background: #f4f1e8;
  color: #4f4635;
}

.event-title {
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-title:hover {
  color: var(--forest);
}

.event-venue {
  width: fit-content;
  text-decoration-color: #b7c4ba;
  text-underline-offset: 2px;
}

.event-venue:hover {
  color: var(--forest);
  text-decoration-color: currentColor;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quick-filters a {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.newsletter-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.calorie-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.calorie-note h2 {
  font-size: 22px;
}

.calorie-note p:not(.section-label) {
  margin: 5px 0 0;
  color: var(--muted);
}

.newsletter-section {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 25px;
  align-items: center;
}

.newsletter-section > img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

.newsletter-section p:not(.section-label) {
  margin: 10px 0 0;
  color: var(--muted);
}

footer {
  min-height: 100px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .home-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .home-header {
    gap: 20px;
    padding: 24px 0 20px;
    flex-direction: column;
  }

  .home-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .top-button {
    min-width: 0;
    padding: 10px 7px;
    font-size: 12px;
  }

  h1 {
    font-size: 36px;
  }

  .intro-copy {
    font-size: 17px;
  }

  .events-path {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .path-heading,
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .path-heading .text-link,
  .section-heading .text-link {
    width: 100%;
    margin-left: 0;
  }

  .path-heading h2 {
    font-size: 24px;
  }

  .event-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
  }

  .event-row time {
    align-self: stretch;
    align-content: center;
  }

  .event-title {
    overflow: visible;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .event-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .event-column + .event-column {
    padding-left: 0;
    border-top: 0;
    border-left: 0;
  }

  .newsletter-section {
    padding: 52px 0;
  }

  .calorie-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
  }

  .newsletter-section {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .newsletter-section > img {
    width: 68px;
    height: 68px;
  }

  .newsletter-section .button {
    grid-column: 1 / -1;
  }

  footer {
    padding: 25px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
