/* ============================================
   HEINRICH DESIGNS — Shared Stylesheet
   ============================================ */

/* Skip-to-content for keyboard users */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: #14120f;
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  text-decoration: none;
  font-size: 14px;
  border-bottom-right-radius: 4px;
  border: 2px solid #a89968;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
  outline: 2px solid #a89968;
  outline-offset: 2px;
}

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2c2c2c;
  --charcoal-mid: #3d3d3d;
  --cream: #f5f0eb;
  --cream-dark: #ede7e0;
  --gold: #c8a96e;
  --gold-light: #d9bf90;
  --gold-dark: #a8884e;
  --warm-gray: #e8e3dc;
  --warm-gray-dark: #ccc5bb;
  --text-dark: #1a1a1a;
  --text-mid: #4a4540;
  --text-light: #7a736a;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --max-w: 1280px;
  --nav-h: 80px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font-sans); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.15;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 100px 0;
}

/* ── ElevenLabs widget — compact placement ── */
elevenlabs-convai {
  --convai-widget-size: 52px;
  transform: scale(0.85);
  transform-origin: bottom right;
  z-index: 500;
}
elevenlabs-convai::part(launcher),
elevenlabs-convai::part(bubble) {
  width: 52px !important;
  height: 52px !important;
  box-shadow: 0 4px 24px rgba(200,169,110,0.25) !important;
}

/* Mobile: smaller widget so it doesn't cover form fields or CTAs */
@media (max-width: 720px) {
  elevenlabs-convai {
    transform: scale(0.65);
    transform-origin: bottom right;
    bottom: 10px !important;
    right: 10px !important;
  }
}

/* Add bottom padding on mobile so widget doesn't overlap last section content */
@media (max-width: 720px) {
  body { padding-bottom: 70px; }
}

/* Hide widget entirely on contact page where it overlaps the quote form */
body.has-contact-form elevenlabs-convai { display: none !important; }

.section-sm {
  padding: 64px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-arrow::after {
  content: '→';
  font-weight: 400;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(200,169,110,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* ── Nav dropdown (Residential) ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-dropdown:hover > .nav-dropdown-toggle { color: var(--white); }
.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: -2px;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 180px;
  background: rgba(26,26,26,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200,169,110,0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, background 0.2s;
  border: none;
}
.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(200,169,110,0.06);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(26,26,26,0.98);
  backdrop-filter: blur(12px);
  padding: 32px 48px;
  z-index: 999;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 20px;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20,18,15,0.72) 0%, rgba(20,18,15,0.45) 60%, rgba(20,18,15,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  padding-top: var(--nav-h);
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Credentials Strip ── */
.credentials {
  background: var(--charcoal);
  padding: 48px 0;
  border-top: 1px solid rgba(200,169,110,0.15);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}

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

.credential-item {
  text-align: center;
  padding: 12px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.credential-item:last-child { border-right: none; }

.credential-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.credential-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── Featured Work ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.work-tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-tile:hover img {
  transform: scale(1.05);
}

.work-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,0.75) 0%, transparent 60%);
  transition: var(--transition);
}

.work-tile:hover .work-tile-overlay {
  background: linear-gradient(to top, rgba(20,18,15,0.85) 0%, rgba(20,18,15,0.2) 100%);
}

.work-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
}

.work-tile-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.work-tile-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.work-tile-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.work-tile:hover .work-tile-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── About Strip ── */
.about-strip {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  padding: 80px 0;
}

.about-body {
  margin-top: 24px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-body p + p {
  margin-top: 18px;
}

.about-signature {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-gray-dark);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-signature-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
}

.about-signature-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
}

.about-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  z-index: -1;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--charcoal);
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-title {
  color: var(--white);
}

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

.testimonial-card {
  background: var(--charcoal-light);
  padding: 48px 40px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 32px;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ── Services Grid ── */
.services-section {
  background: var(--white);
}

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
}

.service-card:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-4px);
}

.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: var(--white);
}

.service-card:hover .service-icon {
  color: var(--gold);
}

.service-icon {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--gold);
  transition: var(--transition);
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  transition: color 0.3s;
}

/* ── CTA Band ── */
.cta-band {
  background: var(--charcoal);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/kitchen-contemporary-2-perspective.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  height: 50vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  margin-top: var(--nav-h);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,0.82) 0%, rgba(20,18,15,0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

/* ── Gallery ── */
.gallery-filter {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--warm-gray);
  width: fit-content;
}

