:root {
  --c-deep:    #0E1E36;
  --c-mid:     #1F3A5F;
  --c-gold:    #C9A55C;
  --c-cream:   #E8DCC0;
  --c-bg:      #F7F4ED;
  --c-text:    #1A1A1A;
  --c-muted:   #5A5A5A;
  --f-head:    'Playfair Display', Georgia, serif;
  --f-body:    'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--c-bg); color: var(--c-text); line-height: 1.7; -webkit-font-smoothing: antialiased; }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Pending Image Placeholder ─────────────────────────────
   Reusable placeholder for any image slot we're waiting on.
   Usage: add class="pending-image" to a container OR set
   data-pending="true" on an existing image wrapper. Aspect
   ratio is inherited from the parent (caller sets aspect-ratio
   on the wrapper). */
.pending-image,
[data-pending="true"] { position: relative; background: #c9c4ba; background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,0.04) 18px 36px); overflow: hidden; min-height: 120px; }
.pending-image::before,
[data-pending="true"]::before { content: 'PENDING'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-22deg); font-family: var(--f-body); font-weight: 800; font-size: clamp(18px, 4vw, 44px); letter-spacing: 0.28em; color: #c41e3a; background: rgba(255,255,255,0.92); border: 3px solid #c41e3a; padding: 8px 28px; border-radius: 3px; white-space: nowrap; box-shadow: 0 4px 18px rgba(0,0,0,0.16); pointer-events: none; z-index: 2; text-transform: uppercase; }
.pending-image::after,
[data-pending="true"]::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%, rgba(0,0,0,0.08) 100%); z-index: 1; pointer-events: none; }

/* Skip nav for accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-gold); color: var(--c-deep); padding: 10px 18px; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ── Nav ── */
nav.site-nav {
  background: var(--c-deep);
  height: 144px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,165,92,0.18);
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo svg { display: block; }
.logo img { height: 120px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--c-gold); }
.btn-nav {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-gold);
  border: 1.5px solid var(--c-gold);
  padding: 9px 24px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--c-gold); color: var(--c-deep); }

.nav-toggle { display: none; background: none; border: none; color: var(--c-gold); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ── Dropdown menus ── */
.nav-links li.has-dropdown { position: relative; }
.nav-links .dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,244,237,0.65); font-weight: 500; transition: color .2s; }
.nav-links .dropdown-toggle:hover, .nav-links .dropdown-toggle.is-active, .nav-links li.has-dropdown:hover .dropdown-toggle { color: var(--c-gold); }
.nav-links .dropdown-toggle svg { width: 9px; height: 9px; transition: transform .25s; opacity: 0.7; }
.nav-links li.has-dropdown:hover .dropdown-toggle svg, .nav-links .dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: var(--c-deep);
  border: 1px solid rgba(201,165,92,0.22);
  border-top: 3px solid var(--c-gold);
  list-style: none;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
  z-index: 110;
}
.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown,
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 14px 24px; text-decoration: none; color: rgba(247,244,237,0.75); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; transition: background .2s, color .2s, padding-left .2s; border-left: 2px solid transparent; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(201,165,92,0.08); color: var(--c-gold); border-left-color: var(--c-gold); padding-left: 28px; }
.dropdown a strong { display: block; font-family: var(--f-head); font-size: 16px; color: var(--c-bg); font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.dropdown a:hover strong, .dropdown a:focus-visible strong { color: var(--c-gold); }
.dropdown a .sub { display: block; font-size: 11px; color: rgba(247,244,237,0.5); letter-spacing: 0.08em; line-height: 1.5; }
.dropdown a.is-active { background: rgba(201,165,92,0.1); border-left-color: var(--c-gold); }
.dropdown a.is-active strong { color: var(--c-gold); }

/* ── Hero (homepage) ── */
.hero {
  background-color: var(--c-deep);
  background-size: cover;
  background-position: center 15%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,165,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,165,92,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(201,165,92,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  text-align: center;
  padding: 64px 72px;
  max-width: 780px;
}
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,165,92,0.22);
  pointer-events: none;
}
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201,165,92,0.09);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-family: var(--f-body);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-h1 {
  font-family: var(--f-head);
  font-size: clamp(42px, 6.5vw, 82px);
  color: var(--c-bg);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-h1 em { font-style: italic; color: var(--c-gold); }
.hero-sub {
  font-size: 17px;
  color: rgba(247,244,237,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background-color: var(--c-deep);
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 96px 48px 72px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(14,30,54,0.78), rgba(14,30,54,0.82));
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.page-hero-h1 {
  font-family: var(--f-head);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--c-bg);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.page-hero-h1 em { font-style: italic; color: var(--c-gold); }
.page-hero-sub {
  font-size: 17px;
  color: rgba(247,244,237,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-deep);
  padding: 16px 38px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--f-body);
  transition: transform .25s, box-shadow .25s;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(201,165,92,0.35); }
.btn-ghost {
  display: inline-block;
  color: rgba(247,244,237,0.7);
  border: 1.5px solid rgba(247,244,237,0.22);
  padding: 15px 34px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--f-body);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn-dark {
  display: inline-block;
  background: var(--c-deep);
  color: var(--c-bg);
  padding: 17px 44px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--f-body);
  transition: transform .25s, box-shadow .25s;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(14,30,54,0.25); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--c-cream);
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid rgba(14,30,54,0.08);
}
.stat { flex: 1; max-width: 220px; text-align: center; padding: 32px 20px; border-right: 1px solid rgba(14,30,54,0.08); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--f-head); font-size: 40px; font-weight: 700; color: var(--c-deep); line-height: 1; display: block; }
.stat-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-mid); margin-top: 6px; display: block; font-weight: 500; }

