/* Berkeley Decor — Warm Quiet Luxury + theme tokens */
:root {
  --cream: #f7f3ed;
  --warm-white: #faf8f5;
  --oat: #e8e0d4;
  --sand: #d4c8b8;
  --taupe: #a89888;
  --mushroom: #8a7a6c;
  --charcoal: #2c2a28;
  --charcoal-soft: #3d3a37;
  --text: #3a3632;
  --text-muted: #6b635a;
  --border: rgba(44, 42, 40, 0.1);
  --shadow: 0 12px 40px rgba(44, 42, 40, 0.08);
  --shadow-hover: 0 20px 50px rgba(44, 42, 40, 0.12);
  --radius: 4px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 1180px;

  /* Semantic (light) */
  --bg: #faf8f5;
  --bg-alt: #f7f3ed;
  --surface: #faf8f5;
  --heading: #2c2a28;
  --btn-bg: #2c2a28;
  --btn-fg: #faf8f5;
  --btn-bg-hover: #3d3a37;
  --nav-scrolled-bg: rgba(250, 248, 245, 0.95);
  --nav-link-scrolled: #2c2a28;
  --nav-cta-scrolled-bg: #2c2a28;
  --nav-cta-scrolled-fg: #faf8f5;
  --mobile-menu-bg: #faf8f5;
  --on-photo: #faf8f5;
  --line-soft: #d4c8b8;
  --avatar-bg: #e8e0d4;
  /* Logo: always black (source PNG is black ink on transparent) */
  --logo-ink: none;
  --logo-ink-on-dark: none;
  /* Light mode: no drop shadows on header / hero logos */
  --logo-outline: none;
  --logo-outline-on-photo: none;
}

[data-theme="dark"] {
  --cream: #1a1816;
  --warm-white: #12100e;
  --oat: #2a2622;
  --sand: #5c544a;
  --taupe: #b8a898;
  --mushroom: #a89888;
  --charcoal: #f0ebe4;
  --charcoal-soft: #ddd5cb;
  --text: #e4ddd4;
  --text-muted: #a89f94;
  --border: rgba(240, 235, 228, 0.12);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.45);

  --bg: #12100e;
  --bg-alt: #1a1816;
  --surface: #1e1b18;
  --heading: #f0ebe4;
  --btn-bg: #f0ebe4;
  --btn-fg: #1a1816;
  --btn-bg-hover: #ddd5cb;
  --nav-scrolled-bg: rgba(18, 16, 14, 0.94);
  --nav-link-scrolled: #f0ebe4;
  --nav-cta-scrolled-bg: #f0ebe4;
  --nav-cta-scrolled-fg: #1a1816;
  --mobile-menu-bg: #1a1816;
  --on-photo: #faf8f5;
  --line-soft: #4a443c;
  --avatar-bg: #2a2622;
  --logo-ink: none;
  --logo-ink-on-dark: none;
  --logo-outline: none;
  --logo-outline-on-photo: none;
}

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

html {
  scroll-behavior: smooth;
  /* Extra room so fixed nav never covers section titles */
  scroll-padding-top: calc(var(--nav-h) + 1.25rem);
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading);
}

h1 { font-size: clamp(2.35rem, 5vw, 3.85rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mushroom);
  margin-bottom: 0.85rem;
}

.section-intro {
  max-width: 38rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  /* Anchor jumps & scroll-up: keep headings below fixed nav */
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.section--alt { background: var(--bg-alt); }

/* In-page targets (hero, contact, etc.) */
#top,
#services,
#process,
#work,
#about,
#faq,
#contact,
#why {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  border: 1px solid var(--heading);
  color: var(--heading);
  background: transparent;
}
.btn--outline:hover { background: var(--btn-bg); color: var(--btn-fg); }

