:root {
  --ink: #2f261f;
  --espresso: #4b382d;
  --espresso-deep: #34261f;
  --brown: #765f4c;
  --taupe: #a48e78;
  --sand: #dfd1bf;
  --cream: #f1e9de;
  --ivory: #faf7f0;
  --paper: #fffdf9;
  --gold: #b48a4a;
  --gold-soft: #d5b87f;
  --line: rgba(47, 38, 31, .14);
  --shadow: 0 24px 70px rgba(62, 46, 35, .16);
  --radius: 22px;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--paper);
  padding: .8rem 1rem; border-radius: 8px; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-height); display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem); transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 74px; background: rgba(250,247,240,.95); backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(62,46,35,.09);
}
.brand { display: inline-flex; width: 124px; height: 65px; align-items: center; text-decoration: none; }
.brand img { width: 100%; max-height: 100%; object-fit: contain; }
.site-header:not(.scrolled) .brand img { filter: drop-shadow(0 2px 8px rgba(255,255,255,.55)); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  color: white; text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; transition: opacity .2s ease, color .2s ease;
}
.site-header.scrolled .site-nav a { color: var(--espresso-deep); }
.site-nav a:hover { opacity: .62; }
.site-nav .nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: .7rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .7rem; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; transition: .25s ease; }
.site-header.scrolled .menu-toggle span:not(.sr-only) { background: var(--espresso-deep); }