/* ── Shared section layout ── */
.section { padding: 96px 48px; }
.inner { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-family: var(--f-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.eyebrow::after { content: ''; display: block; width: 36px; height: 1px; background: var(--c-gold); }
.section-h2 {
  font-family: var(--f-head);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-h2.dark { color: var(--c-deep); }
.section-h2.light { color: var(--c-bg); }
.section-lead { font-size: 18px; line-height: 1.75; max-width: 600px; }
.section-lead.muted { color: var(--c-muted); }
.section-lead.light { color: rgba(247,244,237,0.65); }

/* ── Story section ── */
.story { background: var(--c-bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
  margin-top: 48px;
}
.story-text p { color: var(--c-muted); margin-bottom: 20px; line-height: 1.85; font-size: 16px; }
.story-aside {
  background: var(--c-mid);
  position: relative;
  overflow: hidden;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
}
.story-aside::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201,165,92,0.18);
  pointer-events: none;
}
.story-aside-bg {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--f-head);
  font-size: 160px;
  font-weight: 700;
  color: rgba(201,165,92,0.08);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.aside-year { font-family: var(--f-head); font-size: 80px; font-weight: 700; color: var(--c-gold); line-height: 1; }
.aside-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,244,237,0.45); margin-top: 6px; }
.aside-rule { width: 36px; height: 1px; background: var(--c-gold); margin: 28px 0; }
.aside-verse { font-family: var(--f-head); font-style: italic; font-size: 15px; color: rgba(247,244,237,0.7); line-height: 1.7; max-width: 240px; }
.aside-ref { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-gold); margin-top: 10px; display: block; font-weight: 600; }

/* ── Services ── */
.services {
  position: relative;
  background-color: var(--c-deep);
  background-image: url('images/index/services/what-we-build-tih-modern-farmhouse.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  overflow: hidden;
}
.services::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(135deg, rgba(14,30,54,0.88) 0%, rgba(14,30,54,0.78) 100%); z-index: 0; }
.services::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(201,165,92,0.5), transparent); z-index: 2; }
.services > .inner { position: relative; z-index: 1; }
.services .section-h2 { color: var(--c-bg); }
.services .service-card { background: rgba(14,30,54,0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}
.service-card { background: var(--c-deep); padding: 44px 38px; position: relative; transition: transform .3s, box-shadow .3s; border-top: 3px solid var(--c-gold); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(14,30,54,0.22); }
.service-num { font-family: var(--f-head); font-size: 52px; color: rgba(201,165,92,0.22); font-weight: 700; line-height: 1; margin-bottom: 20px; }
.service-bar { width: 32px; height: 2px; background: var(--c-gold); margin-bottom: 22px; }
.service-card h3 { font-family: var(--f-head); font-size: 22px; color: var(--c-bg); font-weight: 600; margin-bottom: 12px; }
.service-card p { color: rgba(247,244,237,0.65); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.service-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a23;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}
.service-link:hover { gap: 14px; }

/* ── BOL section ── */
.byol { background: var(--c-mid); position: relative; overflow: hidden; }
.byol-watermark {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-head);
  font-size: 220px;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.byol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; position: relative; z-index: 1; }
