@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --marble: #f7f4ef;
  --marble-deep: #ebe6de;
  --ink: #1c1916;
  --ink-soft: #4a4540;
  --muted: #7a746c;
  --gold: #b8862e;
  --gold-hover: #9a6f22;
  --white: #ffffff;
  --line: rgba(28, 25, 22, 0.08);
  --line-gold: rgba(184, 134, 46, 0.28);
  --shadow-soft: 0 20px 60px rgba(28, 25, 22, 0.08);
  --shadow-card: 0 8px 32px rgba(28, 25, 22, 0.06);
  --max: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #1a1816;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Marble begins at handshake section */
.marble-zone {
  background-color: var(--marble);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(247,244,239,0.25) 100%),
    url("../images/marble-vein-tile.jpg");
  background-size: auto, cover;
  background-position: center top;
  background-attachment: fixed;
}

/* Light cards (no hover animation, no backdrop blur) */
.tile-glass {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(28, 25, 22, 0.06);
}

/* Photo tiles: static shadow only */
.image-shadow {
  overflow: hidden;
  border-radius: 4px;
  box-shadow:
    0 18px 48px rgba(28, 25, 22, 0.14),
    0 6px 16px rgba(28, 25, 22, 0.08);
  background: #fff;
}

.image-shadow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Before / after project pairs */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 18px 48px rgba(28, 25, 22, 0.14),
    0 6px 16px rgba(28, 25, 22, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-card:hover .ba-pair {
  transform: translateY(-6px);
  box-shadow:
    0 30px 64px rgba(28, 25, 22, 0.22),
    0 8px 20px rgba(28, 25, 22, 0.1);
}

.ba-half img { transition: transform 0.55s ease; }
.ba-card:hover .ba-half img { transform: scale(1.05); }

.ba-half {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--marble-deep);
}

.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(28, 25, 22, 0.72);
  color: #fff;
}

.ba-half.after .ba-label {
  background: var(--gold);
  color: #fff;
}

.ba-caption {
  margin: 14px 4px 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.ba-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Service cards: image with accent + hover lift */
.service-card {
  min-height: 420px;
  box-shadow: 0 14px 40px rgba(28, 25, 22, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img { transition: transform 0.55s ease; }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(28, 25, 22, 0.24);
}

.service-card:hover img { transform: scale(1.06); }

.service-card--restoration { border-top: 3px solid var(--gold); }
.service-card--remodels { border-top: 3px solid #c9a86a; }
.service-card--ev { border-top: 3px solid #8fa89a; }

/* Subpage heroes */
.page-hero {
  padding: clamp(100px, 14vw, 140px) 0 clamp(64px, 8vw, 88px);
  background:
    linear-gradient(180deg, rgba(28,25,22,0.5), rgba(28,25,22,0.88)),
    url("../images/gallery-estate.jpg") center/cover no-repeat;
}

.page-hero--remodels {
  background-image:
    linear-gradient(180deg, rgba(28,25,22,0.5), rgba(28,25,22,0.88)),
    url("../images/hero-luxury.jpg");
}

.page-hero--restoration {
  background-image:
    linear-gradient(180deg, rgba(28,25,22,0.52), rgba(28,25,22,0.9)),
    url("../images/hook-handshake.jpg");
}

.page-hero--blog {
  background-image:
    linear-gradient(180deg, rgba(28,25,22,0.55), rgba(28,25,22,0.9)),
    url("../images/marble-bg.jpg");
}

.reviews-source-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 28px;
}

.reviews-source-note a { color: var(--gold); }

.blog-list {
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.blog-card { padding: 32px 36px; }

.blog-card h2 { margin: 8px 0 12px; font-size: 1.5rem; }

.blog-card h2 a { color: inherit; text-decoration: none; }

.blog-card h2 a:hover { color: var(--gold); }

.blog-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.blog-read {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.blog-post { padding: clamp(48px, 8vw, 80px) 0; }

.blog-post-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
}

.blog-post-inner h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 12px 0; }

.blog-category { color: var(--gold); font-size: 0.85rem; margin: 0 0 24px; }

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 1.25em;
}

.page-hero--ev {
  background-image:
    linear-gradient(180deg, rgba(28,25,22,0.45), rgba(28,25,22,0.82)),
    url("../images/ev-hero-banner.jpg");
  background-position: center 40%;
}

.page-hero .hero-actions { margin-top: 28px; }

.page-hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.card-lux {
  padding: 36px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(28, 25, 22, 0.06);
}

.card-lux ul {
  margin: 0;
  padding-left: 18px;
}

.card-lux li { margin-bottom: 8px; }

.product-strip-lux {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(28, 25, 22, 0.06);
}

.product-strip-lux h2 { color: var(--ink) !important; margin: 0 0 8px; }

.band-dark .card-lux {
  background: rgba(255, 255, 255, 0.95);
}

.band-dark {
  background: transparent;
  padding: 0 0 clamp(48px, 6vw, 64px);
}

.gallery-compact {
  grid-template-rows: 280px 280px;
}

.gallery-compact .gallery-item:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-compact .gallery-item:nth-child(2) { grid-column: span 6; }
.gallery-compact .gallery-item:nth-child(3) { grid-column: span 6; grid-row: span 1; }
.gallery-compact .gallery-item:nth-child(4) { grid-column: span 6; }

.gallery-two {
  grid-template-rows: 320px;
}

.gallery-two .gallery-item:nth-child(1),
.gallery-two .gallery-item:nth-child(2) {
  grid-column: span 6;
  grid-row: span 1;
}

.nav-drawer {
  position: relative;
  display: flex;
  align-items: center;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-hover); }

.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.serif { font-family: var(--serif); }

/* Top bar (sits above hero on dark band) */
.urgency {
  text-align: center;
  padding: 11px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.urgency strong { color: #fff; font-weight: 700; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  min-height: 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-star {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 18px;
  letter-spacing: 0.14em;
}

.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: auto;
  height: auto;
  padding: 8px 4px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero-lux {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-lux::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28,25,22,0.72) 0%, rgba(28,25,22,0.35) 45%, rgba(28,25,22,0.15) 100%),
    url("../images/hero-luxury.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero-lux .container {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(72px, 12vw, 128px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.hero-lux h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  color: #fff;
}

.hero-lux .lead {
  margin: 28px 0 0;
  max-width: 48ch;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28, 25, 22, 0.2); }
