/*
  Tall Pines — editorial layout, light/dark themes, multi-page shell
*/
:root {
  color-scheme: light;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Georgia", serif;

  --bg-page: #dce5df;
  --bg-elevated: #e8edea;
  --bg-muted: #cdd9d2;
  --border: rgba(18, 95, 62, 0.14);
  --border-strong: rgba(18, 95, 62, 0.26);
  --text: #152a20;
  --text-muted: #3d5348;
  --accent: #1a7c52;
  --accent-hover: #156b47;
  --accent-soft: rgba(26, 124, 82, 0.14);
  --warm: #b07a2c;
  --warm-soft: rgba(176, 122, 44, 0.16);
  --hero-fg: #f4fbf7;
  --hero-overlay: linear-gradient(
    115deg,
    rgba(6, 36, 24, 0.62) 0%,
    rgba(8, 42, 28, 0.34) 45%,
    rgba(6, 34, 22, 0.58) 100%
  );
  --header-bg: rgba(220, 229, 223, 0.92);
  --footer-bg: #0d1814;
  --footer-text: #c5e0d4;
  --footer-muted: #7fa090;
  --shadow-sm: 0 1px 3px rgba(8, 42, 28, 0.08);
  --shadow-md: 0 12px 40px rgba(8, 42, 28, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --focus: #23965f;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #0a1210;
  --bg-elevated: #111b17;
  --bg-muted: #152922;
  --border: rgba(120, 230, 180, 0.08);
  --border-strong: rgba(120, 230, 180, 0.16);
  --text: #e8f4ee;
  --text-muted: #8ab89a;
  --accent: #4fd39a;
  --accent-hover: #6fe0ae;
  --accent-soft: rgba(79, 211, 154, 0.16);
  --warm: #e0b565;
  --warm-soft: rgba(224, 181, 101, 0.14);
  --hero-fg: #ecf8f1;
  --hero-overlay: linear-gradient(
    115deg,
    rgba(2, 22, 14, 0.66) 0%,
    rgba(4, 28, 18, 0.38) 50%,
    rgba(2, 20, 14, 0.6) 100%
  );
  --header-bg: rgba(10, 18, 16, 0.9);
  --footer-bg: #060d0a;
  --footer-text: #b8e8cf;
  --footer-muted: #6a9e82;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, 0.5);
  --focus: #6fe0ae;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

[data-theme="dark"] .skip-link {
  color: #0c0f0d;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 92%);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

/* Header: black SVG in light mode, white SVG in dark mode */
.header-logo {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.header-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

html:not([data-theme="dark"]) .header-logo-img--dark {
  display: none;
}

html[data-theme="dark"] .header-logo-img--light {
  display: none;
}

/* Footer: dark bar — always white mark */
.site-footer .header-brand img {
  width: 40px;
  height: auto;
  display: block;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.header-brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.25rem;
}

.primary-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
  background: var(--accent-soft);
}

.primary-nav a.is-active {
  color: var(--accent);
  background: var(--warm-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-facebook {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: #1877f2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.header-facebook:hover {
  border-color: rgba(24, 119, 242, 0.45);
  background: color-mix(in srgb, #1877f2 12%, var(--bg-elevated));
  color: #1464d2;
}

.header-facebook-icon {
  width: 20px;
  height: 20px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.btn-header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg-page) !important;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

[data-theme="dark"] .btn-header {
  color: #0c0f0d !important;
}

.btn-header:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s;
  }

  .site-header.is-nav-open .primary-nav {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }

  .primary-nav a {
    padding: 0.75rem 0.5rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav {
    order: 4;
    flex: 1 1 100%;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

[data-theme="dark"] .btn-primary {
  color: #0c0f0d;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero .btn-secondary {
  color: var(--hero-fg);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--hero-fg);
}

/* —— Hero (home) —— */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg-muted);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--hero-fg);
  padding-block: clamp(3.5rem, 12vw, 6.5rem);
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-lead {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero: always white wordmark on video (same in light and dark theme) */
.hero-wordmark {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Sections —— */
.section {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section--muted {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--text-muted);
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

/* —— Grids & cards —— */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.image-placeholder {
  min-height: 280px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: var(--bg-muted);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
}

.photo-placeholder-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.photo-placeholder-slot {
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 140px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: color-mix(in srgb, var(--bg-elevated) 88%, var(--accent-soft));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.photo-placeholder-hint {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

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

.membership-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.membership-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.membership-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--text);
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* —— Google / public reviews —— */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
}

.review-card blockquote p {
  margin: 0;
}

.review-card footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.review-card .review-author {
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.review-card .review-source {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reviews-cta {
  margin-top: 2rem;
  text-align: center;
}

.reviews-cta a {
  font-weight: 600;
}

/* —— Teasers (home) —— */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.teaser-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.teaser-card span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.5rem;
}

.teaser-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.teaser-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.teaser-card .link-arrow {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

/* —— CTA strip —— */
.cta-strip {
  background: var(--accent);
  color: #fff;
  padding-block: 2.5rem;
}

[data-theme="dark"] .cta-strip {
  color: #0c0f0d;
}

.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-strip h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.cta-strip p {
  margin: 0.35rem 0 0;
  opacity: 0.92;
  max-width: 42ch;
  font-size: 0.98rem;
}

.cta-strip .btn {
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

[data-theme="dark"] .cta-strip .btn {
  background: #0c0f0d;
  color: var(--accent);
}

.cta-strip .btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* —— Image carousel (events / galleries) —— */
.carousel {
  position: relative;
  max-width: min(960px, 100%);
  margin-inline: auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  outline: none;
}

.carousel-viewport:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: min(56vh, 520px);
  object-fit: cover;
  vertical-align: middle;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.carousel-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-muted);
}

.carousel-btn--prev {
  left: 0.65rem;
}

.carousel-btn--next {
  right: 0.65rem;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.carousel-dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.15);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 580px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .carousel-btn--prev {
    left: 0.35rem;
  }

  .carousel-btn--next {
    right: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none !important;
  }
}

#visit-map {
  scroll-margin-top: 5.5rem;
}

@keyframes contact-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact page: fluid panels, soft depth, gentle motion */
.contact-page-integrated.section--muted {
  background: linear-gradient(
    165deg,
    var(--bg-page) 0%,
    color-mix(in srgb, var(--bg-muted) 85%, var(--bg-page)) 42%,
    var(--bg-page) 100%
  );
  border-block: none;
  position: relative;
  overflow: hidden;
}

.contact-page-integrated.section--muted::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--accent) 12%, transparent) 0%,
    transparent 68%
  );
  pointer-events: none;
  opacity: 0.9;
}

[data-theme="dark"] .contact-page-integrated.section--muted::before {
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--accent) 18%, transparent) 0%,
    transparent 65%
  );
  opacity: 0.45;
}