.byol-badge {
  display: inline-block;
  border: 1px solid rgba(201,165,92,0.4);
  background: rgba(201,165,92,0.08);
  color: var(--c-gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 18px;
  margin-bottom: 26px;
}
.byol-features { list-style: none; margin: 28px 0 36px; }
.byol-features li {
  color: rgba(247,244,237,0.7);
  font-size: 15px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}
.byol-features li::before { content: ''; width: 5px; height: 5px; background: var(--c-gold); flex-shrink: 0; }
.byol-photo {
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  border: 1px solid rgba(201,165,92,0.12);
  position: relative;
  overflow: hidden;
}

/* ── Big Quote ── */
.big-quote-section {
  background: var(--c-deep);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-quote-section::before {
  content: '\201C';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-head);
  font-size: 400px;
  color: rgba(201,165,92,0.04);
  line-height: 1;
  pointer-events: none;
}
.big-quote { font-family: var(--f-head); font-size: clamp(22px, 3.5vw, 44px); font-style: italic; color: var(--c-bg); line-height: 1.35; max-width: 820px; margin: 0 auto 28px; position: relative; }
.big-quote-attr { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-gold); font-weight: 600; }

/* ── Press / Videos ── */
.press { background: var(--c-bg); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.video-card { position: relative; aspect-ratio: 16/9; border: 0; padding: 0; background: #0A0A0A; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease; font: inherit; width: 100%; display: block; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14,30,54,0.22); }
.video-card:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(0.88); }
.video-card:hover .video-thumb { transform: scale(1.05); filter: brightness(1); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,30,54,0.55) 0%, transparent 55%); pointer-events: none; z-index: 1; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(14,30,54,0.78); border: 1.5px solid var(--c-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.3s, transform 0.3s; }
.video-card:hover .video-play { background: var(--c-gold); transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--c-gold); transition: fill 0.3s; }
.video-card:hover .video-play svg { fill: var(--c-deep); }
.video-badge { position: absolute; top: 11px; left: 12px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: var(--c-gold); background: rgba(14,30,54,0.78); padding: 4px 9px; border-radius: 2px; text-transform: uppercase; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ── Process ── */
.process { background: var(--c-bg); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; margin-top: 52px; }
.process-num { font-family: var(--f-head); font-size: 60px; font-weight: 700; color: var(--c-cream); line-height: 1; margin-bottom: 12px; }
.process-step h4 { font-family: var(--f-head); font-size: 18px; color: var(--c-deep); font-weight: 600; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* ── Three Signature Processes (homepage) ── */
.signature-processes { background: var(--c-bg); }
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sig-card { background: var(--c-deep); padding: 44px 36px 40px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.sig-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14,30,54,0.2); }
.sig-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c-gold); }
.sig-num { font-family: var(--f-head); font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--c-gold); margin-bottom: 14px; }
.sig-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--c-gold); }
.sig-card h3 { font-family: var(--f-head); font-size: 24px; color: var(--c-bg); font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.sig-card .duration { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,244,237,0.5); font-weight: 600; margin-bottom: 16px; }
.sig-card p { color: rgba(247,244,237,0.7); font-size: 15px; line-height: 1.75; margin-bottom: 22px; flex: 1; }
.sig-card .sig-link { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold); text-decoration: none; font-weight: 600; }

