/* ============================================================
   WARMOVEN — Stylesheet
   Palette: cream #F7F1E6 · espresso #2E2018 · caramel #A85C2A
            rose #C98A72 · gold #B98B3E · card #FFFDF8
   Type: Fraunces (display) + DM Sans (body/UI)
   ============================================================ */

:root {
  --cream: #F7F1E6;
  --cream-deep: #EFE6D3;
  --card: #FFFDF8;
  --espresso: #2E2018;
  --espresso-soft: #4A362A;
  --caramel: #A85C2A;
  --caramel-dark: #8A481F;
  --rose: #C98A72;
  --gold: #B98B3E;
  --line: rgba(46, 32, 24, 0.12);
  --shadow-sm: 0 2px 10px rgba(46, 32, 24, 0.06);
  --shadow-md: 0 12px 32px rgba(46, 32, 24, 0.10);
  --shadow-lg: 0 24px 60px rgba(46, 32, 24, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --ff-display: 'Fraunces', serif;
  --ff-body: 'DM Sans', sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

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

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--espresso);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  margin: 0;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  margin: 0 0 12px;
}

section { padding: 108px 24px; max-width: var(--container); margin: 0 auto; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.section-sub { color: var(--espresso-soft); font-size: 1.05rem; margin: 0; }
.section-head.light .eyebrow { color: rgba(247,241,230,0.85); }
.section-head.light h2 { color: var(--cream); }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--caramel);
  color: #fff;
  box-shadow: 0 10px 24px rgba(168, 92, 42, 0.32);
}
.btn-primary:hover { background: var(--caramel-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(168, 92, 42, 0.38); }
.btn-outline {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: var(--cream); transform: translateY(-2px); }
.btn-small { padding: 10px 22px; font-size: 0.88rem; }
.btn-full { width: 100%; }

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--caramel-dark);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.text-link:hover { opacity: 0.7; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(247, 241, 230, 0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--espresso);
}
.logo span { color: var(--caramel); }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--espresso-soft);
  position: relative;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--caramel);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: var(--espresso); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 20;
  width: 40px; height: 40px;
  background: none; border: none;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--espresso); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 24px 90px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(185,139,62,0.28) 0%, rgba(185,139,62,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--espresso-soft);
  max-width: 480px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--ff-display); font-size: 1.5rem; }
