/* ============================================
   Round 2 additions, Tasks 5, 6, 7, 8, 9, 10
   Separate stylesheet for the latest pass; loaded after home.css so
   these rules win on equal specificity.
============================================ */

/* ── Task 5: ADU Guide 50/50 split with FAQ accordion ── */
.adu-guide-cta {
  padding: calc(var(--nav-h) + 2rem) clamp(2rem, 4vw, 4rem) 3rem;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
.adu-guide-cta .cta-inner { display: none; }
.adu-guide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  flex: 1;
  padding-right: 3rem;
}
.adu-faq {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: calc(100vh - var(--nav-h) - 5rem);
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 0.5rem;
}
.adu-faq::-webkit-scrollbar { display: none; }
.adu-faq-head {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.adu-faq-head em { font-style: italic; color: var(--gold); }
.faq-list { display: flex; flex-direction: column; gap: 0.55rem; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--border-dark);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.7,0.2,1);
  transition-delay: var(--faq-delay, 0s);
}
.faq-list.in-view .faq-item { opacity: 1; transform: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.4rem;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover,
.faq-item.open .faq-q { color: var(--gold); }
.faq-icon {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0.25rem 0.4rem 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
  opacity: 0.7;
}
.adu-guide-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.adu-guide-right h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); color: var(--cream); }
.adu-guide-right h2 em { font-style: italic; color: var(--gold); }
.adu-guide-right p { font-size: 1rem; line-height: 1.75; opacity: 0.75; max-width: 540px; }
@media (max-width: 980px) {
  .adu-guide-split { grid-template-columns: 1fr; }
  .adu-faq { max-height: none; }
}

/* ── Task 6: services, bigger text + buttons up + brighter hover ── */
.service-col { padding: 3.5rem 2.4rem 2rem; }
.service-col h3 { font-size: 1.1rem !important; letter-spacing: 0.1em; }
.service-col p { font-size: 0.95rem !important; line-height: 1.85 !important; opacity: 0.75 !important; }
.service-bullets li { font-size: 0.86rem; opacity: 0.8; }
.service-col-cta { padding-top: 1rem !important; padding-bottom: 1rem; }
.service-col:hover { background: rgba(240,168,0,0.10) !important; }
.service-col:hover .service-num { opacity: 0.45; transition: opacity 0.35s; }

/* ── Task 7: projects copy widens + denser tags ── */
.projects-copy { max-width: 720px; }
.projects-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.projects-copy > p { font-size: 1.05rem; line-height: 1.8; max-width: 640px; }
.projects-secondary {
  font-family: 'Jost', sans-serif;
  font-style: italic;
  font-size: 0.92rem;
  opacity: 0.55;
  line-height: 1.7;
  max-width: 600px;
  margin-top: -0.25rem;
}

/* ── Task 8: Begin section, fits any viewport + brand-color overlay ── */
.begin-section {
  padding: calc(var(--nav-h) + 2.5rem) clamp(1.5rem, 3vw, 3rem) 1.5rem !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}
.begin-inner {
  min-height: 0 !important;
  height: 100% !important;
  max-height: calc(100vh - var(--nav-h) - 4rem);
  max-height: calc(100dvh - var(--nav-h) - 4rem);
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 1rem !important;
}
.begin-inner h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.begin-lede { font-size: 0.95rem; margin-bottom: 0; }
.begin-cards {
  gap: 1rem !important;
  min-height: 0 !important;
  /* Tightened so cards always sit fully inside the visible section */
  height: clamp(220px, 36vh, 360px);
  height: clamp(220px, 36dvh, 360px);
  flex: 0 0 auto !important;
}
.begin-card {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  padding: clamp(1.5rem, 3vh, 2.8rem) 1.6rem 1.2rem !important;
  background: rgba(0,0,0,0.55) !important;
  border-color: rgba(255,255,255,0.08) !important;
  overflow: hidden;
}
.begin-icon { margin-bottom: 0.25rem; }
.begin-icon svg { width: clamp(32px, 4.5vh, 48px); height: auto; }
.begin-card h3 { font-size: clamp(0.9rem, 1.15vw, 1rem); }
.begin-card p { font-size: 0.82rem; line-height: 1.55; flex: 1; min-height: 0; overflow: hidden; }
.begin-card .btn-ghost { padding: 0.65rem 1.1rem; font-size: 0.62rem; }
.begin-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.92) 100%), repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 5px) !important;
}

/* ── Task 9: Munis, fits any viewport ── */
.munis-content {
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.5rem, 3vw, 3rem) 2rem !important;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}
.munis-head { margin-bottom: 1rem !important; gap: 0.85rem !important; }
.munis-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem) !important; }
.munis-list a { padding: 0.7rem 1.1rem !important; font-size: 0.75rem !important; }
.munis-note { font-size: 0.82rem !important; line-height: 1.55 !important; opacity: 0.65; }
.munis-split { min-height: 100vh; min-height: 100dvh; }

/* ── Task 10: footer rebuild, 4-zone slim row + slash mark ── */
.footer-v2 { padding: 1.5rem clamp(2rem, 4vw, 4rem) 0 !important; }
.footer-v2-grid { display: none !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;
  max-width: 1480px;
  margin: 0 auto;
}
.footer-v2-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-v2-mark {
  width: 36px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(240,168,0,0.35));
}
.footer-v2-brand-text { display: flex; flex-direction: column; gap: 0.1rem; }
.footer-v2-brand-text .footer-v2-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.45rem;
  color: var(--cream);
}
.footer-v2-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.55;
}
.footer-v2-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.6rem;
  margin: 0 !important;
}
.footer-v2-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
}
.footer-v2-links a:hover { color: var(--gold); opacity: 1; }
.footer-v2-contact { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-v2-heading {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.footer-v2-contact a.footer-v2-contact span {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
}
.footer-v2-contact a:hover { color: var(--gold); opacity: 1; }
.footer-v2-social { display: flex; flex-direction: column; gap: 0.4rem; margin: 0 !important; }
.footer-v2-social a {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0.6;
  transition: opacity 0.25s, color 0.25s, border-color 0.25s;
}
.footer-v2-social a:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }
.footer-v2-social svg { width: 13px; height: 13px; }
.footer-v2-bottom {
  margin-top: 1rem !important;
  padding: 0.55rem 0 !important;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.45;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}
.footer-v2-bottom-right {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.78rem;
}
@media (max-width: 880px) {
  .footer-v2-main { grid-template-columns: 1fr 1fr !important; gap: 1.5rem !important; }
  .footer-v2-social { flex-direction: row; }
}