/* ── Trust Badges Strip (homepage) ── */
.trust-badges { background: var(--c-deep); padding: 52px 48px; border-top: 1px solid rgba(201,165,92,0.18); border-bottom: 1px solid rgba(201,165,92,0.18); }
.trust-badges .inner { max-width: 1120px; }
.trust-eyebrow { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; text-align: center; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.trust-eyebrow::before, .trust-eyebrow::after { content: ''; width: 50px; height: 1px; background: rgba(201,165,92,0.4); }
.badges-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: stretch; }
.badge { padding: 22px 16px; border: 1px solid rgba(201,165,92,0.22); background: rgba(201,165,92,0.04); text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 130px; transition: border-color .25s, background .25s; }
.badge:hover { border-color: rgba(201,165,92,0.55); background: rgba(201,165,92,0.08); }
.badge svg { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--c-gold); }
.badge .b-title { font-family: var(--f-head); font-size: 14px; color: var(--c-bg); font-weight: 600; line-height: 1.25; margin-bottom: 4px; }
.badge .b-sub { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,244,237,0.5); font-weight: 500; }
.trust-footnote { text-align: center; margin-top: 24px; font-size: 13px; color: rgba(247,244,237,0.55); }
.trust-footnote a { color: var(--c-gold); text-decoration: none; font-weight: 600; }
.trust-footnote a:hover { text-decoration: underline; }

/* ── Floor Plans Focal (homepage) ── */
.plans-focal { background: var(--c-cream); }
.plans-focal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.plans-focal-head h2 { flex: 1; min-width: 320px; }
.plans-focal-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.plans-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; align-items: start; }
.plan-mini { background: #fff; border: 1px solid rgba(14,30,54,0.1); overflow: hidden; text-decoration: none; transition: transform .3s, box-shadow .3s; display: block; }
.plan-mini:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14,30,54,0.12); }
.plan-mini .mini-thumb { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--c-mid); }
.plan-mini .mini-body { padding: 16px 20px 18px; }
.plan-mini .mini-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin-bottom: 4px; }
.plan-mini h3 { font-family: var(--f-head); font-size: 18px; color: var(--c-deep); font-weight: 600; margin-bottom: 6px; }
.plan-mini .mini-spec { font-size: 12px; color: var(--c-muted); }
.plan-mini .mini-spec strong { color: var(--c-deep); font-weight: 600; }

/* ── Service Area Map (homepage) ── */
.map-section { background: var(--c-bg); padding: 96px 48px; }
.map-section .inner { max-width: 1180px; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.map-svg-wrap { background: #FBF8F1; padding: 24px; border: 1px solid rgba(14,30,54,0.08); }
.map-svg-wrap svg { width: 100%; height: auto; display: block; }
.map-info ul { list-style: none; margin: 24px 0 32px; }
.map-info li { padding: 9px 0 9px 18px; position: relative; font-size: 15px; color: var(--c-text); border-bottom: 1px solid rgba(14,30,54,0.08); }
.map-info li::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--c-gold); }

