/* ── SELAH SPACES · TEMPLE EDITION ─────────────────────────────────────
   Sanctuary palette: limestone, travertine, warm ivory, oak, charcoal,
   antique brass. The photographic ruins canvas (#scene) is the page
   background; ivory text floats over it, dense content rests on
   translucent limestone tablets. Brand fonts kept: Cormorant Garamond
   (display serif) + DM Sans (UI sans). */

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

:root {
  --ivory: #F8F5EF;
  --ivory-soft: rgba(248,245,239,0.84);
  --limestone: #DED3BC;
  --travertine: #C9B992;
  --oak: #A67C52;
  --charcoal: #241D18;
  --charcoal-soft: #3A322B;
  --brass: #B08D57;
  --brass-deep: #96733F;
  --muted: #6E6257;
  --tablet: rgba(248,245,239,0.90);
  --tablet-solid: #F8F5EF;
  --line: rgba(36,29,24,0.14);
  --line-light: rgba(248,245,239,0.28);
  --ease: cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--ivory);
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── FIXED SCENE: the temple canvas + atmosphere ── */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.scrim-top { background: linear-gradient(to bottom, rgba(24,18,12,0.66), rgba(24,18,12,0) 26%); }
.scrim-bottom { background: linear-gradient(to top, rgba(24,18,12,0.60), rgba(24,18,12,0) 42%); }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(0,0,0,0) 52%, rgba(20,13,7,0.5) 100%); }
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 3; pointer-events: none; opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); }

/* Content floats above the scene */
main { position: relative; z-index: 5; }
body > section { position: relative; z-index: 5; }

/* Ivory display text over photography — soft shadow keeps it legible */
.hero-headline, .section-title, .hero-eyebrow, .hero-sub, .hero-note,
.gal-room, .gal-note, .about-signature {
  text-shadow: 0 1px 14px rgba(20,13,7,0.55), 0 1px 3px rgba(20,13,7,0.6);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(24,18,12,0.72) 0%, rgba(24,18,12,0.35) 70%, transparent);
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 400; letter-spacing: 0.08em;
  color: var(--ivory); text-decoration: none;
}
.nav-logo span { color: var(--brass); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.lang-toggle { display: flex; align-items: center; border: 1px solid var(--line-light); overflow: hidden; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ivory-soft); padding: 7px 14px;
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active { background: var(--brass); color: var(--charcoal); }
.lang-btn:hover:not(.active) { color: var(--ivory); }
.nav-cta {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px; transition: opacity 0.2s; cursor: pointer; background: none;
  border-top: none; border-left: none; border-right: none; font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { opacity: 0.7; }

/* ── SITE MENU ── */
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease; white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a:focus-visible { opacity: 1; color: var(--brass); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-light);
  color: var(--ivory); font-size: 15px; line-height: 1; cursor: pointer;
  padding: 9px 12px; letter-spacing: 0;
}
.nav-toggle:hover { border-color: var(--brass); color: var(--brass); }

@media (max-width: 900px) {
  .nav-toggle { display: block; order: 3; }
  .nav-menu {
    display: none; order: 4; flex-basis: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    margin-top: 16px; border-top: 1px solid var(--line-light);
    background: rgba(24,18,12,0.92);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    width: 100%; padding: 15px 2px; font-size: 13px;
    border-bottom: 1px solid var(--line-light);
  }
  nav { flex-wrap: wrap; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative; overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.chapter {
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.6rem;
  text-shadow: 0 1px 8px rgba(20,13,7,0.6);
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--limestone); margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(56px, 11vw, 130px);
  font-weight: 300; line-height: 0.92;
  letter-spacing: -0.02em; color: var(--ivory);
}
.hero-headline em { color: var(--brass); font-style: italic; display: block; }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); font-weight: 300;
  color: var(--ivory-soft); max-width: 520px; line-height: 1.75;
  margin-top: 36px;
}
.hero-actions {
  margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.btn-primary {
  display: inline-block; padding: 18px 52px;
  background: var(--ivory); color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid var(--ivory);
  transition: background 0.3s, color 0.3s;
}
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--ivory); }
.btn-ghost {
  display: inline-block; padding: 18px 52px;
  background: transparent; color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid rgba(248,245,239,0.45);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { border-color: var(--ivory); background: rgba(248,245,239,0.08); }
.hero-note { font-size: 12px; color: var(--ivory-soft); letter-spacing: 0.05em; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-soft); }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: rgba(24,18,12,0.55);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 20px 48px;
  overflow: hidden;
  position: relative; z-index: 5;
  backdrop-filter: blur(3px);
}
.trust-bar-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 28px;
  border-right: 1px solid var(--line-light);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ivory-soft);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-dot { width: 5px; height: 5px; background: var(--brass); border-radius: 50%; flex-shrink: 0; }

