:root {
  --bg: #f5efe5;
  --bg-soft: #f9f5ee;
  --surface: rgba(255, 252, 246, 0.92);
  --surface-strong: #fffaf1;
  --surface-muted: #efe5d4;
  --text: #1f2a1d;
  --text-soft: #53624f;
  --primary: #355c4d;
  --primary-dark: #223b31;
  --accent: #d48f47;
  --accent-soft: #f0d6b9;
  --border: rgba(53, 92, 77, 0.14);
  --shadow: 0 20px 60px rgba(31, 42, 29, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #fbfaf7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(53, 92, 77, 0.1);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong,
.site-footer h3,
.site-footer h4 {
  font-size: 0.98rem;
}

.brand-text strong {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: none;
}

.main-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: auto;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.main-nav a[aria-current="page"],
.main-nav a:hover,
.text-link:hover {
  color: var(--primary);
}

.main-nav a[aria-current="page"] {
  background: #f1ece4;
  box-shadow: inset 0 0 0 1px rgba(53, 92, 77, 0.06);
}

.nav-shell > .button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

.button-small {
  padding: 0.72rem 1rem;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(53, 92, 77, 0.2);
}

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

.button-secondary,
.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.button-secondary {
  border-color: var(--border);
  background: #fff;
}

.hero,
.subhero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: calc(100vh - 84px);
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 143, 71, 0.32), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.2), transparent 20%),
    linear-gradient(135deg, rgba(34, 59, 49, 0.92), rgba(53, 92, 77, 0.72)),
    linear-gradient(180deg, #5f826c, #355c4d);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 30, 24, 0.52), transparent 60%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 14px,
      transparent 14px,
      transparent 28px
    );
}

.hero-grid,
.subhero-grid,
.split-layout,
.membership-layout,
.footer-grid,
.cta-panel {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 5.5rem 0;
}

.hero-copy h1,
.subhero h1,
h2 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  color: #fff7ef;
}

.hero-copy h1 em,
h2 em {
  color: var(--accent);
  font-style: italic;
}

.hero-copy p,
.subhero p,
.section p,
.membership-form p,
.modal-text {
  line-height: 1.7;
  color: inherit;
}

.hero-copy p {
  max-width: 36rem;
  color: rgba(255, 247, 239, 0.82);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  color: #f4e7d6;
}

.section-label {
  color: var(--primary);
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}

.hero-panel {
  justify-self: end;
}

.glass-card,
.cta-panel,
.center-panel,
.subhero-note,
.price-card,
.benefits-panel,
.membership-form,
.visual-card,
.event-card,
.featured-event,
.stats-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.glass-card {
  width: min(100%, 360px);
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.24), rgba(255, 250, 241, 0.12)),
    rgba(255, 255, 255, 0.08);
  color: #fff8ef;
}

.panel-label {
  margin: 0 0 0.8rem;
  color: rgba(255, 248, 239, 0.68);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.glass-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 248, 239, 0.86);
  line-height: 1.8;
}

.stats {
  padding: 1.4rem 0 0;
}

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

.stats-card {
  padding: 1.4rem;
  background: rgba(255, 252, 246, 0.8);
  border: 1px solid var(--border);
}

.stats-card strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.stats-card span {
  color: var(--text-soft);
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.events-page-head {
  padding: 3.8rem 0 1.5rem;
}

.events-intro {
  max-width: 44rem;
}

.events-intro h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.events-intro p {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.events-filter-row {
  margin-top: 2rem;
}

.tour-hero {
  padding: 2.4rem 0 1.8rem;
  background: #f6f8f3;
  border-bottom: 1px solid rgba(53, 92, 77, 0.08);
}

.tour-intro {
  max-width: 48rem;
}

.tour-intro h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.7rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

.tour-intro p {
  max-width: 40rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.tour-map {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(53, 92, 77, 0.08);
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 42, 29, 0.05);
}

.tour-map-canvas {
  min-height: 480px;
}

.tour-map-canvas .leaflet-control-zoom a {
  color: var(--text);
}

.tour-map-canvas .leaflet-popup-content-wrapper {
  border-radius: 14px;
}

.tour-map-canvas .leaflet-popup-content {
  font-family: "Manrope", sans-serif;
  margin: 0.8rem 1rem;
}

.tour-map-canvas .leaflet-popup-content a {
  color: var(--primary);
  font-weight: 700;
}

.tour-list-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.tour-list-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.tour-list-icon {
  color: var(--primary);
  font-size: 1rem;
  transform: translateY(-1px);
}

.tour-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.tour-cards-section {
  padding-top: 0.8rem;
}

.tour-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(53, 92, 77, 0.1);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 29, 0.04);
}

