:root {
  --ink: #141714;
  --muted: #5b625d;
  --surface: #ffffff;
  --soft: #f3f5f1;
  --line: #dfe4de;
  --green: #146c43;
  --blue: #176a8d;
  --coral: #c65335;
  --yellow: #b77a00;
  --black: #242724;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--soft);
}

a {
  color: inherit;
}

.hub-hero {
  position: relative;
  min-height: clamp(290px, 46vh, 430px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111512;
}

.hub-hero > img,
.hub-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-hero > img {
  object-fit: cover;
  object-position: center 36%;
}

.hub-hero-shade {
  background: linear-gradient(180deg, rgba(10, 13, 11, 0.08) 10%, rgba(10, 13, 11, 0.86) 100%);
}

.hub-identity {
  position: relative;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 42px 0;
  color: #fff;
}

.hub-kicker,
.hub-heading span,
.hub-contact span {
  display: block;
  margin-bottom: 8px;
  color: #c7ded0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hub-identity h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.25rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hub-identity p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #eef4ef;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.55;
}

.hub-main {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 42px 0 56px;
}

.hub-event-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px;
  border: 1px solid #97baa2;
  border-radius: 8px;
  background: #e6f1e8;
}

.hub-event-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hub-event-feature h2,
.hub-event-dialog h2 {
  margin: 0;
  color: #0d3c27;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hub-event-feature p,
.hub-event-dialog p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #335643;
  line-height: 1.55;
}

.hub-event-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 17px;
  color: #254432;
  font-size: 0.9rem;
}

.hub-event-dates span { white-space: nowrap; }

.hub-event-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.hub-event-link:hover,
.hub-event-link:focus-visible { background: #0e4f32; border-color: #0e4f32; }

.hub-event-dialog {
  width: min(100% - 32px, 480px);
  padding: 30px;
  border: 1px solid #a2bfa9;
  border-radius: 8px;
  background: #f7fbf7;
  box-shadow: 0 22px 58px rgba(15, 28, 19, 0.28);
}

.hub-event-dialog::backdrop { background: rgba(11, 19, 13, 0.58); }
.hub-event-dialog .hub-event-link { width: 100%; margin-top: 24px; }

.hub-event-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.hub-event-dialog-close:hover,
.hub-event-dialog-close:focus-visible { background: #e0e9e1; color: var(--ink); }

.hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hub-heading span {
  color: var(--green);
}

.hub-heading h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hub-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hub-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hub-offer {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--surface);
}

.hub-offer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--offer-accent, var(--green));
}

.hub-offer[data-accent="green"] { --offer-accent: var(--green); }
.hub-offer[data-accent="blue"] { --offer-accent: var(--blue); }
.hub-offer[data-accent="coral"] { --offer-accent: var(--coral); }
.hub-offer[data-accent="yellow"] { --offer-accent: var(--yellow); }
.hub-offer[data-accent="black"] { --offer-accent: var(--black); }

.hub-offer-kicker {
  color: var(--offer-accent, var(--green));
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hub-offer h3 {
  margin: 13px 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hub-offer p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.hub-offer-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.hub-offer-price {
  display: grid;
  gap: 3px;
  font-weight: 850;
  color: var(--ink);
}

.hub-offer-price small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: line-through;
}

.hub-offer-link,
.hub-contact > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.hub-offer-link::after {
  content: " →";
  margin-left: 7px;
}

.hub-offer-link:hover,
.hub-offer-link:focus-visible,
.hub-contact > a:hover,
.hub-contact > a:focus-visible {
  background: var(--offer-accent, var(--green));
  border-color: var(--offer-accent, var(--green));
}

.hub-loading,
.hub-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  text-align: center;
  background: var(--surface);
  color: var(--muted);
}

.hub-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hub-contact span {
  color: var(--blue);
}

.hub-contact strong {
  display: block;
  font-size: 1.1rem;
}

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 30px max(16px, calc((100% - 1040px) / 2));
  background: #111512;
  color: #eef3ef;
}

.hub-footer > div,
.hub-footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hub-footer span,
.hub-footer a {
  color: #bcc7bf;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .hub-hero {
    min-height: 330px;
  }

  .hub-identity,
  .hub-main {
    width: min(100% - 24px, 1040px);
  }

  .hub-identity {
    padding-bottom: 32px;
  }

  .hub-event-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .hub-event-link { width: 100%; }

  .hub-main {
    padding-top: 30px;
  }

  .hub-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hub-offers {
    grid-template-columns: 1fr;
  }

  .hub-offer {
    min-height: 230px;
    padding: 24px 22px;
  }

  .hub-offer-footer,
  .hub-contact,
  .hub-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hub-offer-link,
  .hub-contact > a {
    width: 100%;
  }

  .hub-footer {
    padding: 28px 20px;
  }
}
