/* ============================================================
   Ad Vice Studios — Replicated Stylesheet
   Fonts: Cormorant Garamond (headings), Montserrat (body)
   Brand sheet palette (November 12, 2026): Navy #142541 | Slate #354862 | Red #A32238 | Pale gray #F1F4F8 | Rule gray #D7DFE9 | White #FFFFFF
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #142541;
  --navy-light: #354862;
  --white: #ffffff;
  --gray-50: #f1f4f8;
  --gray-100: #f1f4f8;
  --gray-200: #d7dfe9;
  --gray-400: #9aa4b2;
  --gray-500: #5d6d81;
  --gray-600: #354862;
  --green-400: #a32238; /* accent: brand sheet Red (variable name kept from the October build) */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */

.announcement-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announcement-bar strong {
  font-weight: 600;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.logo-link {
  flex-shrink: 0;
}

.logo-img {
  /* Legacy red-dot logo: brand sheet sizes, 128px wide desktop and 96px mobile */
  width: 128px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
@media (max-width: 640px) {
  .logo-img { width: 96px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  opacity: 0.7;
}

.btn-login {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.btn-login:hover {
  opacity: 0.85;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 12rem;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 37, 65, 0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.75rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-watermark {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  letter-spacing: 0.1em;
  z-index: 2;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   TRUSTED BY SECTION
   ============================================================ */

.trusted-section {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.logo-track-wrapper {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   CASE STUDY SECTION
   ============================================================ */

.case-study-section {
  background: var(--gray-50);
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .case-study-card {
    flex-direction: row;
  }
}

.case-study-image {
  height: 260px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .case-study-image {
    width: 50%;
    height: auto;
    min-height: 360px;
  }
}

.case-study-content {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.case-study-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.case-study-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.case-study-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.btn-dashed {
  display: inline-block;
  border: 1px dashed var(--navy);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-dashed:hover {
  background: var(--gray-50);
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-section {
  background: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-big {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ============================================================
   RISK SECTION
   ============================================================ */

.risk-section {
  background: var(--gray-50);
  padding: 5rem 0;
}

.risk-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.risk-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.risk-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  transition: opacity 0.2s;
}

.btn-dark:hover {
  opacity: 0.85;
}

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */

.programs-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
}

.programs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 37, 65, 0.78);
}

.programs-inner {
  position: relative;
  z-index: 2;
}

.programs-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  margin-bottom: 2.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.program-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.25s;
}

.program-card:hover {
  transform: translateY(-4px);
}

.program-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.program-card:hover .program-card-image {
  transform: scale(1.04);
}

.program-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.program-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.program-card-desc {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.btn-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.btn-link:hover {
  opacity: 0.65;
}

/* ============================================================
   PERMITTING EDGE SECTION
   ============================================================ */

.permitting-edge-section {
  background: var(--white);
  padding: 5rem 0;
}

.permitting-edge-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.permitting-edge-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.permitting-edge-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* ============================================================
   PERMITTING CHECK CARD SECTION
   ============================================================ */

.permitting-check-section {
  background: var(--gray-50);
  padding: 5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.permitting-check-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.permitting-check-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.permitting-check-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.permitting-check-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-style: italic;
}

.permitting-check-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .permitting-check-body {
    grid-template-columns: 1fr;
  }
}

.permitting-col-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.permitting-list {
  list-style: none;
  padding: 0;
}

.permitting-list li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.permitting-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 5px;
  height: 5px;
  background: var(--navy);
  border-radius: 50%;
}

.permitting-investment {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.permitting-check-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.btn-dark-full {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  transition: opacity 0.2s;
  width: 100%;
  text-align: center;
}

.btn-dark-full:hover {
  opacity: 0.85;
}

/* ============================================================
   PARTNER NETWORK SECTION
   ============================================================ */

.partner-section {
  background: var(--white);
  padding: 5rem 0;
}

.partner-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.partner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.partner-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.btn-outline-dark {
  display: inline-block;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   START YOUR PROGRAM SECTION
   ============================================================ */

.start-section {
  background: var(--gray-50);
  padding: 5rem 0;
  border-top: 1px solid var(--gray-200);
}

.start-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 2.5rem;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.start-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.start-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
}

.start-card-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo-wrap {
  border: 1px solid var(--gray-200);
  padding: 0.75rem;
  display: inline-block;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--navy);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-login {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    z-index: 200;
  }

  .navbar {
    position: relative;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .start-grid {
    grid-template-columns: 1fr;
  }

  .permitting-check-card {
    padding: 1.5rem;
  }
}

@media (max-width: 540px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}


/* ============================================================
   SUBPAGE SHARED STYLES
   ============================================================ */

/* Page Hero (used on all subpages) */
.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Generic subpage section */
.subpage-section {
  padding: 4rem 0;
}

/* Two-column grid (Programs, Who We Serve) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 700px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* Feature card (Programs page) */
.feature-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.feature-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.feature-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Audience card (Who We Serve) */
.audience-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2rem;
  background: var(--white);
}

.audience-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.audience-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* CTA block at bottom of subpages */
.subpage-cta-block {
  text-align: center;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 2rem;
}

.subpage-cta-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.cta-btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Case Studies page */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-select {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  appearance: auto;
}

.filter-select:focus {
  outline: 1px solid var(--navy);
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .cs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

.cs-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem;
  background: var(--white);
}

.cs-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.cs-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.cs-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.cs-card-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.cs-card-detail {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.cs-card-result {
  font-size: 0.875rem;
  color: var(--navy);
  line-height: 1.5;
}

/* Insights page */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.insight-card:hover {
  border-color: var(--navy);
}

.insight-category {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.insight-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Company/Process page */
.process-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.process-block:last-child {
  border-bottom: none;
}

.process-block-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process-block-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.process-io-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem 2rem;
}

@media (max-width: 600px) {
  .process-io-grid {
    grid-template-columns: 1fr;
  }
}

.process-io-col {}

.process-io-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

/* Contact page */
.contact-general {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 2rem;
}

.contact-general-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  text-decoration: underline;
}

/* Permitting Check form page */
.permitting-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.permitting-deliverables-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.permitting-box-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1rem;
}

.permitting-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-required {
  color: #a32238;
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--navy);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  width: 100%;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Legal pages */
.legal-body {
  padding: 1rem 0 3rem;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Service Areas page */
.service-areas-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 700px) {
  .service-areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .service-areas-grid {
    grid-template-columns: 1fr;
  }
}

.service-area-region-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.service-area-list {
  list-style: none;
  padding: 0;
}

.service-area-list li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray-100);
}

/* ============================================================
   ADDITIONS — Double Branch feature, inquiry forms, social,
   newsletter, client portal, lead capture
   ============================================================ */

[hidden] { display: none !important; }

/* Featured project image */
.case-study-image--double-branch {
  position: relative;
  background-position: 50% 62%;
}

.case-study-credit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Inquiry form (contact page) */
.inquiry-wrap {
  max-width: 760px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  scroll-margin-top: 6rem;
}

.inquiry-intro { margin-bottom: 2rem; }

.inquiry-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.inquiry-sub {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}

.form-check input { margin-top: 0.2rem; accent-color: var(--navy); }
.form-check--light { color: rgba(255, 255, 255, 0.7); }
.form-check--light input { accent-color: var(--green-400); }

.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 640px) {
  .inquiry-wrap { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* Social section */
.social-section {
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.social-section--inline {
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.social-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.social-profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.social-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.1rem;
  transition: border-color 0.2s, background 0.2s;
}

.social-profile-btn:hover { border-color: var(--navy); background: var(--gray-50); }
.social-feed { text-align: left; }

/* Newsletter */
.newsletter-section {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.newsletter-body {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.newsletter-fields .form-input:last-child { grid-column: 1 / -1; }

.newsletter-form .form-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.newsletter-form .form-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form .form-input:focus { border-color: var(--white); }
.newsletter-form .btn-outline-light { background: transparent; cursor: pointer; }

@media (max-width: 760px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-fields { grid-template-columns: 1fr; }
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-social-link:hover { color: var(--navy); }

/* Client portal */
.portal-screen {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.portal-narrow {
  max-width: 480px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.portal-heading { font-size: 2rem; margin-bottom: 0.5rem; }

.portal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2rem;
}

.portal-magic {
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.portal-msg {
  font-size: 0.8rem;
  color: var(--gray-600);
  min-height: 1.2em;
}

.portal-msg--error { color: #a32238; }

.portal-help {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

.portal-link { color: var(--navy); text-decoration: underline; }

.portal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.portal-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.portal-user .btn-dashed { background: transparent; cursor: pointer; }

.portal-account {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.portal-account .btn-dark,
.portal-upload .btn-dark,
.portal-staff .btn-dark { border: none; cursor: pointer; white-space: nowrap; }

.portal-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.portal-controls .form-group { min-width: 240px; }

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.portal-tab {
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.portal-tab:hover { color: var(--navy); }
.portal-tab.active { color: var(--navy); border-color: var(--navy); }

.portal-upload {
  border: 1px dashed var(--gray-400);
  background: var(--gray-50);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.2s, background 0.2s;
}

.portal-upload.dragging { border-color: var(--navy); background: var(--gray-100); }

.portal-upload-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
}

.portal-upload-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0.25rem 0 1rem;
}

.portal-upload-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portal-upload-row .form-select { max-width: 220px; }
.portal-upload-row .form-input { flex: 1; min-width: 200px; }

.portal-table-wrap { overflow-x: auto; }

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.portal-table th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.portal-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  white-space: nowrap;
}

.portal-table td.portal-file-name { color: var(--navy); font-weight: 500; white-space: normal; word-break: break-word; }
.portal-actions { text-align: right; }

.portal-actions .btn-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  margin-left: 1rem;
}

.portal-delete { color: #a32238 !important; }

.portal-empty {
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.portal-staff { margin-top: 3rem; }

/* Sticky "Start a Project" dock */
.cta-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: flex;
  gap: 0.5rem;
}

.cta-dock a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 6px 20px rgba(20, 37, 65, 0.25);
  transition: transform 0.2s, background 0.2s;
}

.cta-dock-main { background: var(--navy); color: var(--white); }
.cta-dock-main:hover { background: var(--navy-light); transform: translateY(-2px); }
.cta-dock-call { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }

@media (max-width: 640px) {
  .cta-dock { left: 0; right: 0; bottom: 0; gap: 0; }
  .cta-dock a { flex: 1; text-align: center; box-shadow: none; padding: 1rem; }
  .cta-dock-call { flex: 0 0 35% !important; border-width: 1px 0 0; }
  body { padding-bottom: 3.2rem; }
}

/* One-time exit offer */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 37, 65, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: exit-fade 0.25s ease;
}

@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }

.exit-dialog {
  position: relative;
  background: var(--white);
  max-width: 460px;
  width: 100%;
  padding: 2.5rem 2rem 1.5rem;
  border-top: 3px solid var(--navy);
}

.exit-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
}

.exit-close:hover { color: var(--navy); }

.exit-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.exit-body {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.exit-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exit-decline {
  display: block;
  margin: 1rem auto 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gray-500);
  text-decoration: underline;
  cursor: pointer;
}
/* Hero: Double Branch rendering with featured-project caption */
.hero-section--double-branch { background-position: 50% 58%; }

.hero-section--double-branch .hero-overlay {
  background: linear-gradient(180deg, rgba(20, 37, 65, 0.55) 0%, rgba(20, 37, 65, 0.5) 45%, rgba(20, 37, 65, 0.78) 100%);
}

.hero-feature {
  position: absolute;
  left: 2rem;
  bottom: 2.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--green-400);
  color: var(--white);
  transition: opacity 0.2s;
}

.hero-feature:hover { opacity: 0.85; }

.hero-feature-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-feature-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.1;
}

.hero-feature-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .hero-feature { left: 1.25rem; bottom: 2.75rem; }
  .hero-feature-name { font-size: 1.3rem; }
}
/* Keep the nav and Login button inside the viewport between tablet and wide desktop */
@media (min-width: 901px) and (max-width: 1160px) {
  .nav-inner { gap: 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: 0.72rem; letter-spacing: 0.02em; }
}
.announcement-link { color: var(--white); text-decoration: underline; white-space: nowrap; }

/* ============================================================
   IMPORTED CONTENT (from the previous advicestudios.com),
   restyled to the new theme
   ============================================================ */

.featured-programs { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.featured-case + .featured-case { margin-top: 2rem; }

@media (min-width: 768px) {
  .featured-case--flip { flex-direction: row-reverse; }
}

.case-quote {
  border-left: 2px solid var(--navy);
  padding-left: 1.1rem;
  margin: 0.25rem 0 0;
}

.case-quote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.case-quote cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* Testimonials (home) */
.testimonials-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial { margin: 0; display: flex; flex-direction: column; }

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy);
  flex: 1;
  margin: 0 0 1.25rem;
}

.testimonial figcaption {
  border-top: 1px solid var(--gray-200);
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial figcaption strong { font-size: 0.8rem; font-weight: 600; color: var(--navy); letter-spacing: 0.03em; }
.testimonial figcaption span { font-size: 0.72rem; color: var(--gray-500); }

@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Leadership (company) */
.leadership-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.leadership-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.leader-mark {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border: 1px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.leader-name {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.leader-bio {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 1.75rem;
}

.leader-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.leader-facts li { display: flex; flex-direction: column; gap: 0.2rem; }
.leader-facts strong { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--navy); }
.leader-facts span { font-size: 0.72rem; color: var(--gray-500); letter-spacing: 0.04em; }

@media (max-width: 700px) {
  .leadership-inner { flex-direction: column; gap: 1.5rem; }
  .leader-mark { width: 96px; height: 96px; font-size: 2rem; }
}

/* Contact details */
.contact-sep { margin: 0 0.75rem; color: var(--gray-400); }

.contact-address {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.footer-contact {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  white-space: pre-wrap;
}

.footer-contact a { color: var(--navy); }
/* Insights articles (imported from the Sound Advice blog) */
a.insight-card { display: flex; flex-direction: column; color: inherit; }
.insight-desc { flex: 1; }
.insight-more {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.article-hero .page-hero-title { max-width: 860px; margin: 0 auto; }
.article-head .case-study-label a { color: inherit; text-decoration: underline; }

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4rem;
  align-items: start;
}

.article-body { max-width: 700px; }

.article-body p,
.article-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.article-body p { margin-bottom: 1.25rem; }

.article-body h2,
.article-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

.article-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.article-body > h2:first-child,
.article-body > h3:first-child { margin-top: 0; font-style: italic; font-weight: 400; }

.article-body ul,
.article-body ol { margin: 0 0 1.25rem 1.25rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body strong { color: var(--navy); font-weight: 600; }

.article-body blockquote {
  border-left: 2px solid var(--navy);
  padding-left: 1.1rem;
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
}

.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--gray-200); }

.article-cta {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy);
  padding: 1.75rem;
  background: var(--white);
}

.article-cta-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.article-cta-text {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-back { display: inline-block; margin-top: 1rem; }

@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-cta { position: static; }
}
/* Single verified client logo, shown static (November 12, 2026 removals) */
.logo-static { display: flex; justify-content: center; align-items: center; }

/* Added client logos (November 12, 2026): a long one-line wordmark and a compact mark */
.partner-logo--wordmark { height: auto; width: 300px; }
.partner-logo--compact { height: 34px; }

/* Frequently asked questions (November 12, 2026 SEO and AEO pass) */
.faq-section { padding: 5rem 0; background: var(--white); border-top: 1px solid var(--gray-200); }
.faq-inner { max-width: 820px; }
.faq-heading { text-align: center; margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.1rem 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green-400); font-family: var(--font-sans); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.faq-item p { margin-top: 0.75rem; color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   Project life cycle, compact version (November 12, 2026)
   ============================================================ */
.lifecycle-section { padding: 3.5rem 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.lifecycle-eyebrow { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-400); text-align: center; margin-bottom: 0.5rem; }
.lifecycle-heading { text-align: center; font-size: 2rem; margin-bottom: 2.25rem; }
.lifecycle-track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; padding-top: 1.25rem; }
.lifecycle-track::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--navy); transform-origin: left center; }
.lifecycle-step { position: relative; }
.lifecycle-dot { position: absolute; top: -1.25rem; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px var(--gray-50); }
.lifecycle-num { display: block; font-family: var(--font-serif); font-size: 2.1rem; line-height: 1; color: var(--navy); margin: 0.5rem 0 0.5rem; }
.lifecycle-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--navy); margin-bottom: 0.3rem; }
.lifecycle-desc { font-size: 0.82rem; line-height: 1.5; color: var(--gray-600); }
.lifecycle-step--partner .lifecycle-dot { background: var(--gray-50); border: 2px solid var(--green-400); }
.lifecycle-weeks { margin-top: 0.55rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-400); }
.lifecycle-ranges { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); align-items: center; margin-top: 2rem; background: var(--white); border: 1px solid var(--gray-200); border-left: 3px solid var(--green-400); }
.lifecycle-ranges-label { padding: 1rem 1.25rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.lifecycle-range { padding: 1rem 1.25rem; border-left: 1px solid var(--gray-200); }
.lifecycle-range strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--navy); line-height: 1.2; }
.lifecycle-range span { font-size: 0.78rem; color: var(--gray-600); }
.lifecycle-note { text-align: center; margin-top: 0.8rem; font-size: 0.74rem; color: var(--gray-500); }
.lifecycle-cta { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lifecycle-anim .lifecycle-track::before { transform: scaleX(0); transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.lifecycle-anim .lifecycle-step { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lifecycle-anim.in-view .lifecycle-track::before { transform: scaleX(1); }
.lifecycle-anim.in-view .lifecycle-step { opacity: 1; transform: none; }
.lifecycle-anim.in-view .lifecycle-step:nth-child(1) { transition-delay: 0.10s; }
.lifecycle-anim.in-view .lifecycle-step:nth-child(2) { transition-delay: 0.32s; }
.lifecycle-anim.in-view .lifecycle-step:nth-child(3) { transition-delay: 0.54s; }
.lifecycle-anim.in-view .lifecycle-step:nth-child(4) { transition-delay: 0.76s; }
.lifecycle-anim.in-view .lifecycle-step:nth-child(5) { transition-delay: 0.98s; }
@media (max-width: 900px) {
  .lifecycle-section { padding: 2.75rem 0; }
  .lifecycle-heading { font-size: 1.6rem; margin-bottom: 1.5rem; }
  .lifecycle-track { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 1.75rem; }
  .lifecycle-track::before { top: 0.9rem; bottom: 0.9rem; left: 5px; right: auto; width: 1px; height: auto; transform-origin: center top; }
  .lifecycle-anim .lifecycle-track::before { transform: scaleY(0); }
  .lifecycle-anim.in-view .lifecycle-track::before { transform: scaleY(1); }
  .lifecycle-step { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.55rem 0; }
  .lifecycle-dot { top: 1.05rem; left: -1.75rem; }
  .lifecycle-num { font-size: 1.5rem; margin: 0; min-width: 2rem; }
  .lifecycle-title { font-size: 1.1rem; margin-bottom: 0.1rem; }
  .lifecycle-weeks { margin-top: 0.2rem; }
  .lifecycle-ranges { grid-template-columns: 1fr 1fr; margin-top: 1.25rem; }
  .lifecycle-ranges-label { grid-column: 1 / -1; padding: 0.8rem 1rem 0.2rem; }
  .lifecycle-range { padding: 0.6rem 1rem; border-left: none; }
  .lifecycle-range strong { font-size: 1.1rem; }
  .lifecycle-note { text-align: left; }
  .lifecycle-cta { flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
}

/* ============================================================
   Conversion pass (November 13, 2026): one color for the one action.
   Red is reserved for links and buttons that open the project inquiry form.
   ============================================================ */
:root { --action: #a32238; --action-dark: #861b2d; }
.nav-cta { background: var(--action); color: var(--white); font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.6rem 1.15rem; white-space: nowrap; flex-shrink: 0; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--action-dark); transform: translateY(-1px); }
a.btn-dark[href*="#strategy-form"], a.btn-dark-full[href*="#strategy-form"], .cta-dock-main, .form-submit { background: var(--action); color: var(--white); transition: background 0.2s, transform 0.2s; }
a.btn-dark[href*="#strategy-form"]:hover, a.btn-dark-full[href*="#strategy-form"]:hover, .cta-dock-main:hover, .form-submit:hover { background: var(--action-dark); opacity: 1; transform: translateY(-1px); }
.btn-convert { display: inline-block; background: var(--action); color: var(--white); border: 1px solid var(--action); font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.875rem 2rem; transition: background 0.2s, transform 0.2s; }
.btn-convert:hover { background: var(--action-dark); border-color: var(--action-dark); transform: translateY(-1px); }
.nav-cta:focus-visible, .btn-convert:focus-visible, .form-submit:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.stat-block--link { display: block; color: inherit; transition: transform 0.2s; }
.stat-block--link:hover { transform: translateY(-2px); }
.stat-block--link .stat-desc { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--action); }
.case-cta { display: inline-block; margin-top: 1.25rem; color: var(--action); border-bottom-color: var(--action); }
.serve-areas-line { text-align: center; margin-top: 2.5rem; font-size: 0.9rem; color: var(--gray-600); }
.serve-areas-line .btn-link { margin-left: 0.5rem; }
.next-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin: 0 0 2rem; padding: 1rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.next-steps li { font-size: 0.78rem; line-height: 1.4; color: var(--gray-600); }
.next-steps li span { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.15rem; }
.next-steps li:first-child { color: var(--navy); font-weight: 600; }
.next-steps li:first-child span { color: var(--action); }
@media (max-width: 1100px) { .nav-cta { display: none; } }
@media (max-width: 700px) { .next-steps { grid-template-columns: 1fr 1fr; } .next-steps li:first-child { grid-column: 1 / -1; } }
/* Permitting Check is also a revenue action, so its buttons take the action color */
a.btn-dark[href*="permitting-check"], a.btn-dark-full[href*="permitting-check"], .permitting-form button[type="submit"] { background: var(--action); color: var(--white); transition: background 0.2s, transform 0.2s; }
a.btn-dark[href*="permitting-check"]:hover, a.btn-dark-full[href*="permitting-check"]:hover, .permitting-form button[type="submit"]:hover { background: var(--action-dark); opacity: 1; transform: translateY(-1px); }
/* The client login button is not a sales action, so it keeps the navy */
#login-form .form-submit, #login-form .form-submit:hover { background: var(--navy); transform: none; }

/* ============================================================
   Segment landing pages (November 13, 2026)
   ============================================================ */
.segment-hero .lifecycle-eyebrow { margin-bottom: 0.9rem; }
.segment-hero-cta { display: flex; justify-content: center; align-items: center; gap: 1.75rem; flex-wrap: wrap; margin-top: 2rem; }
.segment-heading { text-align: center; margin-bottom: 2.25rem; }
.segment-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.segment-point { background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--action); padding: 1.75rem; }
.segment-point-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); margin-bottom: 0.6rem; }
.segment-point-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; color: var(--navy); margin-bottom: 0.75rem; }
.segment-point-desc { font-size: 0.9rem; line-height: 1.7; color: var(--gray-600); }
.segment-proof { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.segment-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.segment-quotes .case-quote { background: var(--white); border: 1px solid var(--gray-200); padding: 1.5rem; margin: 0; }
.segment-note { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: var(--gray-600); }
.segment-note .btn-link { margin-left: 0.5rem; }
.segment-related { text-align: center; margin: 0 0 2.5rem; }
.segment-related-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.6rem; }
.segment-related ul { list-style: none; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.segment-related a { font-size: 0.9rem; color: var(--navy); border-bottom: 1px solid var(--gray-200); padding-bottom: 2px; }
.segment-related a:hover { border-bottom-color: var(--action); }
@media (max-width: 900px) { .segment-points, .segment-quotes { grid-template-columns: 1fr; } }

/* Logo wall: full page width (November 14) */
.logo-track-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.logo-track {
  padding-right: 3.5rem;
  animation-duration: 44s;
}

/* Block (justified) paragraphs on wide text only, computer screens only (November 14) */
@media (min-width: 900px) {
  .article-body p,
  .article-body blockquote,
  .legal-body p,
  .faq-item p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}
/* Centered intro lines: balance the lines so no single word is left dangling */
.hero-subtitle,
.page-hero-subtitle,
.segment-note,
.risk-body,
.permitting-edge-body,
.partner-body,
.subpage-cta-text,
.lifecycle-note,
.form-note {
  text-wrap: balance;
}

/* Owner logo row on the shopping center page (November 14) */
.owner-logos-section { padding: 2.5rem 0; border-bottom: 1px solid var(--gray-200); }
.owner-logos { display: flex; justify-content: center; align-items: center; gap: 3.5rem; flex-wrap: wrap; }
.owner-logos .partner-logo { height: 44px; }

/* ============================================================
   Readability pass (November 16): larger lettering sitewide,
   proportions kept. Body copy 16 to 17px, labels 13px minimum,
   form fields 16px, faint gray text darkened.
   ============================================================ */
@media (min-width: 1360px) { html { font-size: 106.25%; } }

/* Body copy */
p, .article-body, .article-body p, .article-body li, .legal-body p, .legal-body li,
.case-study-desc, .insight-desc, .audience-card-desc, .feature-card-desc, .risk-body,
.partner-body, .permitting-edge-body, .inquiry-sub, .newsletter-body, .cs-card-result,
.permitting-check-subtitle, .contact-general-label, .segment-point-desc, .process-block-desc,
.hero-subtitle, .page-hero-subtitle, .segment-note, .serve-areas-line, .start-card-desc,
.permitting-investment, .contact-address, .faq-item p, .subpage-cta-text, .article-cta-text,
.program-card-desc, .cs-card-detail, .lifecycle-desc, .case-quote p, .testimonial blockquote {
  font-size: 1rem;
}
.hero-subtitle, .page-hero-subtitle { font-size: 1.05rem; }
li, .permitting-list li, .next-steps li, .lifecycle-ranges li { font-size: 0.95rem; }
.faq-item summary { font-size: 1.05rem; }

/* Secondary text, links, buttons, navigation */
.nav-link { font-size: 0.86rem; }
.nav-cta, .btn-dark, .btn-dark-full, .btn-convert, .btn-outline-light, .btn-outline-dark,
.btn-dashed, button.btn-dark-full, button.btn-outline-light, .form-submit,
.cta-dock-main, .cta-dock-call { font-size: 0.875rem; }
.btn-link, a.btn-link, .insight-more, .stat-desc, .cs-card-location, .form-note,
.lifecycle-note, cite, .case-quote cite, .testimonial cite, .testimonial cite span,
.hero-feature-meta, .footer-link, .footer-contact, .footer-contact a, .footer-copy { font-size: 0.875rem; }

/* Small labels: 13px minimum */
.segment-point-label, .case-study-label, .footer-tagline, .insight-category, .trusted-label,
.segment-related-label, .lifecycle-weeks, .lifecycle-ranges-label, .lifecycle-eyebrow,
.stat-label, .hero-caption, .cs-tag, .case-study-credit, .hero-feature-label,
.process-io-heading, .permitting-col-title, .breadcrumb, .breadcrumb a, .article-meta,
.article-meta a, .page-hero-eyebrow { font-size: 0.8rem; }

/* Forms: labels and typed text */
.form-label, label.form-label { font-size: 0.95rem; }
.form-input, .form-select, .form-textarea, input.form-input, select.form-select,
textarea.form-textarea, .newsletter-form input, .permitting-form input,
.permitting-form select, .permitting-form textarea, input, select, textarea { font-size: 1rem; }
.form-check, .form-check span { font-size: 0.95rem; }
.form-input::placeholder, .form-textarea::placeholder { font-size: 1rem; opacity: 0.75; }
@media (max-width: 767px) {
  .form-input, .form-select, .form-textarea, input, select, textarea { font-size: 16px; }
}

/* Faint gray text darkened for contrast */
.case-study-label, .trusted-label, .footer-copy, .breadcrumb, .breadcrumb a, .article-meta,
.article-meta a { color: var(--gray-500); }
.hero-caption { color: rgba(255, 255, 255, 0.75); }
.cta-dock a.cta-dock-main, .cta-dock a.cta-dock-call, a.cta-dock-main, a.cta-dock-call { font-size: 0.8125rem; }
.testimonial cite span, cite span, blockquote + cite span, .case-quote cite span { font-size: 0.875rem; }
@media (max-width: 767px) {
  .segment-point-label, .case-study-label, .footer-tagline, .insight-category, .trusted-label,
  .segment-related-label, .lifecycle-weeks, .lifecycle-ranges-label, .lifecycle-eyebrow,
  .stat-label, .hero-caption, .cs-tag, .case-study-credit, .hero-feature-label,
  .process-io-heading, .permitting-col-title, .breadcrumb, .breadcrumb a { font-size: 0.8125rem; }
  a.cta-dock-main, a.cta-dock-call { font-size: 0.8125rem; }
}
.lifecycle-range span { line-height: 1.35; font-size: 0.85rem; }
.hero-content { max-width: 940px; }
.hero-title, .page-hero-title, .section-heading { text-wrap: balance; }
.testimonial figcaption strong { font-size: 0.95rem; }
.testimonial figcaption span { font-size: 0.875rem; }

.form-note--left { text-align: left; margin: 0 0 1rem; font-size: 0.95rem; }


/* ---- November 21, 2026: team review fixes ---- */
/* Block paragraphs stay, but words are no longer split with hyphens */
@media (min-width: 900px) {
  .article-body p, .article-body blockquote, .legal-body p, .faq-item p { hyphens: manual; -webkit-hyphens: manual; }
}
/* Hero buttons: same height, text centered */
.hero-ctas a { display: inline-flex; align-items: center; justify-content: center; }
/* Permitting Check: both columns the same text size */
.permitting-investment { font-size: 0.95rem; }
/* Floating Call / Start a Project bar: phones and tablets only.
   On wider screens the header button is always visible. */
@media (min-width: 1101px) { .cta-dock { display: none; } }

/* Footer services line: centered; tighter on phones and split into two tidy lines */
.footer-tagline { text-align: center; }
@media (max-width: 600px) {
  .footer-tagline { letter-spacing: 0.12em; }
  .footer-tagline .ft-sep { display: none; }
  .footer-tagline .ft-last { display: block; }
}