.btn--light { background: var(--on-photo); color: #2c2a28; }
.btn--light:hover { background: #f0ebe4; transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid rgba(250, 248, 245, 0.7);
  color: #faf8f5;
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
}

/* Hero CTAs + trust strip (from redesign) */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(250, 248, 245, 0.22);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.82);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-strip li::before {
  content: "—";
  color: rgba(212, 184, 150, 0.9);
  font-weight: 400;
}

/* Why Custom */
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why__lead p,
.why__body > p {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.1vw, 1.12rem);
  margin-top: 1rem;
}

.why__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--taupe);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* FAQ */
.faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq__header .section-intro {
  margin-inline: auto;
}

.faq__list {
  max-width: 46rem;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--heading);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--mushroom);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  margin: 0 0 1.35rem;
  padding: 0 0.15rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.7;
}

.faq__item a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  .why__grid { grid-template-columns: 1fr; }
  .trust-strip {
    gap: 0.55rem 1rem;
    font-size: 0.68rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    /* Keep credentials clear of any bottom chrome */
    position: relative;
    z-index: 2;
  }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
}

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Same over-hero chrome in light and dark */
  border: 1px solid rgba(250, 248, 245, 0.35);
  color: #faf8f5;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(250, 248, 245, 0.12);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Scrolled: same token-driven chrome in both themes */
.nav.is-scrolled .theme-toggle {
  border-color: var(--border);
  color: var(--heading);
}

.nav.is-scrolled .theme-toggle:hover {
  background: var(--bg-alt);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Top menu social icons — same chrome as theme toggle */
.nav__social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 245, 0.35);
  color: #faf8f5;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}

.nav__social-link:hover {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
}

.nav__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.nav.is-scrolled .nav__social-link {
  border-color: var(--border);
  color: var(--heading);
}

.nav.is-scrolled .nav__social-link:hover {
  background: var(--bg-alt);
  color: var(--heading);
}

/* Logo — official black mark; filter flips for theme / surface */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  z-index: 2;
}

.logo__img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
  background: transparent;
  /* Default: no filter (flat black). Dark mode adds shadows separately. */
  filter: none;
  transition: filter 0.3s var(--ease);
}

.logo--plate {
  padding: 0;
  background: none;
}

/* Black logo on photo / dark panels */
.logo__img--on-dark {
  filter: var(--logo-outline-on-photo);
}

.logo--footer {
  padding: 0;
  background: none;
}

.logo--footer .logo__img {
  height: 80px;
  /* Footer stays on dark bar — white, no drop shadow */
  filter: invert(1);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  height: auto;
  display: flex;
  align-items: center;
  padding-block: 0.5rem;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Nav link colors: fixed light over hero (same both themes), theme tokens when scrolled */
.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #faf8f5;
  transition: color 0.25s var(--ease);
}

.nav.is-scrolled .nav__links a { color: var(--nav-link-scrolled); }
.nav__links a:hover { color: var(--taupe); }
.nav.is-scrolled .nav__links a:hover { color: var(--mushroom); }

.nav__cta {
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  background: #faf8f5;
  color: #2c2a28 !important;
  border-radius: var(--radius);
}

.nav.is-scrolled .nav__cta {
  background: var(--nav-cta-scrolled-bg);
  color: var(--nav-cta-scrolled-fg) !important;
}

/*
 * Logo: same behavior light + dark
 * - Over hero: white (invert)
 * - Scrolled light bar: black
 * - Scrolled dark bar: white (invert)
 * - No drop shadows
 */
.nav:not(.is-scrolled) .logo__img {
  height: 50px;
  filter: invert(1);
}

.nav.is-scrolled .logo__img {
  height: 52px;
  filter: none;
}

[data-theme="dark"] .nav.is-scrolled .logo__img {
  filter: invert(1);
}

.nav:has(.nav__links.is-open) .logo__img {
  height: 52px;
  /* Menu surface: black on light menu, white on dark menu */
  filter: none;
}