.gallery-filter button {
  padding: 10px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-right: 1px solid var(--warm-gray);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter button:last-child { border-right: none; }
.gallery-filter button:hover { color: var(--charcoal); background: var(--cream); }
.gallery-filter button.active {
  background: var(--charcoal);
  color: var(--white);
}

.gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,18,15,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(20,18,15,0.35);
}

.gallery-item-overlay span {
  color: var(--white);
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay span {
  opacity: 1;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,9,8,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── About Page ── */
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.founder-portrait-wrap {
  position: sticky;
  top: 120px;
}
.founder-portrait {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.95) contrast(1.02);
  transition: filter .5s ease;
}
.founder-portrait:hover img { filter: saturate(1) contrast(1.05); }
.founder-portrait::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(20,18,15,0.78) 0%, rgba(20,18,15,0) 100%);
  pointer-events: none;
}
.founder-portrait figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.founder-portrait-name {
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.founder-portrait-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #a89968);
  font-weight: 600;
}
@media (max-width: 900px) {
  .founder-portrait-wrap { position: static; margin-top: 32px; }
  .founder-portrait img { aspect-ratio: 4/4.2; }
  .founder-portrait figcaption { left: 20px; right: 20px; bottom: 18px; }
  .founder-portrait-name { font-size: 20px; }
}

