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

:root {
  --terracotta: #B85C38;
  --terracotta-dark: #9A4B2E;
  --terracotta-light: #D4845E;
  --sand: #F5EDE4;
  --sand-light: #FAF6F1;
  --sand-dark: #E8DDD2;
  --charcoal: #2A2420;
  --charcoal-light: #4A403A;
  --warm-gray: #7A6E66;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ── Skip Link ────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

/* ── Typography ───────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn-full { width: 100%; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-dark);
  transition: background 0.3s var(--ease);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.logo-mark {
  font-size: 1rem;
  color: var(--terracotta);
  line-height: 1;
}

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

.main-nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal-light);
  position: relative;
  transition: color 0.2s;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s var(--ease);
}

.main-nav a:not(.btn):hover { color: var(--terracotta); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.main-nav .btn { margin-left: 12px; }

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.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: rotate(-45deg) translate(4px, -5px);
}

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

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

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(42, 36, 32, 0.88) 0%,
    rgba(42, 36, 32, 0.72) 50%,
    rgba(42, 36, 32, 0.85) 100%
  );
}

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

.hero-eyebrow {
  color: var(--terracotta-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
}

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

.hero-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.hero-details a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.hero-details a:hover { color: var(--white); }

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

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), 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); }
}

/* ── Intro ────────────────────────────────────────────────────── */
.intro {
  padding: 120px 0;
  background: var(--sand-light);
}

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

.intro-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.intro-text .section-title { margin-bottom: 24px; }

.intro-text p {
  color: var(--charcoal-light);
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.intro-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--sand-dark);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}

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

/* ── Services ─────────────────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  padding: 40px 32px;
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  background: var(--sand-light);
}

.service-card:hover {
  border-color: var(--terracotta-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(184, 92, 56, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.75;
}

.services-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--warm-gray);
  font-style: italic;
}

/* ── Gallery ──────────────────────────────────────────────────── */
.gallery {
  padding: 120px 0;
  background: var(--sand-light);
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: auto;
}

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

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(6) img { aspect-ratio: 4/5; }

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(5) img { aspect-ratio: 4/3; }

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

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--charcoal);
}

.testimonials .section-header { margin-bottom: 56px; }
.testimonials .eyebrow { color: var(--terracotta-light); }
.testimonials .section-title { color: var(--white); }

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

.testimonial {
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.testimonial footer {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-light);
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta {
  padding: 120px 0;
  background: var(--terracotta);
  text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }

.cta .eyebrow { color: rgba(255,255,255,0.7); }

.cta-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.cta-actions .btn-outline-light {
  border-color: rgba(255,255,255,0.6);
}
.cta-actions .btn-outline-light:hover {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}

/* ── Contact ──────────────────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--sand-light);
}

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

.contact-details {
  font-style: normal;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand-dark);
}

.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.contact-item span,
.contact-item a {
  font-size: 1.0625rem;
  color: var(--charcoal);
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--terracotta); }

.contact-map {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.map-caption {
  font-size: 0.8125rem;
  color: var(--warm-gray);
  padding: 12px 4px;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  border: 1px solid var(--sand-dark);
}

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

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand-dark);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray);
  opacity: 0.7;
}

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

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--warm-gray);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--terracotta);
  margin: 0 auto 16px;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-top .logo { color: var(--white); }

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--terracotta-light); }

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--sand-light);
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    z-index: 100;
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .main-nav a:not(.btn) { font-size: 1.0625rem; }
  .main-nav .btn { margin-left: 0; width: 100%; text-align: center; }

  .hero { padding: 100px 24px 80px; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

  .intro { padding: 80px 0; }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-image { aspect-ratio: 3/4; }
  .intro-stats { gap: 32px; flex-wrap: wrap; }

  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }

  .gallery { padding: 80px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img,
  .gallery-item:nth-child(6) img { aspect-ratio: 4/3; }

  .testimonials { padding: 80px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial:last-child { grid-column: span 1; max-width: 100%; }

  .cta { padding: 80px 0; }

  .contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .site-footer { padding: 48px 0 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
