:root {
  --bg: #0c0b09;
  --bg-elevated: #141210;
  --bg-card: #1a1814;
  --bg-soft: #211e19;
  --cream: #f7f3eb;
  --cream-deep: #efe8dc;
  --cream-muted: #e5ddd0;
  --ink: #141210;
  --ink-soft: #3a3530;
  --ink-muted: #6b6358;
  --border: rgba(201, 162, 39, 0.22);
  --border-strong: rgba(201, 162, 39, 0.42);
  --border-cream: rgba(20, 18, 16, 0.1);
  --text: #f3eee6;
  --text-muted: #a89f91;
  --text-dim: #7a7266;
  --accent: #c9a227;
  --accent-light: #dfc56a;
  --accent-dark: #9a7a1c;
  --stone: #8a8378;
  --stone-light: #d4cdc2;
  --white: #faf7f2;
  --success: #7d9b6a;
  --radius: 2px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 16px 40px rgba(20, 18, 16, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1200px;
  --nav-h: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

/* Subtle atmosphere */
.stone-bg {
  position: relative;
  isolation: isolate;
}
.stone-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 8% 15%, rgba(201, 162, 39, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 85%, rgba(138, 131, 120, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  pointer-events: none;
}
.vein {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background:
    linear-gradient(115deg, transparent 42%, rgba(201, 162, 39, 0.06) 49%, transparent 56%),
    linear-gradient(155deg, transparent 58%, rgba(247, 243, 235, 0.035) 65%, transparent 72%);
  pointer-events: none;
}

/* ========== HEADER (cream plate for logo) ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--border-cream);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(20, 18, 16, 0.08);
}
.nav-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 4px;
  border: 1px solid rgba(20, 18, 16, 0.08);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.logo-mark {
  width: auto;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}
.logo-text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo-text span {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}
@media (max-width: 480px) {
  .logo-mark { height: 48px; }
  .logo-text { display: flex; }
  .logo-text span { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--accent-dark); }
@media (min-width: 1100px) {
  .nav-phone { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset;
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 18, 16, 0.22);
}
.btn-outline-dark:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-inline: 8px;
}
.btn-lg { padding: 16px 34px; font-size: 0.78rem; }

/* Header buttons need dark-friendly outline */
.site-header .btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: none;
}
.site-header .btn-primary:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-cream);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 0;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-cream);
    color: var(--ink-soft);
  }
  .nav-actions .btn { display: none; }
}

/* ========== HERO (editorial showroom) ========== */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: stretch;
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
  background: var(--cream);
  color: var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - var(--nav-h));
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(24px, 5vw, 72px);
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}
.hero .eyebrow {
  color: var(--accent-dark);
}
.hero .eyebrow::before { background: var(--accent); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-dark);
  font-weight: 400;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 36ch;
  margin-bottom: 20px;
  line-height: 1.7;
}
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 36px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-pillars span { position: relative; }
.hero-pillars span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -12px;
  color: var(--accent);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-cream);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-meta div span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  background: var(--cream-deep);
  border-left: 1px solid var(--border-cream);
  overflow: hidden;
}
.hero-showroom {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 14px;
  padding: clamp(20px, 3vw, 36px);
}
.slab {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(20, 18, 16, 0.08);
  box-shadow: var(--shadow-soft);
}
.slab-a {
  grid-row: 1 / 3;
  background:
    linear-gradient(155deg, #f4f0e8 0%, #e8e0d2 28%, #d9d0c0 52%, #ebe4d6 78%, #f7f3eb 100%);
}
.slab-a::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, transparent 18%, rgba(201,162,39,0.18) 36%, transparent 44%),
    linear-gradient(168deg, transparent 48%, rgba(90,80,65,0.1) 58%, transparent 66%),
    linear-gradient(95deg, transparent 62%, rgba(255,255,255,0.55) 72%, transparent 82%),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.4), transparent 45%);
}
.slab-a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, transparent 30%, rgba(60,50,40,0.06) 55%, transparent 70%);
  opacity: 0.9;
}
.slab-b {
  background:
    linear-gradient(145deg, #2a2620 0%, #1a1814 40%, #3a342c 70%, #221f1a 100%);
}
.slab-b::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 22%, rgba(201,162,39,0.28) 40%, transparent 48%),
    linear-gradient(160deg, transparent 55%, rgba(247,243,235,0.1) 62%, transparent 70%);
}
.slab-c {
  background:
    linear-gradient(160deg, #ebe6dc, #d8d0c2 45%, #cfc6b6);
}
.slab-c::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(201,162,39,0.15), transparent 35%),
    linear-gradient(110deg, transparent 35%, rgba(90,80,65,0.08) 50%, transparent 60%);
}
.hero-showroom-caption {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  left: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  z-index: 2;
}
.hero-showroom-caption p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  background: rgba(247, 243, 235, 0.88);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border: 1px solid var(--border-cream);
  max-width: 28ch;
}
.hero-showroom-caption span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(247, 243, 235, 0.88);
  padding: 8px 12px;
  border: 1px solid var(--border-cream);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy {
    max-width: none;
    margin: 0;
    padding: 56px 24px 40px;
  }
  .hero-visual { min-height: 380px; border-left: none; border-top: 1px solid var(--border-cream); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-showroom-caption { flex-direction: column; align-items: flex-start; }
}

/* ========== EYEBROW / SECTIONS ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section {
  padding: 110px 0;
  position: relative;
}
.section-header {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-header.centered {
  margin-inline: auto;
  text-align: center;
}
.section-header.wide { max-width: 720px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.section-cream {
  background: var(--cream);
  color: var(--ink);
  border-block: 1px solid var(--border-cream);
}
.section-cream .section-header h2 { color: var(--ink); }
.section-cream .section-header p { color: var(--ink-muted); }
.section-cream .eyebrow { color: var(--accent-dark); }
.section-cream .eyebrow::before { background: var(--accent); }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head-row .section-header { margin-bottom: 0; }

/* ========== FEATURED TRACKS (3) ========== */
.tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.track {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.track::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.track:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.track-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.track h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.track p {
  color: var(--text-muted);
  font-size: 0.98rem;
  flex: 1;
  margin-bottom: 28px;
}
.track .card-link {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.track .card-link::after {
  content: "→";
  transition: transform 0.2s;
}
.track:hover .card-link::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .tracks { grid-template-columns: 1fr; }
  .track { min-height: auto; }
}

/* ========== DIFFERENTIATOR BAND ========== */
.diff-band {
  padding: 72px 0;
  background: var(--ink);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.diff-band .vein { opacity: 0.5; }
.diff-intro {
  max-width: 520px;
  margin-bottom: 40px;
}
.diff-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.diff-intro p { color: var(--text-muted); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.diff-item {
  background: var(--bg-elevated);
  padding: 28px 26px;
}
.diff-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-light);
  font-weight: 550;
  margin-bottom: 8px;
  line-height: 1.25;
}
.diff-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 800px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ========== SERVICE CARDS (services page) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--bg-soft);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 550;
  color: var(--white);
  line-height: 1.25;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.service-card .card-link {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.service-card .card-link::after {
  content: "→";
  transition: transform 0.2s;
}
.service-card:hover .card-link::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== FEATURE STRIP (legacy / secondary) ========== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-card);
  text-align: left;
}
.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 550;
}
.feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.section-cream .feature {
  background: #fff;
  border-color: var(--border-cream);
  box-shadow: var(--shadow-soft);
}
.section-cream .feature h3 { color: var(--ink); }
.section-cream .feature p { color: var(--ink-muted); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .features { grid-template-columns: 1fr; }
}

