:root {
  --navy: #062756;
  --navy-dark: #021b43;
  --gold: #d89a15;
  --gold-soft: #f0dfbd;
  --green: #006b54;
  --green-dark: #004938;
  --cream: #fbfaf6;
  --off-white: #f7f4ea;
  --text: #111827;
  --muted: #475569;
  --line: #eadfcb;
  --purple: #5a2b7d;
  --orange: #d96600;
  --red: #c7363e;
  --teal: #287f8e;
  --leaf: #56812a;
  --shadow: 0 10px 28px rgba(6, 39, 86, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: #e8edf2;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

body.site-shell {
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.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;
}

button,
input {
  font: inherit;
}

.site-wrap {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--cream);
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  box-shadow: 0 18px 50px rgba(2, 27, 67, 0.12);
}

.home-hero {
  position: relative;
  background: #dce8ee;
}

.home-hero img {
  width: 100%;
  height: auto;
}

.inner-hero {
  min-height: 315px;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.95), rgba(251, 250, 246, 0.78), rgba(251, 250, 246, 0.36)),
    url("../img/inner-banner.png") center / cover;
  padding: 26px;
}

.inner-hero-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  align-items: start;
}

.brand-lockup {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}

.brand-lockup strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.brand-lockup em {
  display: block;
  margin-top: 5px;
  color: var(--green-dark);
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 5px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 5px solid var(--gold);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(42deg);
}

.brand-mark::before {
  inset: 15px;
}

.brand-mark::after {
  inset: 30px;
}

.inner-title-block {
  text-align: center;
  color: var(--navy);
  padding-top: 42px;
}

.inner-title-block p {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 700;
}

.inner-title-block h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
}

.inner-title-block span {
  display: inline-block;
  margin-top: 13px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: #fff;
  border-bottom: 4px solid #fff;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 12px 8px 16px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  outline: none;
}

.nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 31%;
  right: 31%;
  bottom: 9px;
  height: 4px;
  border-radius: 20px;
  background: var(--gold);
}

.nav-icon svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.page-main {
  padding: 22px 26px 28px;
}

.page-intro {
  margin: 0 0 22px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.page-intro span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-intro h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.05;
}

.page-intro p {
  max-width: 940px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.home-cards {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 2.45fr);
  gap: 16px;
  align-items: stretch;
}

.quick-card-stack {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.quick-card-stack .quick-card:nth-child(-n + 3) {
  grid-column: span 4;
}

.quick-card-stack .quick-card:nth-child(n + 4) {
  grid-column: span 3;
}

.quick-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 228px;
  padding: 25px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
}

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

.quick-card:focus-visible,
.btn:focus-visible,
.footer-links a:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
}

.quick-card-feature {
  align-items: flex-start;
  min-height: 560px;
  padding: 56px 62px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #21805f, var(--green-dark));
  border: 0;
}

.quick-card-feature .quick-icon {
  align-self: center;
  color: #fff;
}

.quick-card-feature h2 {
  color: #fff;
  font-size: 54px;
  line-height: 1.05;
  text-align: left;
}

.quick-card-feature p {
  align-self: center;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.quick-card-small {
  min-height: 220px;
}

.quick-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
}

.quick-icon svg {
  width: 70px;
  height: 70px;
  fill: currentColor;
}

.quick-card-feature .quick-icon svg {
  width: 90px;
  height: 90px;
}

.emoji-icon {
  font-size: 64px;
  line-height: 1;
}

.quick-card h2 {
  margin: 0;
  color: currentColor;
  font-size: 27px;
  line-height: 1.12;
}

.quick-card p {
  margin: 13px 0 13px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.quick-card-feature p {
  color: #fff;
  margin-bottom: 42px;
}

.icon-blue {
  color: var(--navy);
}

.icon-purple {
  color: var(--purple);
}

.icon-orange {
  color: var(--orange);
}

.icon-teal {
  color: var(--teal);
}

.icon-red {
  color: var(--red);
}

.icon-leaf {
  color: var(--leaf);
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--navy);
}

.quick-card-feature .circle-arrow {
  width: 58px;
  height: 58px;
  color: #fff;
  border-width: 2px;
}

.circle-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.home-lower {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.1fr;
  gap: 18px;
  margin-top: 24px;
}

.panel,
.content-card,
.newsletter-card,
.cta-panel,
.notice-band,
.toolbar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel {
  padding: 22px 26px;
}