[data-theme="dark"] .nav:has(.nav__links.is-open) .logo__img {
  filter: invert(1);
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #faf8f5;
  margin: 5px auto;
  transition: 0.3s var(--ease);
}

.nav.is-scrolled .nav__toggle span { background: var(--heading); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #faf8f5;
  /* Only clip horizontal bleed — vertical text must not be cut off on mobile */
  overflow-x: hidden;
  overflow-y: visible;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Light mode: softer/lighter veil so the room photo reads brighter */
  background: linear-gradient(
    180deg,
    rgba(44, 42, 40, 0.28) 0%,
    rgba(44, 42, 40, 0.18) 40%,
    rgba(44, 42, 40, 0.36) 100%
  );
}

[data-theme="dark"] .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(44, 42, 40, 0.5) 0%,
    rgba(44, 42, 40, 0.38) 40%,
    rgba(44, 42, 40, 0.58) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  max-width: 42rem;
}

.hero__logo {
  margin: 0 auto 2rem;
  justify-content: center;
  padding: 0;
  background: none;
}

.hero__logo .logo__img {
  /* Larger on mobile; scales up further on desktop */
  height: clamp(150px, 38vw, 220px);
  max-width: min(82vw, 240px);
  width: auto;
  margin-inline: auto;
  background: transparent;
  filter: none;
}

/* Hero logo: white on photo in both themes (matches nav-over-hero) */
.hero__logo .logo__img,
.hero__logo .logo__img.logo__img--on-dark {
  filter: invert(1);
}

@media (min-width: 768px) {
  .hero__logo .logo__img {
    height: clamp(220px, 24vw, 340px);
    max-width: min(48vw, 380px);
  }

  .logo__img {
    height: 64px;
  }

  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img {
    height: 60px;
  }

  .logo--footer .logo__img {
    height: 96px;
  }
}

@media (min-width: 1100px) {
  .hero__logo .logo__img {
    height: 360px;
    max-width: 400px;
  }

  .logo__img {
    height: 70px;
  }

  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img {
    height: 66px;
  }

  .logo--footer .logo__img {
    height: 110px;
  }
}

.hero h1 {
  color: #faf8f5;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: rgba(250, 248, 245, 0.92);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Hide on tablet/phone so it doesn’t sit on the trust strip */
@media (max-width: 768px) {
  .hero__scroll {
    display: none !important;
  }
}

/* Desktop: keep clear of the trust strip at the bottom of the hero */
@media (min-width: 769px) {
  .hero__scroll {
    bottom: 1.25rem;
  }

  .hero__content {
    padding-bottom: 5rem;
  }
}

.hero__scroll::after {
  content: "";
  width: 1px; height: 32px;
  background: rgba(250, 248, 245, 0.5);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Services */
.services__header { text-align: center; margin-bottom: 3.5rem; }
.services__header .section-intro { margin-inline: auto; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.35s var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) { grid-column: span 3; }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.04); }

.service-card__body { padding: 1.5rem 1.4rem 1.75rem; }
.service-card__body h3 { margin-bottom: 0.5rem; }
.service-card__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Process */
.process { text-align: center; }
.process__header { margin-bottom: 3.5rem; }
.process__header .section-intro { margin-inline: auto; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 16%; right: 16%;
  height: 1px;
  background: var(--line-soft);
  z-index: 0;
}

.process-step { position: relative; z-index: 1; padding: 0 1rem; }

.process-step__num {
  width: 4.5rem; height: 4.5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--heading);
}

.process-step h3 { margin-bottom: 0.65rem; }
.process-step p {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 18rem;
  margin-inline: auto;
}

.process__cta { margin-top: 3.5rem; }

/* Gallery — desktop card grid (full image) + mobile carousel */
.gallery__header { text-align: center; margin-bottom: 3rem; }

.gallery {
  position: relative;
}

.gallery__viewport {
  overflow: visible;
  border-radius: 0;
}

.gallery__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: stretch;
}

.gallery__item {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery__item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Uniform image area — every tile same size */
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-alt);
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

