@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Newsreader:ital,opsz,wght@0,6..72,500;1,6..72,400;1,6..72,600&display=swap");

:root {
  --grape: #167a45;
  --grape-mid: #1f9153;
  --grape-deep: #0c3324;
  --leaf: #2bb673;
  --mint: #e7f6ee;
  --cream: #f4f1ea;
  --paper: #ffffff;
  --sand: #ead9b8;
  --sand-soft: #f3eee3;
  --ink: #14241c;
  --ink-soft: #3a4a42;
  --muted: #66756d;
  --burgundy: #e25a3a;
  --burgundy-deep: #c4472c;
  --line: rgba(20, 36, 28, 0.08);
  --line-strong: rgba(20, 36, 28, 0.16);
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(12, 51, 36, 0.1);
  --radius: 1.35rem;
  --radius-sm: 0.9rem;
  --header-h: 76px;
  --space: 1.25rem;
  --content: 1180px;
  --wide: 1360px;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.leaflet-container img,
.leaflet-pane img,
.leaflet-tile {
  max-width: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--grape);
  color: var(--cream);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 2rem), var(--wide));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--burgundy);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  max-width: 16ch;
}

.lede {
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.mobile-nav a:focus-visible,
.compare__range:focus-visible,
.social a:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--white);
  color: var(--grape-deep);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 238, 228, 0.45);
}

.btn-ghost:hover {
  background: rgba(243, 238, 228, 0.1);
  border-color: var(--cream);
}

.btn-solid {
  background: var(--grape);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--grape-deep);
}

.btn-line {
  background: transparent;
  color: var(--grape);
  border-color: var(--grape);
}

.btn-line:hover {
  background: var(--grape);
  color: var(--cream);
}

.btn-cta {
  background: var(--grape);
  color: var(--white);
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--grape-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--grape);
}

.text-link::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}

.text-link:hover::after {
  width: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(18, 36, 28, 0.06);
}

.header-inner {
  width: min(calc(100% - 1.5rem), var(--wide));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--grape);
}

.logo-sub {
  margin-top: 0.22rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  padding: 0.55rem 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--grape);
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--grape);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), width 0.25s var(--ease);
}

.nav-toggle::after {
  width: 14px;
}

.nav-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-toggle[aria-expanded="true"]::before {
  width: 20px;
  transform: translateY(4.5px) rotate(40deg);
}

.nav-toggle[aria-expanded="true"]::after {
  width: 20px;
  transform: translateY(-4.5px) rotate(-40deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 30;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  letter-spacing: -0.03em;
}

.mobile-nav .btn-cta {
  margin-top: 1.5rem;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.compare,
.history-visual {
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 36, 28, 0.18) 0%, rgba(18, 36, 28, 0.28) 38%, rgba(18, 36, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 36, 28, 0.45) 0%, rgba(18, 36, 28, 0.05) 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--wide));
  margin: 0 auto 0;
  padding: 4.5rem 0 3rem;
}

.hero-kicker {
  color: var(--sand);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 8.2vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 36ch;
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(243, 238, 228, 0.9);
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    display: flex;
  }

  .hero-actions .btn {
    width: auto;
  }
}

/* Intro */
.intro {
  padding: 4.5rem 0 4rem;
}

.intro-copy {
  max-width: 22rem;
  margin-bottom: 2.4rem;
}

.intro-copy p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.discover-grid {
  display: grid;
  gap: 1rem;
}

.discover-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--cream);
  border-radius: var(--radius);
}

.discover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.discover-card:hover img {
  transform: scale(1.04);
}

.discover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 36, 28, 0.05), rgba(18, 36, 28, 0.78));
}

.discover-card div {
  position: absolute;
  inset: auto 1.1rem 1.1rem;
  z-index: 1;
}

.discover-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}

.discover-card p {
  max-width: 28ch;
  color: rgba(243, 238, 228, 0.86);
  margin-bottom: 0.4rem;
}