.panel h2,
.section-heading h2,
.featured-vendors h2 {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.featured-panel h2 {
  color: var(--navy);
}

.week-list {
  display: grid;
  gap: 12px;
}

.week-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.date-chip {
  min-height: 56px;
  padding: 7px 4px;
  border: 1px solid #c5e1d6;
  border-radius: 8px;
  background: #f4fffa;
  color: var(--green-dark);
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
}

.date-chip span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.date-chip strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.week-item strong,
.news-item strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

.week-item span,
.news-item span {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #d8c7a9;
  border-radius: 10px;
}

.featured-panel h3 {
  margin: 16px 0 6px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.featured-panel p {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.news-list {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}

.news-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.news-icon {
  font-size: 32px;
  line-height: 1;
}

.news-icon.big {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-color: var(--green);
}

.btn-outline {
  color: var(--navy);
  background: #fff;
}

.btn-muted {
  margin-top: 16px;
  color: var(--navy);
  background: var(--gold-soft);
  border-color: var(--gold);
}

.button-pair,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.content-card {
  padding: 24px;
  transition: transform 160ms ease;
}

.content-card.wide {
  min-width: 0;
}

.content-card h2,
.newsletter-card h2,
.cta-panel h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.15;
}

.content-card p,
.newsletter-card p,
.cta-panel p {
  margin: 0 0 15px;
  color: var(--muted);
}

.meta {
  color: var(--green-dark) !important;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef4ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill-gold {
  color: #5b3900;
  background: #fff0c5;
}

.pill-green {
  color: #003f31;
  background: #d9f3e9;
}

.pill-red {
  color: #7d1118;
  background: #ffe1e4;
}

.event-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.event-feature {
  margin-bottom: 20px;
}

.event-card.is-featured {
  display: grid;
  grid-template-columns: 1fr;
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffdf8, #fff);
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
}

.detail-list.compact div {
  grid-template-columns: 90px 1fr;
}

.detail-list dt {
  color: var(--green-dark);
  font-weight: 900;
}

.detail-list dd {
  margin: 0;
  color: var(--text);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 20px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading p {
  margin: -8px 0 0;
  color: var(--muted);
}

.calendar-frame {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.calendar-grid h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 32px;
  text-align: center;
}

.weekday-row,
.calendar-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.weekday-row span {
  padding: 10px 4px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-weight: 900;
}

.calendar-cell {
  min-height: 115px;
  padding: 9px;
  border: 1px solid #e1d6c2;
  background: #fff;
}

.calendar-cell.muted {
  background: #f3eee4;
}

.calendar-cell strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.calendar-cell span {
  display: block;
  margin-top: 5px;
  padding: 4px 6px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.note-box {
  margin-top: 20px;
  padding: 16px;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  background: #fff8e8;
}

.note-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 7px;
}

.note-box p {
  margin: 0 0 8px;
  color: var(--muted);
}

.toolbar {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
}

.toolbar label,
form label {
  color: var(--navy);
  font-weight: 900;
}

.toolbar input,
form input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 2px solid #b9c4d4;
  border-radius: 10px;
  color: var(--text);
  background: #fff;
}

.toolbar input:focus,
form input:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(216, 154, 21, 0.22);
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding: 28px;
  background:
    linear-gradient(90deg, #fff, #fff7e4),
    #fff;
}

.notice-band {
  margin-bottom: 20px;
  padding: 20px 24px;
  color: var(--navy);
  background: #fff8e8;
  font-size: 19px;
}

.notice-band.soft {
  color: var(--green-dark);
  background: #eefaf4;
}

.cta-panel {
  margin-top: 22px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(0, 107, 84, 0.08), rgba(216, 154, 21, 0.12)),
    #fff;
}

.featured-vendors {
  margin-bottom: 22px;
}

.directory-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.directory-table th {
  color: #fff;
  background: var(--navy);
  text-align: left;
}

.directory-table th,
.directory-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.directory-table td a {
  color: var(--navy);
  font-weight: 800;
}

[hidden] {
  display: none !important;
}

.site-footer {
  padding: 26px 40px 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  text-align: center;
}

.footer-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 26px;
}

.footer-slogan strong {
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-slogan span {
  width: 70px;
  height: 2px;
  background: var(--gold);
}

.footer-slogan i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  font-size: 31px;
}

.social-facebook {
  background: #2d6cdf;
  font-family: Georgia, serif;
}

.social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-email {
  background: #38a987;
}

.copyright {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .inner-hero-content {
    grid-template-columns: 1fr;
  }

  .inner-title-block {
    padding-top: 10px;
    text-align: left;
  }

  .main-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .quick-card-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-card-stack .quick-card:nth-child(-n + 3),
  .quick-card-stack .quick-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .quick-card-feature {
    min-height: 390px;
  }

  .home-lower,
  .two-column {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-slogan {
    gap: 14px;
  }

  .footer-slogan strong {
    font-size: 28px;
  }

  .footer-slogan span {
    width: 36px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .site-wrap {
    border: 0;
  }

  .page-main {
    padding: 16px;
  }

  .main-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-item {
    min-height: 82px;
  }

  .home-cards,
  .quick-card-stack,
  .card-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .quick-card-feature {
    min-height: 330px;
    padding: 38px 34px;
  }

  .quick-card-feature h2 {
    font-size: 40px;
  }

  .quick-card-feature p {
    font-size: 22px;
  }

  .page-intro h1,
  .inner-title-block h1 {
    font-size: 34px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-lockup strong {
    font-size: 34px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .inner-hero {
    padding: 18px;
  }

  .toolbar,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .button-pair {
    grid-template-columns: 1fr;
  }

  .calendar-cells,
  .weekday-row {
    grid-template-columns: 1fr;
  }

  .weekday-row {
    display: none;
  }

  .calendar-cell.muted {
    display: none;
  }

  .calendar-cell {
    min-height: auto;
  }

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

  .directory-table,
  .directory-table thead,
  .directory-table tbody,
  .directory-table th,
  .directory-table td,
  .directory-table tr {
    display: block;
  }

  .directory-table thead {
    display: none;
  }

  .directory-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }

  .directory-table td {
    border-bottom: 1px solid var(--line);
  }

  .directory-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--green-dark);
    font-weight: 900;
  }

  .footer-slogan {
    display: grid;
    gap: 8px;
  }

  .footer-slogan span,
  .footer-slogan i {
    display: none;
  }

  .site-footer {
    padding: 24px 18px 18px;
  }
}
