/* Fonts loaded via <link> in HTML head for non-blocking render */

:root {
  --brand-blue-900: #08157f;
  --brand-blue-700: #0f6fba;
  --brand-blue-600: #1f8ed8;
  --brand-blue-100: #e7f4ff;
  --ink-900: #122033;
  --ink-700: #32465f;
  --ink-500: #667892;
  --paper: #f3f4f6;
  --surface: #ffffff;
  --border: #d7dfeb;
  --focus: #ff8c1a;
  --success: #1f8f57;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-soft: 0 8px 24px rgba(5, 18, 46, 0.09);
  --shadow-card: 0 10px 28px rgba(15, 42, 84, 0.12);
  --container: 1160px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.2rem;
  --space-2xl: 3.3rem;
  --space-3xl: 4.8rem;
  --mobile-actions-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(1200px 640px at 80% -10%, rgba(31, 142, 216, 0.17), transparent 58%),
    radial-gradient(860px 460px at -10% 15%, rgba(8, 21, 127, 0.1), transparent 62%),
    var(--paper);
  line-height: 1.5;
}

a {
  color: var(--brand-blue-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-blue-900);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.nav-wrap {
  display: flex;
  justify-self: end;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: "Barlow", "Source Sans 3", sans-serif;
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  font-weight: 800;
  letter-spacing: 0.012em;
  font-size: 0.98rem;
}

.brand-text span {
  display: block;
  font-size: 0.81rem;
  color: var(--ink-700);
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-900);
  border-radius: 0.7rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.4rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.36rem;
}

.site-nav a {
  display: block;
  padding: 0.74rem 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--brand-blue-100);
  color: var(--brand-blue-900);
}

.site-nav a[aria-current="page"] {
  background: var(--brand-blue-100);
  color: var(--brand-blue-900);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brand-blue-700);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 700;
}