.hero-stats span { font-size: 0.85rem; color: var(--espresso-soft); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.steam { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); width: 60px; height: 90px; pointer-events: none; }
.steam span {
  position: absolute; bottom: 0; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.55); filter: blur(6px);
  animation: rise 3.2s ease-in infinite;
}
.steam span:nth-child(1) { left: 6px; animation-delay: 0s; }
.steam span:nth-child(2) { left: 26px; animation-delay: 1s; }
.steam span:nth-child(3) { left: 44px; animation-delay: 2s; }
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: translateY(-90px) scale(1.8); opacity: 0; }
}
.hero-badge {
  position: absolute;
  bottom: -22px; left: 24px;
  background: var(--card);
  border-radius: 999px;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6E9A5C;
  box-shadow: 0 0 0 4px rgba(110,154,92,0.2);
}
.hero-scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--espresso-soft); opacity: 0.6;
}
.hero-scroll-cue span { width: 1px; height: 26px; background: var(--espresso-soft); animation: scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--espresso); padding: 0; max-width: none; }
.trust-inner {
  max-width: var(--container); margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.trust-inner p { margin: 0; color: rgba(247,241,230,0.9); font-size: 0.9rem; font-weight: 500; }
.trust-inner .dot { color: var(--gold); }

/* ============================================================
   CAKES
   ============================================================ */
.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.cake-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.cake-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cake-media { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.cake-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cake-card:hover .cake-media img { transform: scale(1.07); }
.cake-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(46,32,24,0.85); color: var(--cream);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px;
}
.cake-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cake-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cake-name { font-size: 1.18rem; }
.cake-rating { font-size: 0.82rem; color: var(--espresso-soft); white-space: nowrap; }
.cake-rating strong { color: var(--espresso); }
.cake-desc { color: var(--espresso-soft); font-size: 0.92rem; margin: 0; flex: 1; }
.cake-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cake-price { font-family: var(--ff-display); font-size: 1.15rem; }
.cake-price span { font-size: 0.8rem; color: var(--espresso-soft); font-family: var(--ff-body); }
.cake-customize-btn {
  background: transparent; border: 1.5px solid var(--espresso);
  border-radius: 999px; padding: 9px 18px; font-size: 0.86rem; font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.cake-customize-btn:hover { background: var(--espresso); color: var(--cream); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream-deep); max-width: none; padding: 108px 0; }
.about-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.about-media { position: relative; }
.about-img-main { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img-accent {
  position: absolute; width: 46%; aspect-ratio: 1/1; object-fit: cover;
  bottom: -30px; right: -30px;
  border-radius: var(--radius-md);
  border: 6px solid var(--cream-deep);
  box-shadow: var(--shadow-md);
}
.about-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-copy p { color: var(--espresso-soft); font-size: 1.04rem; margin: 0 0 16px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--espresso); max-width: none; padding: 108px 24px; }
.why-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px;
}
.why-card {
  background: rgba(247,241,230,0.05);
  border: 1px solid rgba(247,241,230,0.12);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.why-card:hover { background: rgba(247,241,230,0.09); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(185,139,62,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 20px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { color: var(--cream); font-size: 1.14rem; margin-bottom: 8px; }
.why-card p { color: rgba(247,241,230,0.72); font-size: 0.92rem; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.testimonial-card {
  background: var(--card); border-radius: var(--radius-md);
  padding: 32px 28px; box-shadow: var(--shadow-sm); margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial-card blockquote { margin: 0; font-family: var(--ff-display); font-size: 1.08rem; line-height: 1.5; font-style: italic; font-weight: 450; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream-deep); color: var(--caramel-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.testimonial-card figcaption strong { display: block; font-size: 0.92rem; }
.testimonial-card figcaption span { font-size: 0.8rem; color: var(--espresso-soft); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; grid-column: span 1; grid-row: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 24px 4px; font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--espresso);
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--espresso);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { margin: 0 4px 22px; color: var(--espresso-soft); max-width: 640px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--cream-deep); color: var(--caramel-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--espresso-soft); font-size: 0.95rem; }
.contact-list a:hover { color: var(--caramel); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--espresso); color: rgba(247,241,230,0.85); }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 72px 24px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
}
.footer-logo { color: var(--cream); margin-bottom: 14px; display: inline-block; }
.footer-logo span { color: var(--gold); }
.footer-brand p { max-width: 320px; color: rgba(247,241,230,0.65); font-size: 0.94rem; margin: 0 0 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(247,241,230,0.25);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social a:hover { background: rgba(247,241,230,0.12); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links h4 { color: var(--cream); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-links a { display: block; color: rgba(247,241,230,0.65); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(247,241,230,0.12);
  max-width: var(--container); margin: 0 auto; padding: 22px 24px;
  display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(247,241,230,0.55);
}

/* ============================================================
   MODAL — Customize Cake
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(46,32,24,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: var(--radius-lg);
  max-width: 880px; width: 100%; max-height: 88vh; overflow-y: auto;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); color: var(--espresso);
}
.modal-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.modal-media { aspect-ratio: 1/1; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.modal-body { padding: 36px 36px 32px; display: flex; flex-direction: column; }
.modal-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-desc { color: var(--espresso-soft); font-size: 0.95rem; margin: 0 0 24px; }

.option-block { margin-bottom: 20px; }
.option-label { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--espresso-soft); margin-bottom: 10px; }

.weight-scale { display: flex; gap: 10px; flex-wrap: wrap; }
.weight-btn {
  border: 1.5px solid var(--line); background: transparent;
  padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  color: var(--espresso-soft); transition: all 0.2s ease;
}
.weight-btn:hover { border-color: var(--caramel); }
.weight-btn.active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }

.qty-control { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control button {
  width: 40px; height: 40px; border: none; background: var(--cream-deep);
  font-size: 1.1rem; font-weight: 600; color: var(--espresso);
}
.qty-control button:hover { background: var(--caramel); color: #fff; }
.qty-control span { width: 44px; text-align: center; font-weight: 700; }

#cakeMessage, #deliveryDate {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); font-size: 0.95rem; background: var(--cream);
  color: var(--espresso);
}
#cakeMessage:focus, #deliveryDate:focus { outline: none; border-color: var(--caramel); }

.modal-price-row {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.price-label { display: block; font-size: 0.8rem; color: var(--espresso-soft); }
.modal-price { font-family: var(--ff-display); font-size: 1.7rem; }

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto 40px; }
  .about-img-accent { right: -16px; bottom: -24px; width: 42%; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16/9; }
  .modal-media img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: 0; z-index: 10; height: 100vh; width: 280px;
    max-width: 80vw;
    background: var(--cream); flex-direction: column; padding: 100px 32px; gap: 26px;
    transform: translateX(100%); transition: transform 0.35s ease; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-scrim {
    display: none;
    position: fixed; inset: 0; z-index: 490;
    background: rgba(46,32,24,0.35);
  }
  .nav-scrim.active { display: block; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  section { padding: 76px 20px; }
  .hero { padding-top: 128px; }
  .hero-stats { gap: 26px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
}
