:root {
      /* primary pita */
      --pita: #f3e6d0;
      --pita-light: #fbf8f1;
      --pita-dark: #c2b8a6;

      /* background cold and dark */
      --cold-dark: #10404e;
      --cold-dark-light: #406671;
      --cold-dark-darker: #0b2d37;
      
      /* accent pizza */
      --pizza: #c08a3a;
      --pizza-light: #cda161;
      --pizza-dark: #866129;


      --color-surface: #ffffff;
      
      --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
      --radius-lg: 18px;
      --radius-pill: 999px;
      --max-width: 1120px;
      --header-offset: 6.25rem; /* default; updated by JS after header renders */
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background: linear-gradient(to right, var(--cold-dark-light),var(--cold-dark), var(--cold-dark-darker));
      color: var(--pita);
      display: flex;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      flex-direction: column;
      line-height: 1.6;
      max-width: 100%;
      min-height: 100vh;
      overflow-x: hidden;
      padding-top: var(--header-offset);
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      font-size: 0.9rem;
    }

    .nav-links a {
      color: var(--pita-dark);
      position: relative;
      padding-bottom: 0.15rem;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 1px;
      background: var(--pizza);
      transition: width 0.18s ease-out;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.6rem 1.1rem;
      border-radius: var(--radius-pill);
      border: 1px solid transparent;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border 0.12s ease-out;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--pizza), var(--pizza-dark));
      color: var(--pita);
      box-shadow: var(--shadow-soft);
      border-color: var(--pita-light);
    }

    .btn-primary:hover {
      color: var(--cold-dark);
      background: linear-gradient(135deg, var(--pizza-dark), var(--pizza));
      transform: translateY(-1px);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    }

    .btn-outline {
      background: var(--pizza-dark);
      border-color: var(--pita-light);
      color: var(--pita);
    }

    .btn-outline:hover {
      color: var(--cold-dark);
      border-color: var(--pizza);
      background: var(--pita);
      transform: translateY(-1px);
      box-shadow: var(--shadow-soft);
    }

    .btn-sm {
      padding: 0.45rem 0.9rem;
      font-size: 0.8rem;
    }
    
    .content-section {
      padding: 2.25rem 0;
    }

    .hero {
      padding: 3.5rem 0 3rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.1fr);
      gap: 2.5rem;
      align-items: center;
    }

    @media (max-width: 840px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0.7rem;
      border-radius: var(--radius-pill);
      font-size: 0.75rem;
      border: 1px solid rgba(201, 162, 93, 0.4);
      background: rgba(201, 162, 93, 0.04);
      color: var(--pita-dark);
      margin-bottom: 0.75rem;
    }

    .pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: radial-gradient(circle at 40% 0, #a3e635 0, #22c55e 60%, #166534 100%);
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    }

    .hero-title {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.1rem, 3vw + 1.2rem, 3.1rem);
      letter-spacing: 0.02em;
      margin-bottom: 0.7rem;
    }

    .hero-title span {
      color: var(--pizza-dark);
    }

    .hero-subtitle {
      font-size: 0.98rem;
      color: var(--pita-dark);
      max-width: 32rem;
      margin-bottom: 1.3rem;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .hero-footnote {
      font-size: 0.78rem;
      color: var(--pita-dark);
    }

    .hero-footnote strong {
      font-weight: 600;
      color: #4b5563;
    }

    .hero-card {
      border-radius: 16px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      padding: 0.65rem 0.7rem;
      background: #f9fafb;
    }

    .hero-card h4 {
      font-size: 0.83rem;
      margin-bottom: 0.1rem;
      font-weight: 600;
    }

    .hero-card p {
      font-size: 0.78rem;
      color: var(--pita-dark);
    }

    .hero-panel-note {
      font-size: 0.75rem;
      color: #4b5563;
      border-top: 1px dashed var(--pita-light);
      padding-top: 0.7rem;
      margin-top: 0.3rem;
    }

    /* Section base */
    section {
      padding: 3rem 0;
    }

    /* Generic page hero/layout helpers */
    .page-hero {
      padding: 2.5rem 0 2.25rem;
    }

    .page-hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 2rem;
      align-items: start;
    }

    .page-hero-content {
      grid-area: span 2 / 1;
    }

    @media (max-width: 960px) {
      .page-hero-inner {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        align-content: center;
        justify-content: center;
        
      }

      .page-hero-content {
        grid-area: 2 / 1;
      }

      .page-hero-card.hero-panel {
      grid-area: 3 / 1;
    }

    .index-grid-headshot {
      grid-area: 1 / 1 !important;
    }

    }

    .page-hero-card {
      background: var(--color-surface);
      border: 1px solid rgba(229, 231, 235, 0.8);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
      padding: 1rem 1.2rem;
      color: #0f172a;
    }

    .page-hero-list {
      list-style: none;
      display: grid;
      gap: 0.65rem;
      margin: 0.8rem 0 0;
      padding: 0;
    }

    .page-hero-list li {
      display: flex;
      gap: 0.5rem;
      align-items: flex-start;
      color: #1f2937;
      font-size: 0.9rem;
    }

    .page-hero-list .dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--pizza);
      margin-top: 0.4rem;
      flex-shrink: 0;
    }

    

    .content-stack {
      display: grid;
      gap: 1.1rem;
      max-width: 780px;
    }

    .content-card {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 16px;
      padding: 1.25rem;
    }

    .content-card h3 {
      margin-bottom: 0.35rem;
      font-size: 1.05rem;
      color: var(--pita);
    }

    .content-card p {
      color: var(--pita-dark);
      font-size: 0.95rem;
    }

    .section-header {
      margin-bottom: 1.8rem;
      text-align: left;
    }

    .section-kicker {
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.78rem;
      color: var(--pita-dark);
      margin-bottom: 0.3rem;
    }

    .section-title {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.8rem;
      margin-bottom: 0.4rem;
    }

    .section-subtitle {
      font-size: 0.93rem;
      color: var(--pita-dark);
      max-width: 36rem;
    }

    /* Services */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
    }

    @media (max-width: 960px) {
      .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .cards-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      background: var(--pita);
      border-radius: var(--radius-lg);
      padding: 1.15rem 1.15rem 1.1rem;
      border: 1px solid rgba(229, 231, 235, 0.9);
      box-shadow: 0 14px 35px rgba(148, 163, 184, 0.12);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(201, 162, 93, 0.16), transparent 55%);
      opacity: 0.7;
      pointer-events: none;
    }

    .card-inner {
      position: relative;
      z-index: 1;
    }

    .card-eyebrow {
      font-size: 0.78rem;
      color: var(--cold-dark);
      margin-bottom: 0.25rem;
    }

    .card-title {
      color: var(--pizza-dark);
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
    }

    .card-body {
      font-size: 0.86rem;
      color: var(--cold-dark);
      margin-bottom: 0.6rem;
    }

    .card-list {
      list-style: none;
      font-size: 0.8rem;
      color: var(--cold-dark);
      margin-bottom: 0.8rem;
    }

    .card-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.35rem;
      margin-bottom: 0.15rem;
    }

    .card-list-bullet {
      width: 4px;
      height: 4px;
      margin-top: 0.4rem;
      border-radius: 999px;
      background: var(--pizza);
    }

    .card-tag {
      display: inline-flex;
      align-items: center;
      font-size: 0.75rem;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      background: rgba(249, 115, 22, 0.06);
      color: #ea580c;
    }

    /* How it works / expectations */
    .two-column {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
      gap: 1.8rem;
    }

    @media (max-width: 840px) {
      .two-column {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .steps {
      list-style: none;
      counter-reset: step-counter;
    }

    .step {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 0.6rem 0.9rem;
      align-items: flex-start;
      padding: 0.9rem 0;
      border-bottom: 1px dashed var(--pita-light);
    }

    .step:last-child {
      border-bottom: none;
    }

    .step-number {
      counter-increment: step-counter;
      width: 26px;
      height: 26px;
      border-radius: 999px;
      border: 1px solid var(--pita-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 500;
      background: #f9fafb;
    }

    .step-number::before {
      content: counter(step-counter);
    }

    .step-title {
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 0.1rem;
    }

    .step-text {
      font-size: 0.84rem;
      color: var(--pita-dark);
    }

    .callout {
      background: #111827;
      color: #e5e7eb;
      border-radius: var(--radius-lg);
      padding: 1rem 1.1rem;
      font-size: 0.82rem;
      box-shadow: var(--shadow-soft);
    }

    .callout strong {
      color: #f97316;
    }

    .callout p + p {
      margin-top: 0.5rem;
    }

    /* CTA */
    .cta {
      padding: 3rem 0 3.2rem;
    }

    .cta-inner {
      background: linear-gradient(135deg, #111827, #020617);
      border-radius: 26px;
      padding: 2.1rem 1.6rem;
      color: #e5e7eb;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    }

    .cta-inner::before,
    .cta-inner::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      filter: blur(32px);
      opacity: 0.45;
    }

    .cta-inner::before {
      width: 220px;
      height: 220px;
      background: rgba(201, 162, 93, 0.9);
      top: -60px;
      left: -40px;
    }

    .cta-inner::after {
      width: 260px;
      height: 260px;
      background: rgba(56, 189, 248, 0.8);
      bottom: -80px;
      right: -40px;
    }

    .cta-content {
      position: relative;
      z-index: 1;
    }

    .cta-kicker {
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.78rem;
      color: #a5b4fc;
      margin-bottom: 0.3rem;
    }

    .cta-title {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.8rem;
      margin-bottom: 0.4rem;
    }

    .cta-text {
      font-size: 0.9rem;
      color: #e5e7eb;
      max-width: 32rem;
      margin: 0 auto 1.4rem;
    }

    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: center;
      margin-bottom: 0.7rem;
    }

    .cta-footnote {
      font-size: 0.78rem;
      color: #9ca3af;
    }









/* ================================
    HEADER + CALCULATOR NAV
================================ */

/* Sticky header wrapper */
.calc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: var(--cold-dark);
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Header row (inside .container) */
.calc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0; /* horizontal padding handled by .container */
}

/* Base nav layout */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-text-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  color: var(--pizza);
}

.cpa-span {
    font-weight: bold;
}

.brand-text-sub {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--pita-dark);
}