.discover-card .text-link {
  color: var(--cream);
}

/* History */
.history {
  background: var(--grape);
  color: var(--cream);
  padding: 0 0 4.5rem;
}

.history-visual {
  position: relative;
  min-height: 52vw;
}

.history-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  filter: grayscale(0.25) contrast(1.05);
}

.history-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(18, 36, 28, 0.62);
  padding: 0.4rem 0.65rem;
}

.history-copy {
  width: min(calc(100% - 2rem), 40rem);
  margin: -2.5rem auto 0;
  position: relative;
  background: var(--grape-deep);
  padding: 2rem 1.25rem;
}

.history .kicker {
  color: var(--sand);
}

.history h2 {
  margin: 0.7rem 0 1rem;
}

.history p {
  color: rgba(243, 238, 228, 0.86);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
}

.history .btn {
  margin-top: 1.5rem;
}

/* Faces */
.faces {
  padding: 5rem 0 4.5rem;
}

.faces-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.portrait-list {
  display: grid;
  gap: 2rem;
}

.portrait {
  display: grid;
  gap: 1rem;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92);
  border-radius: var(--radius);
}

.portrait figcaption h3 {
  font-size: 1.55rem;
  margin-bottom: 0.2rem;
}

.portrait .role {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.7rem;
}

.portrait blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Businesses */
.businesses {
  background: var(--sand-soft);
  padding: 5rem 0;
}

.businesses-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 38rem;
}

.biz-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.biz-item {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.biz-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.biz-meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.biz-item h3 {
  font-size: 1.55rem;
  margin: 0.3rem 0 0.5rem;
}

.biz-item p {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.businesses .section-cta {
  margin-top: 1.8rem;
}

/* Events */
.events {
  padding: 5rem 0;
}

.events-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.event-featured {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.event-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.event-date {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--burgundy);
}

.event-featured h3 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0.35rem 0 0.6rem;
}

.event-featured p,
.event-card p {
  color: var(--ink-soft);
}

.event-place {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.event-grid {
  display: grid;
  gap: 1.25rem;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-sm);
}

.event-card h3 {
  font-size: 1.35rem;
  margin: 0.25rem 0 0.45rem;
}

/* Then / now */
.then-now {
  padding: 1rem 0 5rem;
}

.then-now-copy {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.compare {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  height: min(72vw, 640px);
  user-select: none;
  touch-action: none;
  container-type: inline-size;
  border-radius: var(--radius);
}

.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.compare__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 52%;
  overflow: hidden;
  border-right: 2px solid var(--cream);
}

.compare__before {
  filter: grayscale(0.85) sepia(0.18) contrast(1.05);
  width: 100cqi;
  max-width: none;
  height: 100%;
}

.compare__label {
  position: absolute;
  top: 1rem;
  z-index: 2;
  background: rgba(18, 36, 28, 0.72);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.compare__label--old {
  left: 1rem;
}

.compare__label--new {
  right: 1rem;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 2px;
  background: var(--cream);
  z-index: 2;
  pointer-events: none;
}

.compare__handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--grape);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.then-now .wrap {
  margin-top: 1.4rem;
}

/* Community callout */
.callout {
  background: var(--grape-deep);
  color: var(--cream);
  padding: 4.5rem 0;
}

.callout h2 {
  font-size: clamp(2.1rem, 7vw, 3.8rem);
  max-width: 16ch;
}

.callout p {
  margin: 1rem 0 1.7rem;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 253, 248, 0.88);
}

/* Footer */
.site-footer {
  background: var(--grape-deep);
  color: var(--cream);
  padding: 3.5rem 0 1.6rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(243, 238, 228, 0.14);
}

.footer-brand .logo-main,
.footer-brand .logo-sub {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28ch;
  color: rgba(243, 238, 228, 0.7);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.5rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(243, 238, 228, 0.82);
}

.footer-nav a:hover {
  color: var(--cream);
}

