/*
Theme Name: Pathway Systems Group
Theme URI: https://pathwaysystemsgroup.com
Author: Pathway Systems Group
Description: Custom one-page sales theme for Pathway Systems Group — funding strategy & guidance, credit repair, and coaching services. Navy/brass/cream brand system with a signature "route line" motif. Includes About Us and Privacy Policy sections and a sticky top navigation bar.
Version: 1.1
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: pathway-systems-group
*/

  :root {
    --paper: #FBF8F2;
    --paper-dim: #F3EEE2;
    --ink: #1C2333;
    --navy: #14213D;
    --navy-deep: #0E1728;
    --brass: #A9782E;
    --brass-light: #C99B4A;
    --sage: #4B6B4F;
    --line: #DED5C2;
    --line-on-navy: rgba(255,255,255,0.18);
    --cream-text: #F3EEE2;
  }

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

  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .display {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.08;
  }

  .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
  }

  a { color: inherit; }

  .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ---------- ROUTE LINE (signature element) ---------- */
  .route {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      var(--brass) 0px, var(--brass) 6px, transparent 6px, transparent 14px
    );
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0.55;
  }
  .route.on-navy { background: repeating-linear-gradient(to bottom, var(--brass-light) 0px, var(--brass-light) 6px, transparent 6px, transparent 14px); opacity: 0.4; }

  .waypoint {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--brass);
    font-weight: 500;
  }
  .waypoint.on-navy { background: var(--navy); border-color: var(--brass-light); color: var(--brass-light); }

  /* ---------- TOP NAV ---------- */
  header.topnav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251,248,242,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  .topnav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1080px; margin: 0 auto; padding: 14px 32px;
  }
  .topnav-brand { display: flex; align-items: center; text-decoration: none; }
  .topnav-brand svg { height: 46px; width: auto; display: block; }
  .topnav-links { display: flex; align-items: center; gap: 32px; }
  .topnav-links a {
    font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; opacity: 0.75;
    transition: opacity 0.2s ease;
  }
  .topnav-links a:hover { opacity: 1; color: var(--brass); }
  @media (max-width: 760px) {
    .topnav-links { gap: 16px; }
    .topnav-links a { font-size: 11px; }
  }
  @media (max-width: 480px) {
    .topnav-inner { flex-wrap: wrap; gap: 10px; padding: 12px 20px; }
    .topnav-links { gap: 14px; }
  }

  /* ---------- HEADER ---------- */
  header.hero {
    position: relative;
    padding: 96px 0 88px;
    text-align: center;
    overflow: hidden;
  }
  .brandmark {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 28px;
  }
  .logo-mark {
    height: 72px;
    width: auto;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    max-width: 820px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--brass);
  }
  .hero-sub {
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 19px;
    color: #4A4A46;
    position: relative;
    z-index: 1;
  }
  .cta-btn {
    display: inline-block;
    background: var(--navy);
    color: var(--cream-text);
    padding: 17px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
  }
  .cta-btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
  .cta-btn.brass { background: var(--brass); color: var(--navy-deep); }
  .cta-btn.brass:hover { background: var(--brass-light); }

  .trust-row {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }
  .trust-item {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #6B6B63;
    text-transform: uppercase;
  }
  .trust-item strong { color: var(--ink); font-family: 'Inter', sans-serif; letter-spacing: 0; }

  /* ---------- SECTION SCAFFOLDING ---------- */
  section { position: relative; padding: 90px 0; }
  section.on-navy { background: var(--navy); color: var(--cream-text); }
  .section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; position: relative; z-index: 1; }
  .section-head .eyebrow { color: var(--brass); margin-bottom: 14px; }
  .on-navy .section-head .eyebrow { color: var(--brass-light); }
  .section-head h2 { font-size: clamp(28px, 4vw, 40px); }
  .section-head p { margin-top: 16px; font-size: 17px; color: #55554F; }
  .on-navy .section-head p { color: #C9CDD6; }

  .divider { border: none; border-top: 1px solid var(--line); margin: 0; }

  /* ---------- BLOCKERS ---------- */
  .blocker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
  }
  .blocker-card {
    background: var(--paper-dim);
    border: 1px solid var(--line);
    padding: 32px 26px;
    border-radius: 4px;
  }
  .blocker-card .mark { font-family: 'IBM Plex Mono', monospace; color: var(--brass); font-size: 13px; margin-bottom: 14px; display: block; }
  .blocker-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; }
  .blocker-card p { font-size: 15px; color: #52524C; }

  /* ---------- QUOTE / APPROACH ---------- */
  .approach-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
  .approach-inner .eyebrow { color: var(--brass-light); margin-bottom: 20px; display: block; }
  blockquote.pull {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 450;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.4;
    margin-bottom: 28px;
  }
  .approach-inner .fine { font-size: 15px; color: #C9CDD6; max-width: 540px; margin: 0 auto; }

  /* ---------- OFFER STACK ---------- */
  .offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
    align-items: stretch;
  }
  .offer-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .offer-card.featured {
    border-color: var(--brass);
    box-shadow: 0 12px 32px rgba(20,33,61,0.10);
    transform: translateY(-8px);
  }
  .offer-tag {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--brass);
    color: var(--navy-deep);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    font-weight: 500;
  }
  .offer-tag.free { background: var(--sage); color: var(--paper); }
  .offer-card h3 { font-size: 22px; margin: 6px 0 6px; }
  .offer-price { font-family: 'IBM Plex Mono', monospace; color: var(--brass); font-size: 15px; margin-bottom: 18px; }
  .offer-card ul { list-style: none; margin: 0 0 24px; flex-grow: 1; }
  .offer-card li { font-size: 14.5px; color: #4A4A46; padding-left: 20px; position: relative; margin-bottom: 11px; }
  .offer-card li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

  /* ---------- WHO WE SERVE ---------- */
  .audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); position: relative; z-index: 1; }
  .audience-tile { background: var(--paper); padding: 40px 30px; text-align: left; }
  .audience-tile .eyebrow { color: var(--brass); margin-bottom: 16px; }
  .audience-tile h3 { font-size: 19px; margin-bottom: 10px; }
  .audience-tile p { font-size: 14.5px; color: #52524C; }

  /* ---------- HOW IT WORKS (waypoint sequence) ---------- */
  .path-sequence { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
  .path-step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
  .path-step:last-child { padding-bottom: 0; }
  .path-step::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--brass) 0, var(--brass) 5px, transparent 5px, transparent 11px);
    opacity: 0.5;
  }
  .path-step:last-child::before { display: none; }
  .path-node {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--navy); color: var(--brass-light);
    display: flex; align-items: center; justify-content: center;
    font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500;
    border: 2px solid var(--brass);
  }
  .path-copy h3 { font-size: 19px; margin-bottom: 6px; }
  .path-copy p { font-size: 14.5px; color: #52524C; }

  /* ---------- PRICING ---------- */
  .price-panel {
    background: var(--navy-deep);
    border: 1px solid var(--line-on-navy);
    border-radius: 8px;
    max-width: 620px;
    margin: 0 auto;
    padding: 48px 44px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .price-panel .eyebrow { color: var(--brass-light); margin-bottom: 16px; }
  .price-num { font-family: 'Fraunces', serif; font-size: clamp(40px,6vw,56px); font-weight: 600; margin-bottom: 6px; }
  .price-num span { font-size: 20px; font-family: 'Inter', sans-serif; color: #C9CDD6; font-weight: 400; }
  .price-panel .note-line { font-size: 14.5px; color: #C9CDD6; margin-bottom: 30px; }
  .price-list { list-style: none; text-align: left; max-width: 380px; margin: 0 auto 30px; }
  .price-list li { font-size: 14.5px; color: #E4E6EC; padding-left: 24px; position: relative; margin-bottom: 12px; }
  .price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brass-light); }

  /* ---------- FAQ ---------- */
  .faq-list { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 4px;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq-q .plus { font-family: 'IBM Plex Mono', monospace; color: var(--brass); font-size: 20px; transition: transform 0.25s ease; flex-shrink: 0; }
  .faq-item.open .plus { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .faq-item.open .faq-a { max-height: 240px; }
  .faq-a p { padding: 0 4px 22px; font-size: 15px; color: #52524C; max-width: 600px; }

  /* ---------- LEGAL / PRIVACY ---------- */
  .legal-section { padding: 90px 0; }
  .legal-section .wrap { max-width: 720px; }
  .legal-section h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 6px; }
  .legal-updated { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8A8A80; margin-bottom: 34px; }
  .legal-section h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; margin: 30px 0 10px; }
  .legal-section p, .legal-section li { font-size: 15px; line-height: 1.7; color: #42433d; }
  .legal-section ul { padding-left: 20px; margin: 8px 0; }
  .legal-section a { color: var(--brass); text-decoration: underline; }

  /* ---------- FINAL CTA ---------- */
  .final-cta { text-align: center; position: relative; z-index: 1; }
  .final-cta h2 { font-size: clamp(28px, 4vw, 42px); max-width: 620px; margin: 0 auto 20px; }
  .final-cta p { color: #C9CDD6; max-width: 480px; margin: 0 auto 36px; font-size: 16px; }

  /* ---------- CONTACT ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
    align-items: start;
  }
  .contact-info-card {
    background: var(--paper-dim);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 36px 32px;
  }
  .contact-line {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
  }
  .contact-line:last-child { margin-bottom: 0; }
  .contact-line .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 6px;
  }
  .contact-line .value { font-size: 16px; color: var(--ink); }
  .contact-line .value a { text-decoration: none; border-bottom: 1px solid var(--line); }
  .contact-line .value a:hover { border-color: var(--brass); }
  .contact-line .value.multi { display: flex; flex-wrap: wrap; gap: 4px 18px; }

  .contact-form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 36px 32px;
  }
  .form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .form-row { margin-bottom: 20px; }
  .form-row label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B6B63;
    margin-bottom: 8px;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px 14px;
  }
  .form-row input:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--brass);
  }
  .form-row textarea { resize: vertical; min-height: 120px; }
  .form-submit-btn {
    width: 100%;
    background: var(--brass);
    color: var(--navy-deep);
    border: none;
    border-radius: 3px;
    padding: 15px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .form-submit-btn:hover { background: var(--brass-light); }
  .form-status {
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  .form-status.success { background: #E7EFE8; color: var(--sage); border: 1px solid #C7D9C9; }
  .form-status.error { background: #F6E9E5; color: #9A4A32; border: 1px solid #E4CBC1; }

  footer { padding: 48px 0 60px; text-align: center; }
  footer .footer-contact-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 13.5px;
    color: #55554F;
    margin-bottom: 22px;
  }
  footer .footer-contact-bar a { text-decoration: none; color: #55554F; border-bottom: 1px solid var(--line); }
  footer .footer-contact-bar a:hover { color: var(--brass); border-color: var(--brass); }
  footer .disclaimer { font-size: 12.5px; color: #8A8A80; max-width: 640px; margin: 0 auto 18px; line-height: 1.7; }
  footer .copyright { font-size: 12.5px; color: #8A8A80; }
  footer .fbrand { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--brass); text-transform: uppercase; }

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

  /* ---------- SCROLL REVEAL ---------- */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 860px) {
    .blocker-grid, .offer-grid, .audience-grid, .form-row-grid { grid-template-columns: 1fr; }
    .offer-card.featured { transform: none; }
    .route { display: none; }
    .trust-row { gap: 20px; }
    section { padding: 64px 0; }
    header.hero { padding: 70px 0 60px; }
  }

  :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
