/*
Theme Name: James Brown Consulting
Theme URI: https://jamesbrownconsulting.com
Author: James Brown Consulting
Author URI: https://jamesbrownconsulting.com
Description: A clean one-page WordPress theme for James Brown Consulting.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: james-brown-consulting
*/


    :root {
      --bg: #f6f7f4;
      --ink: #17202a;
      --muted: #5b6670;
      --accent: #245d5a;
      --accent-dark: #173d3b;
      --accent-soft: #dfecea;
      --card: #ffffff;
      --line: #d8ded8;
      --soft: #edf2ee;
      --max: 1120px;
      --radius: 20px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      background: var(--bg);
      line-height: 1.5;
      overflow-x: hidden;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

    img,
    svg,
    video,
    iframe {
      max-width: 100%;
      height: auto;
    }

    a {
      color: inherit;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(246, 247, 244, 0.96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(10px);
    }

    .nav {
      width: min(100%, var(--max));
      margin: 0 auto;
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .brand {
      font-weight: 800;
      letter-spacing: -0.02em;
      text-decoration: none;
      color: var(--ink);
      font-size: clamp(0.92rem, 4vw, 1rem);
      line-height: 1.05;
      min-width: 0;
    }

    .nav-links {
      display: none;
      gap: 1.15rem;
      align-items: center;
      font-size: 0.92rem;
      margin-left: auto;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--muted);
      font-weight: 700;
    }

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

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--ink);
      color: #fff;
      min-height: 40px;
      padding: 0.62rem 0.78rem;
      border-radius: 999px;
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--accent);
      color: #fff;
      min-height: 48px;
      width: 100%;
      padding: 0.85rem 1.1rem;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 800;
      line-height: 1.1;
      text-align: center;
      transition: background 160ms ease, transform 160ms ease;
    }

    .button:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
    }

    .button.secondary {
      background: transparent;
      color: var(--accent);
      border: 1px solid var(--accent);
    }

    .button.secondary:hover {
      background: var(--accent-soft);
      color: var(--accent-dark);
    }

    main {
      overflow: hidden;
    }

    .hero,
    .section {
      width: min(100%, var(--max));
      margin: 0 auto;
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .hero {
      padding-top: clamp(2.25rem, 8vw, 4.25rem);
      padding-bottom: clamp(2.35rem, 7vw, 4rem);
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      align-items: center;
    }

    .section {
      padding-top: clamp(2.5rem, 7vw, 4.2rem);
      padding-bottom: clamp(2.5rem, 7vw, 4.2rem);
    }

    .eyebrow {
      font-size: clamp(0.72rem, 2.9vw, 0.8rem);
      font-weight: 900;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 0.75rem;
    }

    h1,
    h2,
    h3 {
      text-wrap: balance;
      overflow-wrap: anywhere;
    }

    h1 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.15rem, 12vw, 4.8rem);
      line-height: 0.98;
      letter-spacing: -0.055em;
      max-width: 930px;
    }

    .hero p {
      font-size: clamp(1rem, 4.2vw, 1.2rem);
      color: var(--muted);
      max-width: 690px;
      margin: 1rem 0 0;
    }

    .hero-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.75rem;
      margin-top: 1.25rem;
      width: 100%;
    }

    .section-header {
      max-width: 760px;
      margin-bottom: 1.25rem;
    }

    .section-header h2 {
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2rem, 9vw, 3.1rem);
      line-height: 1.02;
      margin: 0;
      letter-spacing: -0.045em;
    }

    .section-header p {
      color: var(--muted);
      font-size: clamp(1rem, 3.7vw, 1.08rem);
      margin: 0.85rem 0 0;
      max-width: 700px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.9rem;
    }

    .service-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-top: 5px solid var(--accent);
      border-radius: var(--radius);
      padding: 1.1rem;
      min-height: 0;
      box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
    }

    .service-card h3 {
      margin: 0;
      font-size: clamp(1.05rem, 4.4vw, 1.15rem);
      line-height: 1.22;
      letter-spacing: -0.02em;
    }

    .service-card p {
      margin: 0.7rem 0 0;
      color: var(--muted);
      font-size: 0.98rem;
    }

    .experience-copy {
      max-width: 820px;
      color: var(--muted);
      font-size: clamp(1rem, 3.5vw, 1.08rem);
    }

    .experience-copy p {
      margin: 0;
    }

    .cta {
      text-align: left;
      background: var(--ink);
      color: #fff;
      border-top: 1px solid var(--line);
      padding: clamp(3rem, 8vw, 4.5rem) 1rem;
    }

    .cta-inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .cta .eyebrow {
      color: #91d5cf;
    }

    .cta h2 {
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.05rem, 10vw, 3.8rem);
      line-height: 1;
      margin: 0;
      letter-spacing: -0.055em;
    }

    .cta p {
      color: rgba(255, 255, 255, 0.78);
      font-size: clamp(1rem, 3.7vw, 1.12rem);
      margin: 1rem 0 0;
      max-width: 620px;
    }

    .cta .button {
      background: #fff;
      color: var(--ink);
    }

    .cta .button:hover {
      background: var(--accent-soft);
      color: var(--accent-dark);
    }

    .site-footer {
      width: min(100%, var(--max));
      margin: 0 auto;
      padding: 1.25rem 1rem;
      display: grid;
      gap: 0.55rem;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .site-footer a {
      text-decoration: none;
      overflow-wrap: anywhere;
    }

    @media (min-width: 520px) {
      .hero,
      .section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        width: auto;
      }

      .button {
        width: auto;
        min-width: 170px;
      }

      .cta {
        text-align: center;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }

      .cta p {
        margin-left: auto;
        margin-right: auto;
      }

      .cta .hero-actions {
        justify-content: center !important;
      }
    }

    @media (min-width: 700px) {
      .nav {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }

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

      .site-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }
    }

    @media (min-width: 820px) {
      .nav-links {
        display: flex;
      }

      .brand {
        white-space: nowrap;
      }

      h1 {
        font-size: clamp(3.7rem, 6.8vw, 4.95rem);
      }
    }

    @media (min-width: 980px) {
      .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .service-card {
        padding: 1.25rem;
      }
    }

    @media (max-width: 359px) {
      .brand {
        max-width: 150px;
      }

      .nav-cta {
        font-size: 0.8rem;
        padding-left: 0.68rem;
        padding-right: 0.68rem;
      }

      h1 {
        font-size: 2.08rem;
      }

      .section-header h2,
      .cta h2 {
        font-size: 1.95rem;
      }
    }
