:root {
  --ivory: #f9f2e6;
  --soft-ivory: #fff8f0;
  --sage: #c7d6c4;
  --emerald: #1f4b3a;
  --forest: #163224;
  --amber: #d6a458;
  --terracotta: #c46a4a;
  --ink: #1f1a17;
  --mist: rgba(255, 255, 255, 0.75);
  --shadow: 0 20px 45px rgba(19, 19, 19, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(120deg, #fff4e5 0%, #f2f6ef 45%, #f8efe4 100%);
  min-height: 100vh;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(214, 164, 88, 0.18), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(31, 75, 58, 0.2), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(196, 106, 74, 0.18), transparent 42%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.2;
  z-index: -3;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 242, 230, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 75, 58, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--soft-ivory);
  font-size: 16px;
  letter-spacing: 1px;
}

.brand-text {
  font-size: 18px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(31, 75, 58, 0.2);
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--emerald);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s ease;
}

.nav-toggle.is-open svg {
  transform: rotate(90deg);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s ease;
}

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

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.75;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 75, 58, 0.25);
  background: rgba(255, 255, 255, 0.75);
}

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.hero.slim {
  padding-bottom: 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(214, 164, 88, 0.3), transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button.primary {
  background: var(--emerald);
  color: var(--soft-ivory);
  box-shadow: 0 12px 24px rgba(31, 75, 58, 0.2);
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.ghost {
  border: 1px solid rgba(31, 75, 58, 0.4);
  background: rgba(255, 255, 255, 0.7);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.highlight {
  background: var(--mist);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.highlight-value {
  font-weight: 700;
  font-size: 18px;
  display: block;
}

.highlight-label {
  font-size: 13px;
  color: rgba(31, 26, 23, 0.7);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-card {
  background: var(--soft-ivory);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 75, 58, 0.1);
}

.visual-card h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
}

.visual-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.visual-badge {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(31, 75, 58, 0.95), rgba(22, 50, 36, 0.9));
  color: var(--soft-ivory);
  box-shadow: var(--shadow);
}

.visual-badge span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.visual-badge strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.section {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: 90px;
}

.section.alt {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.callout {
  background: var(--soft-ivory);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 75, 58, 0.12);
  box-shadow: var(--shadow);
}

.callout h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
}

.text-link {
  color: var(--emerald);
  font-weight: 600;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  padding: 8px 14px;
  background: rgba(31, 75, 58, 0.1);
  border-radius: 999px;
  font-size: 13px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--soft-ivory);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 75, 58, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.card h3 {
  font-family: "Playfair Display", serif;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.facts-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.fact-card,
.about-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 75, 58, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.fact-card h3,
.about-card h3 {
  font-family: "Playfair Display", serif;
}

.note {
  margin-top: 28px;
  background: rgba(31, 75, 58, 0.1);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-block {
  background: rgba(255, 255, 255, 0.75);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 75, 58, 0.12);
  box-shadow: var(--shadow);
}

.service-block h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 75, 58, 0.25);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--emerald);
  color: var(--soft-ivory);
  border-color: transparent;
}

.gallery-item {
  min-height: 180px;
  border-radius: var(--radius-md);
  border: none;
  padding: 18px;
  text-align: left;
  color: var(--soft-ivory);
  font-weight: 600;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.theme-rose {
  background: linear-gradient(135deg, rgba(196, 106, 74, 0.9), rgba(214, 164, 88, 0.9));
}

.theme-emerald {
  background: linear-gradient(135deg, rgba(31, 75, 58, 0.95), rgba(19, 41, 32, 0.95));
}

.theme-amber {
  background: linear-gradient(135deg, rgba(214, 164, 88, 0.95), rgba(255, 224, 170, 0.8));
  color: var(--forest);
}

.theme-oak {
  background: linear-gradient(135deg, rgba(88, 59, 46, 0.9), rgba(196, 106, 74, 0.9));
}

.theme-sage {
  background: linear-gradient(135deg, rgba(199, 214, 196, 0.95), rgba(31, 75, 58, 0.75));
}

.theme-night {
  background: linear-gradient(135deg, rgba(14, 16, 28, 0.95), rgba(31, 75, 58, 0.9));
}

.pricing .price-tag {
  font-weight: 600;
  color: rgba(31, 26, 23, 0.75);
}

.pricing-notes {
  margin-top: 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  padding-left: 18px;
  list-style: disc;
}

.pricing.featured {
  border: 2px solid rgba(214, 164, 88, 0.8);
  position: relative;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -40px;
  transform: rotate(35deg);
  background: var(--amber);
  color: var(--forest);
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 700;
}

.disclaimer {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(31, 26, 23, 0.65);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--soft-ivory);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--soft-ivory);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial {
  font-style: italic;
}

.signature {
  font-weight: 600;
  font-style: normal;
  color: rgba(31, 26, 23, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 16px;
  background: var(--soft-ivory);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.map-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.map-graphic {
  height: 200px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(199, 214, 196, 0.6), rgba(214, 164, 88, 0.6));
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--forest);
  border: 1px dashed rgba(31, 75, 58, 0.3);
}

.site-footer {
  padding: 40px 0 20px;
  background: rgba(31, 75, 58, 0.95);
  color: var(--soft-ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.site-footer h3,
.site-footer h4 {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.site-footer a {
  display: block;
  color: var(--soft-ivory);
  opacity: 0.85;
  margin-bottom: 6px;
}

.footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  opacity: 0.7;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.7);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
  z-index: 20;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  background: var(--soft-ivory);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.lightbox-art {
  height: 260px;
  background: linear-gradient(135deg, rgba(214, 164, 88, 0.9), rgba(31, 75, 58, 0.8));
}

.lightbox-text {
  padding: 24px;
}

.lightbox-title {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--soft-ivory);
  font-size: 24px;
  cursor: pointer;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes targetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 164, 88, 0.35);
  }
  60% {
    box-shadow: 0 0 0 8px rgba(214, 164, 88, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 164, 88, 0);
  }
}

.hero:target,
.section:target,
.focus-target {
  animation: targetPulse 0.8s ease;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    order: 3;
    margin-top: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 12px;
  }

  .hero-highlights {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: clamp(3rem, 7vw, 5rem) 0 3rem;
  }

  .section {
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 4.2vw, 3rem);
  }

  .lead {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .nav {
    gap: 16px;
  }

  .nav-links {
    font-size: 13px;
    row-gap: 10px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-highlights {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .card-grid,
  .services-grid,
  .facts-grid,
  .about-grid,
  .steps,
  .contact-grid,
  .footer-grid {
    gap: 16px;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.3rem);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav-links {
    gap: 8px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero::after {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .highlight {
    text-align: center;
  }

  .visual-badge {
    text-align: center;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 14px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .brand-text {
    font-size: 16px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .gallery-item {
    min-height: 150px;
  }

  .map-graphic {
    height: 170px;
  }

  .lightbox-content {
    max-width: 100%;
  }

  .lightbox-art {
    height: 200px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 16px;
  }

  .card,
  .service-block,
  .callout,
  .contact-card,
  .map-card,
  .fact-card,
  .about-card,
  .step {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .filter-btn {
    padding: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