/* ========== GALLERY / PROJECTS ========== */
.gallery-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-top: -36px;
  margin-bottom: 40px;
}
.section-cream .gallery-note { color: var(--ink-muted); }

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}
.gallery-frame {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.gallery-frame:hover { border-color: var(--border-strong); }
.frame-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  overflow: hidden;
}
.gallery-frame.featured .frame-stage { aspect-ratio: 4 / 3; min-height: 360px; }
.frame-slab {
  position: absolute;
  inset: 0;
}
.frame-slab.quartz {
  background:
    linear-gradient(160deg, #2c2822, #151310 40%, #3d372e);
}
.frame-slab.quartz::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, transparent 25%, rgba(201,162,39,0.2) 45%, transparent 52%),
    linear-gradient(200deg, transparent 60%, rgba(243,238,230,0.08) 70%, transparent 78%);
}
.frame-slab.granite {
  background: linear-gradient(145deg, #242018, #0f0e0c 50%, #2a2620);
}
.frame-slab.granite::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,162,39,0.12), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(138,131,120,0.15), transparent 30%),
    linear-gradient(110deg, transparent 40%, rgba(212,205,194,0.1) 50%, transparent 58%);
}
.frame-mat {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 243, 235, 0.12);
  pointer-events: none;
}
.frame-mat::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.15);
}
.frame-caption {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--border);
}
.frame-caption .project-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 500;
}
.frame-caption h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 550;
  line-height: 1.2;
}
.frame-caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

/* Cream gallery variant */
.section-cream .gallery-frame {
  background: #fff;
  border-color: var(--border-cream);
  box-shadow: var(--shadow-soft);
}
.section-cream .frame-caption { border-top-color: var(--border-cream); }
.section-cream .frame-caption h3 { color: var(--ink); }
.section-cream .frame-caption p { color: var(--ink-muted); }
.section-cream .frame-caption .project-tag { color: var(--accent-dark); }

@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-frame.featured .frame-stage { min-height: 260px; }
}

/* Keep old project-card for safety */
.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: var(--bg-card);
}
.project-card.tall { min-height: 420px; }
.project-texture { position: absolute; inset: 0; z-index: 0; }
.project-texture.quartz {
  background: linear-gradient(160deg, #2c2822, #151310 40%, #3d372e);
}
.project-texture.quartz::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, transparent 25%, rgba(201,162,39,0.18) 45%, transparent 52%),
    linear-gradient(200deg, transparent 60%, rgba(243,238,230,0.08) 70%, transparent 78%);
}
.project-texture.granite {
  background: linear-gradient(145deg, #242018, #0f0e0c 50%, #2a2620);
}
.project-texture.granite::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,162,39,0.12), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(138,131,120,0.15), transparent 30%),
    linear-gradient(110deg, transparent 40%, rgba(212,205,194,0.1) 50%, transparent 58%);
}
.project-card > *:not(.project-texture) { position: relative; z-index: 1; }
.project-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 550;
}
.project-card p { color: var(--text-muted); max-width: 42ch; }
@media (max-width: 800px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.tall { min-height: 300px; }
}

/* ========== TESTIMONIALS (editorial pull-quotes) ========== */
.pullquotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pullquote {
  position: relative;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--accent);
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 400;
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.pullquote cite::before {
  content: "— ";
  color: var(--text-dim);
}
.section-cream .pullquote blockquote { color: var(--ink); }
.section-cream .pullquote cite { color: var(--accent-dark); }

/* Compact card testimonials (about page optional) */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px 32px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 24px;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
@media (max-width: 700px) {
  .pullquotes,
  .testimonials { grid-template-columns: 1fr; }
}

/* ========== CTA BAND ========== */
.cta-band {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  border-block: 1px solid var(--border);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 500;
  color: var(--white);
  max-width: 18ch;
  line-height: 1.15;
}
.cta-band p {
  color: var(--text-muted);
  max-width: 38ch;
  margin-top: 12px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== PAGE HERO ========== */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
}
.page-hero::before {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(201,162,39,0.08), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%) !important;
}
.page-hero .eyebrow { color: var(--accent-dark); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--ink-muted);
  font-size: 1.1rem;
  max-width: 48ch;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.diff-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.diff-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.diff-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
}
.about-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.about-panel .vein { opacity: 0.5; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
}
.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.creds {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: grid;
  gap: 12px;
}
.creds li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.creds li span:last-child { color: var(--accent-light); text-align: right; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 500;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}
.contact-methods {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-method .label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-method a,
.contact-method .value {
  font-size: 1.1rem;
  color: var(--white);
  transition: color 0.2s;
}
.contact-method a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a39a8c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 14px;
}
.form-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--success);
  background: rgba(125, 155, 106, 0.1);
  border-radius: var(--radius);
  color: var(--stone-light);
  margin-bottom: 18px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  padding: 20px;
  border: 1px solid #c45c5c;
  background: rgba(196, 92, 92, 0.1);
  border-radius: var(--radius);
  color: var(--stone-light);
  margin-bottom: 18px;
}
.form-error.show { display: block; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-plate {
  background: #fff;
  padding: 3px;
}
.footer-brand .logo-mark { height: 56px; }
.footer-brand .logo-text { display: none; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 30ch;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.68rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 20px !important;
  max-width: none !important;
}
.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* UTIL */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========== REAL PROJECT PHOTOS ========== */
.frame-stage img,
.frame-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.frame-stage.has-photo {
  background: var(--bg-soft);
}
.frame-stage.has-photo .frame-mat {
  border-color: rgba(255,255,255,0.18);
}
.frame-stage.has-photo .frame-mat::after {
  border-color: rgba(201,162,39,0.22);
}

.project-feature {
  margin-bottom: 48px;
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.project-feature-head {
  padding: 32px 32px 24px;
}
.project-feature-head .project-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
  font-weight: 500;
}
.project-feature-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.project-feature-head p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  max-width: 62ch;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 0 8px 8px;
  min-height: 420px;
}
.photo-mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-deep);
  min-height: 180px;
}
.photo-mosaic .mosaic-hero {
  grid-row: 1 / 3;
  min-height: 400px;
}
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.photo-mosaic figure:hover img {
  transform: scale(1.03);
}
.photo-mosaic figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(12,11,9,0.72));
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.gallery-stack {
  display: grid;
  gap: 22px;
}
.gallery-stack .gallery {
  grid-template-columns: 1fr;
}
.gallery-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 480px;
}
@media (min-width: 900px) {
  .projects-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.home-project-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}
.home-project-card .gallery-frame {
  margin: 0;
}
@media (max-width: 800px) {
  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .photo-mosaic .mosaic-hero {
    grid-row: auto;
    min-height: 260px;
    aspect-ratio: 16 / 11;
  }
  .photo-mosaic figure {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }
  .home-project-card {
    grid-template-columns: 1fr;
  }
  .project-feature-head { padding: 24px 20px 18px; }
}
a.frame-stage {
  display: block;
  color: inherit;
}
.section-cream .card-link { color: var(--accent-dark); }
.section-cream .gallery-frame.featured .frame-stage.has-photo {
  min-height: 360px;
}

.gallery-pair {
  grid-template-columns: 1fr 1fr;
}
.frame-stage.portrait {
  aspect-ratio: 4 / 5;
}
.gallery-frame .frame-stage.portrait {
  min-height: 0;
}
@media (max-width: 800px) {
  .gallery-pair { grid-template-columns: 1fr; }
}

