/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: #0C1F3A;
  background: #FAFAF8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #0C1F3A; }
input, select, textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: #0C1F3A;
  background: #fff;
  border: 1px solid #D4CFC4;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0C1F3A;
}
textarea { resize: vertical; min-height: 120px; }

/* ===== TYPE ===== */
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.1; color: #0C1F3A; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A45E;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
.section-title--center { text-align: center; }
.section-subtitle {
  font-size: 1.0625rem;
  color: #5A5A5A;
  max-width: 480px;
  margin: 0 auto 3.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 3px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #C8A45E;
  color: #0C1F3A;
  border: 1.5px solid #C8A45E;
}
.btn-primary:hover { background: #B8943E; border-color: #B8943E; }
.btn-outline {
  background: transparent;
  color: #0C1F3A;
  border: 1.5px solid #0C1F3A;
}
.btn-outline:hover { background: #0C1F3A; color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: #fff; color: #0C1F3A; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12,31,58,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(12,31,58,0.08); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0C1F3A;
}
.nav-logo-icon {
  color: #C8A45E;
  font-size: 1rem;
  line-height: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-menu a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #0C1F3A;
  transition: color 0.2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C8A45E;
  transition: width 0.25s;
}
.nav-menu a:hover { color: #C8A45E; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  color: #C8A45E !important;
  border: 1px solid #C8A45E;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: #C8A45E; color: #0C1F3A !important; }
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #0C1F3A;
  transition: all 0.25s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 72px 0 0;
  background: #FAFAF8;
  overflow: hidden;
}
.hero-left {
  padding: 4rem 0 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: clamp(2rem, 5vw, 6rem);
  padding-right: 2rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A45E;
  margin-bottom: 1.75rem;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: #0C1F3A;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}
.hero-title br { display: none; }
.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #5A5A5A;
  max-width: 440px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0C1F3A;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: #D4CFC4;
}
.hero-right {
  position: relative;
  height: 100vh;
  min-height: 600px;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, #FAFAF8, transparent);
  pointer-events: none;
}

/* ===== ABOUT ===== */
.about { background: #FAFAF8; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.about-content .section-title { margin-bottom: 1.25rem; }
.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #5A5A5A;
  margin-bottom: 1rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E8E4DA;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-feature-icon {
  width: 20px;
  height: 20px;
  color: #C8A45E;
  flex-shrink: 0;
}
.about-feature span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0C1F3A;
}

/* ===== SERVICES ===== */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.service-card {
  padding: 2.25rem 1.75rem;
  border: 1px solid #E8E4DA;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: #FAFAF8;
}
.service-card:hover {
  border-color: #C8A45E;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,31,58,0.08);
}
.service-card-icon {
  width: 44px;
  height: 44px;
  color: #C8A45E;
  margin-bottom: 1.5rem;
}
.service-card-icon svg {
  width: 100%;
  height: 100%;
}
.service-card-title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.service-card-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #5A5A5A;
}

/* ===== COMMUNITY ===== */
.community { background: #0C1F3A; color: #fff; }
.community .section-eyebrow { color: #C8A45E; }
.community .section-title { color: #fff; }
.community-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.community-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.community-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== EVENTS ===== */
.events { background: #FAFAF8; }
.events-list {
  max-width: 800px;
  margin: 0 auto 2rem;
}
.event-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid #E8E4DA;
}
.event-item:first-child { border-top: 1px solid #E8E4DA; }
.event-date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.event-month {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A45E;
}
.event-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0C1F3A;
  line-height: 1.2;
}
.event-title {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
}
.event-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5A5A5A;
}
.event-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0C1F3A;
  border-bottom: 1px solid #0C1F3A;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.event-link:hover { color: #C8A45E; border-color: #C8A45E; }
.events-note {
  text-align: center;
  font-size: 0.9375rem;
  color: #8A8A8A;
}

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 20px;
  height: 20px;
  color: #C8A45E;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  display: block;
  margin-bottom: 0.25rem;
}
.contact-value {
  display: block;
  font-size: 1rem;
  color: #0C1F3A;
  line-height: 1.6;
}
.contact-value:hover { color: #C8A45E; }
.contact-form-wrap {
  background: #FAFAF8;
  border: 1px solid #E8E4DA;
  border-radius: 4px;
  padding: 2.5rem;
}
.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  margin-bottom: 0;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 0.9375rem;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #F0F7E8;
  border: 1px solid #C8D9A8;
  border-radius: 4px;
  font-size: 0.9375rem;
  color: #2D5A1E;
}
.form-success svg {
  width: 20px;
  height: 20px;
  color: #4A7C2E;
  flex-shrink: 0;
}

/* ===== MAP ===== */
.map-section { background: #0C1F3A; }

/* ===== FOOTER ===== */
.footer {
  background: #081424;
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A45E;
  margin-bottom: 1rem;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: #C8A45E; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.visible[data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 8rem 2rem 4rem; }
  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .community-split,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { order: -1; }
  .community-image { order: -1; }
  .community-image img { height: 400px; }
  .about-image img { height: 360px; }
  .event-item { grid-template-columns: 120px 1fr auto; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,250,248,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(12,31,58,0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-toggle { display: flex; }
  .section { padding: 5rem 0; }
  .hero-left { padding: 6rem 1.5rem 3rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .event-date { flex-direction: row; gap: 0.5rem; align-items: baseline; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .contact-form-wrap { padding: 1.5rem; }
  .hero-title br { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .hero-left { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