.btn:active { transform: translateY(0); box-shadow: none; }

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* Trust hook */
.trust-hook {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-bottom: 1px solid var(--line);
}

.trust-hook-media { min-height: 480px; overflow: hidden; }

.trust-hook-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.trust-hook-copy {
  padding: clamp(48px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
}

.section-lead {
  margin: 0 0 32px;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Testimonials block (top of marble) */
.testimonials-top {
  padding: clamp(72px, 10vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

/* Hooks */
.hooks { border-bottom: 1px solid var(--line); }

.hooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(48px, 8vw, 72px) 0;
}

.hook {
  padding: 48px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hook:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(28, 25, 22, 0.16);
}

.hook:last-child { border-right: none; }

.hooks .hook { border-right: none; }

.hook-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.hook h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.hook p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }

.hook a {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Trust stats */
.trust { padding: 56px 0; background: transparent; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  padding: 32px 20px;
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Sections */
section { padding: clamp(88px, 12vw, 120px) 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px;
  background: linear-gradient(transparent, rgba(28,25,22,0.75));
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(28, 25, 22, 0.85) 100%);
}

.service-body {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.service-body h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: #fff;
}

.service-body p { margin: 0 0 16px; color: rgba(255,255,255,0.82); font-size: 0.95rem; }

.service-body span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.testimonials-lux {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tcard {
  padding: 32px;
}

.tcard-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.tcard-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #8a7344);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.tcard-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(28, 25, 22, 0.12);
}

.tcard-name {
  margin: 6px 0 2px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.tcard-meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tcard .stars { color: var(--gold); letter-spacing: 4px; font-size: 12px; margin: 0; }

.tcard blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

.form-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(72px, 10vw, 96px);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lead-form {
  padding: 44px;
}

.lead-form h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
}

.lead-form .note { margin: 0 0 28px; color: var(--muted); font-size: 0.92rem; }

label {
  display: block;
  margin: 18px 0 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fdfcfa;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 46, 0.12);
}

textarea { min-height: 110px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.consent input { width: 18px; min-height: 18px; margin-top: 3px; }

.form-status { margin-top: 18px; padding: 14px 16px; font-size: 14px; display: none; }
.form-status.ok { display: block; background: #f3f9f4; border: 1px solid #b8d4be; color: #2d5a38; }
.form-status.err { display: block; background: #fdf4f3; border: 1px solid #e4b5af; color: #7a2e24; }

.site-footer {
  padding: 64px 0 36px;
  background: var(--ink);
  color: rgba(255,255,255,0.82);
}

.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }

.footer-grid a { display: block; margin-top: 10px; font-size: 14px; }

.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name span { color: var(--gold); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  padding: 12px 16px;
  gap: 10px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta .btn-outline { color: var(--ink); border-color: var(--line); }

.funnel-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28,25,22,0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.funnel-overlay.open { opacity: 1; visibility: visible; }

.funnel-modal {
  position: relative;
  width: min(940px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.funnel-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  border: none;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.funnel-visual {
  min-height: 360px;
  background: url("../images/hook-handshake.jpg") center/cover no-repeat;
}

.funnel-content { padding: 48px 40px; }

.funnel-content h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.08;
}

.funnel-content .hook-line { margin-bottom: 24px; color: var(--muted); }

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  color: #fff;
  max-width: 14ch;
  line-height: 1.05;
}

.page-hero p { max-width: 56ch; margin: 20px 0 0; color: rgba(255,255,255,0.85); }

.card-lux h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.card-lux p, .card-lux li { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

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

.legal-page { padding: 100px 0; max-width: 720px; }
.legal-page h1 { font-family: var(--serif); font-weight: 500; }
.legal-page h2 { font-size: 1.1rem; margin-top: 2.5rem; color: var(--gold); }

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

@media (min-width: 961px) {
  .menu-toggle { display: none; }
  .nav-drawer { display: flex; align-items: center; }
  .nav {
    display: flex;
    position: static;
    min-width: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(28, 25, 22, 0.12);
    gap: 18px;
    z-index: 120;
  }

  .nav.open,
  .nav-drawer:hover .nav,
  .nav-drawer:focus-within .nav {
    display: flex;
  }

  .menu-toggle { display: flex; }
  .trust-hook, .hooks-grid, .trust-row, .gallery, .services-grid,
  .testimonials-lux, .form-split, .funnel-modal, .footer-grid, .grid-2, .grid-3,
  .before-after-grid {
    grid-template-columns: 1fr;
  }
  .ba-pair { grid-template-columns: 1fr 1fr; }
  .hook { border-right: none; border-bottom: 1px solid var(--line); }
  .gallery-item { grid-column: span 12 !important; grid-row: span 1 !important; min-height: 260px; }
  .trust-hook-media, .trust-hook-media img { min-height: 300px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .brand-name { display: none; }
  .brand-star { height: 36px; }
  .header-inner { padding: 6px 0; min-height: 46px; }
}

/* Auto gallery: uniform responsive grid used when the portfolio holds >4 photos
   (set by scripts/build_site.py). Scales cleanly to any number of real job photos. */
.gallery-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-auto .gallery-item {
  grid-column: auto !important;
  grid-row: auto !important;
}
.gallery-auto .gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .gallery-auto { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .gallery-auto .gallery-item img { height: 160px; }
}

/* One-card gallery trigger → expands to grid; photos open in lightbox */
.photo-gallery-widget {
  max-width: 300px;
  margin: 0 auto;
}
.photo-gallery-widget.is-open {
  max-width: 100%;
}
.photo-gallery-widget__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
}
.photo-gallery-widget__toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.photo-gallery-widget__card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}
.photo-gallery-widget__card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.photo-gallery-widget__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 3px;
  background: rgba(28, 25, 22, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-gallery-widget__action {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(28, 25, 22, 0.82));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}
.photo-gallery-widget__panel {
  margin-top: 18px;
}
.photo-gallery-widget__panel[hidden] {
  display: none;
}
.photo-gallery-widget.is-open .photo-gallery-widget__panel:not([hidden]) {
  animation: gallery-panel-in 0.35s ease-out;
}
@keyframes gallery-panel-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  width: 100%;
}
.photo-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}
.photo-gallery__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.photo-gallery__thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .photo-gallery-widget { max-width: 260px; }
  .photo-gallery-widget__card img { height: 200px; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-gallery__thumb img { height: 130px; }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 8, 0.92);
  padding: 48px 56px;
}
.gallery-lightbox[hidden] { display: none !important; }
body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox__stage {
  flex: 1;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-family: var(--serif, Georgia, serif);
  line-height: 1;
  transition: background 0.2s ease;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}
.gallery-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border-radius: 50%;
}
.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  font-size: 36px;
  border-radius: 4px;
}
.gallery-lightbox__prev { left: 12px; }
.gallery-lightbox__next { right: 12px; }
@media (max-width: 600px) {
  .gallery-lightbox { padding: 56px 12px; }
  .gallery-lightbox__nav { width: 40px; height: 56px; font-size: 28px; }
}