/* Before / After project layout */
.before-after { padding: 0 8px 8px; }
.ba-label {
  display: inline-block;
  margin: 0 0 10px 8px;
  padding: 5px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream-muted);
  border: 1px solid var(--border-cream);
}
.ba-mosaic {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 380px;
}
.ba-mosaic .mosaic-hero { grid-row: 1 / 3; }
.ba-mosaic .after-slot {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-height: 160px;
  padding: 22px;
  border: 1px dashed rgba(20,18,16,0.22);
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(20,18,16,0.03) 8px,
      rgba(20,18,16,0.03) 16px
    ),
    var(--cream-deep);
}
.after-slot-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}
.after-slot p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.3;
}
.photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  background: rgba(12,11,9,0.72);
  border: 1px solid rgba(247,243,235,0.2);
}
@media (max-width: 800px) {
  .ba-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .ba-mosaic .mosaic-hero { grid-row: auto; }
  .ba-mosaic .after-slot { grid-column: auto; grid-row: auto; min-height: 120px; }
}

.logan-mosaic {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr;
  min-height: 360px;
}
.logan-mosaic .mosaic-hero {
  grid-row: 1;
  min-height: 360px;
  aspect-ratio: 3 / 4;
}
.logan-mosaic .logan-video-slot {
  grid-column: 2;
  grid-row: 1;
  min-height: 360px;
  justify-content: center;
}
@media (max-width: 800px) {
  .logan-mosaic {
    grid-template-columns: 1fr;
  }
  .logan-mosaic .mosaic-hero {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .logan-mosaic .logan-video-slot {
    grid-column: auto;
    min-height: 120px;
  }
}

/* 4-photo mosaic: tall hero + wide + two */
.mosaic-4 {
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  min-height: 0;
}
.mosaic-4 .m4-hero { grid-column: 1; grid-row: 1 / 3; min-height: 0; }
.mosaic-4 .m4-wide { grid-column: 2 / 4; grid-row: 1; aspect-ratio: 4 / 3; min-height: 0; }
.mosaic-4 figure:not(.m4-hero):not(.m4-wide) { aspect-ratio: 3 / 4; min-height: 0; }
@media (max-width: 800px) {
  .mosaic-4 { grid-template-columns: 1fr 1fr; }
  .mosaic-4 .m4-hero { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 3 / 4; }
  .mosaic-4 .m4-wide { grid-column: 1 / 3; grid-row: auto; }
}

/* 6-photo mosaic: large hero + two side + three-up bottom row */
.mosaic-6m {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  min-height: 0;
}
.mosaic-6m figure { aspect-ratio: 4 / 3; min-height: 0; }
.mosaic-6m .m6-hero { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: auto; }
.mosaic-6m figure:not(.m6-hero):not(.m6-bottom) { grid-column: 5 / 7; }
.mosaic-6m .m6-bottom { grid-column: span 2; aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .mosaic-6m { grid-template-columns: 1fr 1fr; }
  .mosaic-6m .m6-hero { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic-6m figure:not(.m6-hero):not(.m6-bottom) { grid-column: span 1; }
  .mosaic-6m .m6-bottom { grid-column: span 1; }
  .mosaic-6m .m6-vanity { grid-column: 1 / 3; aspect-ratio: 4 / 3; }
}

/* 2-photo mosaic */
.mosaic-2 {
  grid-template-columns: 3fr 4fr;
  grid-template-rows: auto;
  min-height: 0;
}
.mosaic-2 figure { min-height: 0; }
.mosaic-2 .m2-lead { aspect-ratio: 3 / 4; }
.mosaic-2-even { grid-template-columns: 1fr 1fr; }
.mosaic-2-even figure { aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .mosaic-2 { grid-template-columns: 1fr; }
  .mosaic-2 figure { aspect-ratio: 4 / 3; }
  .mosaic-2 .m2-lead { aspect-ratio: 3 / 4; }
  .mosaic-2-even { grid-template-columns: 1fr 1fr; }
  .mosaic-2-even figure { aspect-ratio: 3 / 4; }
}

/* Project status */
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.tag-row .project-tag { margin-bottom: 0; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid var(--accent);
  border-radius: 999px;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Single-photo split layout */
.project-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.project-split .project-feature-head { padding: 40px; }
.split-photo { padding: 8px; }
.split-photo figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1536 / 1824;
  background: var(--cream-deep);
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.split-photo figure:hover img { transform: scale(1.03); }
.split-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(12,11,9,0.72));
  color: var(--cream);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
@media (max-width: 800px) {
  .project-split { grid-template-columns: 1fr; }
  .project-split .project-feature-head { padding: 24px 20px 18px; }
}

/* West Jordan: wide lead, 3 details, wide room */
.mosaic-wj {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: none;
  grid-auto-rows: auto;
  min-height: 0;
  gap: 8px;
}
.mosaic-wj figure { aspect-ratio: 4 / 3; min-height: 0; }
.mosaic-wj .wj-wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
@media (max-width: 800px) {
  .mosaic-wj { grid-template-columns: 1fr; }
  .mosaic-wj .wj-wide { aspect-ratio: 3 / 2; }
}

/* Equal-height rows sized by each photo's aspect (--ar) */
.photo-mosaic.mrows {
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  min-height: 0;
  gap: 8px;
}
.mrow { display: flex; gap: 8px; }
.mrow figure { flex: var(--ar, 1) 1 0; aspect-ratio: var(--ar, 1); min-height: 0; }

/* Commons: lead over perimeter, tall island at right */
.photo-mosaic.mosaic-commons {
  grid-template-columns: 1fr 1.18fr;
  grid-template-rows: auto auto;
  min-height: 0;
}
.mosaic-commons .cm-lead { grid-column: 1; grid-row: 1; aspect-ratio: 1800 / 1484; min-height: 0; }
.mosaic-commons .cm-perim { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; min-height: 0; }
.mosaic-commons .cm-tall { grid-column: 2; grid-row: 1 / 3; }
.mosaic-commons .cm-tall img { position: absolute; inset: 0; }
@media (max-width: 800px) {
  .mrow { flex-direction: column; }
  .mrow figure { flex: none; width: 100%; }
  .photo-mosaic.mosaic-commons { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic-commons .cm-lead, .mosaic-commons .cm-perim, .mosaic-commons .cm-tall { grid-column: auto; grid-row: auto; }
  .mosaic-commons .cm-tall { aspect-ratio: 3 / 4; }
}

/* Inline project videos */
.video-figure { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: var(--ink); }
.video-figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-figure figcaption { z-index: 1; pointer-events: none; }
.video-figure video[controls] + figcaption { display: none; }
.logan-mosaic { grid-template-columns: 1fr 0.75fr; }
.logan-mosaic .logan-video { grid-column: 2; grid-row: 1; min-height: 360px; }

/* Puerto Vallarta: during-construction stack beside finished video */
.pv-ba { display: grid; grid-template-columns: 1fr 0.84fr; gap: 8px; align-items: stretch; }
.pv-col { display: flex; flex-direction: column; min-width: 0; }
.photo-mosaic.pv-stack {
  display: grid; grid-template-columns: 1fr; grid-template-rows: none;
  gap: 8px; padding: 0; min-height: 0;
}
.pv-stack figure:not(.video-figure) { aspect-ratio: 4 / 3; min-height: 0; }
.photo-mosaic.pv-after { flex: 1; grid-template-rows: 1fr; }
.pv-after .video-figure { min-height: 0; height: 100%; }
.ba-label-after { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 800px) {
  .logan-mosaic .logan-video { grid-column: auto; grid-row: auto; aspect-ratio: 9 / 16; min-height: 0; max-height: 82vh; }
  .pv-ba { grid-template-columns: 1fr; gap: 18px; }
  .pv-after .video-figure { aspect-ratio: 9 / 16; height: auto; max-height: 82vh; }
}
.pv-col .ba-label { align-self: flex-start; }
@media (max-width: 800px) {
  .logan-mosaic { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .logan-mosaic .mosaic-hero { min-height: 0; }
}

/* ========== PROJECTS PAGE: intro, featured, more ========== */
.pj-hero { padding: calc(var(--nav-h) + 64px) 0 0; }
.pj-hero h1 { max-width: 20ch; }
.pj-hero h1 em { font-style: italic; color: var(--accent-dark); }
.pj-hero .pj-hero-lead { max-width: 62ch; font-size: 1.12rem; }
.pj-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pj-cred {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 52px;
  border-top: 1px solid var(--border-cream);
}
.pj-cred li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 20px 22px;
  border-left: 1px solid var(--border-cream);
}
.pj-cred li.pj-cred-label {
  border-left: 0;
  padding-left: 0;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}
.pj-cred strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.pj-cred span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.section.pj-featured { padding: 72px 0 96px; }
.pj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 36px;
}
.pj-head .eyebrow { margin-bottom: 12px; }
.pj-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.pj-head > p { color: var(--ink-muted); max-width: 40ch; }

/* Featured entries */
.pj-feat {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.pj-feat + .pj-feat { margin-top: 32px; }
.pj-feat--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.pj-feat--flip .pj-feat-media { order: 2; }
.pj-feat-media { display: grid; gap: 8px; padding: 8px; align-content: center; }
.pj-feat-media figure,
.pcard-media figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-deep);
  min-height: 0;
}
.pj-feat-media picture,
.pcard-media picture { position: absolute; inset: 0; display: block; }
.pj-feat-media img,
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pj-feat-media figure:hover img,
.pcard-media figure:hover img { transform: scale(1.03); }
.pj-feat-media figcaption,
.pcard-media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(12,11,9,0.72));
  color: var(--cream);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
}
.pj-ba-badge { pointer-events: none; }
.pj-ba-after { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Tall lead + two stacked */
.fm-stack { grid-template-columns: minmax(0, 1fr) minmax(0, var(--tallw, .844fr)); }
.fm-stack.fm-tall-left { grid-template-columns: minmax(0, var(--tallw, .844fr)) minmax(0, 1fr); }
.fm-stack > .fm-s1, .fm-stack > .fm-s2 { aspect-ratio: var(--stack-ar, 4 / 3); grid-column: 1; }
.fm-stack > .fm-s1 { grid-row: 1; }
.fm-stack > .fm-s2 { grid-row: 2; }
.fm-stack > .fm-tall { grid-column: 2; grid-row: 1 / span 2; }
.fm-stack.fm-tall-left > .fm-s1, .fm-stack.fm-tall-left > .fm-s2 { grid-column: 2; }
.fm-stack.fm-tall-left > .fm-tall { grid-column: 1; }
.fm-thumbs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: 8px;
}
.fm-thumbs figure { aspect-ratio: 4 / 3; }
.fm-thumbs figcaption { padding: 20px 10px 8px; font-size: 0.6rem; }