.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: white;
}
.hero-media { position: absolute; inset: 0; background: url("assets/hero.webp") center 48% / cover no-repeat; transform: scale(1.025); animation: heroZoom 16s ease-out both; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(55,39,29,.78) 0%, rgba(73,52,38,.48) 47%, rgba(76,55,40,.12) 100%), linear-gradient(0deg, rgba(48,33,25,.32), transparent 52%);
}
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding-top: var(--header-height); }
.eyebrow, .kicker { margin: 0 0 1.1rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .76rem; }
.eyebrow { color: #f3e6cf; }
.hero h1 {
  max-width: 870px; margin: 0 0 2rem; font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 7.2vw, 7rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 0; border-radius: 999px;
  padding: 1rem 1.45rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--espresso-deep); background: #ead8b6; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.button-primary:hover { background: #f5e9d1; box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.button-dark { color: white; background: var(--espresso); width: fit-content; }
.button-dark:hover { background: var(--espresso-deep); }
.scroll-cue {
  position: absolute; z-index: 2; bottom: 1.8rem; right: clamp(1.25rem, 4vw, 4.5rem); color: white;
  display: flex; gap: .8rem; align-items: center; text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue span:last-child { font-size: 1.25rem; animation: bob 1.6s ease-in-out infinite; }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; scroll-margin-top: 70px; }
.section-inner { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.kicker { color: var(--gold); }
h2 {
  font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance;
}

.about { background: var(--ivory); }
.about-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-image { margin: 0; position: relative; }
.about-image::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(180,138,74,.45); border-radius: var(--radius); z-index: 0; }
.about-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.gold-rule { width: 70px; height: 2px; background: var(--gold); margin: 2rem 0; }
.about-copy { font-size: clamp(1rem, 1.3vw, 1.17rem); color: #5b4c40; }
.about-copy p { margin: 0 0 1.25rem; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; margin-top: .45rem; color: var(--espresso-deep); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .35rem; }

.gallery { background: var(--paper); overflow: hidden; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 650px; color: #6f6054; font-size: 1.05rem; }
.gallery-showcase { position: relative; }
.gallery-viewport {
  overflow-x: auto; padding: .75rem .25rem 2.5rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-inline: contain;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); align-items: flex-start; }
.gallery-card {
  flex: 0 0 calc((100% - 3rem) / 3); margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 18px; scroll-snap-align: start; background: var(--cream);
  border: 1px solid rgba(75,56,45,.1); box-shadow: 0 14px 38px rgba(62,46,35,.11);
  opacity: .78; transform: translateY(0); transition: opacity .45s ease, transform .45s ease, box-shadow .45s ease;
}
.gallery-card:nth-child(3n + 2) { margin-top: 2.2rem; }
.gallery-card.is-active { opacity: 1; transform: translateY(-5px); box-shadow: 0 22px 55px rgba(62,46,35,.17); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-toolbar {
  display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center;
  gap: clamp(1rem, 3vw, 2rem); margin-top: .25rem; color: var(--espresso-deep);
}
.gallery-toolbar p { margin: 0; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }
.gallery-progress { height: 1px; background: rgba(75,56,45,.16); overflow: hidden; }
.gallery-progress span { display: block; width: 10%; height: 100%; background: var(--gold); transition: width .55s ease; }
.gallery-controls { display: flex; gap: .65rem; }
.gallery-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(75,56,45,.22);
  background: var(--ivory); color: var(--espresso-deep); cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.gallery-arrow:hover { transform: translateY(-2px); background: var(--cream); border-color: var(--gold); }
.testimonials { background: var(--espresso); color: var(--ivory); }
.section-heading.light > p:last-child { color: rgba(250,247,240,.67); }
.testimonial-slider { max-width: 900px; margin: 0 auto; }
.testimonial-slides {
  position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius);
  background: rgba(255,253,249,.075); border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 20px 70px rgba(31,20,14,.18);
}
.testimonial-slide {
  position: absolute; inset: 0; padding: clamp(2rem, 6vw, 4.5rem); display: flex; flex-direction: column;
  opacity: 0; transform: translateX(35px); pointer-events: none;
  transition: opacity .7s ease, transform .7s ease;
}
.testimonial-slide.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.quote-mark { font-family: Georgia, serif; font-size: 5rem; color: var(--gold-soft); line-height: .7; }
.testimonial-slide > p { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 1.95rem); line-height: 1.42; margin: 1.5rem 0 auto; max-width: 780px; }
.testimonial-slide footer { margin-top: 2rem; font-weight: 700; }
.testimonial-slide footer span { display: block; margin-top: .2rem; font-size: .78rem; color: rgba(250,247,240,.55); text-transform: uppercase; letter-spacing: .12em; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.testimonial-arrow:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.testimonial-dots { display: flex; gap: .55rem; align-items: center; }
.testimonial-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s ease, background .25s ease; }
.testimonial-dot.is-active { width: 26px; background: var(--gold-soft); }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-intro > p:not(.kicker) { color: #6c5b4e; font-size: 1.05rem; max-width: 520px; }
.contact-links { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-links a { text-decoration: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: .9rem; }
.contact-links span { color: #897565; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-links strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-form-shell {
  background: var(--paper);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(75,56,45,.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(74,55,42,.12);
}
.contact-form { display: grid; gap: 1.25rem; }
.form-field { display: grid; gap: .48rem; }
.form-field label {
  color: var(--espresso-deep);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(75,56,45,.2);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  padding: .95rem 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(180,138,74,.12);
}
.form-field [aria-invalid="true"] {
  border-color: #9a4e43;
  box-shadow: 0 0 0 4px rgba(154,78,67,.1);
}
.field-error {
  min-height: 1.15rem;
  color: #8b443b;
  font-size: .78rem;
}
.form-submit { min-width: 175px; margin-top: .2rem; }
.form-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.form-success,
.form-alert {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  font-size: .92rem;
}
.form-success {
  color: #365438;
  background: #edf4e9;
  border: 1px solid rgba(54,84,56,.18);
}
.form-alert {
  color: #7c3f37;
  background: #f8ece8;
  border: 1px solid rgba(124,63,55,.16);
}
[data-fs-success]:not([data-fs-active]),
[data-fs-error=""]:not([data-fs-active]) { display: none; }

.site-footer { background: var(--espresso-deep); color: white; padding: 4rem 0 2rem; }
.footer-inner { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 1rem; }
.footer-logo { width: 150px; display: block; padding: .8rem; border-radius: 12px; background: white; }
.footer-logo img { width: 100%; }
.footer-inner > p { color: rgba(255,255,255,.62); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.footer-links a { color: white; text-underline-offset: .25rem; }
.copyright { font-size: .82rem; margin-top: 1.2rem !important; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.thank-you { min-height: 100svh; display: grid; place-items: center; padding: 2rem; background: var(--cream); }
.thank-you-card { max-width: 680px; text-align: center; background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(2rem, 6vw, 4.5rem); }
.thank-you-card img { width: 180px; margin: 0 auto 2rem; }
.thank-you-card h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin: 0 0 1rem; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.025); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .menu-toggle { display: block; z-index: 102; }
  .site-nav {
    position: fixed; inset: 0; background: var(--ivory); flex-direction: column; justify-content: center; gap: 1.6rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a, .site-header:not(.scrolled) .site-nav a { color: var(--espresso-deep); font-size: 1.15rem; }
  .menu-toggle.is-open span:not(.sr-only) { background: var(--espresso-deep); }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gallery-card { flex-basis: calc((100% - 1.5rem) / 2); }
  .gallery-card:nth-child(3n + 2) { margin-top: 1.4rem; }
  .about-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 760px; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 1rem; }
  .brand { width: 104px; }
  .hero-content { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-overlay { background: linear-gradient(90deg, rgba(55,39,29,.8), rgba(73,52,38,.38)), linear-gradient(0deg, rgba(48,33,25,.4), transparent 50%); }
  .scroll-cue { display: none; }
  .section-inner { width: calc(100% - 2rem); }
  .about-image::before { inset: 10px -10px -10px 10px; }
  .about-image img { aspect-ratio: 1 / .92; }
  .gallery-card { flex-basis: 84%; }
  .gallery-card:nth-child(3n + 2) { margin-top: 1rem; }
  .gallery-toolbar { grid-template-columns: 1fr auto; }
  .gallery-toolbar p { display: none; }
  .gallery-progress { min-width: 0; }
  .gallery-arrow { width: 42px; height: 42px; }
  .testimonial-slides { min-height: 500px; }
  .testimonial-slide { padding: 2rem 1.4rem; }
  .contact-form-shell { padding: 1.25rem; }
  .form-submit { width: 100%; }
  .footer-links { flex-direction: column; gap: .6rem; }
}

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