/* ── SECTION COMMON ── */
.section-eyebrow {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(20,13,7,0.6);
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 5vw, 54px); font-weight: 300;
  line-height: 1.12; color: var(--ivory);
  text-wrap: balance;
}
.divider { width: 48px; height: 1px; background: var(--brass); margin: 32px 0; }

/* ── SERVICES ── */
.services { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: 72px; }
.services-header .section-eyebrow, .services-header .section-title { text-align: center; }
.services-header .divider { margin: 24px auto 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--tablet);
  padding: 48px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.service-card:hover { border-top-color: var(--brass); background: var(--tablet-solid); }
.service-icon { font-size: 26px; margin-bottom: 28px; display: block; color: var(--brass-deep); }
.service-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 400; margin-bottom: 14px; color: var(--charcoal);
}
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.service-link {
  display: inline-block; margin-top: 18px;
  font-size: 12px; letter-spacing: 0.08em; color: var(--brass-deep);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.service-link:hover { border-bottom-color: var(--brass-deep); }

/* ── HOW IT WORKS ── */
.how { padding: 120px 48px; }
.how-inner { max-width: 1000px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 80px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; position: relative; }
.how-step {
  padding: 52px 40px;
  background: var(--tablet);
  position: relative;
  text-align: center;
}
.step-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px; font-weight: 300;
  color: rgba(150,115,63,0.25);
  line-height: 1; margin-bottom: 24px;
  display: block;
}
.step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px; font-weight: 400;
  margin-bottom: 14px; color: var(--charcoal);
}
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.step-accent { width: 2px; height: 40px; background: var(--brass); margin: 0 auto 24px; }

/* ── GALLERY ── */
.gallery { padding: 120px 0; border-top: 1px solid var(--line-light); }
.gallery-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.gallery-header { margin-bottom: 56px; }
.gal-stage { position: relative; overflow: hidden; border: 1px solid var(--line-light); border-radius: 2px; background: rgba(24,18,12,0.55); }
.gal-track { display: flex; transition: transform 0.9s cubic-bezier(0.22,0.61,0.36,1); }
.gal-slide { flex: 0 0 100%; position: relative; }
.gal-slide img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gal-veil { position: absolute; inset: auto 0 0 0; padding: 64px 40px 32px;
  background: linear-gradient(to top, rgba(20,13,7,0.92) 0%, rgba(20,13,7,0.6) 45%, transparent 100%); }