/* Natural-ratio rows */
.fm-rows { display: flex; flex-direction: column; justify-content: center; }
.fm-row { display: flex; gap: 8px; }
.fm-row figure { flex: var(--ar, 1) 1 0; aspect-ratio: var(--ar, 1); }

.pj-feat-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 36px;
}
.pj-audience {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 13px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
}
.pj-audience::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pj-audience--pro { color: var(--ink); background: rgba(201,162,39,0.16); border: 1px solid var(--accent); }
.pj-audience--pro::before { background: var(--accent); }
.pj-audience--home { color: var(--cream); background: var(--ink); border: 1px solid var(--ink); }
.pj-audience--home::before { background: var(--accent); }
.pj-feat-body .project-tag { color: var(--accent-dark); font-size: 0.64rem; margin-bottom: 8px; }
.pj-feat-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}
.pj-stat { display: flex; align-items: center; gap: 14px; margin: 2px 0 16px; }
.pj-stat strong {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--accent-dark);
}
.pj-stat span {
  max-width: 15ch;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-muted);
  font-weight: 500;
}
.pj-lede { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 20px; }
.pj-specs {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-block: 1px solid var(--border-cream);
  font-size: 0.9rem;
}
.pj-specs div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
.pj-specs dt {
  padding-top: 3px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
}
.pj-specs dd { color: var(--ink); line-height: 1.45; }
.pj-notes { margin-bottom: 24px; color: var(--ink-muted); font-size: 0.9rem; }
.pj-notes summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.pj-notes summary::-webkit-details-marker { display: none; }
.pj-notes summary::after { content: "+"; font-size: 1rem; line-height: 1; color: var(--accent-dark); }
.pj-notes[open] summary::after { content: "\2212"; }
.pj-notes summary:hover { color: var(--accent-dark); }
.pj-notes p { margin-top: 10px; }
.pj-cta { align-self: flex-start; }

/* More projects */
.section.pj-more { background: var(--cream-deep); padding: 88px 0 96px; }
.pj-group + .pj-group { margin-top: 56px; }
.pj-group { scroll-margin-top: calc(var(--nav-h) + 16px); }
.pj-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(20,18,16,0.14);
}
.pj-group-head h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--ink); }
.pj-group-head span { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,18,16,0.05);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.pcard-media { display: grid; gap: 6px; padding: 6px; }
.pcard-lead { aspect-ratio: 4 / 3; }
.pcard-lead.pcard-lead--tall { aspect-ratio: 1 / 1; }
.pcard-thumbs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 6px; }
.pcard-thumbs figure { aspect-ratio: var(--thumb-ar, 1); }
.pcard-thumbs figcaption {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0 !important;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pcard-pair { grid-template-columns: 1fr 1fr; }
.pcard-pair figure { aspect-ratio: 2 / 3; }
.pcard-body { padding: 20px 22px 24px; }
.pcard-body .project-tag { color: var(--accent-dark); font-size: 0.6rem; margin-bottom: 8px; }
.pcard-body .tag-row { margin-bottom: 8px; }
.pcard-body h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
}
.pcard-body p { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.6; }

