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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --cream-50: #faf8f4;
  --cream-100: #f5f0e8;
  --cream-200: #e8dfc8;
  --cream-300: #d4c5a9;
  --cream-400: #c4b08a;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--stone-800);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--emerald-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--emerald-600);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--emerald-900);
  color: var(--cream-50);
  border-radius: var(--radius-sm);
  z-index: 100;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-sm);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── Header ─────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--cream-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--stone-900);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--emerald-700);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--emerald-800);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.primary-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-600);
  position: relative;
  padding-bottom: 2px;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-700);
  transition: width var(--transition);
}

.primary-nav a:hover {
  color: var(--emerald-800);
}

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

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  opacity: 0;
}

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

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    padding: var(--space-md) var(--space-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .primary-nav a {
    font-size: 0.9375rem;
  }
}

/* ─── Hero ───────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1200px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 47, 35, 0.55) 0%,
    rgba(6, 78, 59, 0.65) 50%,
    rgba(4, 47, 35, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-300);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream-50);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--cream-200);
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn--light {
  background: var(--cream-50);
  color: var(--emerald-900);
  border-color: var(--cream-50);
}

.btn--light:hover {
  background: var(--cream-100);
  border-color: var(--cream-100);
  color: var(--emerald-900);
}

.btn--ghost-light {
  background: transparent;
  color: var(--cream-200);
  border-color: rgba(212, 197, 169, 0.4);
}

.btn--ghost-light:hover {
  border-color: var(--cream-300);
  color: var(--cream-50);
  background: rgba(250, 248, 244, 0.08);
}

.btn--dark {
  background: var(--emerald-900);
  color: var(--cream-50);
  border-color: var(--emerald-900);
}

.btn--dark:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: var(--cream-50);
}

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

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cream-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

.scroll-indicator span {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-300);
}

/* ─── Section shared ─────────────────── */
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--stone-900);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

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

/* ─── About ──────────────────────────── */
.about {
  padding: var(--space-3xl) 0;
  background: var(--cream-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-600);
  margin-bottom: var(--space-md);
}

.about-details {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream-200);
}

.detail-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.375rem;
}

.detail-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--stone-800);
  line-height: 1.5;
}

.detail-link {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--emerald-700);
}

.detail-link:hover {
  color: var(--emerald-600);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image-wrap {
    aspect-ratio: 16/10;
  }
}

/* ─── Offerings ──────────────────────── */
.offerings {
  padding: var(--space-3xl) 0;
  background: var(--cream-100);
}

.offerings-header {
  margin-bottom: var(--space-xl);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.offering-card {
  background: var(--cream-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.offering-card:hover {
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.08);
  transform: translateY(-4px);
}

.offering-image {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offering-card:hover .offering-image img {
  transform: scale(1.04);
}

.offering-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--stone-900);
  padding: var(--space-md) var(--space-md) 0;
}

.offering-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--stone-500);
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

@media (max-width: 768px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ─── Visit ──────────────────────────── */
.visit {
  padding: var(--space-3xl) 0;
  background: var(--cream-50);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.visit-info {
  padding-right: var(--space-lg);
}

.visit-address {
  font-style: normal;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--stone-800);
  margin-bottom: var(--space-sm);
}

.visit-phone {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.visit-phone a {
  color: var(--emerald-700);
}

.visit-phone a:hover {
  color: var(--emerald-600);
}

.visit-hours-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: var(--space-sm);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.9375rem;
}

.hours-list .day {
  color: var(--stone-600);
}

.hours-list .time {
  color: var(--stone-800);
  font-weight: 400;
}

.visit-cta {
  margin-top: var(--space-lg);
}

.visit-map {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.visit-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-map-overlay {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--stone-800);
}

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

  .visit-info {
    padding-right: 0;
  }

  .visit-map {
    aspect-ratio: 16/9;
  }
}

/* ─── Contact ────────────────────────── */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--emerald-900);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-text .section-eyebrow {
  color: var(--cream-300);
}

.contact-text .section-title {
  color: var(--cream-50);
}

.contact-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-200);
  max-width: 400px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--stone-900);
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cream-300);
  box-shadow: 0 0 0 3px rgba(212, 197, 169, 0.2);
}

.form-group 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='%2378716c' 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 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--cream-300);
  text-align: center;
  margin-top: var(--space-xs);
}

.form-note a {
  color: var(--cream-200);
  text-decoration: underline;
  text-decoration-color: rgba(212, 197, 169, 0.4);
  text-underline-offset: 3px;
}

.form-note a:hover {
  color: var(--cream-50);
  text-decoration-color: var(--cream-200);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: var(--radius-sm);
  color: var(--cream-200);
  font-size: 0.9375rem;
  margin-top: var(--space-xs);
}

.form-success svg {
  flex-shrink: 0;
  color: var(--emerald-400);
}

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Footer ─────────────────────────── */
.site-footer {
  background: var(--stone-900);
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.logo-mark--light {
  border-color: var(--cream-300);
  color: var(--cream-300);
}

.logo-text--light {
  color: var(--cream-200);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--stone-500);
}

.footer-address {
  font-size: 0.8125rem;
  color: var(--stone-500);
}

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

.footer-address a:hover {
  color: var(--cream-300);
}

/* ─── Scroll reveal (progressive enhancement) ─────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-line {
    animation: none;
    opacity: 0.6;
  }
}
