/* MacDougall Builders — Custom Overrides */

:root {
  --navy: #1a1f2e;
  --charcoal: #232837;
  --gold: #c9a96e;
  --gold-hover: #b8944f;
  --cream: #f5f0e8;
  --cream-dark: #ebe4d8;
  --light-text: #e8e4dc;
  --body-text: #3d3d3d;
  --muted: #8a8a8a;
}

body {
  background: var(--navy) !important;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  color: var(--body-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-weight: 700;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

p {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


/* ---- HEADER / NAV ---- */

#header {
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(8px);
  padding: 0 2.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

#header.alt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 31, 46, 0.95);
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

#header .logo .monogram {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0;
  flex-shrink: 0;
}

#header .logo .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

#header .tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1;
}

#header nav#nav {
  display: flex;
  align-items: center;
}

#header nav#nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

#header nav#nav > ul > li {
  margin: 0;
  padding: 0;
}

#header nav#nav > ul > li.special {
  display: none;
}

#header nav#nav > ul > li > a {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

#header nav#nav > ul > li > a:hover {
  color: var(--gold);
}

#header nav#nav > ul > li > a.btn-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  border: none;
  margin-left: 0.75rem;
  line-height: 1.4;
  height: auto;
  display: inline-block;
  transition: background 0.2s;
}

#header nav#nav > ul > li > a.btn-cta:hover {
  background: var(--gold-hover);
}


/* ---- HERO / BANNER ---- */

#banner {
  background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1920&q=80') !important;
  background-color: var(--navy) !important;
  background-size: cover !important;
  background-position: center 40% !important;
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  padding: 8rem 5rem 4rem !important;
  position: relative;
  text-align: left !important;
}

#banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 31, 46, 0.75) 0%,
    rgba(26, 31, 46, 0.55) 50%,
    rgba(26, 31, 46, 0.85) 100%
  );
}

#banner .inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

#banner h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 3.4rem !important;
  line-height: 1.15 !important;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

#banner p {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: rgba(232, 228, 220, 0.85);
  margin-bottom: 2.25rem;
  max-width: 560px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#banner .actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

#banner .actions .button.primary {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: none;
  transition: background 0.2s;
}

#banner .actions .button.primary:hover {
  background: var(--gold-hover);
}

#banner .actions .link-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

#banner .actions .link-secondary:hover {
  border-color: var(--gold);
}

#banner .more {
  display: none;
}

.stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
}

.stats-strip .stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}

.stats-strip .stat .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}


/* ---- SECTION LABELS ---- */

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}


/* ---- WHAT WE BUILD ---- */

.what-we-build {
  background: var(--cream);
  padding: 6rem 5rem;
}

.what-we-build .section-heading {
  color: var(--navy);
  max-width: 540px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 2.5rem;
}

.filter-tabs .tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.2rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent;
  color: var(--body-text);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tabs .tab:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.filter-tabs .tab.active {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.featured-card .card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.featured-card .card-content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.featured-card .card-content .detail-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}


/* ---- FOUNDER ---- */

.founder {
  background: var(--navy);
  padding: 6rem 5rem;
  color: var(--light-text);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founder .section-heading {
  color: #fff;
  max-width: 480px;
}

.founder p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(232, 228, 220, 0.8);
  max-width: 480px;
}

.founder .headshot {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(15%);
}

.founder .caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}


/* ---- HOW WE WORK ---- */

.how-we-work {
  background: var(--cream);
  padding: 6rem 5rem;
}

.how-we-work .section-heading {
  color: var(--navy);
}

.work-columns {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 3rem;
  margin-top: 2.5rem;
}

.work-columns .col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.work-columns .col p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}


/* ---- OUR AI ---- */

.our-ai {
  background: var(--charcoal);
  padding: 6rem 5rem;
  color: var(--light-text);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.our-ai .section-heading {
  color: #fff;
}

.our-ai p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(232, 228, 220, 0.8);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.our-ai .detail-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  padding-bottom: 3px;
}

.dashboard-card {
  background: var(--navy);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 2rem;
}

.dashboard-card .dash-header {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dash-metric .metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.dash-metric .metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.dash-metric .metric-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  margin-top: 0.65rem;
  border-radius: 2px;
  overflow: hidden;
}

.dash-metric .metric-bar .fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
}


/* ---- FOR ARCHITECTS ---- */

.for-architects {
  background: var(--cream);
  padding: 6rem 5rem;
}

.for-architects .section-heading {
  color: var(--navy);
  max-width: 560px;
}

.for-architects p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.for-architects .detail-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}


/* ---- FAQ ---- */

.faq {
  background: #f8f4ee;
  padding: 6rem 5rem;
}

.faq .section-heading {
  color: var(--navy);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-item:first-child {
  border-top: 1px solid #ddd;
}

.faq-question {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '\2013';
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #666;
}


/* ---- CTA ---- */

.cta-section {
  background: var(--navy);
  padding: 6rem 5rem;
  text-align: center;
}

.cta-section .section-heading {
  color: #fff;
  margin: 0 auto 1rem;
}

.cta-section p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(232, 228, 220, 0.75);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.cta-section .button.primary {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.25rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.cta-section .button.primary:hover {
  background: var(--gold-hover);
}


/* ---- FOOTER ---- */

#footer {
  background: #141824;
  padding: 4rem 5rem 2rem;
  color: var(--light-text);
}

#footer .icons { display: none; }
#footer .copyright { display: none; }

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.footer-brand .footer-monogram {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-brand .footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand .footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.footer-brand .footer-email {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--light-text);
  text-decoration: none !important;
  border-bottom: none !important;
  display: block;
  margin-bottom: 1.2rem;
}

.footer-brand .btn-footer-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.6rem 1.4rem;
  line-height: 1.4;
  height: auto;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  transition: background 0.2s;
}

