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

:root {
  --forest: #1B4332;
  --forest-light: #2D6A4F;
  --forest-dark: #0F291D;
  --off-white: #FAF8F5;
  --cream: #F2EFE9;
  --warm-gray: #6B6560;
  --text: #1A1A1A;
  --text-light: #4A4A4A;
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --border: rgba(27, 67, 50, 0.12);
  --border-strong: rgba(27, 67, 50, 0.25);
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--forest);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  font-size: 0.875rem;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 1px 20px rgba(27, 67, 50, 0.06);
}

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

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

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--forest);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color var(--transition);
}

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

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

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

.nav-cta {
  background: var(--forest) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition) !important;
}

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

.nav-cta:hover {
  background: var(--forest-light) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  padding: 0;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 20px;
  height: 1px;
  background: var(--forest);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--forest);
  transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 106, 79, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 168, 67, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(27, 67, 50, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--off-white) 50%, var(--cream) 100%);
  z-index: 0;
}

/* Subtle animated grain overlay */
.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--forest-dark);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero-address {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 67, 50, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  transform: translateY(-2px);
}

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: var(--border-strong);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease) 1.4s forwards;
}

.hero-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 16px;
  background: var(--forest);
  animation: scrollLine 2s ease-in-out infinite;
}

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

.divider-line {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: var(--border);
}

/* ── Section shared ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest-dark);
}

/* ── Services ── */
.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--off-white);
  padding: 40px 32px;
  transition: background var(--transition);
}

.service-card:hover {
  background: var(--cream);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--forest);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--forest-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
}

/* ── About ── */
.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.about-image-wrap:hover .about-image {
  transform: scale(1.03);
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  pointer-events: none;
}

.about-content {
  padding: 16px 0;
}

.about-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.15) 0%, transparent 40%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Vary heights for visual interest */
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { height: 100%; min-height: 400px; }
.gallery-item:nth-child(5) { grid-row: span 2; }
.gallery-item:nth-child(5) img { height: 100%; min-height: 400px; }

/* ── Contact ── */
.contact {
  padding: 100px 0;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--forest);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}

.contact-link {
  color: var(--forest);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}

.contact-link:hover {
  border-color: var(--forest);
}

.map-link {
  margin-top: 40px;
}

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--forest-dark);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

.form-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

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

.form-select {
  cursor: pointer;
  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='%236B6560' 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-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--forest);
}

/* ── Footer ── */
#site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

#site-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

#site-footer a:hover {
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .logo-mark {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 300;
}

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

.footer-contact address {
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0% { transform: translateY(-4px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 110;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--off-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 80px 40px 40px;
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 100;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list li {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav-list.open li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-list.open li:nth-child(1) { transition-delay: 0.1s; }
  .nav-list.open li:nth-child(2) { transition-delay: 0.15s; }
  .nav-list.open li:nth-child(3) { transition-delay: 0.2s; }
  .nav-list.open li:nth-child(4) { transition-delay: 0.25s; }
  .nav-list.open li:nth-child(5) { transition-delay: 0.3s; }

  .nav-list a {
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none !important;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 24px 60px;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

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

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

  .about-image-wrap {
    max-height: 400px;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-row: span 1;
  }

  .gallery-item img {
    min-height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

  .stat-divider {
    display: none;
  }

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

/* Overlay for mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
