/* Reset and variables */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
  --bg: #0f1011;
  --panel: #131415;
  --text: #efe7dc;
  --muted: #d9cdbd;
  --muted-2: #b6a897;
  --accent: #e6c9a8;
  --accent-2: #c9a177;
  --border: #2a2723;
  --shadow: rgba(0,0,0,.4);
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 520px at 40% -10%, rgba(230,201,168,0.18), transparent 60%),
              radial-gradient(800px 420px at 80% 0%, rgba(230,201,168,0.12), transparent 60%),
              var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 { 
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  margin: 0 0 .4rem 0;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 3.8vw + 1rem, 3.4rem); font-weight: 600; letter-spacing: .2px; }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); font-weight: 600; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1rem 0; }
small { font-size: .85em; }

.container { width: min(1120px, 92vw); margin: 0 auto; padding: 0 0; }
.muted { color: var(--muted-2); }
.small { font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--panel) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 600; }
.logo-mark { color: var(--accent); }
.logo-text { font-family: "Playfair Display", Georgia, serif; letter-spacing: .2px; }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: .4rem .6rem; border-radius: .5rem; }
.nav a:hover { background: #1a1a1b; }
.nav-toggle { display: none; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: .5rem; padding: .4rem .6rem; }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 1rem; }
.lede { color: var(--muted); max-width: 50ch; }
.hero-art { display: grid; place-items: center; }
.tombstone { filter: drop-shadow(0 20px 40px var(--shadow)); }
.hero-photo { max-width: 420px; width: 100%; height: auto; filter: drop-shadow(0 20px 40px var(--shadow)); display: block; }
.hero-photo.hide { display: none; }

.store-buttons { display: flex; gap: .8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.store-badge { display: inline-block; line-height: 0; border-radius: .7rem; overflow: hidden; border: 1px solid var(--border); background: #121314; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230,201,168,.12); border-color: var(--accent-2); }

/* Community */
.community { padding: 2.6rem 0 2.4rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: radial-gradient(600px 320px at 10% 40%, rgba(230,201,168,.08), transparent 60%); }
.community-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 0 1rem; }
.community-copy h2 { margin-bottom: .8rem; }
.community-copy .muted { color: var(--muted); max-width: 54ch; }
.community-features { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.community-features li { border: 1px solid var(--border); border-radius: 1rem; padding: .9rem 1rem; background: #121314; display: grid; gap: .2rem; }
.community-features strong { font-weight: 600; }
.community-features span { color: var(--muted-2); font-size: .95rem; }
.community-highlight { margin-top: 1.6rem; border-radius: 1.2rem; border: 1px solid var(--accent-2); background: linear-gradient(160deg, rgba(230,201,168,.16), rgba(15,16,17,.9)); padding: 1.2rem 1.3rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.community-highlight h3 { margin: .4rem 0 .6rem; font-size: 1.2rem; }
.community-highlight p { margin: 0; color: var(--muted); }
.highlight-tag { display: inline-block; padding: .2rem .7rem; border-radius: .7rem; background: rgba(230,201,168,.18); color: var(--accent); font-size: .85rem; letter-spacing: .4px; text-transform: uppercase; }

.community-carousel { position: relative; display: grid; gap: 1rem; }
.carousel-window { position: relative; border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--border); background: #101112; padding: 2.4rem 1.6rem; }
.carousel-track { display: flex; gap: 0; transition: transform .5s ease; }
.carousel-slide { flex: 0 0 100%; padding: 0 .8rem; display: grid; gap: .6rem; justify-items: center; text-align: center; color: var(--muted-2); }
.carousel-slide img { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 20px 40px var(--shadow)); }
.carousel-slide figcaption { font-size: .95rem; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,16,17,.8); color: var(--text); border: 1px solid var(--border); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.6rem; cursor: pointer; }
.carousel-control:hover { background: rgba(230,201,168,.16); border-color: var(--accent-2); }
.carousel-control.prev { left: 1rem; }
.carousel-control.next { right: 1rem; }
.carousel-dots { display: flex; justify-content: center; gap: .6rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--accent-2); background: transparent; cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(230,201,168,.18); }

/* Services */
.services { padding: 2.4rem 0 1.2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: 1.4rem 1rem; }
.service { background: #131415; border: 1px solid var(--border); border-radius: 1rem; padding: 1.1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }
.service .icon { color: var(--accent); margin-bottom: .6rem; }
.service p { color: var(--muted); }

/* How it works */
.how { padding: 2.6rem 0; }
.how h2 { text-align: center; margin-bottom: 1.4rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; background: #121314; }
.steps .num { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; color: var(--accent); line-height: 1; margin-top: .2rem; }
.steps p { color: var(--muted); margin-top: .2rem; }
.cta { display: grid; place-items: center; margin-top: 1.4rem; }

.btn { display: inline-block; text-decoration: none; color: var(--text); border: 1px solid var(--accent-2); padding: .7rem 1rem; border-radius: .9rem; background: linear-gradient(180deg, rgba(230,201,168,.16), rgba(230,201,168,.07)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230,201,168,.12), inset 0 0 0 1px rgba(255,255,255,.06); }
.btn-primary { font-weight: 600; }

/* Testimonials */
.testimonials { padding: 2.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: radial-gradient(600px 200px at 50% 0%, rgba(230,201,168,.08), transparent 60%); }
.quote { text-align: center; max-width: 60ch; margin: 0 auto 1.6rem; color: var(--muted); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.2rem, 1.2vw + 1rem, 1.6rem); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0 1rem; }
.reviews figure { margin: 0; padding: 1rem; background: #121314; border: 1px solid var(--border); border-radius: 1rem; }
.reviews blockquote { margin: 0 0 .4rem; color: var(--text); }
.reviews figcaption { color: var(--muted-2); }

/* Gallery */
.gallery { padding: 2.4rem 0; }
.gallery h2 { margin: 0 1rem .2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0 1rem; }
.gallery figure { margin: 0; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: #121314; }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery figcaption { padding: .6rem .8rem; color: var(--muted-2); }
.gallery .hide { display: none; }

/* Contact */
.contact { padding: 2.6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0 1rem; }
.contact-list { list-style: none; padding: 0; margin: .8rem 0 1.2rem; }
.contact-list li { margin: .2rem 0; }
.contact a { color: var(--accent); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

.mini-stores { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

/* Contact actions (no form) */
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.contact-card { display: flex; gap: .8rem; align-items: center; border: 1px solid var(--border); background: #121314; border-radius: .9rem; padding: .9rem 1rem; color: var(--text); text-decoration: none; }
.contact-card:hover { border-color: var(--accent-2); box-shadow: 0 6px 20px rgba(230,201,168,.08); transform: translateY(-1px); }
.contact-card .icon { color: var(--accent); display: grid; place-items: center; }
.contact-card .body { display: grid; line-height: 1.3; }
.contact-card .body span { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.4rem 0; background: #0e0f10; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0 1rem; }
.links { display: flex; gap: 1rem; justify-content: center; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--accent); }
.copyright { text-align: right; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; position: absolute; right: .8rem; top: 56px; background: #101112; border: 1px solid var(--border); border-radius: .8rem; padding: .4rem; flex-direction: column; min-width: 200px; box-shadow: 0 12px 30px var(--shadow); }
  .nav a { padding: .6rem .7rem; border-radius: .6rem; }
  .nav-toggle { display: inline-block; }
  .site-header[aria-expanded="true"] .nav { display: flex; }
  .carousel-window { padding: 2.2rem 1.2rem; }
  .carousel-control.prev { left: .6rem; }
  .carousel-control.next { right: .6rem; }
}