.gal-room { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 300; color: var(--ivory); line-height: 1.1; }
.gal-note { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 300; color: var(--limestone);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 10px; }
.gal-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.gal-dots { display: flex; gap: 8px; }
.gal-dot { width: 32px; height: 2px; padding: 0; border: 0; background: var(--line-light); cursor: pointer; transition: background 0.3s ease; }
.gal-dot[aria-current="true"] { background: var(--brass); }
.gal-dot:hover { background: var(--limestone); }
.gal-arrows { display: flex; gap: 10px; }
.gal-arrow { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-light); color: var(--ivory); cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease; }
.gal-arrow:hover { border-color: var(--brass); background: rgba(248,245,239,0.08); }
.gal-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
@media (max-width: 768px) {
  .gallery { padding: 80px 0; }
  .gallery-inner { padding: 0 20px; }
  .gal-slide img { aspect-ratio: 4/3; }
  .gal-veil { padding: 48px 24px 24px; }
  .gal-room { font-size: 1.5rem; }
  .gal-controls { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gal-track { transition: none; } }

/* ── OUR PROMISE ── */
.promise-section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.promise-header { text-align: center; margin-bottom: 72px; }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.promise-card {
  background: var(--tablet);
  padding: 44px 36px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.promise-card:hover { border-bottom-color: var(--brass); }
.promise-mark { color: var(--brass-deep); font-size: 13px; letter-spacing: 3px; margin-bottom: 20px; }
.promise-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-style: italic; font-weight: 300;
  line-height: 1.6; color: var(--charcoal); margin-bottom: 28px;
}
.promise-title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.promise-meta { font-size: 11px; color: var(--brass-deep); margin-top: 4px; }

/* ── ABOUT ── */
.about { padding: 120px 48px; }
.about-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center;
}
.about-body { font-size: 15px; color: var(--ivory-soft); line-height: 1.9; margin-bottom: 20px;
  text-shadow: 0 1px 10px rgba(20,13,7,0.55); }
.about-signature { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 32px; font-style: italic; color: var(--brass); margin-top: 36px; display: block; }
.stats { display: flex; flex-direction: column; gap: 28px; }
.stat-block { border-left: 2px solid var(--brass); padding-left: 28px; }
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px; font-weight: 300; color: var(--ivory); line-height: 1;
  text-shadow: 0 1px 12px rgba(20,13,7,0.6);
}
.stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-soft); margin-top: 4px; }

/* ── QUOTE ── */
.promise-wrap { position: relative; z-index: 5; padding: 0 48px; }
.promise {
  max-width: 880px; margin: 0 auto;
  padding: 100px 0; text-align: center;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.promise-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 4vw, 44px); font-weight: 300; font-style: italic;
  line-height: 1.4; color: var(--ivory);
  text-shadow: 0 1px 14px rgba(20,13,7,0.6);
}
.promise-quote em { color: var(--brass); font-style: normal; }

/* ── FAQ ── */
.faq { padding: 120px 48px; }
.faq-inner { max-width: 760px; margin: 0 auto; background: var(--tablet); padding: 64px 56px; }
.faq-header { margin-bottom: 56px; }
.faq-header .section-title { color: var(--charcoal); text-shadow: none; }
.faq-header .section-eyebrow { color: var(--brass-deep); text-shadow: none; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-weight: 400; color: var(--charcoal);
  transition: color 0.2s;
  gap: 16px;
}
.faq-question:hover { color: var(--brass-deep); }
.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--brass-deep);
  font-size: 16px; line-height: 1;
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brass); color: var(--ivory); border-color: var(--brass); }
.faq-answer {
  font-size: 14px; color: var(--muted); line-height: 1.85;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 240px; padding-bottom: 24px; }

/* ── CONTACT ── */
.contact { padding: 120px 48px; }
.contact-inner { max-width: 640px; margin: 0 auto; background: var(--tablet); padding: 64px 56px; }
.contact-header { margin-bottom: 48px; }
.contact-header .section-title { color: var(--charcoal); text-shadow: none; }
.contact-header .section-eyebrow { color: var(--brass-deep); text-shadow: none; }
.contact-sub { font-size: 15px; color: var(--muted); line-height: 1.75; margin-top: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  background: #FFFFFF; border: 1px solid var(--line);
  color: var(--charcoal); font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 300;
  padding: 14px 18px; outline: none;
  transition: border-color 0.2s; -webkit-appearance: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brass); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #A89C8C; }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select option { background: #FFFFFF; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.5; }

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 11.5px; color: var(--muted); line-height: 1.6;
  margin-top: 4px;
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px;
  border: 1px solid var(--brass); background: transparent;
  cursor: pointer; position: relative; border-radius: 1px;
}
.consent input[type="checkbox"]:checked { background: var(--brass); border-color: var(--brass); }
.consent input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory); font-size: 11px; line-height: 1;
}
.consent a { color: var(--muted); text-decoration: underline; }
.consent a:hover { color: var(--brass-deep); }

