/* ============================================
   Round 3, fine-grained sizing + positioning fixes per the
   reference screenshots provided by the user. Loaded last so it
   wins on equal specificity.
============================================ */

/* ── Task 1: About, bigger heading, bigger logo, bigger stats ── */
.about-grid {
  grid-template-columns: 1fr 1.55fr 1.05fr !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
  padding-right: 4.5rem !important;
  max-width: 1520px !important;
}
.about-lead {
  font-size: clamp(2.6rem, 4.6vw, 4rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.015em !important;
}
.about-body {
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
  max-width: 640px !important;
}
.afact { padding: 1.55rem 0.5rem !important; }
.afact-num {
  font-size: clamp(2.6rem, 4vw, 3.6rem) !important;
  min-width: 84px !important;
}
.afact-label { font-size: 1rem !important; letter-spacing: 0.14em !important; }
.afact-sub { font-size: 0.82rem !important; line-height: 1.45 !important; }
.about-badge-logo { width: clamp(300px, 26vw, 460px) !important; }
.about-badge { gap: 1.6rem !important; }
.about-badge-line { width: 80px !important; }
.about-badge-caption { font-size: 0.78rem !important; letter-spacing: 0.3em !important; }
.about-col-label .section-label { font-size: 0.78rem; }

/* ── Task 2: ADU intro panel, text sits in upper-middle of the left wedge ── */
.adu-intro-text {
  align-self: start !important;
  justify-self: start !important;
  margin-top: calc(var(--nav-h) + 1.5rem) !important;
  margin-left: clamp(2.5rem, 6vw, 6rem) !important;
  max-width: 500px !important;
  gap: 1.5rem !important;
}
.adu-intro-text .section-label { font-size: 0.78rem; }
.adu-intro-text h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem) !important;
  line-height: 1.08 !important;
}
.adu-intro-text p { font-size: 1rem !important; line-height: 1.7 !important; opacity: 0.7 !important; }
.adu-intro-hint { font-size: 0.85rem !important; }

/* ── Task 3: ADU type panels (1–4), text fills LEFT column top-to-bottom, raised up ── */
.adu-panel:not(.adu-panel--intro) {
  grid-template-columns: 1fr 1fr !important;
}
.adu-panel-info {
  max-width: none !important;
  width: 100% !important;
  height: calc(100vh - var(--nav-h)) !important;
  align-self: start !important;
  justify-self: stretch !important;
  margin-top: 0 !important;
  padding: clamp(2rem, 5vh, 4.5rem) clamp(2.5rem, 5vw, 5rem) 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}
.adu-panel-num {
  font-size: clamp(3.6rem, 5vw, 5rem) !important;
  margin-bottom: 0.4rem !important;
}
.adu-panel-info h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.6rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 1.25rem !important;
}
.adu-panel-info p {
  font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
  line-height: 1.7 !important;
}
.adu-panel-info .btn-ghost {
  margin-top: auto !important;
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 1rem 1.8rem;
}
.adu-panel-design {
  height: 100% !important;
  width: 100% !important;
  align-items: center !important;
  padding: clamp(2rem, 4vh, 4rem) clamp(2rem, 4vw, 4rem) !important;
}
.adu-panel-design svg.adu-panel-design img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* ── Task 4: Begin, 3 wide tall equal boxes ── */
.begin-section {
  padding: calc(var(--nav-h) + 2.5rem) clamp(2rem, 4vw, 4rem) 2rem !important;
  padding-right: clamp(3.5rem, 5vw, 5.5rem) !important;
}
.begin-cards {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: clamp(1.25rem, 1.8vw, 2rem) !important;
  height: clamp(420px, 64vh, 640px) !important;
  height: clamp(420px, 64dvh, 640px) !important;
  width: 100%;
  max-width: 1400px;
  margin: 1.5rem auto 0 !important;
}
.begin-card {
  height: 100% !important;
  max-height: 100% !important;
  padding: 2.4rem 1.8rem 1.6rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.9rem !important;
  overflow: hidden;
}
.begin-card h3 { font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important; line-height: 1.35 !important; }
.begin-card p { font-size: 0.92rem !important; line-height: 1.65 !important; opacity: 0.75 !important; flex: 0 0 auto !important; }
.begin-card-bullets {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.begin-card-bullets li {
  position: relative;
  padding-left: 0.95rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  opacity: 0.7;
  line-height: 1.5;
}
.begin-card-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--gold);
}
.begin-card .btn-ghost {
  margin-top: auto !important;
  align-self: flex-start;
}
.begin-inner {
  justify-content: flex-start !important;
  gap: 1.25rem !important;
  max-width: 1400px;
  margin: 0 auto;
}
.begin-inner h2 { font-size: clamp(2.4rem, 4.6vw, 4rem) !important; }
.begin-lede { font-size: 1.02rem !important; max-width: 760px !important; }