.contact-page-integrated .container {
  position: relative;
  z-index: 1;
}

.contact-page-integrated {
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head--compact {
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

@media (prefers-reduced-motion: no-preference) {
  .section-head--compact {
    animation: contact-panel-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.section-head--compact h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-head--compact p {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.contact-integrated-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.contact-visit-column,
.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: clamp(18px, 2.2vw, 26px);
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  box-shadow:
    0 1px 1px rgba(12, 18, 15, 0.03),
    0 16px 48px -20px rgba(12, 18, 15, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-visit-column,
  .contact-form-column {
    animation: contact-panel-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .contact-form-column {
    animation-delay: 0.07s;
  }

  @media (hover: hover) {
    .contact-visit-column:hover,
    .contact-form-column:hover {
      border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
      box-shadow:
        0 1px 2px rgba(12, 18, 15, 0.04),
        0 22px 56px -18px rgba(12, 18, 15, 0.18);
      transform: translateY(-2px);
    }
  }
}

.map-embed-wrap--compact {
  aspect-ratio: unset;
  min-height: 0;
  height: 150px;
  max-height: 170px;
  border-radius: clamp(12px, 1.8vw, 16px);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .contact-visit-column:hover .map-embed-wrap--compact {
      transform: scale(1.015);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 24px -8px rgba(12, 18, 15, 0.2);
    }
  }
}

.visit-panel--compact .visit-panel__title {
  margin: 0.5rem 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.visit-panel--compact .visit-panel__title:first-child {
  margin-top: 0;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--text);
}

.visit-panel--compact .visit-address {
  font-size: 0.86rem;
  line-height: 1.5;
}

.visit-panel--compact .visit-actions {
  margin: 0.5rem 0 0;
}

.visit-panel--compact .visit-phone {
  margin: 0;
  font-size: 0.88rem;
}

.visit-panel--compact .visit-social {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
}

.hours-list--compact {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
}

.hours-list--compact li {
  padding: 0.2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent);
  transition: padding-left 0.25s ease, background-color 0.25s ease;
  border-radius: 0;
}

.hours-list--compact li:last-child {
  border-bottom: none;
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .hours-list--compact li:hover {
      padding-left: 0.25rem;
      background: color-mix(in srgb, var(--accent-soft) 35%, transparent);
      border-radius: 6px;
    }
  }
}

.contact-form-column {
  gap: 0.75rem;
}

.contact-blurb {
  margin: 0.35rem 0 0;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form--compact {
  padding: 0;
  gap: 0.55rem;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 0.15rem;
}

.contact-form-column .contact-form--compact {
  flex: 1;
}

.contact-form--compact h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin: 0 0 0.35rem;
}

.contact-form--compact label {
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-form--compact input,
.contact-form--compact textarea {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 70%, transparent);
  transition: border-color 0.25s ease, box-shadow 0.35s ease;
}

.contact-form--compact input:focus,
.contact-form--compact textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong));
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form--compact textarea {
  min-height: 88px;
}

.contact-page-integrated .btn--compact {
  border-radius: 999px;
  min-height: 42px;
  min-width: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.87rem;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .contact-page-integrated .btn--compact:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--accent) 45%, transparent);
    }
  }
}