.pcard-lead.pcard-lead--single { aspect-ratio: 4 / 5; }
.pcard-row .fm-row { gap: 6px; }
.pcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.pcard-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.pcard-gallery figure { aspect-ratio: 4 / 3; }
.pcard-gallery figcaption { padding: 22px 10px 8px; font-size: 0.6rem; }
.pcard--wide .pcard-body { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
.pcard-cta {
  justify-content: center;
  padding: 32px 30px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.pcard-cta .pj-audience--home { background: rgba(247,243,235,0.08); border-color: rgba(247,243,235,0.24); }
.pcard-cta h4 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.15; margin-bottom: 10px; color: var(--cream); }
.pcard-cta p:not(.pj-audience) { color: var(--stone-light); font-size: 0.95rem; margin-bottom: 22px; }
.pcard-cta .btn { align-self: flex-start; }

/* Lightbox */
[data-lightbox] figure[role="button"] { cursor: zoom-in; }
[data-lightbox] figure[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.pj-lb-open { overflow: hidden; }
.pj-lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12,11,9,0.94);
  color: var(--cream);
}
.pj-lightbox::backdrop { background: rgba(12,11,9,0.6); }
.pj-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.pj-lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 72px 28px; max-width: 100%; max-height: 100%; }
.pj-lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.pj-lb-figure figcaption { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-light); text-align: center; }
.pj-lb-btn {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: rgba(247,243,235,0.08);
  border: 1px solid rgba(247,243,235,0.22);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.pj-lb-btn:hover, .pj-lb-btn:focus-visible { border-color: var(--accent); color: var(--accent-light); outline: none; }
.pj-lb-close { top: 16px; right: 16px; }
.pj-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pj-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.pj-lb-count { position: absolute; top: 28px; left: 24px; font-size: 0.66rem; letter-spacing: 0.18em; color: var(--stone-light); }

@media (max-width: 1100px) {
  .pj-cred { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pj-cred li.pj-cred-label { grid-column: 1 / -1; padding: 16px 0 0; }
  .pj-cred li:nth-child(2) { border-left: 0; padding-left: 0; }
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pj-feat, .pj-feat--flip { grid-template-columns: 1fr; }
  .pj-feat--flip .pj-feat-media { order: 0; }
  .pj-feat-body { padding: 28px 30px 32px; }
  .pj-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .pj-hero { padding-top: calc(var(--nav-h) + 36px); }
  .pj-hero h1 { font-size: clamp(2.2rem, 9vw, 2.7rem); }
  .pj-hero .pj-hero-lead { font-size: 1rem; }
  .pj-hero-ctas { margin-top: 22px; }
  .pj-hero-ctas .btn { flex: 1 1 100%; }
  .pj-cred {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    margin: 32px -24px 0;
    padding: 0 24px;
    scrollbar-width: none;
  }
  .pj-cred::-webkit-scrollbar { display: none; }
  .pj-cred li { flex: 0 0 auto; padding: 16px 18px; scroll-snap-align: start; }
  .pj-cred li.pj-cred-label { display: none; }
  .pj-cred li:nth-child(2) { border-left: 0; padding-left: 0; }
  .pj-cred strong { font-size: 1.45rem; }
  .section.pj-featured { padding: 48px 0 64px; }
  .pj-head { margin-bottom: 24px; }
  .pj-feat { margin-inline: -24px; border-radius: 0; border-inline: 0; }
  .pj-feat + .pj-feat { margin-top: 24px; }
  .pj-feat-media, .fm-thumbs, .fm-row { gap: 4px; }
  .pj-feat-media { padding: 0; }
  .pj-feat-media figcaption { padding: 22px 10px 8px; font-size: 0.58rem; letter-spacing: 0.1em; }
  .fm-thumbs figcaption { display: none; }
  .pj-ba-badge { top: 8px; left: 8px; }
  .pj-feat-body { padding: 22px 24px 28px; }
  .pj-specs div { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .pj-cta { align-self: stretch; }
  .pj-grid { grid-template-columns: 1fr; gap: 16px; }
  .pcard--wide { grid-template-columns: 1fr; }
  .pcard-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--wide .pcard-body { padding: 20px 22px 24px; }
  .pcard-cta .btn { align-self: stretch; }
  .section.pj-more { padding: 56px 0 64px; }
  .pj-lb-figure { padding: 64px 12px 20px; }
  .pj-lb-prev, .pj-lb-next { top: auto; bottom: 16px; transform: none; }
  .pj-lb-figure img { max-height: calc(100vh - 190px); }
}

/* ========== HOME (v2): hero, proof, work, paths, services, reviews, contact ========== */
.hm-arrow { display: inline-block; transition: transform 0.25s ease; }
a:hover > .hm-arrow, a:focus-visible > .hm-arrow { transform: translateX(4px); }

.hm-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 56px) 0 0;
  background: var(--ink);
  color: var(--cream);
}
.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 88% 20%, rgba(201,162,39,0.16), transparent 60%),
    radial-gradient(ellipse 45% 50% at 5% 95%, rgba(138,131,120,0.14), transparent 60%),
    linear-gradient(115deg, transparent 38%, rgba(212,205,194,0.05) 48%, transparent 56%);
}
.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "copy media";
  gap: 64px;
  align-items: center;
}
.hm-hero-copy { grid-area: copy; }
.hm-hero-media { grid-area: media; }
.hm-hero .eyebrow { color: var(--accent-light); margin-bottom: 20px; }
.hm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--cream);
  max-width: 17ch;
}
.hm-hero h1 em { font-style: italic; color: var(--accent-light); }
.hm-lead { margin: 22px 0 30px; max-width: 50ch; color: var(--stone-light); font-size: 1.08rem; line-height: 1.65; }
.hm-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 580px; }
.hm-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 14px;
  padding: 18px 20px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hm-path:hover { transform: translateY(-2px); }
.hm-path--pro { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hm-path--pro:hover { background: var(--accent-light); border-color: var(--accent-light); }
.hm-path--home { color: var(--cream); border-color: rgba(247,243,235,0.34); background: rgba(247,243,235,0.04); }
.hm-path--home:hover { border-color: var(--accent-light); }
.hm-path-kicker {
  grid-column: 1;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.78;
}
.hm-path-label { grid-column: 1; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.12; font-weight: 500; }
.hm-path .hm-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.25rem; }
.hm-pillars { margin-top: 28px; font-size: 0.64rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); font-weight: 500; }

.hm-hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.hm-hero-media::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(201,162,39,0.35);
  pointer-events: none;
  z-index: -1;
}
.hm-tile { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: #1f1c18; min-height: 0; }
.hm-tile--lead { grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
.hm-tile picture, .hm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-tile figcaption,
.hm-panel-media figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(12,11,9,0.72);
  backdrop-filter: blur(4px);
  color: var(--cream);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
}
.hm-tile figcaption span { color: var(--accent-light); margin-right: 4px; }

.hm-proof {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid rgba(247,243,235,0.14);
}
.hm-proof li { padding: 22px 18px 26px; border-left: 1px solid rgba(247,243,235,0.14); display: flex; flex-direction: column; gap: 6px; }
.hm-proof li:first-child { border-left: 0; padding-left: 0; }
.hm-proof strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--cream); white-space: nowrap; }
.hm-proof span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); line-height: 1.5; }

/* Section heads */
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: 40px; }
.hm-head .eyebrow { margin-bottom: 12px; }
.hm-head h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 500; line-height: 1.08; color: var(--ink); }
.hm-head--dark h2 { color: var(--cream); }
.hm-head-side { max-width: 44ch; color: var(--ink-muted); }
.hm-head--dark .hm-head-side { color: var(--text-muted); }
.hm-head-side p { margin-bottom: 12px; }
.hm-textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); }
.hm-textlink:hover { color: var(--ink); }

/* Featured work */
.section.hm-work { padding: 96px 0; }
.hm-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 290px));
  gap: 12px;
}
.hm-work-tile { position: relative; display: block; overflow: hidden; border-radius: 2px; background: var(--ink); color: var(--cream); min-height: 0; }
.hm-w-cottonwood { grid-row: 1 / span 2; }
.hm-w-midvale { grid-column: 3; grid-row: 1 / span 2; }
.hm-w-pv { grid-column: 2; grid-row: 1; }
.hm-w-herriman { grid-column: 2; grid-row: 2; }
.hm-work-tile picture, .hm-work-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.hm-work-tile:hover img { transform: scale(1.04); }
.hm-work-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(12,11,9,0.82)); pointer-events: none; }
.hm-work-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.hm-work-tag { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
.hm-work-title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; font-weight: 500; }
.hm-work-sub { font-size: 0.85rem; color: var(--stone-light); }
.hm-work-stat { font-family: var(--font-display); font-size: clamp(3.2rem, 5vw, 4.4rem); line-height: 0.9; color: var(--accent-light); font-weight: 500; }
.hm-w-pv::before { content: "During construction"; position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--cream); background: rgba(12,11,9,0.72); border: 1px solid rgba(247,243,235,0.2); }