/* ── Task 5: Footer WHITE background + bigger logo aligned ── */
.footer-v2 {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(0,0,0,0.10) !important;
  padding: 1.75rem clamp(2rem, 4vw, 4rem) 0 !important;
}
.footer-v2-main {
  display: grid !important;
  grid-template-columns: auto 1fr auto auto !important;
  align-items: center !important;
  gap: clamp(1.5rem, 3vw, 3rem) !important;
}
.footer-v2-brand { align-items: center !important; gap: 1rem !important; }
.footer-v2-mark {
  width: 64px !important;
  height: auto !important;
  filter: none !important;
}
.footer-v2-brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.15rem !important;
}
.footer-v2-brand-text .footer-v2-logo {
  font-size: 1.7rem !important;
  color: #000 !important;
  line-height: 1 !important;
}
.footer-v2-tag {
  font-size: 0.66rem !important;
  letter-spacing: 0.2em !important;
  color: #000 !important;
  opacity: 0.55 !important;
}
/* Belt-and-braces: force all footer text to black on the white bg. */
.footer-v2,
.footer-v2 a,
.footer-v2 span,
.footer-v2-links a,
.footer-v2-contact a,
.footer-v2-contact span,
.footer-v2-bottom span,
.footer-v2-brand-text .footer-v2-logo,
.footer-v2-tag,
.footer-v2-heading {
  color: #000 !important;
}
.footer-v2-links a,
.footer-v2-contact a { opacity: 0.7 !important; }
.footer-v2-links a:hover,
.footer-v2-contact a:hover { color: var(--gold) !important; opacity: 1 !important; }
.footer-v2-heading { color: var(--gold) !important; }
.footer-v2-bottom-right { color: var(--gold) !important; opacity: 0.85 !important; }
.footer-v2-links a:hover,
.footer-v2-contact a:hover { color: var(--gold) !important; opacity: 1 !important; }
.footer-v2-heading { color: var(--gold) !important; opacity: 1 !important; }
.footer-v2-social a {
  border: 1px solid rgba(0,0,0,0.18) !important;
  color: #000 !important;
  opacity: 0.7 !important;
}
.footer-v2-social a:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  opacity: 1 !important;
}
.footer-v2-bottom {
  border-top: 1px solid rgba(0,0,0,0.12) !important;
  color: #000 !important;
  opacity: 0.55 !important;
}
.footer-v2-bottom-right { color: var(--gold) !important; opacity: 0.8 !important; }

/* ── Task 6: FAQ, fade items BELOW the open one, never overflow ── */
.adu-faq {
  max-height: calc(100vh - var(--nav-h) - 4rem) !important;
  overflow: hidden !important;
}
.faq-item.dim {
  opacity: 0.18 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
}
.faq-item.open { opacity: 1 !important; }
.faq-item.open .faq-a { max-height: 320px !important; }

/* ── Task 7: cursor ring hidden during splash, fades in after ── */
.cursor-ring {
  transition: opacity 0.6s ease, width 0.18s ease, height 0.18s ease;
}
body:not(.splash-done) .cursor-ring {
  opacity: 0 !important;
  pointer-events: none !important;
}
body.splash-done .cursor-ring { opacity: 0.95; }
.splash.splash * { cursor: none; }

/* ── Task 8: menu opens with backdrop blur, no trailing square ── */
body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 700;
  pointer-events: none;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px) saturate(0.9);
  -webkit-backdrop-filter: blur(8px) saturate(0.9);
  transition: opacity 0.35s ease;
}
.nav-backdrop { display: none !important; }

/* ── Task 9: bigger text in Munis + Services + ADU Guide ── */
/* Munis */
.munis-head h2 { font-size: clamp(2rem, 3.4vw, 3rem) !important; line-height: 1.1 !important; }
.munis-head .section-label { font-size: 0.85rem !important; }
.munis-list a { font-size: 0.92rem !important; letter-spacing: 0.14em !important; padding: 0.85rem 1.2rem !important; }
.munis-note { font-size: 0.96rem !important; line-height: 1.65 !important; opacity: 0.75 !important; }
.munis-content .btn-ghost { font-size: 0.85rem; padding: 1.1rem 1.8rem; }

/* Services */
.service-col h3 { font-size: 1.3rem !important; letter-spacing: 0.08em !important; }
.service-col p { font-size: 1.05rem !important; line-height: 1.75 !important; opacity: 0.8 !important; }
.service-bullets li { font-size: 0.95rem !important; opacity: 0.85 !important; line-height: 1.5 !important; }
.service-num { font-size: 3.6rem !important; }
.service-feature h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem) !important; }
.service-feature p { font-size: 1.1rem !important; opacity: 0.8 !important; }
.btn-ghost.btn-sm { font-size: 0.7rem !important; padding: 0.85rem 1.4rem !important; }

/* ADU Guide */
.adu-faq-head { font-size: clamp(2rem, 3.2vw, 2.8rem) !important; }
.faq-q { font-size: 1.05rem !important; padding: 1rem 0.4rem !important; }
.faq-a p { font-size: 0.95rem !important; line-height: 1.7 !important; padding: 0.4rem 0.4rem 1.1rem !important; }
.faq-icon { font-size: 1.5rem !important; }
.adu-guide-right h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem) !important; }
.adu-guide-right p { font-size: 1.05rem !important; line-height: 1.75 !important; max-width: 580px !important; }
.adu-guide-bullets strong { font-size: 0.98rem !important; }
.adu-guide-bullets span { font-size: 0.88rem !important; opacity: 0.7 !important; }

@media (max-width: 980px) {
  .adu-panel:not(.adu-panel--intro) { grid-template-columns: 1fr !important; }
  .begin-cards { grid-template-columns: 1fr !important; height: auto !important; }
  .footer-v2-main { grid-template-columns: 1fr 1fr !important; gap: 1.25rem !important; }
}
