/* ========================================
   A5 BUILD — Artisan Builder Website
   Design System: "Warm Terracotta & Stone"
   Distinct from FAH's blue/gold structural theme
   ======================================== */

/* ===== CSS Variables ===== */
:root {
  /* Core Palette — Warm Earth Tones */
  --espresso: #2A211C;
  --espresso-2: #3A2E26;
  --espresso-3: #4A3B31;
  --bark: #5C4A3E;
  --stone: #F2EDE7;
  --stone-2: #E8E1D8;
  --stone-3: #DDD4C8;
  --cream: #F8F5F0;
  --white: #FFFFFF;

  /* Accent: Terracotta (primary) */
  --terra: #C2542C;
  --terra-light: #D97548;
  --terra-dark: #9E3F1F;
  --terra-glow: rgba(194, 84, 44, 0.3);
  --terra-dim: rgba(194, 84, 44, 0.1);

  /* Accent: Sage (secondary) */
  --sage: #6B7F5E;
  --sage-light: #8FA47E;
  --sage-dim: rgba(107, 127, 94, 0.12);

  /* Text */
  --text-dark: #2A211C;
  --text-mid: #6B5D52;
  --text-muted: #9A8B7E;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-light-mid: rgba(255, 255, 255, 0.65);
  --text-light-dim: rgba(255, 255, 255, 0.4);

  /* Backward compat: map old gold to terra-light for inline SVG references */
  --gold: #D97548;

  /* Borders */
  --border-terra: rgba(194, 84, 44, 0.2);
  --border-sage: rgba(107, 127, 94, 0.2);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(42, 33, 28, 0.1);

  /* Typography — Serif display + clean body (completely different from FAH) */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-mid: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--stone);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.h-display { font-size: clamp(2.8rem, 7.5vw, 6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; }
.h-xl { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.h-lg { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.h-md { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.h-sm { font-size: 1.2rem; }
.text-terra { color: var(--terra); }
.text-sage { color: var(--sage); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--text-muted); }
.text-light-mid { color: var(--text-light-mid); }
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

/* ===== Eyebrow Label ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--terra);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--terra);
}

/* ===== Buttons — Rounded pill style (different from FAH's sharp corners) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--t-mid);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-terra {
  background: var(--terra);
  color: var(--white);
}
.btn-terra:hover {
  background: var(--terra-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--terra-glow);
}
/* Keep btn-gold class for backward compat but map to terracotta */
.btn-gold {
  background: var(--terra);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--terra-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--terra-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--terra-light);
  color: var(--terra-light);
  background: var(--terra-dim);
}
.btn-dark {
  background: var(--espresso);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--espresso-2);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--terra);
  color: var(--terra);
}
.btn-lg { padding: 18px 40px; font-size: 0.9rem; }

/* ===== Header — Warm transparent with rounded logo ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--t-mid);
}
.header.scrolled {
  background: rgba(242, 237, 231, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
  z-index: 1002;
}
.header.scrolled .logo { color: var(--text-dark); }
.header.scrolled .logo span { color: var(--terra); }
.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}
.logo span { color: var(--terra-light); transition: color var(--t-mid); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--t-fast);
  position: relative;
}
.header.scrolled .nav-link { color: var(--text-mid); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active { color: var(--terra); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  border-radius: 1px;
  transition: width var(--t-mid);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--terra);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-quote {
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--terra);
  color: var(--white);
  border-radius: 50px;
  transition: all var(--t-fast);
}
.btn-quote:hover {
  background: var(--terra-light);
  box-shadow: 0 4px 20px var(--terra-glow);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1002;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--t-fast);
}
.header.scrolled .menu-toggle span { background: var(--text-dark); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--espresso);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 0;
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--terra-light); }
.mobile-menu .btn-quote {
  margin-top: 24px;
  padding: 14px 36px;
  font-size: 0.9rem;
}

/* ===== Hero Section — Warm gradient wash (no scan line) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--espresso);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(42,33,28,0.75) 0%, rgba(42,33,28,0.5) 40%, rgba(42,33,28,0.85) 100%);
}

/* Dot pattern overlay (different from FAH's blueprint line grid) */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(194,84,44,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194,84,44,0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(194,84,44,0.05) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 30px 30px;
  pointer-events: none;
}