.icon-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-link:hover {
  border-color: var(--brand-blue-700);
  color: var(--brand-blue-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(160deg, var(--brand-blue-700), var(--brand-blue-900));
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 21, 127, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-outline {
  border-color: var(--brand-blue-700);
  color: var(--brand-blue-700);
  background: #fff;
}

.btn-outline:hover {
  background: var(--brand-blue-100);
}

main {
  min-height: 58vh;
}

.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-copy h1 {
  margin: 0 0 0.9rem;
  font-family: "Barlow", "Source Sans 3", sans-serif;
  font-size: clamp(1.9rem, 4.8vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-copy p {
  max-width: 68ch;
  margin: 0 0 0.9rem;
  color: var(--ink-700);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-media {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f1f6fd);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 0.9rem;
}

.hero-media img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 9px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.pill {
  border-radius: 999px;
  font-size: 0.86rem;
  padding: 0.42rem 0.74rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-700);
}

.section {
  padding: var(--space-xl) 0;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-family: "Barlow", "Source Sans 3", sans-serif;
  letter-spacing: -0.01em;
  font-size: clamp(1.45rem, 3.1vw, 2.4rem);
}

.section-intro {
  margin: 0 0 1.25rem;
  max-width: 70ch;
  color: var(--ink-700);
}

.section-top-tight {
  padding-top: 0.5rem;
}

.section-top-none {
  padding-top: 0;
}

.quick-links {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quick-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quick-card h3 {
  margin: 0 0 0.35rem;
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
}

.quick-card p {
  margin: 0;
  color: var(--ink-700);
}

.quick-card a {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-links,
.cards,
.event-grid,
.callout-grid,
.grid-2,
.contact-grid {
  align-items: stretch;
}

.cards > .card,
.event-grid > .card,
.grid-2 > .card,
.contact-grid > .contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.callout-grid > .card,
.callout-grid > .media-card {
  height: 100%;
}

.callout-grid > .media-card {
  display: flex;
  flex-direction: column;
}

.callout-grid > .media-card .content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.social-spotlight {
  background: linear-gradient(165deg, #ffffff, #eef5ff 62%, #e6f2ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.social-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #2b5f95;
  font-size: 0.82rem;
}

.social-spotlight h2 {
  margin: 0.2rem 0 0.5rem;
}

.social-spotlight-copy p {
  margin: 0 0 0.65rem;
  color: var(--ink-700);
}

.social-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-preview-grid {
  display: grid;
  gap: 0.75rem;
}

.social-preview-card {
  text-decoration: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  color: var(--ink-900);
}

.social-preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.social-preview-card span {
  display: block;
  padding: 0.62rem 0.8rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
}

.social-preview-card:hover {
  border-color: #89afe0;
}

.highlight {
  background: linear-gradient(160deg, rgba(8, 21, 127, 0.98), rgba(15, 111, 186, 0.96));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

.highlight h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.highlight p,
.highlight li,
.highlight a {
  color: #d9e8ff;
}

.highlight a {
  color: #fff;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: "Barlow", sans-serif;
}

.card .meta {
  color: var(--ink-700);
  font-size: 0.94rem;
  margin-bottom: 0.3rem;
}

.card p {
  margin: 0.45rem 0;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #bad0ec;
  background: #f2f8ff;
  color: #16487c;
  font-size: 0.77rem;
  padding: 0.2rem 0.56rem;
  margin-right: 0.3rem;
  margin-top: 0.25rem;
}

.notice {
  margin-top: 0.6rem;
  padding: 0.75rem;
  border-left: 4px solid var(--brand-blue-700);
  background: #edf6ff;
  border-radius: 0.35rem;
  color: #12385e;
}

.page-head {
  padding: var(--space-xl) 0 var(--space-sm);
}

.page-head h1 {
  margin: 0 0 0.45rem;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

.page-head p {
  margin: 0;
  max-width: 72ch;
  color: var(--ink-700);
}

.tools {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tools label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}

.tools input,
.tools select {
  width: 100%;
  min-height: 44px;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  padding: 0.5rem 0.7rem;
  font: inherit;
}

.dir-layout {
  display: grid;
  gap: 1rem;
}

.dir-summary {
  color: var(--ink-700);
  font-size: 0.95rem;
}

.business-card {
  display: grid;
  gap: 0.45rem;
}

.business-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.biz-meta {
  color: var(--ink-700);
  font-size: 0.94rem;
}

.biz-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.biz-links a {
  text-decoration: none;
  border: 1px solid #bfd1e8;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #123d67;
  background: #f5fbff;
}

.biz-links a:hover {
  border-color: var(--brand-blue-700);
  color: var(--brand-blue-700);
}

.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  position: sticky;
  top: 88px;
}

.map-card-static {
  position: static;
  top: auto;
}

.map-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0.7rem;
}

.event-grid {
  display: grid;
  gap: 0.9rem;
}

.event-gallery-link {
  margin-top: 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.event-gallery-link:hover {
  color: var(--brand-blue-900);
}

.event-photo-grid {
  display: grid;
  gap: 0.95rem;
}

.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.gallery-cover {
  border: 0;
  margin: 0;
  padding: 0;
  background: #0a1733;
  cursor: pointer;
}

.gallery-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-cover img,
.gallery-cover:focus-visible img {
  transform: scale(1.03);
}

.gallery-cover:focus-visible,
.gallery-thumb:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.gallery-card-content {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-content h3 {
  margin: 0.32rem 0 0.35rem;
  font-family: "Barlow", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.gallery-card-content p {
  margin: 0 0 0.85rem;
  color: var(--ink-700);
}

.gallery-card-content .btn {
  margin-top: auto;
}

.event-date {
  font-weight: 700;
  color: var(--brand-blue-900);
}

.event-annual {
  color: var(--ink-700);
  font-size: 0.9rem;
}

.callout-grid {
  display: grid;
  gap: 0.9rem;
  align-items: stretch;
}

.callout-grid > h2 {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
}

.list-top-gap {
  margin-top: 1rem;
}

.media-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.media-card img {
  width: 100%;
}

.media-card .content {
  padding: 0.8rem;
}

.market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.market-flyer {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-top: 0.9rem;
}

.about-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.section-tight {
  padding: 0.65rem 0;
}

.about-page .page-head {
  padding: var(--space-lg) 0 var(--space-xs);
}

.breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.about-page .page-head p {
  max-width: 70ch;
}

.about-page .section.section-tight:first-of-type {
  padding-top: 0;
}

.about-page .about-pills {
  margin-top: 0.9rem;
}

.about-photo-grid .media-card img {
  height: clamp(250px, 34vw, 390px);
  object-fit: cover;
}

.about-photo-grid .about-photo-board {
  object-position: center 36%;
}

.mainstreet-card {
  padding: 1rem;
}

.mainstreet-card-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.mainstreet-card-inner img {
  width: min(240px, 100%);
  margin: 0 auto;
}

.mainstreet-card-inner h2 {
  margin-bottom: 0.45rem;
}

.mainstreet-card-inner p {
  color: var(--ink-700);
}

.strategic-plan-card {
  padding: 1.2rem;
}

.strategic-plan-card h2 {
  margin-bottom: 0.45rem;
}

.strategic-plan-card p {
  margin: 0;
  max-width: 68ch;
  color: var(--ink-700);
}

.strategic-plan-card .market-actions {
  margin-top: 0.95rem;
}

.happenings-feature-grid {
  align-items: stretch;
}

.happenings-feature-grid > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.happenings-feature-grid > .card .market-actions {
  margin-top: auto;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 0.7rem;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 28, 0.8);
  backdrop-filter: blur(3px);
}

.gallery-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 1.4rem);
  border-radius: 18px;
  border: 1px solid rgba(160, 196, 240, 0.4);
  background: linear-gradient(180deg, #0b1c3f, #08132b);
  color: #eef4ff;
  box-shadow: 0 28px 70px rgba(1, 8, 24, 0.55);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(167, 196, 235, 0.28);
}

.gallery-header h2 {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  line-height: 1.1;
  color: #f3f7ff;
}

.gallery-meta {
  margin: 0.2rem 0 0;
  color: #c7d8ee;
}

.gallery-close {
  border: 1px solid rgba(181, 206, 238, 0.48);
  background: rgba(15, 111, 186, 0.2);
  color: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.gallery-main {
  padding: 0.75rem 1rem 0.5rem;
  overflow: auto;
}

.gallery-stage {
  margin: 0;
  height: clamp(240px, 58vh, 620px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #030d21;
  border-radius: 12px;
}

.gallery-stage figcaption {
  margin: 0;
  color: #c9daef;
  font-size: 0.91rem;
}

.gallery-controls {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.gallery-nav {
  border: 1px solid rgba(170, 201, 240, 0.6);
  background: rgba(15, 111, 186, 0.28);
  color: #fff;
  border-radius: 999px;
  min-height: 42px;
  min-width: 82px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.gallery-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gallery-count {
  margin: 0;
  font-weight: 700;
  color: #dce8f8;
}

.gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.68rem 0.9rem 0.95rem;
  border-top: 1px solid rgba(173, 203, 241, 0.3);
  background: rgba(3, 12, 25, 0.58);
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  min-width: 76px;
  width: 76px;
  height: 56px;
  background: #041022;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.is-active {
  border-color: #7dbeff;
  box-shadow: 0 0 0 2px rgba(125, 190, 255, 0.24);
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
}

.about-list li {
  margin-bottom: 0.35rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.contact-list strong {
  display: inline-block;
  min-width: 95px;
}

.site-footer {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f2f7fd);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.8rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  margin: 0.2rem 0 0;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.44rem;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: var(--ink-900);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand-blue-700);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--ink-700);
  font-size: 0.84rem;
  padding: 0.7rem 0;
}

.mobile-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.99);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px rgba(11, 25, 50, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: var(--mobile-actions-height);
}

.mobile-actions a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.84rem;
  text-align: center;
  padding: 0.8rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mobile-actions-height);
}

.mobile-actions a[aria-current="page"] {
  color: var(--brand-blue-900);
  background: var(--brand-blue-100);
}

.mobile-actions a:hover {
  background: #f2f7ff;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.6s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.06s;
}

.reveal:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal:nth-child(4) {
  animation-delay: 0.18s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (min-width: 760px) {
  .nav-wrap {
    justify-self: stretch;
  }

  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav ul {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
  }

  .site-nav a {
    padding: 0.6rem 0.72rem;
    font-size: 0.93rem;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
  }

  .social-spotlight {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    padding: 1.25rem;
  }

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

  .social-preview-card img {
    height: 240px;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .tools {
    grid-template-columns: 1.1fr 0.8fr 0.8fr;
    align-items: end;
  }

  .dir-layout {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .mainstreet-card-inner {
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
  }

  .mainstreet-card-inner img {
    margin: 0;
  }

  .strategic-plan-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1.2rem;
    align-items: center;
  }

  .strategic-plan-card h2,
  .strategic-plan-card p {
    grid-column: 1;
  }

  .strategic-plan-card .market-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    align-self: center;
    justify-content: flex-end;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 1fr;
  }

  .mobile-actions {
    display: none;
  }
}

@media (max-width: 759px) {
  .quick-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  body {
    padding-bottom: calc(var(--mobile-actions-height) + env(safe-area-inset-bottom));
  }

  .mobile-actions {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .map-card {
    position: static;
    top: auto;
  }

  .map-card iframe {
    min-height: 240px;
  }

  .gallery-modal {
    padding: 0.35rem;
  }

  .gallery-dialog {
    max-height: calc(100vh - 0.7rem);
    border-radius: 14px;
  }

  .gallery-header {
    padding: 0.72rem 0.75rem;
  }

  .gallery-main {
    padding: 0.62rem 0.75rem 0.32rem;
  }

  .gallery-stage img {
    max-height: none;
  }

  .gallery-stage {
    height: clamp(210px, 50vh, 470px);
  }

  .gallery-nav {
    min-width: 74px;
    min-height: 40px;
  }

  .gallery-thumbs {
    padding: 0.55rem 0.7rem 0.75rem;
  }

  .gallery-thumb {
    width: 64px;
    min-width: 64px;
    height: 48px;
  }
}

@media (min-width: 980px) {
  .site-nav a {
    padding: 0.63rem 0.84rem;
    font-size: 0.95rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

@media (min-width: 1080px) {
  .event-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