/* Brand block */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: normal;          /* allow wrapping on small screens */
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-height: 72px; /* keeps header compact */
  width: auto;
}

.brand-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.header-location {
  font-size: 69%;
  color: var(--pita-dark);
}

/* Shell = hamburger + calculator */
.nav-calc-shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.nav-calc-shell.is-open .nav-calculator {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ================================
   NAV CALCULATOR (BASE)
   ================================ */

.nav-calculator {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  border-radius: 18px;
  background: radial-gradient(circle at top, #020617 0, #111827 45%, #020617 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  max-width: 380px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.15s ease-out,
    transform 0.15s ease-out;
}

/* Close button inside calculator */
.nav-calc-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: block;
}

.nav-calc-close:hover {
  opacity: 0.8;
}

/* Calculator Screen */
.nav-calc-screen {
  border-radius: 12px;
  background: radial-gradient(circle at 10% 0, #0f172a 0, #020617 45%, #000 100%);
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-calc-output {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: right;
  color: #fefce8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-calc-hint {
  font-size: 0.68rem;
  color: #9ca3af;
  text-align: right;
}

/* Key Grid */
.nav-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

/* Ten-key layout: 3 numeric columns + 1 tall "+" column */
.nav-calc-grid-tenkey {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 0.9fr;
  grid-auto-rows: 1fr;
}

/* Big vertical "+" key on the right */
.nav-calc-btn-plus {
  grid-row: 1 / span 4;    /* spans all four rows */
  grid-column: 4 / 5;
  align-self: stretch;
  justify-content: center;
  align-items: center;
  background: var(--pizza)!important;
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.9),
    0 12px 24px rgba(0, 0, 0, 0.95);
  color: #000000!important;
}

.nav-calc-btn-plus:hover {
  background: var(--pizza-dark)!important;
}

.nav-calc-btn-plus .nav-calc-sub {
  color: #000000!important;
}

.nav-calc-sub-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

/* Give the keys a more "ten-key" proportion */
.nav-calc-grid.nav-calc-grid-tenkey .nav-calc-btn {
  min-height: 2.5rem;
}

.nav-calc-btn {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.45rem 0.4rem;
  background: radial-gradient(circle at 30% 0, #1f2937 0, #020617 65%);
  box-shadow:
    inset 0 0 0 1px rgba(55, 65, 81, 0.8),
    0 8px 16px rgba(0, 0, 0, 0.75);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  transition:
    transform 0.06s ease-out,
    box-shadow 0.06s ease-out,
    background 0.1s ease-out;
  font-family: inherit;
}

.nav-calc-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.9),
    0 10px 20px rgba(0, 0, 0, 0.9);
  background: radial-gradient(circle at 30% 0, #111827 0, #020617 65%);
}

.nav-calc-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 0 0 1px rgba(30, 64, 175, 0.9),
    0 4px 10px rgba(0, 0, 0, 0.8);
}

.nav-calc-main {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-calc-sub {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

/* Special keys */
.nav-calc-btn-action {
  background: radial-gradient(circle at 30% 0, #7f1d1d 0, #450a0a 65%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 29, 29, 0.9),
    0 8px 16px rgba(0, 0, 0, 0.9);
}

.nav-calc-btn-wide {
  grid-column: span 3;
  background: radial-gradient(circle at 30% 0, #c9a25d 0, #8a6b2f 65%);
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.9),
    0 12px 24px rgba(0, 0, 0, 0.95);
  color: #111827;
}

.nav-calc-btn-wide .nav-calc-sub {
  color: #1f2937;
}

/* =================================
   TOGGLE
   ================================= */

.nav-calc-toggle {
  border: 1px solid rgba(229, 231, 235, 0.3);
  background: rgba(0, 0, 0, 0.08);
  color: var(--pita);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  height: 42px;
  cursor: pointer;
  justify-content: center;
  transition: border 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

/* Icon: three bars */
.nav-calc-toggle-icon {
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--pita);
  display: block;
  font-size: 0;
}

.nav-calc-toggle-icon::before,
.nav-calc-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--pita);
  transition:
    transform 0.18s ease-out,
    top 0.18s ease-out,
    opacity 0.18s ease-out;
}

.nav-calc-toggle-icon::before {
  top: -6px;
}

.nav-calc-toggle-icon::after {
  top: 6px;
}

.nav-calc-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 231, 235, 0.6);
  background: rgba(0, 0, 0, 0.14);
}