/* Particle network canvas — tech-feeling constellation effect */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--header-h);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .gold { color: var(--terra-light); }
.hero-title .terra { color: var(--terra-light); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-light-mid);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--terra-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light-dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--terra-light) 0%, transparent 100%);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ===== Section Base ===== */
section { position: relative; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.bg-espresso { background: var(--espresso); color: var(--text-light); }
.bg-espresso-2 { background: var(--espresso-2); color: var(--text-light); }
.bg-ink { background: var(--espresso); color: var(--text-light); }
.bg-ink-2 { background: var(--espresso-2); color: var(--text-light); }
.bg-cream { background: var(--cream); }
.bg-stone { background: var(--stone); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.max-w-2xl { max-width: 640px; }
.max-w-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

/* ===== Section Header ===== */
.section-header {
  margin-bottom: 64px;
}
.section-header.center { text-align: center; }
.section-header.center .max-w-3xl { margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 20px 0;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}
.bg-ink .section-title, .bg-ink-2 .section-title,
.bg-espresso .section-title, .bg-espresso-2 .section-title { color: var(--white); }
.bg-ink .section-desc, .bg-ink-2 .section-desc,
.bg-espresso .section-desc, .bg-espresso-2 .section-desc { color: var(--text-light-mid); }
.bg-ink .section-header.center .section-desc,
.bg-ink-2 .section-header.center .section-desc,
.bg-espresso .section-header.center .section-desc,
.bg-espresso-2 .section-header.center .section-desc { margin: 0 auto; }

/* ===== Cards — Rounded with soft shadows (different from FAH's sharp borders) ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t-mid);
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.06);
}
.card-dark {
  background: var(--espresso-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t-mid);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(42, 33, 28, 0.15);
}
.card-hover.card-dark:hover {
  border-color: var(--border-terra);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== Service Cards — Rounded with terracotta accents ===== */
.service-card {
  position: relative;
  padding: 48px 36px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--t-mid);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.04);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--terra);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.service-card:hover {
  border-color: var(--border-terra);
  box-shadow: 0 20px 50px rgba(42, 33, 28, 0.1);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-dim);
  color: var(--terra);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}
.service-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--stone-3);
  line-height: 1;
  z-index: 0;
}

/* ===== Project Cards — Rounded with soft overlays ===== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(42, 33, 28, 0.08);
  transition: all var(--t-mid);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(42, 33, 28, 0.15);
}
.project-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img img {
  transform: scale(1.08);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(42,33,28,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: all var(--t-mid);
}
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 10px;
}
.project-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}
.project-location {
  font-size: 0.85rem;
  color: var(--text-light-mid);
}
.project-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  color: var(--white);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--t-mid);
}
.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* Project grid layout variations */
.project-grid { display: grid; gap: 24px; }
.project-grid-2 { grid-template-columns: repeat(2, 1fr); }
.project-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Large feature project */
.project-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 500px;
}
.project-feature .project-img { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; }
.project-feature .project-overlay { padding: 48px; }
.project-feature h3 { font-size: 2rem; }

/* ===== Why Choose Cards ===== */
.advantage-card {
  padding: 40px 32px;
  text-align: left;
  transition: all var(--t-mid);
}
.advantage-card .adv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-dim);
  color: var(--terra);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--white);
}
.advantage-card p {
  color: var(--text-light-mid);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== Testimonials ===== */
.testimonial-card {
  padding: 44px 36px;
  background: var(--espresso-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--t-mid);
}
.testimonial-card:hover {
  border-color: var(--border-terra);
  transform: translateY(-4px);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--terra);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.4;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}
.testimonial-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light-dim);
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--espresso);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-content { position: relative; z-index: 1; text-align: center; }

/* ===== Forms — Rounded inputs (different from FAH's sharp corners) ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.bg-ink .form-label, .bg-ink-2 .form-label,
.bg-espresso .form-label, .bg-espresso-2 .form-label { color: var(--text-light-mid); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--t-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px var(--terra-dim);
}
.form-control::placeholder { color: #B0A89E; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239A8B7E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }

/* Dark form variant */
.form-dark .form-control {
  background: var(--espresso-3);
  border-color: var(--border-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.form-dark .form-control::placeholder { color: var(--text-light-dim); }
.form-dark .form-control:focus { border-color: var(--terra); }
.form-dark .form-label { color: var(--text-light-mid); }

/* ===== Footer — Warm dark with terracotta accents ===== */
.footer {
  background: var(--espresso);
  color: var(--text-light-mid);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-mark { width: 32px; height: 32px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--text-light-mid);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  border-color: var(--terra);
  color: var(--terra-light);
  background: var(--terra-dim);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-light-mid);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--terra-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--terra-light); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-light-dim); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-light-dim);
  transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: var(--terra-light); }

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: var(--espresso);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,33,28,0.7) 0%, rgba(42,33,28,0.9) 100%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 16px 0;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-light-dim);
}
.breadcrumb a:hover { color: var(--terra-light); }

/* ===== FAQ Accordion ===== */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.bg-ink .faq-item { border-color: var(--border-dark); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--t-fast);
}
.bg-ink .faq-question { color: var(--white); }
.faq-question:hover { color: var(--terra); }
.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-mid);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-mid);
}
.faq-answer-inner {
  padding: 0 0 28px;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 760px;
}
.bg-ink .faq-answer-inner { color: var(--text-light-mid); }

/* ===== Filter Tabs — Rounded pill style ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  transition: all var(--t-fast);
}
.filter-tab:hover { border-color: var(--terra); color: var(--terra); }
.filter-tab.active {
  background: var(--espresso);
  color: var(--terra-light);
  border-color: var(--espresso);
}

/* ===== Stats Counter ===== */
.stat-block { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--terra);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