.social {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social a {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 238, 228, 0.28);
  color: var(--cream);
  white-space: nowrap;
}

.social a:hover {
  background: rgba(243, 238, 228, 0.08);
}

.footer-bottom {
  padding-top: 1.2rem;
  color: rgba(243, 238, 228, 0.55);
  font-size: 0.92rem;
}

/* Inner pages */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(43, 182, 115, 0.16), transparent 42%),
    linear-gradient(180deg, #fff, var(--cream));
}

.page-hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  margin: 0.55rem 0 0.8rem;
}

.page-hero p {
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-body {
  padding: 2.5rem 0 5rem;
}

.prose {
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.78;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  border-radius: 0.85rem;
}

.form input[type="file"] {
  padding: 0.55rem 0.75rem;
  font-weight: 500;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.cite {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.cite a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.name-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.name-variants span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.timeline article {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.timeline time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--burgundy);
}

.timeline h3 {
  font-size: 1.35rem;
}

.photo-credit {
  margin-top: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}

.figure-block {
  margin: 0 0 2rem;
}

.figure-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.source-list {
  display: grid;
  gap: 0.85rem;
}

.source-list a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}

.source-list a strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.source-list a span {
  color: var(--muted);
  font-size: 0.92rem;
}

.fb-note {
  margin-top: 1.5rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 780px) {
  .timeline article {
    grid-template-columns: 7.5rem 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

@media (min-width: 780px) {
  .intro {
    padding: 6.5rem 0 5.5rem;
  }

  .intro-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: end;
  }

  .intro-copy {
    margin-bottom: 0;
    position: sticky;
    bottom: 2rem;
  }

  .discover-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .discover-card {
    min-height: 340px;
  }

  .history-visual {
    min-height: 560px;
  }

  .history-copy {
    width: min(calc(100% - 4rem), 34rem);
    margin-left: auto;
    margin-right: 8%;
    margin-top: -8rem;
    padding: 2.6rem 2.2rem;
  }

  .faces-head,
  .businesses-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
  }

  .portrait-list {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 1.5rem;
    align-items: end;
  }

  .portrait:first-child img {
    aspect-ratio: 3 / 4;
  }

  .biz-item {
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 1.8rem;
  }

  .biz-item img {
    aspect-ratio: 5 / 4;
  }

  .event-featured {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
  }

  .event-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1.1fr 1fr 0.7fr;
    gap: 3rem;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    padding: 7rem 0 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7.5vw, 7.4rem);
    max-width: 10ch;
  }

  .hero-actions {
    display: flex;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
  }

  .then-now-copy {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    margin-bottom: 1.8rem;
  }
}

@media (min-width: 1120px) {
  .nav-toggle,
  .mobile-nav {
    display: none;
  }

  .site-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0.2rem;
  }

  .site-nav a {
    padding-inline: 0.55rem;
  }

  .header-cta {
    display: inline-flex;
  }
}

/* Fresh district layout */
.hero-split {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem 0 2.5rem;
}

.hero-split__photo {
  position: relative;
  min-height: 52vw;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-split__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hero-split__photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  max-width: 22rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(12, 51, 36, 0.78);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem 1.85rem;
  box-shadow: var(--shadow);
}

.hero-panel h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  letter-spacing: -0.05em;
  margin: 0.35rem 0 0.8rem;
}

.hero-panel .hero-lead {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
}

.hero-panel .hero-actions {
  margin-top: 1.4rem;
}

.hero-panel .btn-primary {
  background: var(--grape);
  color: var(--white);
}

.hero-panel .btn-ghost {
  color: var(--grape-deep);
  border-color: var(--line-strong);
}

.hero-panel .btn-ghost:hover {
  background: var(--mint);
}

.news-band,
.cal-band,
.map-band {
  padding: 3.5rem 0;
}

.news-band {
  background: var(--white);
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.news-grid,
.cal-grid {
  display: grid;
  gap: 1rem;
}

.news-card,
.cal-card,
.upload-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 51, 36, 0.06);
}

