/* Layout: full-bleed navy hero, content sections alternating white/light, orange as precise accent */
  :root {
    --navy: #0D2244;
    --navy-mid: #1A3A6B;
    --navy-light: #1E4080;
    --orange: #E8611A;
    --orange-light: #F07D3E;
    --white: #FFFFFF;
    --surface: #FFFFFF;
    --off-white: #F5F6F8;
    --text: #1A1A2E;
    --text-mid: #3D4461;
    --text-light: #5B6270;
    --border: #E2E5ED;
    --ink-strong: #0D2244;
    --tag-ink: #1E4080;
    --tag-bg: rgba(13,34,68,0.07);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --navy: #0A1A35;
      --navy-mid: #0F2550;
      --navy-light: #1A3A6B;
      --off-white: #111827;
      --text: #F0F2F8;
      --text-mid: #C5CCDC;
      --text-light: #8B94A8;
      --border: #1E2D45;
      --surface: #0D1929;
      --ink-strong: #F0F2F8;
      --tag-ink: #C5CCDC;
      --tag-bg: rgba(255,255,255,0.08);
      color-scheme: dark;
    }
  }

  :root[data-theme="dark"] {
    --navy: #0A1A35;
    --navy-mid: #0F2550;
    --navy-light: #1A3A6B;
    --off-white: #111827;
    --text: #F0F2F8;
    --text-mid: #C5CCDC;
    --text-light: #8B94A8;
    --border: #1E2D45;
    --surface: #0D1929;
    --ink-strong: #F0F2F8;
    --tag-ink: #C5CCDC;
    --tag-bg: rgba(255,255,255,0.08);
    color-scheme: dark;
  }

  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

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

  body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    padding-inline: 0;
  }

  /* NAV */
  nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: var(--navy);
    padding-block: 18px;
    padding-inline: clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .nav-logo {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.2em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
  }

  .brand-mark {
    height: 30px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--orange-light); }

  .nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s !important;
  }

  .nav-cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

  /* HERO */
  .hero {
    background: var(--navy);
    padding-block: clamp(72px, 10vw, 120px);
    padding-inline: clamp(20px, 5vw, 80px);
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,97,26,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange);
  }

  .hero-inner {
    max-width: 760px;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
  }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    text-wrap: balance;
    margin-bottom: 28px;
  }

  .hero h1 em {
    font-style: normal;
    color: var(--orange);
  }

  .hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 44px;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  .btn-primary {
    background: var(--orange);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    display: inline-block;
  }

  .btn-primary:hover { background: var(--orange-light); }

  .btn-secondary {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }

  .btn-secondary:hover { color: var(--white); }

  /* SECTIONS */
  section {
    padding-block: clamp(60px, 8vw, 100px);
    padding-inline: clamp(20px, 5vw, 80px);
  }

  .section-white { background: var(--surface); }
  .section-off { background: var(--off-white); }
  .section-navy { background: var(--navy); }

  .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    text-wrap: balance;
    margin-bottom: 20px;
  }

  .section-title.light { color: var(--white); }

  .section-body {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 620px;
  }

  .section-body.light { color: rgba(255,255,255,0.72); }

  /* ABOUT / SPLIT */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    max-width: 1100px;
  }

  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
  }

  .stat-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px 20px;
  }

  .stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ink-strong);
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
  }

  .stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
  }

  /* SERVICES */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
    max-width: 1100px;
  }

  .service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px 28px;
    position: relative;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 6px 6px 0 0;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 40px;
    height: 40px;
    background: rgba(232,97,26,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
  }

  .service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--tag-ink);
    background: var(--tag-bg);
    padding: 3px 10px;
    border-radius: 20px;
  }

  /* HOW I WORK */
  .how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 1000px;
  }

  .how-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .how-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(232,97,26,0.45);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .how-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
  }

  .how-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
  }

  /* SITUATIONS */
  .situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    margin-top: 48px;
    max-width: 1100px;
    border-top: 1px solid var(--border);
  }

  .situation {
    padding: 28px 28px 28px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .situation-mark {
    width: 10px;
    height: 10px;
    background: var(--orange);
    transform: rotate(45deg);
    margin-top: 8px;
    flex-shrink: 0;
  }

  .situation-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 6px;
  }

  .situation-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
  }

  /* CONTACT */
  .contact-inner {
    max-width: 640px;
  }

  .contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 1.05rem;
    color: var(--text-mid);
  }

  .contact-detail svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }

  .contact-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 3px;
    transition: background 0.15s;
    font-family: var(--font-body);
  }

  .contact-copy-btn:hover { background: rgba(232,97,26,0.1); }

  .contact-detail a {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--orange);
  }

  .contact-detail a:hover { color: var(--orange); }

  .contact-actions { margin-top: 36px; }

  footer a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
  }

  footer a:hover { color: var(--orange-light); }

  .footer-right { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

  /* FOOTER */
  footer {
    background: var(--navy);
    padding-block: 32px;
    padding-inline: clamp(20px, 5vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .footer-logo {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
  }

  .footer-logo .brand-mark { height: 24px; }

  footer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
  }

  /* DIVIDER */
  .orange-rule {
    width: 48px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 28px;
    border-radius: 2px;
  }

  /* RESPONSIVE */
  @media (max-width: 720px) {
    .about-grid { grid-template-columns: 1fr; }
    .nav-links li:not(:last-child) { display: none; }
    .situation { padding-right: 0; }
    .about-stats { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    html { scroll-behavior: auto; }
  }

  /* ===== Multi-page additions ===== */
  body { display: flex; flex-direction: column; min-height: 100vh; }
  main { flex: 1 0 auto; }

  .nav-links a[aria-current="page"]:not(.nav-cta) {
    color: var(--white);
    box-shadow: inset 0 -2px 0 var(--orange);
    padding-bottom: 4px;
  }

  .nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
  }

  .nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

  /* Interior page header */
  .page-header {
    background: var(--navy);
    padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px);
    padding-inline: clamp(20px, 5vw, 80px);
    position: relative;
    overflow: hidden;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,97,26,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--orange);
  }

  .page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--white);
    text-wrap: balance;
    max-width: 820px;
  }

  .page-header .hero-eyebrow { margin-bottom: 16px; }

  .page-intro {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: rgba(255,255,255,0.72);
    max-width: 640px;
    line-height: 1.75;
    margin-top: 20px;
  }

  /* How We Work on a light background */
  .how-light .how-title { color: var(--text); font-size: 1.05rem; }
  .how-light .how-desc { color: var(--text-mid); font-size: 0.95rem; }
  .how-light .how-number { color: var(--orange); opacity: 0.55; }
  .how-light .how-item { border-top: 2px solid var(--border); padding-top: 20px; }

  /* Home overview cards */
  .overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 44px;
    max-width: 1100px;
  }

  .overview-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
  }

  .overview-card:hover { border-color: var(--orange); transform: translateY(-2px); }

  .overview-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
  }

  .overview-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; flex: 1; }

  .overview-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--orange);
  }

  /* Call-to-action band */
  .cta-band {
    background: var(--navy);
    padding-block: clamp(52px, 7vw, 80px);
    padding-inline: clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
  }

  .cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--white);
    max-width: 640px;
    text-wrap: balance;
    line-height: 1.25;
  }

  .cta-band p { color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 600px; }

  /* Footer nav */
  footer { row-gap: 20px; }
  .footer-nav { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
  .footer-nav a { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-decoration: none; }
  .footer-nav a:hover { color: var(--orange-light); }
  .footer-logo { text-decoration: none; }

  @media (max-width: 860px) {
    nav { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
      display: none;
      flex-basis: 100%;
      flex-direction: column;
      gap: 0;
      padding-top: 12px;
    }
    .nav-links li { display: block !important; }
    .nav-links a { display: block; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); }
    .nav-links a[aria-current="page"]:not(.nav-cta) { box-shadow: none; color: var(--orange-light); padding-bottom: 14px; }
    .nav-links .nav-cta { margin-top: 12px; text-align: center; border-top: none; padding: 12px 20px; }
    nav.open .nav-links { display: flex; }
  }

  @media (prefers-reduced-motion: reduce) {
    .overview-card:hover { transform: none; }
  }

/* Grids that open an interior page sit at the top of their section */
main > section > .services-grid:first-child,
main > section > .situations-grid:first-child,
main > section > .how-grid:first-child { margin-top: 0; }

/* ===== Service and location landing pages ===== */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 44px 0 14px;
}
.prose h2:first-of-type { margin-top: 8px; }
.prose p, .prose li { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 6px 0 0 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--orange); }
.prose a:not(.btn-primary) { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--orange); }
.prose a:not(.btn-primary):hover { color: var(--orange); }
.breadcrumbs { font-size: 0.82rem; color: var(--text-light); margin-bottom: 28px; }
.breadcrumbs a { color: var(--text-light) !important; border-bottom: none !important; }
.breadcrumbs a:hover { color: var(--orange) !important; }
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--orange); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 10px; font-size: 0.98rem; }
.prose-cta { margin-top: 40px; }
.footer-services { display: flex; gap: 8px 22px; flex-wrap: wrap; list-style: none; flex-basis: 100%; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; }
.footer-services a { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-services a:hover { color: var(--orange-light); }
.home-links { margin-top: 32px; font-size: 0.9rem; color: var(--text-light); max-width: 1100px; line-height: 2; }
.home-links a { color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--orange); }
.home-links a:hover { color: var(--orange); }