/* Team section — dark editorial spread */
.team-section {
  background: #14120f;
  color: #f5efe3;
  padding-top: 96px;
  padding-bottom: 96px;
}
.team-section .section-label {
  color: var(--gold, #a89968);
}
.team-section .section-title {
  color: #f5efe3;
}
.team-section .divider {
  background: var(--gold, #a89968);
  opacity: 0.6;
}
.team-intro {
  font-size: 17px;
  line-height: 1.65;
  color: #d8d3c4;
  margin: 0;
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-style: italic;
}
.team-collage {
  margin: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.team-collage img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .team-section { padding-top: 64px; padding-bottom: 64px; }
  .team-intro { font-size: 15.5px; }
}

/* Vision & Mission section */
.vision-section {
  background: #faf8f3;
  padding-top: 96px;
  padding-bottom: 96px;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.vision-photo {
  position: sticky;
  top: 120px;
}
.vision-photo picture {
  display: block;
  position: relative;
  overflow: hidden;
}
.vision-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.vision-photo-caption {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--gold, #a89968);
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5a544a;
  max-width: 420px;
}
.vision-text {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.vision-title {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
  margin: 12px 0 0;
}
.vision-statement {
  font-size: 17px;
  line-height: 1.65;
  color: #2a261f;
  margin: 24px 0 0;
}
.mission-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #3a342a;
}
.mission-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold, #a89968);
  margin-top: 9px;
}
@media (max-width: 900px) {
  .vision-grid { grid-template-columns: 1fr; gap: 48px; }
  .vision-photo { position: static; }
  .vision-text { gap: 48px; }
  .vision-photo-caption { max-width: none; }
}
@media (max-width: 768px) {
  .vision-section { padding-top: 64px; padding-bottom: 64px; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.team-caption {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.contact-info-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail-text { flex: 1; }

.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact-detail-value a {
  color: var(--text-mid);
  transition: color 0.2s;
}

.contact-detail-value a:hover {
  color: var(--charcoal);
}

/* ── Form ── */
.quote-form {
  background: var(--cream);
  padding: 48px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 32px;
  color: var(--charcoal);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--warm-gray-dark);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.form-success.show { display: block; }

.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.form-success-msg {
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  padding: 72px 0 36px;
  border-top: 1px solid rgba(200,169,110,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {}

.footer-logo-main {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.footer-tagline {
  margin-top: 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-contact-text a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 28px;
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); }

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

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

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--warm-gray);
}
.faq-item {
  border-bottom: 1px solid var(--warm-gray);
  transition: background 0.3s;
}
.faq-item:hover { background: var(--cream); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px 24px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  outline: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer {
  padding: 0 28px 28px 0;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  animation: faqOpen 0.4s ease;
}
.faq-answer p + p { margin-top: 14px; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero text animation ── */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1.1s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.35s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-content > *:nth-child(4) { animation-delay: 0.65s; }
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Trust signal strip ── */
.trust-strip {
  background: var(--charcoal);
  padding: 36px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-item::before {
  content: '✔';
  color: var(--gold);
  font-size: 0.9rem;
}
@media (max-width: 720px) {
  .trust-grid { gap: 16px 32px; }
  .trust-item { font-size: 0.72rem; }
}

/* ── 404 page ── */
.four-oh-four {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--cream);
  text-align: center;
}
.four-oh-four-inner { max-width: 580px; }
.four-oh-four-num {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.four-oh-four-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}
.four-oh-four-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}
.four-oh-four-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Map embed ── */
.map-embed {
  margin-top: 36px;
  border: 1px solid var(--warm-gray);
  overflow: hidden;
  background: var(--warm-gray);
}
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.map-embed:hover iframe { filter: grayscale(0%); }

/* ── Multi-Family / Developer page ── */
.mf-stats {
  background: var(--charcoal);
  padding: 80px 0;
  border-top: 1px solid rgba(200,169,110,0.15);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.mf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mf-stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.mf-stat:last-child { border-right: none; }
.mf-stat-num {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.mf-stat-num em {
  font-style: normal;
  font-size: 1.6rem;
  vertical-align: super;
  margin-left: 2px;
}
.mf-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.mf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.mf-benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  transition: var(--transition);
}
.mf-benefit:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.mf-benefit-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
  font-weight: 400;
}
.mf-benefit-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.mf-benefit-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.mf-typology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mf-typology {
  text-align: center;
  padding: 36px 20px;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  transition: var(--transition);
}
.mf-typology:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.mf-typology:hover .mf-typology-title,
.mf-typology:hover .mf-typology-desc { color: var(--white); }
.mf-typology:hover .mf-typology-icon { color: var(--gold); }
.mf-typology-icon {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.mf-typology-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.mf-typology-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  transition: color 0.3s;
}

.mf-process {
  background: var(--cream);
}
.mf-builders {
  text-align: center;
  padding: 64px 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(200,169,110,0.1);
}
.mf-builders-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.mf-builders-list {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  font-style: italic;
}
.mf-builders-list span {
  margin: 0 12px;
  color: var(--gold);
  font-style: normal;
}

@media (max-width: 900px) {
  .mf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .mf-stat { padding: 0 16px; border-right: none; }
  .mf-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .mf-benefits-grid { grid-template-columns: 1fr; }
  .mf-typology-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mf-stats-grid { grid-template-columns: 1fr; }
  .mf-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 32px; }
  .mf-stat:last-child { border-bottom: none; }
  .mf-typology-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step;
}

.process-step {
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--warm-gray);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.process-step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Image grid (service pages) ── */
.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.img-grid-2 img,
.img-grid-3 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.img-grid-2 img:hover,
.img-grid-3 img:hover {
  transform: scale(1.03);
}

.img-wrap {
  overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 28px; }
  .hero-content { padding: 0 28px; padding-top: var(--nav-h); }
  .nav-inner { padding: 0 28px; }

  .credentials-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content { padding: 40px 0 0; order: 2; }
  .about-img { order: 1; }
  .about-img::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-content { padding: 0 20px; padding-top: var(--nav-h); }
  /* Tap target safety — ensure all interactive elements meet 44px min */
  .btn { padding: 14px 24px; font-size: 0.78rem; min-height: 44px; }
  .nav-cta { padding: 12px 18px; min-height: 40px; }
  /* Better page hero on mobile */
  .page-hero { padding-bottom: 40px; }
  .page-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  /* Footer phone is a tap target */
  .footer-contact-text a { display: inline-block; padding: 4px 0; }
  .nav-inner { padding: 0 20px; }
  .nav-mobile { padding: 28px 20px; }
  .section { padding: 64px 0; }

  .credentials-grid { grid-template-columns: 1fr; gap: 2px; }
  .credential-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 16px; }
  .credential-item:last-child { border-bottom: none; }

  .work-grid { grid-template-columns: 1fr; }
  .work-tile { aspect-ratio: 16/10; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 20px; }
  .gallery-grid { columns: 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .img-grid-2, .img-grid-3 { grid-template-columns: 1fr; }
  .services-intro { flex-direction: column; align-items: flex-start; gap: 16px; }
}