/* Caption always under the photo — equal height labels */
.gallery__item figcaption {
  position: static;
  opacity: 1;
  margin-top: auto;
  padding: 0.95rem 1.1rem 1.1rem;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  border-top: 1px solid var(--border);
}

/* Motorized shades “video” tile — multi-frame crossfade loop */
.gallery__motion {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery__motion-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.gallery__motion-frame.is-active {
  opacity: 1;
  z-index: 1;
}

.gallery__motion-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #faf8f5;
  background: rgba(44, 42, 40, 0.55);
  padding: 0.35rem 0.55rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.gallery__item--motion:hover img {
  transform: none;
  opacity: 1;
}

/* Bottom bar + arrows — mobile carousel chrome (hidden on desktop grid) */
.gallery__bar {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.15rem 0;
}

.gallery__btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery__btn:hover {
  background: var(--bg-alt);
  border-color: var(--taupe);
}

.gallery__btn svg {
  width: 20px;
  height: 20px;
}

.gallery__caption {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--heading);
  line-height: 1.4;
  min-height: 1.4em;
}

.gallery__dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--sand);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s, background 0.25s;
}

.gallery__dot.is-active {
  opacity: 1;
  background: var(--heading);
  transform: scale(1.15);
}

/* About + Reviews */
.about-reviews {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about__image {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: clamp(1.02rem, 1.1vw, 1.1rem);
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.2;
}

.about__stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f4b400;
  font-size: 0.95rem;
  line-height: 1;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s var(--ease), background 0.35s var(--ease);
}

.review-card:last-child { margin-bottom: 0; }
.review-card:hover { box-shadow: var(--shadow); }

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.review-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
}

.review-card__meta { font-size: 0.8rem; color: var(--text-muted); }
.review-card__quote { font-size: 1rem; color: var(--text); line-height: 1.7; }

/* Contact / Schedule — fixed light text (never use theme tokens that invert in dark mode) */
.contact {
  position: relative;
  color: #faf8f5;
  overflow: hidden;
}

.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 22, 0.82);
}

[data-theme="dark"] .contact__overlay {
  background: rgba(12, 10, 8, 0.88);
}

.contact__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.contact .section-label {
  color: #e8dcc8;
  font-size: 0.85rem;
}

.contact h2 {
  color: #faf8f5;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.contact__lead {
  color: rgba(250, 248, 245, 0.92);
  margin-bottom: 2.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.contact__item {
  background: rgba(250, 248, 245, 0.12);
  border: 1px solid rgba(250, 248, 245, 0.22);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .contact__item {
  background: rgba(250, 248, 245, 0.1);
  border-color: rgba(250, 248, 245, 0.28);
}

.contact__item span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8dcc8;
  margin-bottom: 0.5rem;
}

.contact__item a,
.contact__item p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: #faf8f5;
  line-height: 1.55;
  font-weight: 500;
}

.contact__item a:hover { color: #f0e6d8; }
.contact__item--full { grid-column: 1 / -1; }

.contact__address {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: rgba(250, 248, 245, 0.45);
  text-underline-offset: 0.2em;
}

.contact__address:hover {
  text-decoration-color: rgba(250, 248, 245, 0.85);
  color: #ffffff;
}

.contact__actions .btn {
  font-size: 0.95rem;
  padding: 1.05rem 2rem;
}

.contact__actions .btn--outline {
  border-color: rgba(250, 248, 245, 0.65) !important;
  color: #faf8f5 !important;
}

.contact__actions .btn--outline:hover {
  background: rgba(250, 248, 245, 0.12) !important;
  color: #ffffff !important;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: #1a1816;
  color: rgba(250, 248, 245, 0.75);
  padding: 3.5rem 0 2rem;
}

[data-theme="dark"] .footer {
  background: #0c0b0a;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 18rem;
  line-height: 1.65;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* Fixed light color — do not use theme --warm-white (dark mode redefines it) */
  color: #faf8f5;
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(250, 248, 245, 0.75);
  transition: color 0.25s;
}

.footer__col a:hover { color: #faf8f5; }

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 245, 0.35);
  border-radius: 50%;
  color: #faf8f5;
  background: rgba(250, 248, 245, 0.06);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.social a:hover {
  background: rgba(250, 248, 245, 0.14);
  border-color: rgba(250, 248, 245, 0.6);
  color: #ffffff;
}

.social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

[data-theme="dark"] .social a {
  color: #faf8f5;
  border-color: rgba(250, 248, 245, 0.4);
  background: rgba(250, 248, 245, 0.08);
}

[data-theme="dark"] .social a:hover {
  background: rgba(250, 248, 245, 0.16);
  border-color: rgba(250, 248, 245, 0.65);
  color: #ffffff;
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.5);
}