/* Two paths */
.section.hm-how { padding: 104px 0; background: var(--bg); }
.hm-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas: "media head" "media list" "media steps" "media cta";
  grid-template-rows: auto auto 1fr auto;
  border-radius: 3px;
  overflow: hidden;
}
.hm-panel--pro { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); }
.hm-panel--home { background: var(--cream); border: 1px solid var(--cream); color: var(--ink); }
.hm-panel-media { grid-area: media; position: relative; margin: 0; overflow: hidden; min-height: 100%; background: #1f1c18; }
.hm-panel-media picture, .hm-panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-panel-head { grid-area: head; padding: 30px 28px 0; }
.hm-panel-head .pj-audience { margin-bottom: 14px; }
.hm-panel--pro .pj-audience--pro { color: var(--cream); background: rgba(201,162,39,0.14); }
.hm-panel h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.12; }
.hm-panel--pro h3 { color: var(--cream); }
.hm-checks { grid-area: list; padding: 18px 28px 0; display: grid; gap: 8px; font-size: 0.92rem; }
.hm-checks li { position: relative; padding-left: 22px; line-height: 1.5; }
.hm-checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.hm-panel--pro .hm-checks { color: var(--stone-light); }
.hm-panel--home .hm-checks { color: var(--ink-soft); }
.hm-steps { grid-area: steps; counter-reset: step; list-style: none; margin: 22px 28px 0; padding-top: 18px; border-top: 1px solid rgba(201,162,39,0.28); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-content: start; }
.hm-steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; font-size: 0.8rem; line-height: 1.45; }
.hm-steps li::before { content: "0" counter(step); grid-row: 1 / span 2; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--accent); }
.hm-steps strong { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hm-panel--pro .hm-steps { color: var(--text-muted); }
.hm-panel--pro .hm-steps strong { color: var(--cream); }
.hm-panel--home .hm-steps { color: var(--ink-muted); }
.hm-panel--home .hm-steps strong { color: var(--ink); }
.hm-panel-cta { grid-area: cta; justify-self: start; margin: 24px 28px 30px; }

/* Services bento */
.section.hm-services { padding: 96px 0; }
.hm-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 12px; }
.hm-svc { position: relative; display: block; overflow: hidden; border-radius: 2px; background: var(--ink); color: var(--cream); min-height: 0; }
.hm-svc--lead { grid-column: span 2; grid-row: span 2; }
.hm-svc picture, .hm-svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.hm-svc:hover img { transform: scale(1.04); }
.hm-svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,9,0.05) 30%, rgba(12,11,9,0.86)); pointer-events: none; }
.hm-svc-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.hm-svc-title { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; font-weight: 500; }
.hm-svc--lead .hm-svc-title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.hm-svc-desc { font-size: 0.84rem; line-height: 1.5; color: var(--stone-light); max-width: 46ch; }
.hm-svc--lead .hm-svc-title::after { content: " \2192"; color: var(--accent-light); font-family: var(--font-body); font-size: 0.8em; }
.hm-svc:not(.hm-svc--lead) .hm-svc-title { font-size: 1.3rem; }

/* Reviews */
.section.hm-reviews { padding: 88px 0; background: var(--cream-deep); color: var(--ink); border-block: 1px solid var(--border-cream); }
.hm-reviews .eyebrow { color: var(--accent-dark); }
.hm-reviews-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.hm-reviews h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.12; }
.hm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hm-quote { margin: 0; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--border-cream); border-radius: 3px; }
.hm-quote blockquote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.hm-quote figcaption { margin-top: 16px; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }

/* Contact */
.section.hm-contact { padding: 104px 0; background: var(--bg); scroll-margin-top: calc(var(--nav-h) - 8px); }
.hm-contact .contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.1; }
.hm-audience { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-audience legend { width: 100%; margin-bottom: 8px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.hm-aud-opt { position: relative; cursor: pointer; }
.hm-aud-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-aud-opt span { display: inline-flex; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem; color: var(--text); transition: all 0.2s; }
.hm-aud-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 500; }
.hm-aud-opt input:focus-visible + span { outline: 2px solid var(--accent-light); outline-offset: 2px; }

@media (max-width: 1100px) {
  .hm-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-proof li:nth-child(4) { border-left: 0; padding-left: 0; }
  .hm-panels { grid-template-columns: 1fr; }
  .hm-panel { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); }
}
@media (max-width: 900px) {
  .hm-hero { padding-top: calc(var(--nav-h) + 20px); }
  .hm-hero-grid { grid-template-columns: 1fr; grid-template-areas: "media" "copy"; gap: 24px; }
  .hm-hero-media { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr; gap: 6px; height: clamp(220px, 34vh, 340px); }
  .hm-hero-media::before { display: none; }
  .hm-tile--lead { grid-row: auto; aspect-ratio: auto; }
  .hm-tile figcaption { left: 6px; bottom: 6px; padding: 4px 7px; font-size: 0.5rem; letter-spacing: 0.1em; }
  .hm-tile figcaption span { display: block; margin: 0; }
  .hm-hero h1 { font-size: clamp(2rem, 8.4vw, 2.9rem); max-width: 18ch; }
  .hm-lead { margin: 14px 0 20px; font-size: 0.98rem; line-height: 1.6; }
  .hm-paths { gap: 8px; }
  .hm-path { padding: 14px 14px 15px; gap: 4px 8px; }
  .hm-path-kicker { font-size: 0.54rem; letter-spacing: 0.14em; }
  .hm-path-label { font-size: 1.12rem; }
  .hm-pillars { margin-top: 20px; }
  .hm-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .hm-proof li { padding: 16px 14px 18px; }
  .hm-proof li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hm-proof li:nth-child(4) { border-left: 1px solid rgba(247,243,235,0.14); padding-left: 14px; }
  .hm-proof li:nth-child(n+3) { border-top: 1px solid rgba(247,243,235,0.14); }
  .hm-proof strong { font-size: 1.45rem; }
  .hm-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .section.hm-work, .section.hm-services { padding: 64px 0; }
  .section.hm-how, .section.hm-contact { padding: 72px 0; }
  .section.hm-reviews { padding: 64px 0; }
  .hm-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .hm-w-cottonwood, .hm-w-pv, .hm-w-midvale, .hm-w-herriman { grid-column: auto; grid-row: auto; }
  .hm-w-cottonwood { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .hm-w-pv { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .hm-w-midvale, .hm-w-herriman { aspect-ratio: 3 / 4; }
  .hm-w-herriman img { object-position: 35% center; }
  .hm-work-text { left: 16px; right: 16px; bottom: 14px; }
  .hm-work-title { font-size: 1.3rem; }
  .hm-w-midvale .hm-work-title, .hm-w-herriman .hm-work-title { font-size: 1.1rem; }
  .hm-work-stat { font-size: 2.8rem; }
  .hm-reviews-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .hm-panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas: "media head" "list list" "steps steps" "cta cta";
    grid-template-rows: auto;
  }
  .hm-panel-media { aspect-ratio: 3 / 4; min-height: 0; margin: 16px 0 0 16px; border-radius: 2px; }
  .hm-panel-head { padding: 18px 18px 0 16px; align-self: end; }
  .hm-panel-head .pj-audience { font-size: 0.52rem; padding: 5px 9px; letter-spacing: 0.12em; margin-bottom: 10px; }
  .hm-panel h3 { font-size: 1.4rem; }
  .hm-panel-media figcaption { display: none; }
  .hm-checks { padding: 18px 20px 0; font-size: 0.9rem; }
  .hm-steps { margin: 20px 20px 0; }
  .hm-panel-cta { justify-self: stretch; margin: 22px 20px 24px; }
  .hm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 8px; }
  .hm-svc--lead { grid-column: 1 / -1; grid-row: span 1; height: 280px; }
  .hm-svc-text { left: 14px; right: 14px; bottom: 12px; }
  .hm-svc-title { font-size: 1.12rem; }
  .hm-svc:not(.hm-svc--lead) .hm-svc-desc { display: none; }
  .hm-quotes { grid-template-columns: 1fr; }
  .hm-quote blockquote { font-size: 1.15rem; }
}