/* ===== Timeline ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-terra);
}
.timeline-item {
  position: relative;
  padding: 0 0 48px;
  width: 50%;
}
.timeline-item:nth-child(even) { margin-left: 50%; padding-left: 40px; }
.timeline-item:nth-child(odd) { text-align: right; padding-right: 40px; }
.timeline-dot {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--terra);
  border-radius: 50%;
  border: 3px solid var(--espresso);
  z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -7px; }
.timeline-item:nth-child(even) .timeline-dot { left: -7px; }
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--terra);
  margin-bottom: 8px;
}

/* ===== Process Steps ===== */
.process-step {
  position: relative;
  padding: 40px 32px;
}
.process-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  color: var(--terra);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ===== Fade In Animations ===== */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fade-in 1s ease-out forwards; }
.animate-fade-in-up { animation: fade-in-up 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }

/* ===== Google Map ===== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== Filter Animation ===== */
[data-category] { transition: opacity 0.4s ease, transform 0.4s ease; }
[data-category].filtered-out { opacity: 0; transform: scale(0.9); }
[data-category].filtered-in { opacity: 1; transform: scale(1); }

/* ===== Form Success ===== */
.form-success {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 16px 20px;
  background: var(--terra-dim);
  border: 1px solid var(--terra);
  border-radius: var(--radius-sm);
  color: var(--terra);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}

/* ===== Project Detail Page ===== */
.project-detail-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  background: var(--espresso);
}
.project-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.project-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,33,28,0.5) 0%, rgba(42,33,28,0.8) 100%);
}
.project-detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-bottom: 48px;
}
.project-detail-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0;
}
.project-detail-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.project-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light-mid);
}
.project-detail-meta-item svg { color: var(--terra-light); }

/* Project detail layout */
.project-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.project-detail-content h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.project-detail-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}
.project-detail-content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.project-detail-content ul {
  margin-bottom: 16px;
  padding-left: 18px;
}
.project-detail-content ul li {
  margin-bottom: 8px;
  color: var(--text-mid);
  list-style: disc;
}

/* Project specs sidebar */
.project-specs {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.06);
}
.project-specs h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.project-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.project-spec-row:last-child { border-bottom: none; }
.project-spec-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.project-spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
}

/* Project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.project-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.project-gallery-item:hover img { transform: scale(1.08); }
.project-gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: 3/4;
}

/* Project navigation */
.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.project-nav-item {
  flex: 1;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--t-mid);
}
.project-nav-item:hover {
  border-color: var(--border-terra);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(42,33,28,0.08);
}
.project-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.project-nav-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.project-nav-item:hover .project-nav-title { color: var(--terra); }

/* Feature highlight boxes */
.feature-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.feature-box {
  padding: 28px;
  background: var(--stone);
  border-radius: var(--radius);
  text-align: center;
}
.feature-box .feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--terra-dim);
  color: var(--terra);
  border-radius: var(--radius-sm);
}
.feature-box h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-box p { font-size: 0.85rem; color: var(--text-mid); }

/* Badge for high-end projects */
.project-badge-luxury {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 14px;
  background: var(--terra);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .project-detail-body { grid-template-columns: 1fr; }
  .project-specs { position: static; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery-item.tall { grid-row: auto; aspect-ratio: 4/3; }
  .feature-highlight { grid-template-columns: 1fr; }
  .project-nav { flex-direction: column; }
}

/* ===== Contact Info Cards ===== */
.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--t-mid);
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.04);
}
.contact-info-item:hover {
  border-color: var(--border-terra);
  box-shadow: 0 12px 40px rgba(42,33,28,0.08);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-dim);
  color: var(--terra);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; color: var(--text-muted); font-weight: 600; }
.contact-info-item p { font-size: 1rem; color: var(--text-dark); font-weight: 500; }

/* ===== Legal Page ===== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.legal-content h3 { font-size: 1.15rem; margin: 28px 0 12px; }
.legal-content p { margin-bottom: 16px; color: var(--text-mid); line-height: 1.75; }
.legal-content ul { margin-bottom: 16px; padding-left: 20px; }
.legal-content ul li { margin-bottom: 8px; color: var(--text-mid); list-style: disc; }

/* ===== Utility ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.rounded { border-radius: var(--radius); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .project-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-desktop, .header-cta .btn-quote { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .project-grid-2, .project-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .timeline::before { left: 0; }
  .timeline-item { width: 100%; padding-left: 32px; text-align: left; margin-left: 0; }
  .timeline-item:nth-child(odd) { text-align: left; padding-right: 0; }
  .timeline-item:nth-child(even) { margin-left: 0; padding-left: 32px; }
  .timeline-item:nth-child(odd) .timeline-dot { right: auto; left: -7px; }
  .timeline-item:nth-child(even) .timeline-dot { left: -7px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
