/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest: #1a3a2a;
  --forest-light: #2a5a42;
  --forest-dark: #0f2419;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --cream-dark: #e8e0d0;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --gold: #c8a86e;
  --gold-light: #d4b87e;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--forest);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 24px;
}

.section-title-center {
  text-align: center;
}

.title-accent {
  font-style: italic;
  color: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--forest-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 58, 42, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.4);
}

.btn-ghost:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: var(--cream);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(26, 58, 42, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  transition: color var(--transition);
}

.nav.scrolled .nav-logo-mark {
  color: var(--forest);
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--transition);
}

.nav.scrolled .nav-logo-text {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--text-light);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav.scrolled .nav-links a:hover {
  color: var(--forest);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  border: 1px solid rgba(245, 240, 232, 0.3) !important;
  border-radius: 2px;
  transition: all var(--transition) !important;
}

.nav.scrolled .nav-cta {
  border-color: var(--forest) !important;
  color: var(--forest) !important;
}

.nav-cta:hover {
  background: var(--cream) !important;
  color: var(--forest) !important;
}

.nav.scrolled .nav-cta:hover {
  background: var(--forest) !important;
  color: var(--cream) !important;
}

.nav-cta::after {
  display: none !important;
}

/* ── Mobile Menu ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: all var(--transition);
}

.nav.scrolled .nav-toggle-line {
  background: var(--forest);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  padding: 8px;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  transition: color var(--transition);
}

.mobile-menu-link:hover {
  color: var(--gold);
}

.mobile-menu-cta {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 232, 0.3);
  padding: 12px 32px;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--forest-dark) 0%,
    var(--forest) 30%,
    var(--forest-light) 60%,
    #3a7a52 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--cream) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--cream) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.7);
  max-width: 560px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── Divider ── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.divider-symbol {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--cream-dark);
}

.divider-symbol::before,
.divider-symbol::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

/* ── Sections ── */
.section {
  padding: 120px 0;
}

/* ── History ── */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.history-image-wrap {
  position: relative;
}

.history-image-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
}

.history-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}

.history-content {
  padding-top: 24px;
}

.history-text {
  margin-bottom: 48px;
}

.history-text p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 16px;
}

.history-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-dark);
}

/* ── About ── */
.about {
  background: var(--white);
}

.about-header {
  text-align: center;
  margin-bottom: 72px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-card {
  padding: 40px 32px;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.about-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 42, 0.08);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.about-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 16px;
}

.about-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* ── Community ── */
.community-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-description {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 32px;
}

.community-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-light);
}

.list-marker {
  flex-shrink: 0;
  margin-top: 6px;
  color: var(--gold);
}

.community-images {
  position: relative;
  height: 560px;
}

.community-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 70%;
  border-radius: 2px;
  overflow: hidden;
}

.community-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 50%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.community-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Visit ── */
.visit {
  background: var(--white);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.visit-description {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 40px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.visit-detail-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.visit-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--forest);
  line-height: 1.5;
}

.visit-detail-value a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.visit-detail-value a:hover {
  color: var(--gold);
}

.visit-map {
  border-radius: 2px;
  overflow: hidden;
}

.map-placeholder {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-content {
  text-align: center;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}

.map-placeholder-content svg {
  color: var(--forest);
}

.map-placeholder-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-description {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  padding: 14px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 40px;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  background: var(--white);
}

.form-success.visible {
  display: flex;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  margin-bottom: 24px;
}

.form-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--forest);
  margin-bottom: 12px;
}

.form-success-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 320px;
}

/* ── Footer ── */
.footer {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

.footer-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a {
  color: rgba(245, 240, 232, 0.5);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
}

.footer-note {
  font-size: 0.6875rem !important;
  color: rgba(245, 240, 232, 0.2) !important;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .history-grid,
  .community-layout,
  .visit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .history-image-wrap img {
    height: 400px;
  }

  .community-images {
    height: 400px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card {
    padding: 32px 24px;
  }

  .history-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .community-images {
    height: 320px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .history-image-accent {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
  }
}
