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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50:  #f8f6f0;
  --cream-100: #f2efe6;
  --cream-200: #e8e4d8;
  --cream-300: #d4cfc0;
  --stone-50:  #fafaf8;
  --stone-100: #f4f4f0;
  --stone-200: #e8e8e2;
  --stone-400: #a0a098;
  --stone-500: #707068;
  --stone-600: #52524a;
  --stone-700: #3a3a34;
  --stone-800: #262620;
  --stone-900: #141410;
  --white: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--stone-800);
  background: var(--cream-50);
  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-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--emerald-800); color: var(--white);
  padding: 8px 16px; z-index: 200; font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

/* ── Typography ───────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--stone-900);
  line-height: 1.15;
  margin-bottom: 48px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn--emerald {
  background: var(--emerald-700);
  color: var(--white);
}
.btn--emerald:hover { background: var(--emerald-800); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--stone-700);
  border: 1px solid var(--stone-300);
}
.btn--outline:hover { border-color: var(--emerald-600); color: var(--emerald-700); }
.btn--outline-light {
  background: transparent;
  color: var(--cream-100);
  border: 1px solid rgba(245, 240, 232, 0.4);
}
.btn--outline-light:hover { border-color: var(--white); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn--lg { padding: 18px 36px; font-size: 0.9375rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--emerald-700);
  color: var(--cream-50);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 2px;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--stone-800);
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.site-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-600);
  transition: color 0.2s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--emerald-600);
  transition: width 0.3s var(--ease-out);
}
.site-nav a:hover { color: var(--emerald-700); }
.site-nav a:hover::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
}
.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--stone-700);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream-50);
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.hero-text { padding-right: 16px; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: var(--stone-900);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--stone-600);
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--stone-500);
}
.hero-meta-dot { color: var(--stone-300); }

.hero-image { position: relative; }
.hero-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 600/760;
  object-fit: cover;
}
.hero-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 1px solid var(--emerald-200, #a7f3d0);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

/* ── Intro Strip ──────────────────────────────────── */
.intro-strip {
  background: var(--emerald-800);
  padding: 48px 0;
}
.intro-strip-inner { max-width: 720px; }
.intro-strip-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream-100);
  line-height: 1.5;
}

/* ── Services ─────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--cream-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-200);
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: var(--cream-50);
  padding: 48px 36px;
  transition: background 0.3s var(--ease-out);
}
.service-card:hover { background: var(--white); }
.service-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--emerald-600);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--stone-600);
}

/* ── About ────────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--stone-100);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { border-radius: 4px; overflow: hidden; }
.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 580/420;
  object-fit: cover;
}
.about-content .section-title { margin-bottom: 28px; }
.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-600);
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--stone-200);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--stone-900);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--stone-500);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--stone-200);
}

/* ── Gallery ──────────────────────────────────────── */
.gallery {
  padding: 120px 0;
  background: var(--cream-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 6 / 10; grid-row: 2 / 3; }

/* ── Testimonials ─────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--emerald-800);
}
.testimonials .section-title { color: var(--cream-100); margin-bottom: 64px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 40px 32px;
  transition: background 0.3s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); }
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--cream-100);
  margin-bottom: 28px;
}
.testimonial-footer { }
.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-400, #6ee7b7);
}

/* ── CTA ──────────────────────────────────────────── */
.cta {
  padding: 120px 0;
  background: var(--cream-100);
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 20px;
}
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--stone-900);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-address {
  font-size: 0.875rem;
  color: var(--stone-500);
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--cream-50);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-details { margin: 32px 0 40px; }
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.contact-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.contact-value {
  font-size: 1rem;
  color: var(--stone-700);
  line-height: 1.5;
}
.contact-link {
  font-size: 1rem;
  color: var(--emerald-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-link:hover { border-color: var(--emerald-600); }
.contact-map { border-radius: 4px; overflow: hidden; }

.contact-form-wrap { }
.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--stone-800);
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.form-input::placeholder { color: var(--stone-400); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success, .form-error {
  margin-top: 16px;
  font-size: 0.875rem;
  padding: 12px 16px;
  border-radius: 2px;
}
.form-success { background: #ecfdf5; color: #065f46; }
.form-error { background: #fef2f2; color: #991b1b; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--stone-900);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream-100);
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--stone-500);
}
.footer-address {
  font-size: 0.8125rem;
  color: var(--stone-600);
}

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

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .about-inner { gap: 48px; }
  .contact-inner { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(248, 246, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav ul {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .site-nav a { font-size: 1rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0;
  }
  .hero-text { padding-right: 0; order: 1; }
  .hero-image { order: 2; }
  .hero-img-wrap img { aspect-ratio: 4/5; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-stats { flex-wrap: wrap; gap: 24px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
  .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img { aspect-ratio: 16/9; }
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img { aspect-ratio: 1/1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { max-width: 100%; }

  .cta-actions { flex-direction: column; align-items: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-headline { font-size: 2rem; }
  .services-grid .service-card { padding: 32px 24px; }
  .testimonials-grid .testimonial-card { padding: 28px 24px; }
}
