@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

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

:root {
  --bg:         hsl(0, 0%, 4%);
  --fg:         hsl(30, 20%, 90%);
  --primary:    hsl(15, 50%, 65%);
  --primary-fg: hsl(0, 0%, 4%);
  --border:     hsl(330, 30%, 15%);
  --muted-fg:   hsl(30, 15%, 60%);
  --secondary:  hsl(335, 45%, 12%);
  --sans:       'Jost', sans-serif;
  --serif:      'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }

/* ── Grain overlay ─────────────────────────────────── */
.grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Fade-in on scroll ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s cubic-bezier(0.16,1,0.3,1), transform 1.6s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }

.slow-reveal {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 2.2s cubic-bezier(0.16,1,0.3,1), transform 2.2s cubic-bezier(0.16,1,0.3,1);
}
.slow-reveal.visible { opacity: 1; transform: scale(1); }

/* ── Nav ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 2.5rem 0;
  transition: background 1s ease, padding 1s ease, border-color 1s ease;
  opacity: 0;
  animation: navIn 1.5s 1s forwards ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: hsla(0, 0%, 4%, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.25rem 0;
  border-color: hsla(330, 30%, 15%, 0.5);
}
@keyframes navIn { to { opacity: 1; } }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-cta {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 300;
  border: 1px solid hsla(15, 50%, 65%, 0.6);
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: background 0.5s ease, color 0.5s ease;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.6));
}
.nav-cta:hover { background: var(--primary); color: var(--primary-fg); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  transform-origin: top center;
  will-change: transform;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
@media (min-width: 768px) {
  .hero-bg img { object-position: center; }
}

.hero-overlay-dark   { position: absolute; inset: 0; background: rgba(10,10,10,0.2); mix-blend-mode: multiply; z-index: 1; }
.hero-overlay-bottom { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,0.2) 40%, transparent 100%); z-index: 1; }
.hero-overlay-side   { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,10,10,0.4) 0%, transparent 50%, rgba(10,10,10,0.2) 100%); z-index: 1; }

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: heroIn 2s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
@media (min-width: 768px) {
  .hero-content { align-items: flex-start; text-align: left; padding: 0 3rem; }
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 2rem;
}
.hero h1 em {
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 48rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 2s 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
@media (min-width: 768px) {
  .hero-sub { flex-direction: row; align-items: flex-start; gap: 4rem; }
}

.hero-line {
  display: none;
  width: 1px; height: 4rem;
  background: hsla(15,50%,65%,0.5);
  margin-top: 1rem;
  flex-shrink: 0;
}
@media (min-width: 768px) { .hero-line { display: block; } }

.hero-sub p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: heroIn 2s 1.5s ease forwards;
}
.scroll-line {
  width: 1px; height: 6rem;
  background: linear-gradient(to bottom, transparent, hsla(15,50%,65%,0.5), hsla(15,50%,65%,0.8));
  position: relative;
  overflow: hidden;
}
.scroll-dot {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--primary);
  animation: scrollDot 3s linear infinite;
}
@keyframes scrollDot { 0%,100% { transform: translateY(0); } 50% { transform: translateY(100%); } }

/* ── Section base ──────────────────────────────────── */
.section { padding: 8rem 0; position: relative; z-index: 10; }
.section-lg { padding: 12rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 3rem; } }

.eyebrow {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

/* ── About ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 6fr;
    gap: 6rem;
  }
}

.about-text { order: 2; }
@media (min-width: 1024px) { .about-text { order: 1; } }
.about-image { order: 1; }
@media (min-width: 1024px) { .about-image { order: 2; } }

.about h3 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.about h3 em { color: var(--primary); font-style: italic; }

.about p {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: 3rem;
}
.stat {
  border-top: 1px solid hsla(330,30%,15%,0.3);
  padding-top: 1rem;
}
.stat-label {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsla(15,50%,65%,0.6);
  margin-bottom: 0.25rem;
  display: block;
}
.stat-value {
  font-size: 0.875rem;
  color: var(--fg);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: hsla(15,50%,65%,0.1);
  mix-blend-mode: overlay;
  z-index: 1;
}
.about-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.4), transparent);
  z-index: 1;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Services ──────────────────────────────────────── */
.services { background: var(--secondary); }
.services-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}

.services h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.services h3 em { color: var(--primary); font-style: italic; }

.service-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  transition: border-color 0.7s ease;
  cursor: default;
}
@media (min-width: 768px) {
  .service-row { flex-direction: row; align-items: center; gap: 0; }
}
.service-row:hover { border-color: hsla(15,50%,65%,0.6); }

.service-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--fg);
  min-width: 200px;
  transition: color 0.5s ease;
}
.service-row:hover .service-name { color: var(--primary); }

.service-note {
  color: var(--muted-fg);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 300;
  flex: 1;
  line-height: 1.75;
}
@media (min-width: 768px) { .service-note { padding: 0 2rem; } }

.service-price {
  color: var(--primary);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ── Gallery ───────────────────────────────────────── */
.gallery { background: var(--bg); }
.gallery-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  column-count: 2;
  column-gap: 0.5rem;
}
@media (min-width: 768px) { .gallery-inner { column-count: 3; } }

.gallery-item {
  break-inside: avoid;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
}
.gallery-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.1);
  transition: background 0.7s ease;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(10,10,10,0); }

/* ── Testimonials ──────────────────────────────────── */
.testimonials {
  position: relative;
  background: hsla(335,45%,12%,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 10rem 0;
}

.testimonials-inner {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  color: hsla(15,50%,65%,0.3);
  line-height: 1;
  height: 5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.testimonial-track {
  width: 100%;
  min-height: 200px;
  position: relative;
}

.testimonial-slide {
  display: none;
  width: 100%;
  text-align: center;
  padding: 0 1rem;
}
.testimonial-slide.active {
  display: block;
  animation: slideIn 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testimonial-slide p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.6;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: hsla(15,50%,65%,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.5s ease, width 0.5s ease;
}
.dot.active { background: var(--primary); width: 1.5rem; }

/* ── FAQ ───────────────────────────────────────────── */
.faq { background: var(--secondary); }

.faq-intro h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 400;
  margin-bottom: 2rem;
}
.faq-intro h3 em { color: var(--primary); font-style: italic; }
.faq-intro p {
  color: var(--muted-fg);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 40rem;
}
.faq-intro p strong { color: hsla(30,20%,90%,0.8); font-weight: 400; }

.faq-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid hsla(15,50%,65%,0.4);
  padding: 0.75rem 1.25rem;
  margin-bottom: 4rem;
}
.faq-notice-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.faq-notice span {
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  padding-right: 0;
  transition: border-color 0.5s ease;
}
@media (min-width: 768px) { .faq-item { padding-right: 3rem; } }
.faq-item:hover { border-color: hsla(15,50%,65%,0.4); }

.faq-q {
  color: var(--primary);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.faq-a {
  color: hsla(30,20%,90%,0.7);
  font-weight: 300;
  line-height: 1.75;
}

/* ── CTA ───────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  border-top: 1px solid hsla(330,30%,15%,0.3);
}
.cta-inner {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}
.cta-section h2 em { color: var(--primary); font-style: italic; }
.cta-section p {
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.8;
  font-size: 1.125rem;
  margin-bottom: 4rem;
}
.cta-phone {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.125rem);
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.5s ease;
}
.cta-phone:hover { color: var(--fg); }