@media (max-width: 900px) {
  .contact-integrated-grid {
    grid-template-columns: 1fr;
  }

  .map-embed-wrap--compact {
    height: 200px;
    max-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-head--compact,
  .contact-visit-column,
  .contact-form-column {
    animation: none !important;
  }

  .contact-visit-column:hover,
  .contact-form-column:hover,
  .map-embed-wrap--compact,
  .contact-page-integrated .btn--compact:hover {
    transform: none !important;
  }
}

/* —— Visit / map —— */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.map-embed-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  aspect-ratio: 16 / 10;
  min-height: 260px;
}

.map-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.visit-panel__title {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.visit-panel__title:first-child {
  margin-top: 0;
}

.visit-address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.65;
}

.visit-actions {
  margin: 1rem 0 0;
}

.visit-phone {
  margin: 0;
  font-size: 1.05rem;
}

.visit-social {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
}

.contact-block .contact-anchor-link {
  margin-top: 1rem;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

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

.contact-line {
  margin: 0 0 0.5rem;
}

.contact-line a {
  color: inherit;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-form h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.form-status[hidden] {
  display: none !important;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.hours-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-list li:last-child {
  border-bottom: none;
}

/* —— Footer —— */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: 3rem 1.5rem;
  margin-top: auto;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .header-brand {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer .header-brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer .header-brand-name {
  color: var(--footer-text);
}

.site-footer .header-brand-tag {
  color: var(--footer-muted);
}

.heading-display,
.heading-display--sm {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading-display {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.heading-display--sm {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.contact-block h2:not(.mt-0) {
  margin-top: 2rem;
}

.address-plain {
  font-style: normal;
  color: var(--text-muted);
}

.prose-note {
  margin-top: 1.5rem;
  max-width: 65ch;
  color: var(--text-muted);
}

.mt-1 {
  margin-top: 1rem;
}

.list-check {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.scorecard-highlight-list {
  margin-top: 0.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.scorecard-highlight-list li + li {
  margin-top: 0.45rem;
}

.scorecard-highlight-list--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2rem;
  max-width: 720px;
}

@media (max-width: 580px) {
  .scorecard-highlight-list--columns {
    grid-template-columns: 1fr;
  }
}

.scorecard-stats {
  margin-top: 1.5rem;
  max-width: 62ch;
}

.scorecard-stats p {
  margin: 0;
  color: var(--text-muted);
}

.scorecard-cta {
  margin: 1.25rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--footer-muted);
  max-width: 32ch;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  font-size: 0.94rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--footer-muted);
}

.footer-address a {
  color: var(--footer-text);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--footer-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--footer-muted);
}

.footer-legal a:hover {
  color: var(--footer-text);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.mt-0 {
  margin-top: 0;
}

/* —— Focus —— */
.btn:focus-visible,
.btn--compact:focus-visible,
.carousel-btn:focus-visible,
.theme-toggle:focus-visible,
.header-facebook:focus-visible,
.nav-toggle:focus-visible,
.primary-nav a:focus-visible,
.teaser-card:focus-visible,
.footer-col a:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .teaser-grid,
  .membership-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .two-column,
  .contact-layout,
  .visit-grid,
  .contact-integrated-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 64vh;
  }

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

@media (max-width: 580px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .photo-placeholder-grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