.tour-card-image {
  min-height: 285px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tour-card-body {
  padding: 1rem 1.2rem 1.25rem;
}

.tour-card-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #edf4ef;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
}

.tour-card h3 {
  margin: 0.75rem 0 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.tour-card-subtitle {
  margin: 0 0 0.8rem;
  color: #6f7f75;
  font-style: italic;
  font-size: 0.95rem;
}

.tour-card p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.tour-stop-hero {
  padding: 2.6rem 0 1.5rem;
  background: #f6f8f3;
  border-bottom: 1px solid rgba(53, 92, 77, 0.08);
}

.tour-stop-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.tour-stop-layout h1 {
  margin: 0.9rem 0 0.6rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}

.tour-stop-image {
  min-height: 320px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(53, 92, 77, 0.1);
  box-shadow: 0 12px 28px rgba(31, 42, 29, 0.06);
}

.story-panel {
  max-width: 52rem;
}

.story-panel p {
  color: var(--text-soft);
  font-size: 1.03rem;
}

.story-page-section {
  padding-top: 2rem;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.story-article {
  display: grid;
  gap: 1.5rem;
}

.story-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.story-section {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.3rem;
}

.story-section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
}

.story-section p {
  margin: 0;
  color: var(--text-soft);
}

.story-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}

.story-card {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(53, 92, 77, 0.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 29, 0.04);
}

.story-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.story-facts {
  display: grid;
  gap: 0.85rem;
}

.story-facts div {
  display: grid;
  gap: 0.2rem;
}

.story-facts dt {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.story-facts dd {
  margin: 0;
  color: var(--text-soft);
}

.story-quote {
  margin: 0;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  line-height: 1.4;
}

.story-card p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer-centered {
  border-top: 1px solid rgba(53, 92, 77, 0.08);
  margin-top: 2rem;
}

.footer-centered-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-footer-centered h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
}

.site-footer-centered p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer-centered small {
  color: #7d8a82;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.7), rgba(239, 229, 212, 0.5));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-layout,
.membership-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.visual-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 143, 71, 0.34), transparent 18%),
    radial-gradient(circle at 75% 20%, rgba(53, 92, 77, 0.18), transparent 18%),
    linear-gradient(135deg, #d6c1a3, #8aa287 52%, #355c4d);
}

.visual-community::before,
.visual-community::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.24);
}

.visual-community::before {
  width: 240px;
  height: 240px;
  top: 40px;
  left: 35px;
}

.visual-community::after {
  width: 180px;
  height: 180px;
  bottom: 32px;
  right: 42px;
}

.visual-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 250, 241, 0.88);
  border-radius: 18px;
}

.cta-panel {
  grid-template-columns: 1fr 1fr;
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(255, 250, 241, 0.75);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(239, 229, 212, 0.66);
  border: 1px solid rgba(53, 92, 77, 0.08);
}

.benefit-card strong,
.event-card h3,
.featured-event h3 {
  display: block;
  margin-bottom: 0.35rem;
}

.benefit-card span,
.event-meta,
.event-description,
.form-note,
.site-footer p,
.site-footer a,
.modal label {
  color: var(--text-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.text-link {
  font-weight: 700;
  color: var(--primary);
}

.featured-event {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
}

.featured-date {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff8ef;
  text-align: center;
}

.featured-date strong {
  font-size: 4rem;
  font-family: "Fraunces", serif;
  line-height: 1;
}

.featured-body {
  padding: 1.7rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8d5417;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.event-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
}

.event-card-listing {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(31, 42, 29, 0.06);
}

.event-card-listing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--primary);
}

.event-card-top,
.event-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.event-card-top {
  margin-bottom: 0.9rem;
  padding-top: 0.45rem;
}

.event-card h3,
.featured-event h3,
.center-panel h2,
.membership-form h2,
.benefits-panel h2,
.section h2,
.site-footer h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.event-card h3,
.featured-event h3 {
  font-size: 1.5rem;
}