.nav-calc-toggle:active {
  transform: translateY(0);
}

.nav-calc-toggle-label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* When menu is open, turn into X */
.nav-calc-shell.is-open .nav-calc-toggle-icon {
  background: transparent;
}

.nav-calc-shell.is-open .nav-calc-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-calc-shell.is-open .nav-calc-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* =================================
   BACKDROP (MOBILE)
   ================================= */

.nav-calc-backdrop {
  display: none; /* only used on mobile; see media query */
}

/* =================================
   RESPONSIVE BEHAVIOR
   ================================= */

/* Desktop / larger tablets */
@media (min-width: 641px) {
  .nav-calculator {
    width: min(420px, calc(100vw - 2.5rem));
  }

  .nav-calc-shell {
    align-self: center;
  }
}

/* Mobile */
@media (max-width: 640px) {
  /* Header row stays in one line */
  .calc-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Let the brand shrink/wrap a bit on very small screens */
  .brand {
    max-width: 70%;
  }

  /* Shell just holds the button; calculator is fixed to viewport */
  .nav-calc-shell {
    position: static;
  }

  .nav-calc-toggle {
    display: flex;
  }

  /* Backdrop behind open menu */
  .nav-calc-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 35;
    transition: opacity 0.15s ease-out;
  }

  .nav-calc-shell.is-open .nav-calc-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Calculator = full-width overlay under the sticky header */
  .nav-calculator {
    position: fixed;
    top: calc(var(--header-offset) + 0.5rem);
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    z-index: 40;
  }
}

    /* Footer */
    footer {
      border-top: 1px solid rgba(229, 231, 235, 0.7);
      padding: 1.4rem 0 2rem;
      font-size: 0.78rem;
      color: var(--pita-dark);
      text-align: center;
    }

    .footer-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
    }

    .footer-links a {
      text-decoration: underline;
      text-decoration-color: rgba(148, 163, 184, 0.7);
      text-underline-offset: 3px;
    }

    /* Mobile tweaks */
    @media (max-width: 720px) {
      .nav-links {
        display: none; /* simple version; use builder’s mobile nav if needed */
      }
      .nav-cta .btn-outline {
        display: none;
      }
      .hero {
        padding-top: 3rem;
      }
      .cta-inner {
        padding: 1.8rem 1.3rem;
      }
    }