/* ── Interactive Leaflet map ── */
.tih-map { width: 100%; aspect-ratio: 1 / 1; min-height: 480px; background: var(--c-bg); border: 1px solid rgba(14,30,54,0.08); }
.tih-map .leaflet-container { font-family: var(--f-body); background: #FBF8F1; }
.tih-map .leaflet-popup-content-wrapper { border-radius: 2px; border: 1px solid var(--c-gold); padding: 0; }
.tih-map .leaflet-popup-content { margin: 0; padding: 18px 22px 16px; min-width: 200px; }
.tih-map .leaflet-popup-content h4 { font-family: var(--f-head); font-size: 18px; color: var(--c-deep); margin: 0 0 4px; font-weight: 700; }
.tih-map .leaflet-popup-content .dist { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin-bottom: 10px; display: block; }
.tih-map .leaflet-popup-content .cta { display: inline-block; margin-top: 6px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-deep); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--c-gold); padding-bottom: 2px; }
.tih-map .leaflet-popup-content .cta:hover { color: var(--c-gold); }
.tih-map .leaflet-popup-tip { background: #fff; border: 1px solid var(--c-gold); }
.tih-map .pin-icon { display: flex; align-items: center; justify-content: center; }
.tih-map .pin-dot { width: 18px; height: 18px; background: var(--c-gold); border: 3px solid var(--c-deep); border-radius: 50%; box-shadow: 0 4px 12px rgba(14,30,54,0.35); cursor: pointer; transition: transform .2s; }
.tih-map .pin-dot:hover { transform: scale(1.2); }
.tih-map .hq-marker { width: 26px; height: 26px; background: var(--c-deep); border: 3px solid var(--c-gold); transform: rotate(45deg); box-shadow: 0 4px 14px rgba(14,30,54,0.4); }
.tih-map .leaflet-control-attribution { background: rgba(247,244,237,0.85); font-size: 10px; }
.tih-map .leaflet-control-attribution a { color: var(--c-mid); }
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 20px; background: rgba(14,30,54,0.04); border-top: 1px solid rgba(14,30,54,0.08); font-size: 12px; color: var(--c-muted); }
.map-legend .lg-item { display: flex; align-items: center; gap: 8px; }
.map-legend .lg-swatch { width: 16px; height: 16px; flex-shrink: 0; }
.map-legend .lg-pin { background: var(--c-gold); border: 2px solid var(--c-deep); border-radius: 50%; }
.map-legend .lg-hq { background: var(--c-deep); border: 2px solid var(--c-gold); transform: rotate(45deg); }
.map-legend .lg-ring { border: 1.5px dashed var(--c-gold); border-radius: 50%; background: transparent; }
@media (max-width: 960px) {
  .sig-grid { grid-template-columns: 1fr; }
  .badges-row { grid-template-columns: repeat(3, 1fr); }
  .plans-strip { grid-template-columns: 1fr 1fr; }
  .map-grid { grid-template-columns: 1fr; gap: 32px; }
  .plans-focal-head { align-items: flex-start; }
  .plans-focal-cta { align-items: flex-start; }
}
@media (max-width: 600px) {
  .badges-row { grid-template-columns: 1fr 1fr; }
  .plans-strip { grid-template-columns: 1fr; }
  .plans-focal-head h2 { min-width: 0; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ── Pull quote ── */
.pullquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--c-gold);
  background: rgba(201,165,92,0.06);
}
.pullquote blockquote {
  font-family: var(--f-head);
  font-size: 19px;
  font-style: italic;
  color: var(--c-deep);
  line-height: 1.5;
  margin-bottom: 10px;
}
.pullquote cite {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-style: normal;
  font-weight: 600;
}

/* ── Quick Facts (AEO) ── */
.quick-facts { background: var(--c-bg); padding: 72px 48px; border-top: 1px solid rgba(14,30,54,0.06); border-bottom: 1px solid rgba(14,30,54,0.06); }
.quick-facts .inner { max-width: 980px; }
.quick-facts h2 { font-family: var(--f-head); font-size: clamp(28px, 3.5vw, 40px); color: var(--c-deep); margin-bottom: 28px; letter-spacing: -0.01em; }
.quick-facts ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; }
.quick-facts li { padding: 14px 0 14px 24px; position: relative; font-size: 15px; color: var(--c-text); border-bottom: 1px solid rgba(14,30,54,0.08); }
.quick-facts li::before { content: ''; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--c-gold); }

/* ── FAQ ── */
.faq { background: var(--c-bg); padding: 96px 48px; }
.faq .inner { max-width: 880px; }
.faq h2 { font-family: var(--f-head); font-size: clamp(28px, 3.5vw, 44px); color: var(--c-deep); margin-bottom: 36px; text-align: center; letter-spacing: -0.01em; }
.faq details {
  border-top: 1px solid rgba(14,30,54,0.1);
  padding: 22px 0;
}
.faq details:last-of-type { border-bottom: 1px solid rgba(14,30,54,0.1); }
.faq summary {
  font-family: var(--f-head);
  font-size: 19px;
  color: var(--c-deep);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--f-head);
  font-size: 28px;
  color: var(--c-gold);
  line-height: 1;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--c-muted); font-size: 15px; line-height: 1.75; }

/* ── CTA Section ── */
.cta-section {
  background: var(--c-gold);
  padding: 88px 48px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--f-head);
  font-size: clamp(28px, 4vw, 52px);
  color: var(--c-deep);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.cta-section p { color: rgba(14,30,54,0.7); font-size: 18px; max-width: 500px; margin: 0 auto 40px; }