.form-error {
  display: none; padding: 16px 18px; margin-top: 12px;
  background: rgba(190,80,60,0.10); border: 1px solid rgba(190,80,60,0.4);
  font-size: 13px; color: #8A3B2A; line-height: 1.6;
}
.form-error a { color: var(--brass-deep); }

.form-success {
  display: none; padding: 32px;
  background: rgba(176,141,87,0.10); border: 1px solid var(--brass);
  text-align: center;
}
.form-success p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px; color: var(--brass-deep); margin-bottom: 8px;
}
.form-success span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  padding: 48px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(176,141,87,0.3);
  gap: 24px;
  background: var(--charcoal);
  position: relative; z-index: 5;
}
.footer-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--ivory); }
.footer-logo span { color: var(--brass); }
.footer-copy { font-size: 12px; color: var(--limestone); opacity: 0.75; text-align: center; }
.footer-contact { font-size: 13px; color: var(--limestone); opacity: 0.85; text-align: right; }
.footer-contact a { color: var(--brass); text-decoration: none; }

/* ── MOBILE CTA ── */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--ivory);
  padding: 18px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.mobile-cta button {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
}

/* ── POPUP ── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,13,7,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.popup-overlay.active { opacity: 1; pointer-events: all; }
.popup {
  background: var(--tablet-solid);
  border: 1px solid var(--brass);
  max-width: 500px; width: 100%;
  padding: 60px 52px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.4s ease;
  color: var(--charcoal);
}
.popup-overlay.active .popup { transform: translateY(0); }
.popup-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--charcoal); }
.popup-eyebrow { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 16px; }
.popup-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px; font-weight: 300; line-height: 1.15; margin-bottom: 14px; color: var(--charcoal); }
.popup-sub { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.popup-form { display: flex; flex-direction: column; gap: 14px; }
.popup-form input {
  background: #FFFFFF; border: 1px solid var(--line);
  color: var(--charcoal); font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 300;
  padding: 14px 18px; outline: none; width: 100%;
  transition: border-color 0.2s;
}
.popup-form input:focus { border-color: var(--brass); }
.popup-form input::placeholder { color: #A89C8C; }
.popup-disclaimer { font-size: 11px; color: var(--muted); line-height: 1.5; }
.popup-success { display: none; text-align: center; padding: 16px 0; }
.popup-success p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; color: var(--brass-deep); margin-bottom: 10px; }
.popup-success span { font-size: 14px; color: var(--muted); line-height: 1.7; display: block; }

/* ── PER-WORD REVEAL (driven by temple.js) ── */
[data-split] .w { display: inline-block; opacity: 0; transform: translateY(0.32em);
  filter: blur(5px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(var(--i) * 48ms); }
section.in [data-split] .w, .in [data-split] .w { opacity: 1; transform: none; filter: blur(0); }
.fade { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: 0.35s; }
section.in .fade, .in .fade { opacity: 1; transform: none; }

/* ── ANIMATIONS ── */
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 18px 20px; }
  .nav-right { gap: 16px; }
  .services { padding: 80px 20px; }
  .how { padding: 80px 20px; }
  .promise-section { padding: 80px 20px; }
  .about { padding: 80px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .promise-wrap { padding: 0 20px; }
  .faq { padding: 80px 20px; }
  .faq-inner { padding: 40px 24px; }
  .contact { padding: 80px 20px; }
  .contact-inner { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 36px 20px; }
  .footer-contact { text-align: center; }
  .trust-bar { padding: 0; }
  .trust-item { padding: 12px 16px; font-size: 10px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 60px; }
  .popup { padding: 44px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-split] .w, .fade { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}