/* ================================
   CPA Difference Table
================================ */

.page-hero-card.hero-panel {
  background: linear-gradient(135deg, #111827, #020617);
}

.hero-panel {
      border: 1px solid rgba(229, 231, 235, 0.9);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      grid-area: 2 / 2;
      padding: 1.4rem 1.3rem;
    }

    .hero-panel-heading {
      justify-content: space-between;
      align-content: center;
      text-align: center;
      align-items: center;
      margin-bottom: 1rem;
      gap: 0.75rem;
    }

    .hero-panel-title {
      color: var(--pizza);
      font-size: 1.1rem;
      font-weight: 700;
      text-align: center;
    }

    .hero-panel-label {
      font-size: 0.75rem;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      background: #f3f4ff;
      color: #4f46e5;
    }

    .hero-panel-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
      margin-bottom: 0.9rem;
    }

    .index-grid-headshot {
      grid-area: 1 / 2;
    }

.difference-table {
  background: radial-gradient(circle at top left, rgba(201, 162, 93, 0.16), transparent 19%);
}

.difference-table td {
  border: 1px solid var(--pita);
}

.difference-table th {
  color: var(--pizza);
}

.difference-table td {
  color: var(--pita);
}

.table-data-center {
  text-align: center;
}








/* ================================
   About Us page tweaks
================================ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 2rem 2rem;
}

.about-left {
  grid-area: 1 / 1;
  text-align: center;
}

.about-right {
  grid-area: 1 / 2;
}

@media (max-width: 840px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

.about-left {
  grid-area: 1 / 1;
  text-align: center;
}

.about-right {
  grid-area: 2 / 1;
  text-align: center;
}

}

.about-headshot {
  width: 220px;
  height: 220px;
  border-radius: 100%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 3px solid rgba(255, 255, 255, 0.18);
}

.about-name {
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: bold;
  margin-bottom: 0.35rem;
  color: var(--pizza);
}

.about-role {
  font-size: 0.95rem;
  color: var(--pita-dark);
  margin-bottom: 0.85rem;
}

.about-bio {
  font-size: 1.02rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--pita);
}









/* ================================
   Services page tweaks
================================ */

.services-hero {
  padding: 2.5rem 0 2.5rem;
}

.services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 840px) {
  .services-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.services-crumbs {
  font-size: 0.78rem;
  color: var(--pita-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.services-crumbs a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(216, 200, 176, 0.7);
}

.services-hero-title span {
  color: var(--pizza-dark);
}

.services-hero-subtitle {
  max-width: 34rem;
}

.services-hero-cta {
  margin-top: 0.5rem;
}

.services-hero-panel {
  margin-top: 0.5rem;
  background: var(--pita-dark);
  border-radius: 16px;
}

.hero-card {
  background: var(--cold-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-hero-note {
  font-size: 0.8rem;
  color: var(--cold-dark);
}


/* Slightly tighten cards on the services page */
.services-grid .card-body {
  min-height: 3.4rem;
}

/* How-it-works on services page */
.services-flow {
  margin-top: 0.75rem;
}
vices-flow {
  margin-top: 0.75rem;
}