/* Home hero: keep both CTAs inside the first mobile screen */
@media (max-width: 640px) {
  .hm-hero { padding-top: calc(var(--nav-h) + 14px); }
  .hm-hero-grid { gap: 18px; }
  .hm-hero-media { height: clamp(170px, 25vh, 240px); }
  .hm-hero .eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; margin-bottom: 12px; gap: 10px; }
  .hm-hero .eyebrow::before { width: 20px; }
  .hm-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hm-lead { margin: 10px 0 16px; font-size: 0.92rem; line-height: 1.55; }
}

/* Stat legibility over bright sky; services bento rows on mobile */
.hm-work-stat { text-shadow: 0 2px 18px rgba(12,11,9,0.55); }
.hm-work-tile:has(.hm-work-stat)::after { background: linear-gradient(180deg, transparent 25%, rgba(12,11,9,0.88) 80%); }
@media (max-width: 640px) {
  .hm-svc-grid { grid-auto-rows: auto; }
  .hm-svc { height: 200px; }
  .hm-svc--lead { grid-row: auto; height: 320px; }
}

/* Builders panel crane clip: keep the rack in frame when the tile crops vertically */
.hm-panel--pro .hm-panel-media video { object-position: 50% 15%; }

/* ========== ABOUT: crew section ========== */
.section.ab-crew { padding: 96px 0; }
.ab-crew-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.35fr) minmax(0, 0.7fr); gap: 12px; height: clamp(360px, 40vw, 520px); }
.ab-crew-tile { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: #1f1c18; }
.ab-crew-tile picture, .ab-crew-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-crew-tile--lead img { object-position: 50% 62%; }
.ab-crew-tile figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 6px 10px; background: rgba(12,11,9,0.72); backdrop-filter: blur(4px);
  color: var(--cream); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.ab-crew-tile figcaption span { color: var(--accent-light); margin-right: 6px; }
.ab-crew-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; margin-top: 48px; align-items: start; }
.ab-crew-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-cream); }
.ab-crew-facts li { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--border-cream); }
.ab-crew-facts li:not(:nth-child(3n)) { border-right: 1px solid var(--border-cream); }
.ab-crew-facts li:not(:nth-child(3n+1)) { padding-left: 20px; }
.ab-crew-facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1; color: var(--ink); }
.ab-crew-facts span { display: block; margin-top: 8px; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); font-weight: 500; }
.ab-crew-facts p { margin-top: 8px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-muted); }
.ab-crew-handles { background: var(--ink); color: var(--cream); padding: 30px 30px 32px; border-radius: 2px; }
.ab-crew-handles h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--cream); margin-bottom: 18px; }
.ab-crew-checks { display: grid; gap: 10px; font-size: 0.92rem; color: var(--stone-light); }
.ab-crew-checks li { position: relative; padding-left: 22px; line-height: 1.5; }
.ab-crew-checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.ab-crew-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.ab-crew-link { padding-inline: 0; color: var(--accent-light); background: none; border: 0; }
.ab-crew-link:hover { color: var(--cream); }
@media (max-width: 900px) {
  .section.ab-crew { padding: 64px 0; }
  .ab-crew-body { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
}
@media (max-width: 640px) {
  .ab-crew-media { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 220px; height: auto; gap: 8px; }
  .ab-crew-tile--lead { grid-column: 1 / -1; }
  .ab-crew-tile figcaption { font-size: 0.56rem; letter-spacing: 0.12em; left: 8px; bottom: 8px; padding: 5px 8px; }
  .ab-crew-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-crew-facts li, .ab-crew-facts li:not(:nth-child(3n+1)) { padding: 18px 14px 18px 0; border-right: 0; }
  .ab-crew-facts li:nth-child(odd) { border-right: 1px solid var(--border-cream); }
  .ab-crew-facts li:nth-child(even) { padding-left: 14px; }
  .ab-crew-handles { padding: 24px 20px 26px; }
  .ab-crew-actions .btn-primary { width: 100%; justify-content: center; text-align: center; }
}

/* ========== HOME HERO v3: single full-bleed image ========== */
.hm-hero2 {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--ink); color: var(--cream);
}
.hm-hero2-bg { position: absolute; inset: 0; z-index: -1; }
.hm-hero2-bg picture, .hm-hero2-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-hero2-bg img { object-position: 62% 50%; }
.hm-hero2-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,9,0.9) 0%, rgba(12,11,9,0.72) 34%, rgba(12,11,9,0.28) 62%, rgba(12,11,9,0.08) 100%),
    linear-gradient(180deg, rgba(12,11,9,0) 55%, rgba(12,11,9,0.88) 100%);
}
.hm-hero2-inner { display: flex; align-items: center; padding: 56px 0 40px; }
.hm-hero2-copy { max-width: 640px; }
.hm-hero2 h1 {
  font-family: var(--font-display); font-weight: 500; color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em;
  max-width: 13ch; text-wrap: balance;
}
.hm-hero2-lead { margin: 22px 0 34px; max-width: 46ch; color: rgba(247,243,235,0.86); font-size: 1.1rem; line-height: 1.6; }
.hm-hero2 .hm-path--home { background: rgba(12,11,9,0.38); backdrop-filter: blur(6px); border-color: rgba(247,243,235,0.5); }
.hm-hero2-proof .hm-proof { margin-top: 0; }
.hm-hero2-proof .hm-proof span { color: rgba(247,243,235,0.68); }

@media (max-width: 900px) {
  .hm-hero2-bg::after {
    background: linear-gradient(180deg, rgba(12,11,9,0.2) 0%, rgba(12,11,9,0.08) 26%, rgba(12,11,9,0.72) 52%, rgba(12,11,9,0.94) 72%, var(--ink) 100%);
  }
  .hm-hero2-inner { align-items: flex-end; padding: 40px 0 36px; }
}
@media (max-width: 700px) {
  .hm-hero2 { display: block; min-height: 0; }
  .hm-hero2-bg { bottom: auto; height: 100vh; height: 100svh; }
  .hm-hero2-bg img { object-position: 50% 30%; }
  .hm-hero2-inner { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding: 32px 0 28px; }
  .hm-hero2 h1 { font-size: clamp(2.3rem, 10.4vw, 2.9rem); max-width: 12ch; }
  .hm-hero2-lead { margin: 14px 0 22px; font-size: 1rem; line-height: 1.55; }
  .hm-hero2 .hm-paths { grid-template-columns: 1fr; gap: 10px; }
  .hm-hero2 .hm-path { padding: 14px 16px 15px; }
  .hm-hero2 .hm-path-label { font-size: 1.2rem; }
  .hm-hero2-proof .hm-proof { margin-top: 0; }
}
/* hero v3 tuning: keep the stone bright, darken only behind the copy and proof strip */
.hm-hero2-bg::after {
  background:
    linear-gradient(90deg, rgba(12,11,9,0.86) 0%, rgba(12,11,9,0.66) 30%, rgba(12,11,9,0.18) 55%, rgba(12,11,9,0) 72%),
    linear-gradient(180deg, rgba(12,11,9,0) 68%, rgba(12,11,9,0.82) 100%);
}
.hm-hero2 h1 { max-width: 15ch; font-size: clamp(2.6rem, 4.9vw, 4.3rem); text-shadow: 0 2px 24px rgba(12,11,9,0.35); }
.hm-hero2-lead { text-shadow: 0 1px 12px rgba(12,11,9,0.4); }
@media (max-width: 900px) {
  .hm-hero2-bg::after {
    background: linear-gradient(180deg, rgba(12,11,9,0.15) 0%, rgba(12,11,9,0.05) 26%, rgba(12,11,9,0.7) 52%, rgba(12,11,9,0.94) 72%, var(--ink) 100%);
  }
}
@media (max-width: 700px) {
  .hm-hero2 h1 { max-width: 12ch; font-size: clamp(2.3rem, 10.4vw, 2.9rem); }
}
.hm-hero2 .hm-paths { max-width: 660px; }
@media (min-width: 701px) { .hm-hero2 .hm-path-label { white-space: nowrap; font-size: 1.3rem; } }
@media (min-width: 701px) and (max-width: 760px) { .hm-hero2 .hm-path-label { white-space: normal; } }