/* ── Gallery preview (homepage Recent Builds mosaic) ── */
.gallery-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: start; }
.gp-tile { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #0e1e36; overflow: hidden; text-decoration: none; width: 100%; transition: transform .35s ease; display: block; }
.gp-tile-lg { grid-column: span 2; }
.gp-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,30,54,0.85) 0%, rgba(14,30,54,0.15) 60%, transparent 100%); transition: opacity .35s; }
.gp-tile:hover { transform: scale(1.01); }
.gp-tile:hover::after { background: linear-gradient(to top, rgba(14,30,54,0.92) 0%, rgba(14,30,54,0.35) 70%, rgba(14,30,54,0.1) 100%); }
.gp-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; z-index: 1; color: var(--c-bg); }
.gp-eyebrow { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin-bottom: 4px; }
.gp-title { display: block; font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.gp-tile-lg .gp-title { font-size: 30px; }
.gp-overlay-cta { background: rgba(14,30,54,0.78); inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 24px; }
.gp-cta-title { font-family: var(--f-head); font-size: 20px; color: var(--c-gold); font-weight: 600; text-align: center; }
.gp-cta-arrow { font-size: 28px; color: var(--c-bg); transition: transform .3s; }
.gp-tile:hover .gp-cta-arrow { transform: translateX(6px); }
@media (max-width: 900px) { .gallery-preview-grid { grid-template-columns: 1fr 1fr; } .gp-tile-lg { grid-column: span 2; } }
@media (max-width: 500px) { .gallery-preview-grid { grid-template-columns: 1fr; } }

/* ── Gallery banner (slim cross-page CTA) ── */
.gallery-banner { background: var(--c-deep); padding: 56px 48px; border-top: 3px solid var(--c-gold); border-bottom: 1px solid rgba(201,165,92,0.18); }
.gallery-banner .inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.gallery-banner .gb-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin-bottom: 10px; }
.gallery-banner .gb-title { font-family: var(--f-head); font-size: clamp(28px, 3vw, 38px); color: var(--c-bg); font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.gallery-banner .gb-sub { font-size: 15px; color: rgba(247,244,237,0.72); line-height: 1.7; max-width: 580px; }
.gallery-banner .gb-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--c-gold); color: var(--c-deep); padding: 18px 32px; font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; text-decoration: none; border: 1.5px solid var(--c-gold); transition: background .25s, color .25s, gap .25s; white-space: nowrap; }
.gallery-banner .gb-cta:hover { background: transparent; color: var(--c-gold); gap: 16px; }
@media (max-width: 760px) { .gallery-banner { padding: 44px 24px; } .gallery-banner .inner { grid-template-columns: 1fr; gap: 22px; } .gallery-banner .gb-cta { justify-self: start; } }

/* ── Footer ── */
footer.site-footer { background: var(--c-deep); padding: 64px 48px 32px; }
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(201,165,92,0.12);
  margin-bottom: 28px;
}
.footer-brand-name { margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: rgba(247,244,237,0.72); line-height: 1.7; max-width: 290px; margin-bottom: 18px; }
.footer-contact { font-size: 13px; color: rgba(247,244,237,0.72); line-height: 1.9; }
.footer-contact a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--c-gold); }
.footer-col .footer-h {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: rgba(247,244,237,0.72); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(247,244,237,0.6);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(247,244,237,0.72); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer-bottom a:hover { color: var(--c-gold); }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row { display: flex; flex-direction: column; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-deep); margin-bottom: 8px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid rgba(14,30,54,0.18);
  padding: 14px 16px;
  transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--c-gold); }
