:root {
  --bg: #0c0c0c;
  --panel: #161616;
  --panel-alt: #1a1a1a;
  --text: #F5F0E6;
  --muted: #9c9c9c;
  --gold: #C9A24B;
  --gold-deep: #A87F32;
  --line: #2a2a2a;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  text-rendering: optimizeLegibility;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; }

.muted { color: var(--muted); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

header.site .bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { height: 40px; width: 40px; }

.brand .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}

nav.main {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

nav.main a {
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.main a:hover, nav.main a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; }

nav.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

nav.mobile-menu.open { display: flex; }

nav.mobile-menu a {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--text);
}

nav.mobile-menu a.active { color: var(--gold); }

@media (max-width: 720px) {
  nav.main { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--gold); color: #0c0c0c; }

.btn.solid {
  background: var(--gold);
  color: #0c0c0c;
}

.btn.solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- Hero (lens motif background) ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  text-align: left;
}

.hero .lens-bg {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  opacity: 0.5;
  pointer-events: none;
}

.hero .content { position: relative; max-width: 620px; }

.hero .kicker {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.hero .cta-row { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 40px; max-width: 640px; }

/* ---------- Category / three-up ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 780px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.category-card {
  border: 1px solid var(--line);
  padding: 28px 24px;
  background: var(--panel-alt);
}

.category-card h3 { color: var(--text); margin-bottom: 10px; }

.category-card a.link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gold);
}

/* ---------- Placeholder tiles (no real photos yet) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.placeholder-tile {
  aspect-ratio: 4 / 5;
  border: 1px dashed #3a3a3a;
  background:
    radial-gradient(circle at 30% 25%, #1c1c1c 0%, #0f0f0f 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 16px;
}

.placeholder-tile svg { width: 34px; height: 34px; opacity: 0.5; }

/* ---------- Filter tabs ---------- */
.filters {
  display: flex;
  gap: 24px;
  margin-bottom: 34px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.filters button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
  font-size: inherit;
}

.filters button.active, .filters button:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Service / pricing cards ---------- */
.pricing-group { margin-bottom: 54px; }

.pricing-group .label {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 780px) {
  .pricing-cards { grid-template-columns: 1fr; }
}

.price-card {
  border: 1px solid var(--line);
  background: var(--panel-alt);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.price-card h3 { margin-bottom: 4px; }

.price-card .price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.price-card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }

.price-card .btn { margin-top: 18px; text-align: center; }

.commercial-note {
  border: 1px solid var(--line);
  padding: 22px 24px;
  background: var(--panel-alt);
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 700px) {
  .about-layout { grid-template-columns: 1fr; }
}

.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px dashed #3a3a3a;
  background: radial-gradient(circle at 35% 25%, #1c1c1c 0%, #0f0f0f 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.75rem;
  text-align: center;
  padding: 16px;
}

/* ---------- Book page ---------- */
.book-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .book-layout { grid-template-columns: 1fr; }
}

.form-panel {
  background: var(--panel-alt);
  border: 1px solid var(--line);
  padding: 24px;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.consult-panel {
  border: 1px solid var(--gold);
  padding: 24px;
  background: var(--panel-alt);
}

.contact-panel {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--panel);
}

.contact-panel .row { margin-bottom: 14px; font-size: 0.95rem; }
.contact-panel .row .k { color: var(--muted); font-size: 0.78rem; letter-spacing: 1px; display: block; margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item h3 { margin-bottom: 8px; color: var(--gold); font-size: 1.05rem; }
.faq-item p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

footer.site h4 {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

footer.site .col a, footer.site .col p {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

footer.site .bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.78rem;
  color: #555;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border: 1px solid var(--line);
  background: var(--panel-alt);
  padding: 50px 40px;
  text-align: center;
}

.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { margin: 0 auto 26px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children of grids/stacks so they don't all pop at once */
.grid-3 .reveal:nth-child(1), .pricing-cards .reveal:nth-child(1), .gallery-grid .reveal:nth-child(1) { transition-delay: 0s; }
.grid-3 .reveal:nth-child(2), .pricing-cards .reveal:nth-child(2), .gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .reveal:nth-child(3), .pricing-cards .reveal:nth-child(3), .gallery-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