/* ========== HOME HERO v4: slow crossfade slideshow ========== */
.hm-hero2-bg { overflow: hidden; background: var(--ink); }
.hm-hero2-bg::after { z-index: 3; }
.hm-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 1.6s cubic-bezier(.45, 0, .25, 1); }
.hm-slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.hm-slide.is-active { opacity: 1; z-index: 2; }
.hm-slide img { transform-origin: 62% 50%; backface-visibility: hidden; }
.hm-slide.is-zoom img { animation: hm-zoom 10s linear forwards; will-change: transform; }
@keyframes hm-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (max-width: 700px) { .hm-slide img { transform-origin: 50% 30%; } }
@media (prefers-reduced-motion: reduce) {
  .hm-slide { transition: none; }
  .hm-slide.is-zoom img { animation: none; }
}

/* ========== Scroll reveal (JS adds data-reveal only to below-the-fold blocks) ========== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .7s cubic-bezier(.25, .6, .3, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ========== HEADER v2: transparent logo lockup, no text, mobile tap-to-call ========== */
.site-header .logo { gap: 0; line-height: 0; }
.site-header .logo picture { display: block; }
.site-header .logo-mark { height: 72px; width: auto; aspect-ratio: 137 / 72; border-radius: 0; }
.nav-call {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.nav-call:hover, .nav-call:focus-visible { background: var(--accent-light); border-color: var(--accent-light); }
.nav-call svg { display: block; }
@media (max-width: 900px) {
  .nav-call { display: inline-flex; }
  .nav-actions { gap: 10px; }
}
@media (max-width: 480px) {
  .site-header .logo-mark { height: 62px; }
}

/* ========== Floating WhatsApp button ========== */
.wa-float {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90; /* below the fixed header (100) and its mobile menu */
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(12, 11, 9, 0.22), 0 2px 5px rgba(12, 11, 9, 0.14);
  transition: opacity .3s ease, visibility .3s, transform .3s ease, box-shadow .2s ease;
  animation: wa-in .5s ease-out .8s backwards;
  -webkit-tap-highlight-color: transparent;
}
.wa-float svg { display: block; }
.wa-float:hover { box-shadow: 0 8px 24px rgba(12, 11, 9, 0.28), 0 2px 6px rgba(12, 11, 9, 0.16); }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wa-label {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translate(6px, -50%);
  padding: 7px 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
@media (hover: hover) and (min-width: 901px) {
  .wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translate(0, -50%); }
}
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 28px; height: 28px; }
}
/* stay out of the way: mobile menu, photo lightbox, quote form submit, on-screen keyboard */
.nav-open .wa-float, .pj-lb-open .wa-float, .wa-float.wa-hide {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
}
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; transition: none; }
  .wa-label { transition: none; }
}
@media print { .wa-float { display: none; } }

/* ========== Google reviews ========== */
.g-mark { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.rv-stars {
  --star-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9d2c3' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
  --star-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9a227' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
  position: relative; display: inline-block; flex-shrink: 0;
  width: 5.5em; height: 1.1em; font-size: 14px; vertical-align: middle;
  background: var(--star-off) left center / 1.1em 1.1em repeat-x;
}
.rv-stars-fill { position: absolute; inset: 0 auto 0 0; background: var(--star-on) left center / 1.1em 1.1em repeat-x; }

/* hero badge */
.hm-rating {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -14px 0 28px; padding: 8px 14px 8px 10px;
  border: 1px solid rgba(247,243,235,0.28); border-radius: 999px;
  background: rgba(12,11,9,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--cream); font-size: 0.86rem; line-height: 1.2;
  transition: background .2s ease, border-color .2s ease;
}
.hm-rating:hover, .hm-rating:focus-visible { background: rgba(12,11,9,0.6); border-color: rgba(201,162,39,0.7); }
.hm-rating .g-mark { width: 18px; height: 18px; padding: 2px; background: #fff; border-radius: 50%; box-sizing: content-box; }
.hm-rating .rv-stars { font-size: 15px; --star-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(247,243,235,0.35)' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E"); --star-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2bd48' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E"); }
.hm-rating-text strong { font-weight: 600; }
@media (max-width: 700px) {
  .hm-rating { margin: -8px 0 18px; font-size: 0.8rem; padding: 6px 12px 6px 8px; gap: 8px; }
  .hm-rating .rv-stars { font-size: 13px; }
}

/* home reviews section */
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: end; margin-bottom: 36px; }
.rv-summary { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.rv-score { display: flex; align-items: center; gap: 14px; }
.rv-num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 500; color: var(--ink); }
.rv-score .rv-stars { font-size: 18px; display: block; margin-bottom: 6px; }
.rv-count { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.02em; }
.rv-count .g-mark { width: 14px; height: 14px; }
.rv-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rv-textlink { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rv-textlink:hover { color: var(--ink); }
.hm-reviews .hm-quotes { margin-bottom: 40px; }
.hm-quote { position: relative; }
.rv-label { display: inline-block; margin-bottom: 12px; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }

.rv-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rv-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.rv-kicker .g-mark { width: 16px; height: 16px; }
.rv-nav { display: flex; gap: 8px; }
.rv-nav button {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-cream); border-radius: 50%; background: #fff; color: var(--ink);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color .2s, opacity .2s;
}
.rv-nav button:hover:not(:disabled) { border-color: var(--accent); }
.rv-nav button:disabled { opacity: 0.35; cursor: default; }
.rv-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; padding: 4px 2px 14px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: rgba(20,18,16,0.2) transparent;
}
.rv-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.rv-card {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; margin: 0; padding: 22px 22px 20px;
  background: #fff; border: 1px solid var(--border-cream); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(20,18,16,0.04);
}
.rv-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rv-card-top .g-mark { margin-left: auto; align-self: flex-start; }
.rv-avatar { width: 38px; height: 38px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream-deep); color: var(--accent-dark); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.rv-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.rv-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); overflow-wrap: anywhere; }
.rv-who .rv-stars { font-size: 13px; }
.rv-text { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--ink-soft, #3a352f); }
.rv-text p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.rv-card.is-open .rv-text p { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); }
.rv-more:hover { color: var(--ink); }
@media (max-width: 1000px) {
  .rv-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 900px) {
  .rv-head { grid-template-columns: 1fr; align-items: start; gap: 22px; margin-bottom: 28px; }
  .rv-summary { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .rv-card { flex-basis: 84%; padding: 20px 18px 18px; }
  .rv-num { font-size: 2.8rem; }
  .rv-summary { gap: 18px; }
  .rv-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .rv-nav button { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .rv-track { scroll-behavior: auto; } }

/* About: compact Google rating strip */
.rv-strip {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  width: fit-content; max-width: 100%; margin: 36px auto 0; padding: 12px 20px;
  background: #fff; border: 1px solid var(--border-cream); border-radius: 999px;
  color: var(--ink); font-size: 0.9rem;
}
.rv-strip:hover { border-color: var(--accent); }
.rv-strip-cta { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); }
/* keep the hero CTAs clear of the floating WhatsApp button on phones */
@media (max-width: 700px) {
  .hm-hero2-inner { padding-bottom: calc(28px + 62px + env(safe-area-inset-bottom, 0px)); }
}
