/* ===== Design tokens ===== */
:root {
  --bg: #0a0a0a;
  --bg-panel: #141110;
  --bg-panel-alt: #1a1613;
  --gold: #caa03c;
  --gold-light: #e8c766;
  --gold-deep: #8a6a1f;
  --ivory: #f3ead9;
  --ivory-dim: #cfc3ac;
  --muted: #a89a7c;
  --border: rgba(202, 160, 60, 0.28);
  --border-soft: rgba(243, 234, 217, 0.1);
  --shadow-gold: 0 0 32px rgba(202, 160, 60, 0.16);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-script: 'Sacramento', cursive;
  --container: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ivory); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
}
.section-lede {
  max-width: 46ch;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  margin-top: 0.9rem;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #14110c;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost {
  border-color: var(--border);
  color: var(--ivory);
  background: rgba(243, 234, 217, 0.03);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(202, 160, 60, 0.08); }
.btn-full { width: 100%; }

/* ===== Badge / logo (placeholder recreation — swap for real logo file in /assets) ===== */
.brand-badge { display: block; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.brand-badge.small { width: 56px; height: 56px; }
.brand-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--ivory);
}
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--gold-light); }
.nav-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-call:hover { border-color: var(--gold); background: rgba(202, 160, 60, 0.08); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #171310 0%, #0a0a0a 60%);
}
.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(202, 160, 60, 0.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 760px; }
.hero-eyebrow {
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.script-accent {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 1.25em;
  font-weight: 400;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  color: var(--ivory-dim);
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  color: var(--gold);
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== Services ===== */
.services { background: var(--bg); }
.services-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 2.4rem 2rem;
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}
.service-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 1.4rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--ivory-dim); font-size: 0.98rem; }

/* ===== Why Us ===== */
.why-us { position: relative; background: var(--bg-panel); overflow: hidden; }
.crest-watermark {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.05;
  pointer-events: none;
}
.crest-watermark svg { fill: none; stroke: var(--gold); stroke-width: 1; }
.why-inner { position: relative; }
.why-text { max-width: 640px; }
.why-list { margin-top: 3rem; display: grid; gap: 2.2rem; }
.why-list h3 { font-size: 1.15rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.why-list p { color: var(--ivory-dim); }
.why-list li { padding-left: 1.4rem; border-left: 2px solid var(--border); }

/* ===== Gallery ===== */
.gallery { background: var(--bg); }
.gallery-featured {
  margin: 3rem 0 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}
.gallery-featured img { display: block; width: 100%; height: auto; }

.gallery-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-card {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(160deg, var(--bg-panel-alt), var(--bg-panel));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--gold);
  position: relative;
}
.gallery-card::before, .gallery-card::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--gold-deep);
  opacity: 0.7;
  z-index: 2;
}
.gallery-card::before { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.gallery-card::after { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }
.gallery-card svg { width: 38px; height: 38px; opacity: 0.8; }
.gallery-card span { font-size: 0.85rem; color: var(--ivory-dim); letter-spacing: 0.03em; }

.gallery-card.photo { padding: 0; overflow: hidden; }
.gallery-card.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card.photo span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: var(--ivory);
  text-align: left;
  padding-left: 1.1rem;
}
.gallery-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== Reviews ===== */
.reviews { background: var(--bg-panel); }
.reviews-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}
.review-stars { display: flex; gap: 0.3rem; }
.review-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.review-quote {
  color: var(--ivory-dim);
  font-size: 1rem;
  line-height: 1.7;
  flex-grow: 1;
}
.review-card.placeholder .review-quote { font-style: italic; color: var(--muted); }
.review-author {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.1rem;
}
.review-author span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}
.review-card.placeholder .review-author span { color: var(--muted); }

/* ===== Contact ===== */
.contact { background: var(--bg-panel); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.contact-list { margin-top: 2.4rem; display: grid; gap: 1.6rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.contact-list a:hover { color: var(--gold-light); }

.contact-form-wrap { background: var(--bg); border: 1px solid var(--border-soft); border-radius: 6px; padding: 2.2rem; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  color: var(--ivory);
  padding: 0.75rem 0.9rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); outline: none; }
.form-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); text-align: center; }

.map-wrap { width: 100%; height: 380px; filter: grayscale(0.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Footer ===== */
.site-footer { background: #060606; border-top: 1px solid var(--border-soft); padding: 3.5rem 2rem 1.5rem; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand { display: flex; gap: 1rem; align-items: center; max-width: 360px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.footer-nav { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.footer-nav a { color: var(--ivory-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ===== Mobile call bar ===== */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #14110c;
  text-align: center;
  padding: 0.95rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav, .nav-call { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    z-index: 10;
  }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  .site-footer { padding-bottom: 5rem; }
}
@media (max-width: 560px) {
  .section-inner { padding: 4.5rem 1.25rem; }
  .hero { padding-top: 7rem; }
}