/* Reveal — keep overflow parents from clipping translated text */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  /* Avoid paint glitches under fixed nav on mobile */
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .about-reviews { grid-template-columns: 1fr; }
  .gallery__track { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav {
    /* Solid bar after any scroll so content never shows “through” or under a transparent strip */
    padding-block: 0.4rem;
  }

  .nav.is-scrolled {
    /* Slightly stronger so section text can’t bleed under the bar */
    box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--mobile-menu-bg);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  }

  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { color: var(--heading) !important; font-size: 1.05rem; }
  .nav__cta {
    background: var(--btn-bg) !important;
    color: var(--btn-fg) !important;
    margin-top: 0.5rem;
  }
  .nav__toggle.is-open span { background: var(--heading); }

  .nav__right {
    position: relative;
    z-index: 1002;
    gap: 0.5rem;
  }

  .nav:not(.is-scrolled) .nav__toggle.is-open span {
    background: var(--heading);
  }

  .nav__links.is-open ~ .theme-toggle,
  .nav__toggle.is-open {
    position: relative;
    z-index: 1003;
  }

  .nav__links.is-open ~ .theme-toggle,
  .nav__links.is-open ~ .nav__social .nav__social-link {
    color: var(--heading);
    border-color: var(--border);
  }

  /* Keep social icons visible on mobile next to theme toggle */
  .nav__social {
    gap: 0.25rem;
  }

  .nav__social-link {
    width: 36px;
    height: 36px;
  }

  /* Keep section titles clear of the fixed nav when scrolling */
  .section {
    padding-top: clamp(3.5rem, 10vw, 5rem);
    scroll-margin-top: calc(var(--nav-h) + 1.5rem);
  }

  .section-label,
  .section h2,
  .why__lead h2,
  .faq__header h2,
  .process__header h2,
  .services__header h2,
  .gallery__header h2 {
    scroll-margin-top: calc(var(--nav-h) + 1.25rem);
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 2.5rem;
  }

  /* Smaller nav logo so bar doesn’t eat vertical space */
  .nav .logo__img,
  .nav:not(.is-scrolled) .logo__img,
  .nav.is-scrolled .logo__img {
    height: 44px;
  }

  .process__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__steps::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  /* Featured work: single-slide carousel on mobile */
  .gallery__viewport {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .gallery__track {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.4s var(--ease);
    will-change: transform;
    align-items: stretch;
  }

  .gallery__item,
  .gallery__item:nth-child(n) {
    flex: 0 0 100%;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .gallery__item:hover {
    transform: none;
    box-shadow: none;
  }

  .gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
    background: var(--bg-alt);
  }

  .gallery__item--motion .gallery__motion {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .gallery__item--motion .gallery__motion-frame {
    aspect-ratio: auto;
    height: 100%;
  }

  /* Caption lives in the bar below on mobile */
  .gallery__item figcaption {
    display: none;
  }

  .gallery__bar {
    display: flex;
  }

  .gallery__dots {
    display: flex;
  }
  .about__stats { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 520px) {
  .services__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