.event-description {
  min-height: 8rem;
  line-height: 1.65;
}

.event-meta {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 1.2rem;
}

.event-meta span::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.5rem;
}

.event-actions .button {
  width: 100%;
}

.events-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.events-grid-section {
  padding-top: 1rem;
}

.contact-cta {
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 42, 29, 0.04);
}

.contact-cta h2 {
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--text-soft);
}

.center-panel {
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(255, 250, 241, 0.78);
}

.center-panel p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--text-soft);
}

.center-actions {
  justify-content: center;
}

.subhero {
  padding: 4.5rem 0 2rem;
}

.events-hero {
  background:
    radial-gradient(circle at top left, rgba(53, 92, 77, 0.12), transparent 20%),
    radial-gradient(circle at bottom right, rgba(212, 143, 71, 0.18), transparent 22%);
}

.subhero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
}

.subhero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.subhero-note,
.price-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 250, 241, 0.76);
}

.subhero-note-strong {
  display: grid;
  gap: 1rem;
}

.mini-stats,
.featured-strip,
.filter-chip-row,
.admin-list {
  display: grid;
  gap: 1rem;
}

.mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-stat,
.featured-strip-card,
.empty-state,
.admin-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.82);
  border: 1px solid var(--border);
}

.compact-stat strong,
.featured-strip-card strong,
.empty-state strong,
.admin-item strong {
  display: block;
}

.compact-stat span,
.featured-strip-card span,
.empty-state span,
.admin-item span {
  color: var(--text-soft);
}

.featured-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-strip-card {
  display: grid;
  gap: 0.55rem;
}

.filter-chip-row {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  overflow-x: auto;
}

.filter-chip {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f3f0e9;
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.membership-hero {
  background:
    radial-gradient(circle at top right, rgba(212, 143, 71, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.44), rgba(239, 229, 212, 0.24));
}

.admin-hero {
  background:
    radial-gradient(circle at top right, rgba(53, 92, 77, 0.14), transparent 20%),
    radial-gradient(circle at bottom left, rgba(212, 143, 71, 0.16), transparent 22%);
}

.price-card strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 3rem;
  font-family: "Fraunces", serif;
  color: var(--primary);
}

.benefits-panel,
.membership-form,
.admin-form,
.admin-preview {
  padding: 2rem;
  border: 1px solid var(--border);
}

.membership-form,
.admin-form,
.admin-preview {
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 252, 246, 0.92);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.membership-form label,
.admin-form label,
.modal label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.membership-form input,
.membership-form textarea,
.admin-form input,
.admin-form textarea,
.modal input,
.modal textarea {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 92, 77, 0.16);
  background: #fffefb;
  color: var(--text);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #fbfaf7;
}

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

.site-footer a {
  display: block;
  margin-top: 0.45rem;
}

.modal {
  width: min(92vw, 560px);
  border: 0;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(18, 24, 20, 0.5);
  backdrop-filter: blur(6px);
}

.modal-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 28px;
  background: #fffaf1;
  border: 1px solid rgba(53, 92, 77, 0.14);
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(53, 92, 77, 0.08);
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 700ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

.reveal:nth-child(3) {
  animation-delay: 180ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .membership-layout,
  .admin-layout,
  .tour-stop-layout,
  .story-layout,
  .cta-panel,
  .subhero-grid,
  .footer-grid,
  .featured-event {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .cards-grid-wide,
  .tour-cards-grid,
  .stats-grid,
  .featured-strip,
  .mini-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tour-map-canvas {
    min-height: 620px;
  }

  .story-aside {
    position: static;
  }

  .hero-panel {
    justify-self: stretch;
  }

  .glass-card {
    width: 100%;
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .brand-text small {
    display: block;
    color: var(--text-soft);
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .section,
  .hero-grid {
    padding: 4rem 0;
  }

  .cards-grid,
  .cards-grid-wide,
  .tour-cards-grid,
  .benefits-grid,
  .stats-grid,
  .featured-strip,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .center-panel,
  .benefits-panel,
  .membership-form,
  .admin-form,
  .admin-preview,
  .cta-panel {
    padding: 1.4rem;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .tour-map-canvas {
    min-height: 420px;
  }

  .tour-stop-image,
  .tour-card-image {
    min-height: 220px;
  }

  .story-card {
    padding: 1rem;
  }
}
