:root {
  --bg: #f7f3ed;
  --paper: #fffdf9;
  --ink: #2d2722;
  --muted: #6f6358;
  --accent: #7f6b58;
  --accent-dark: #665445;
  --border: #ddd2c6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
}

.site-nav a,
.socials a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.socials a:hover {
  color: var(--accent-dark);
}

.site-nav a.active {
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  color: #f5efe6;
  background: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=80")
    center / cover no-repeat;
}

.home-title {
  padding-bottom: 1.2rem;
  text-align: center;
}

.home-title h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
}

.home-photo {
  padding: 0 0 3rem;
}

.home-photo .container {
  width: 100%;
  max-width: none;
}

.home-photo img {
  width: 100%;
  height: min(72vh, 820px);
  object-fit: cover;
  border-radius: 0;
}

.page-hero {
  padding: 4.2rem 0 2.2rem;
  background: #efe6db;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24, 22, 19, 0.45), rgba(24, 22, 19, 0.6));
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 740px;
}

.kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.hero .kicker {
  color: #eadfce;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0.25rem 0 0.7rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

h3 {
  font-size: 1.5rem;
}

.hero-copy {
  font-size: 1.08rem;
  margin: 0 auto 1.8rem;
}

.section {
  padding: 4.5rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-full {
  max-width: 980px;
}

.details-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.3rem;
}

.details-card ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
}

.btn {
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--border);
}

.gallery {
  background: #efe6db;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.gallery-grid img {
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.faq-item {
  margin-bottom: 1rem;
}

.section-link a {
  color: var(--accent-dark);
  font-weight: 600;
}

.gallery-page {
  background: #f4eee5;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.packages-section {
  padding-top: 2.2rem;
}

.package-card {
  min-height: 320px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(127, 107, 88, 0.08), rgba(127, 107, 88, 0));
  opacity: 0;
  transition: opacity 260ms ease;
}

.package-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 14px 30px rgba(60, 44, 30, 0.12);
}

.package-card:hover::before {
  opacity: 1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms ease, transform 450ms ease;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  min-height: 220px;
  cursor: zoom-in;
}

.tile:hover {
  filter: brightness(0.95);
}

.tile.square {
  grid-column: span 3;
  grid-row: span 1;
  aspect-ratio: 1 / 1;
}

.tile.tall {
  grid-column: span 3;
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.tile.wide {
  grid-column: span 6;
  grid-row: span 1;
  aspect-ratio: 16 / 9;
}

.contact-info-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-info {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-info > p:first-of-type {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-address,
.contact-hours {
  margin: 0.65rem 0;
}

.contact-phone a,
.contact-email a {
  font-size: 1.12rem;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.story-centered {
  max-width: 860px;
  text-align: center;
}

.story-copy {
  margin: 0 auto;
}

.story-copy p {
  margin: 0 auto 1.1rem;
  max-width: 760px;
}

.story-card {
  margin: 1.1rem auto 0;
  max-width: 500px;
  text-align: left;
}

.story-family-photo {
  margin: 1.4rem auto 1rem;
  max-width: 760px;
}

.story-family-photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  border-radius: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.6rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 10, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

.lightbox.open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  width: min(1100px, 88vw);
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 253, 249, 0.15);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  font-size: 1.8rem;
  border-radius: 8px;
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 4vw;
    top: 65px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem;
    flex-direction: column;
    min-width: 180px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

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

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

  .gallery-grid img {
    height: 260px;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile.square,
  .tile.tall,
  .tile.wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-nav {
    width: 42px;
    height: 56px;
  }
}