.news-band .news-card {
  background: var(--cream);
  box-shadow: none;
}

.cal-band .cal-card,
.map-band .upload-card {
  background: var(--white);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card__body,
.cal-card__body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.cal-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--sand);
}

.news-card__meta,
.cal-card__date {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--burgundy);
  margin-bottom: 0.45rem;
}

.news-card h3,
.cal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.cal-card__place {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--grape-deep);
  font-size: 0.75rem;
  font-weight: 650;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
}

.tabs button {
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 650;
}

.tabs button.is-active {
  background: var(--grape);
  color: #fff;
  border-color: var(--grape);
}

.history-story {
  display: grid;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.history-story__media {
  display: grid;
  gap: 1rem;
}

.history-story__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
}

.history-story time {
  display: inline-block;
  font-weight: 800;
  color: var(--grape);
  letter-spacing: 0.04em;
}

.history-story h3 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin: 0.25rem 0 0.7rem;
}

.clipping {
  background:
    repeating-linear-gradient(0deg, rgba(90, 70, 40, 0.04) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #f7ecd2, #efe0bd);
  color: #3a2a18;
  padding: 1.2rem 1.15rem 1.3rem;
  border: 1px solid #d9c49a;
  box-shadow: 6px 10px 0 rgba(60, 40, 20, 0.08);
  transform: rotate(-1.1deg);
  font-family: var(--font-serif);
}

.clipping__paper {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.clipping__date {
  font-size: 0.85rem;
  margin: 0.15rem 0 0.7rem;
  color: #7a5c32;
}

.clipping blockquote {
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

.map-shell {
  display: grid;
  gap: 1rem;
}

#district-map {
  width: 100%;
  min-height: 420px;
  height: 62vw;
  max-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint);
}

.map-pin {
  background: none !important;
  border: 0 !important;
}

.map-pin span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.map-filters,
.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip,
.place-chip {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.filter-chip.is-active {
  background: var(--grape);
  color: #fff;
  border-color: var(--grape);
}

.place-chip {
  display: grid;
  gap: 0.1rem;
  border-radius: 1rem;
}

.place-chip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.place-chip__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
  background: var(--grape);
  vertical-align: middle;
}

.place-chip__dot[data-cat="gyogyszertar"] { background: #e25a3a; }
.place-chip__dot[data-cat="bolt"] { background: #d4a017; }
.place-chip__dot[data-cat="ovoda"] { background: #1b8a8a; }
.place-chip__dot[data-cat="jatszoter"] { background: #e08a1a; }
.place-chip__dot[data-cat="emlekhely"] { background: #7c3342; }
.place-chip__dot[data-cat="szulohaz"] { background: #9a4d1c; }
.place-chip__dot[data-cat="sport"] { background: #2f6fed; }
.place-chip__dot[data-cat="kocsma"] { background: #8b3a62; }
.place-chip__dot[data-cat="vallalkozas"] { background: #3d6b4f; }
.place-chip__dot[data-cat="kozosseg"] { background: #4a5c54; }

.upload-card {
  padding: 1.3rem;
}

.upload-grid {
  display: grid;
  gap: 1rem;
}

.archive-grid {
  display: grid;
  gap: 1rem;
}

.archive-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.archive-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.archive-card div {
  padding: 1rem 1.1rem 1.2rem;
}

.logo-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--leaf);
  display: inline-block;
  margin-right: 0.4rem;
  vertical-align: 2px;
}

@media (min-width: 860px) {
  .hero-split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    padding: 1.5rem 0 3rem;
  }

  .hero-split__photo {
    min-height: 560px;
  }

  .hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.4rem;
  }

  .news-grid,
  .cal-grid,
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .history-story {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.4rem 0;
  }

  .upload-grid {
    grid-template-columns: 1fr 1fr;
  }

  #district-map {
    height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .clipping {
    transform: none;
  }
}