.form-row textarea { resize: vertical; min-height: 140px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  nav.site-nav { padding: 0 20px; }
  .logo img { height: 80px; }
  .nav-links { display: none; position: absolute; top: 144px; left: 0; right: 0; background: var(--c-deep); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 18px; border-bottom: 1px solid rgba(201,165,92,0.18); }
  .nav-links > li { width: 100%; }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: block; }
  .nav-links li.has-dropdown { width: 100%; }
  .nav-links .dropdown-toggle { width: 100%; justify-content: space-between; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-top: 1px solid rgba(201,165,92,0.18); padding: 8px 0 0; margin-top: 14px; background: transparent; min-width: 0; width: 100%; left: auto; right: auto; display: none; }
  .dropdown.is-open { display: block; transform: none; left: auto; right: auto; }
  /* Beat the desktop hover/focus-within transform (higher specificity) so submenus never shift off-screen on mobile */
  .nav-links li.has-dropdown:hover .dropdown,
  .nav-links li.has-dropdown:focus-within .dropdown { transform: none; left: auto; right: auto; }
  .dropdown a { padding: 10px 0; }
  .dropdown a:hover, .dropdown a:focus-visible { padding-left: 8px; }
  .section { padding: 64px 24px; }
  .page-hero { padding: 64px 24px 48px; }
  .hero-frame { padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-bar { flex-wrap: wrap; }
  .stat { min-width: 140px; }
  .quick-facts ul { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .story-grid, .byol-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-aside, .byol-photo { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* === Floor plan sheet section (semi-production plans) === */
.floorplan-section { padding-top: 0 !important; }
.floorplan-wrap { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: flex-start; }
.floorplan-card { background: #fff; padding: 16px; border: 1px solid rgba(14,30,54,0.12); box-shadow: 0 12px 36px rgba(14,30,54,0.08); max-width: 560px; width: 100%; margin: 0; }
.floorplan-card.dual { max-width: 440px; }
.floorplan-card img { width: 100%; height: auto; display: block; }
.floorplan-caption { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; }
.floorplan-note { font-size: 13px; color: var(--c-muted); font-style: italic; margin-top: 22px; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* === Click-to-enlarge lightbox (lightbox.js) === */
.lb-zoomable { cursor: zoom-in; transition: opacity .2s; }
.lb-zoomable:hover { opacity: 0.92; }
body.ggd-lb-open { overflow: hidden; }
.ggd-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,22,0.96); display: flex; align-items: center; justify-content: center; opacity: 1; padding: 0; }
.ggd-lightbox[hidden] { display: none !important; }
.ggd-lb-stage { position: relative; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: auto; padding: 64px 24px 96px; }
.ggd-lb-img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; cursor: zoom-in; user-select: none; box-shadow: 0 24px 60px rgba(0,0,0,0.55); transition: opacity .2s; }
.ggd-lb-img.is-native { max-width: none; max-height: none; cursor: zoom-out; }
.ggd-lightbox.is-loading .ggd-lb-img { opacity: 0.35; }
.ggd-lb-caption { color: #F7F4ED; text-align: center; padding: 18px 24px 4px; font-size: 14px; font-family: var(--f-body); max-width: 800px; line-height: 1.5; }
.ggd-lb-hint { color: rgba(247,244,237,0.45); text-align: center; padding: 6px 24px 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--f-body); }
.ggd-lb-counter { color: rgba(247,244,237,0.55); text-align: center; padding: 12px 24px 0; font-size: 12px; letter-spacing: 0.18em; font-family: var(--f-body); }
.ggd-lb-close, .ggd-lb-prev, .ggd-lb-next { position: fixed; background: rgba(255,255,255,0.08); color: #F7F4ED; border: 1px solid rgba(247,244,237,0.25); cursor: pointer; border-radius: 50%; line-height: 1; transition: background .2s, border-color .2s, transform .2s; padding: 0; font-family: var(--f-body); z-index: 2; }
.ggd-lb-close { top: 20px; right: 24px; width: 48px; height: 48px; font-size: 30px; }
.ggd-lb-prev, .ggd-lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 36px; }
.ggd-lb-prev { left: 24px; } .ggd-lb-next { right: 24px; }
.ggd-lb-close:hover, .ggd-lb-prev:hover, .ggd-lb-next:hover { background: rgba(255,255,255,0.18); border-color: var(--c-gold); }
.ggd-lb-close:focus-visible, .ggd-lb-prev:focus-visible, .ggd-lb-next:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.ggd-lb-prev[hidden], .ggd-lb-next[hidden] { display: none; }
@media (max-width: 720px) {
  .ggd-lb-close { width: 42px; height: 42px; font-size: 24px; top: 12px; right: 12px; }
  .ggd-lb-prev, .ggd-lb-next { width: 42px; height: 42px; font-size: 22px; }
  .ggd-lb-prev { left: 8px; } .ggd-lb-next { right: 8px; }
  .ggd-lb-stage { padding: 56px 12px 80px; }
  .ggd-lb-img { max-width: 96vw; max-height: 74vh; }
  .ggd-lb-caption { font-size: 13px; padding: 14px 16px 4px; }
  .ggd-lb-hint { font-size: 10px; }
}