.footer-brand .btn-footer-cta:hover {
  background: var(--gold-hover);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(232, 228, 220, 0.65);
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ---- NAV DROPDOWN ---- */

.nav-dropdown {
  position: relative !important;
}

.nav-dropdown-toggle {
  cursor: pointer !important;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #1e2335;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  min-width: 200px;
  padding: 0.4rem 0 !important;
  margin: 0 !important;
  z-index: 10001;
  list-style: none !important;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.nav-dropdown-menu li a {
  display: block !important;
  padding: 0.6rem 1.2rem !important;
  font-size: 0.72rem !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  white-space: nowrap;
  color: var(--light-text) !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu li a:hover {
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold) !important;
}


/* ---- TOOL PAGES (shared) ---- */

.tool-page {
  background: var(--cream);
  min-height: 100vh;
  padding-top: 72px;
}

.tool-hero {
  background: var(--navy);
  padding: 3.5rem 5rem;
}

.tool-hero .section-label {
  margin-bottom: 0.75rem;
}

.tool-hero .section-heading {
  color: #fff;
  max-width: 600px;
  margin-bottom: 0.75rem;
}

.tool-hero p {
  color: rgba(232, 228, 220, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 560px;
}

.tool-body {
  padding: 3rem 5rem 4rem;
}

/* form elements */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0.75rem 1rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--body-text) !important;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold) !important;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 1rem 2.5rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  background: var(--gold-hover) !important;
}


.form-error {
  display: none;
  color: #d9534f;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  margin-top: -0.5rem;
  padding: 0.6rem 1rem;
  text-align: center;
}
.form-error.visible { display: block; }

/* ---- ESTIMATOR ---- */

.estimate-result {
  display: none;
  background: var(--navy);
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.estimate-result .result-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.estimate-result .result-range {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.estimate-result .result-persf {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.estimate-gauge {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.estimate-gauge .gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e8c87a);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.estimate-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.breakdown-item .bd-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.breakdown-item .bd-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-text);
}

.estimate-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.estimate-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(232,228,220,0.7);
  margin-bottom: 1rem;
}

.estimate-cta a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(201,169,110,0.4) !important;
  padding-bottom: 2px;
}


/* ---- INTAKE FORM ---- */

.project-summary {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  padding: 3rem;
  margin-top: 2.5rem;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--navy);
}

.summary-header .s-monogram {
  width: 36px;
  height: 36px;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.summary-header .s-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.summary-header .s-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-section h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.summary-field .sf-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-field .sf-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.summary-estimate {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-estimate .se-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.summary-estimate .se-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.summary-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}


/* ---- BLOG SEO DEMO ---- */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.editor-panel {
  background: #fff;
  border: 1px solid #ddd;
  padding: 2rem;
}

.editor-panel h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.preview-panel {
  position: sticky;
  top: 90px;
}

.preview-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.preview-card h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase !important;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.blog-preview-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-preview-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.blog-preview-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

.blog-preview-body a {
  color: var(--gold) !important;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(201,169,110,0.4) !important;
}

.seo-meta-block {
  background: var(--navy);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.seo-meta-block .meta-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a9eff;
  margin-bottom: 0.25rem;
}

.seo-meta-block .meta-url {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #5a9a5a;
  margin-bottom: 0.35rem;
}

.seo-meta-block .meta-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(232,228,220,0.7);
  line-height: 1.5;
}

.schema-block {
  background: #1e2233;
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: rgba(232,228,220,0.8);
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  max-height: 300px;
  overflow-y: auto;
}

.schema-block .sk { color: #4a9eff; }
.schema-block .sv { color: #e8c87a; }
.schema-block .sp { color: rgba(232,228,220,0.4); }

.internal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.internal-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.internal-links li:last-child { border-bottom: none; }

.internal-links .il-icon {
  color: var(--gold);
  font-size: 0.7rem;
}

.internal-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--navy) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 500;
}

.seo-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seo-term {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
  background: var(--navy);
  color: var(--light-text);
  border: 1px solid rgba(201,169,110,0.2);
}

.seo-term.primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-color: var(--gold);
}


/* ---- RESPONSIVE ---- */

@media (max-width: 980px) {
  #banner { padding: 7rem 2.5rem 3rem; }
  #banner h2 { font-size: 2.4rem; }
  .what-we-build, .founder, .how-we-work, .our-ai, .for-architects, .faq, .cta-section { padding: 4rem 2.5rem; }
  .featured-card { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .work-columns { grid-template-columns: 1fr; gap: 2rem; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  #footer { padding: 3rem 2.5rem 1.5rem; }
}

@media (max-width: 736px) {
  #header { padding: 0 1.25rem; }
  #header nav#nav > ul > li > a { padding: 0.5rem 0.6rem; font-size: 0.65rem; }
  #banner { padding: 6rem 1.5rem 2.5rem; }
  #banner h2 { font-size: 1.9rem; }
  .what-we-build, .founder, .how-we-work, .our-ai, .for-architects, .faq, .cta-section { padding: 3rem 1.5rem; }
  .stats-strip { flex-direction: column; gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
