/*
Theme Name: Agile Search Custom
Theme URI: https://agilesearchinc.com
Author: Bruce
Description: Minimal custom theme for Agile Search, Inc. — built from hand-coded HTML/CSS design files.
Version: 1.0
Text Domain: agile-search
*/


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

  :root {
    --navy:   #1C2D3A;
    --teal:   #00B4A0;
    --teal-light: #E6F7F5;
    --coral:  #F26C3A;
    --coral-light: #FEF0EB;
    --off-white: #F7F8F9;
    --white:  #FFFFFF;
    --slate:  #4A5568;
    --slate-light: #718096;
    --border: #E5E9EE;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    color: var(--slate);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  nav {
    background: #F0F5F5;
    border-bottom: 1px solid #D4E6E4;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 64px;
    display: flex;
    align-items: center;
    height: 86px;
    gap: 40px;
  }
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }
  .nav-logo-name {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--navy);
    letter-spacing: 0.01em;
    line-height: 1.1;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    list-style: none;
  }
  .nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 6px;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: #009e8d !important; }

  /* ── HERO ── */
  .hero {
    background: var(--off-white);
    padding: 52px 64px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 580px;
    border-bottom: 1px solid var(--border);
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 480px; height: 480px;
    border-radius: 50%;
    border: 2px solid rgba(242,108,58,0.35);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(0,180,160,0.3);
    pointer-events: none;
  }
  .hero-text { position: relative; z-index: 1; }
  .hero-eyebrow {
    display: inline-block;
    border-left: 5px solid var(--coral);
    padding: 6px 0 6px 16px;
    color: var(--coral);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
    border-radius: 0;
    background: none;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--teal);
  }
  .hero-sub {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
    font-weight: 300;
  }
  .hero-sub strong {
    color: var(--navy);
    font-weight: 400;
    font-style: italic;
  }
  .hero-actions { display: flex; gap: 14px; align-items: center; }
  .btn-primary {
    background: var(--teal);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: #009e8d; transform: translateY(-1px); }
  .btn-ghost {
    color: var(--slate);
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }
  .btn-ghost:hover { color: var(--navy); }
  .btn-ghost::after { content: '→'; transition: transform 0.2s; }
  .btn-ghost:hover::after { transform: translateX(3px); }

  .hero-visual {
    position: relative;
    align-self: center;
  }
  .hero-visual::after {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 660px; height: 660px;
    border-radius: 50%;
    border: 2px solid rgba(242,108,58,0.18);
    pointer-events: none;
    z-index: 0;
  }
  .hero-card-stack {
    position: relative;
    height: 440px;
  }
  .hero-stat-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 4px rgba(28,45,58,0.06), 0 12px 28px rgba(28,45,58,0.10);
  }
  .hsc-1 { bottom: 30px; left: 0; width: 220px; }
  .hsc-2 { top: 40px; right: 0; width: 230px; }
  .hsc-3 { bottom: 30px; right: 0; width: 260px; }
  .stat-num {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 12px;
    color: var(--slate-light);
    line-height: 1.4;
    font-weight: 300;
  }
  .hero-quote-card {
    position: absolute;
    top: 30px;
    left: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    border-radius: 14px;
    padding: 22px 24px;
    width: 260px;
    box-shadow: 0 4px 24px rgba(28,45,58,0.07);
  }
  .hero-quote-text {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 12px;
  }
  .hero-quote-attr {
    font-size: 11px;
    color: var(--teal);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 64px;
  }
  .trust-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 32px;
  }
  .trust-label-text {
    font-family: var(--font-display);
    font-size: 30px;
    font-style: italic;
    color: var(--navy);
    letter-spacing: 0.01em;
  }
  .trust-label-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }
  .trust-label-line {
    flex: 1;
    height: 1px;
    max-width: 340px;
    background: linear-gradient(to right, transparent, var(--teal) 20%, var(--teal) 80%, transparent);
  }
  .trust-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
  }
  .trust-companies {
    display: flex;
    gap: 16px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-co {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 160px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
  }
  .trust-co:hover {
    border-color: var(--teal);
    box-shadow: 0 2px 12px rgba(0,180,160,0.08);
  }
  .trust-co img {
    max-width: 120px;
    max-height: 32px;
    object-fit: contain;
    display: block;
  }
  .trust-co .logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
  }
  .trust-co .logo-placeholder-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
  }

  /* SVG logo wrapper */
  .logo-svg-wrap {
    width: 120px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .logo-svg-wrap svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .trust-co .logo-company-name {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-light);
    text-align: center;
  }

  /* ── SECTIONS SHARED ── */
  section { padding: 96px 64px; }
  .section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-eyebrow::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--teal);
    display: inline-block;
    flex-shrink: 0;
  }
  h2.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
  }
  h2.section-title em { font-style: italic; color: var(--teal); }

  .pain-section .section-eyebrow {
    color: var(--coral);
    font-size: 14px;
  }
  .pain-section .section-eyebrow::before {
    background: var(--coral);
  }
  /* ── PAIN POINTS ── */
  .pain-section {
    background: var(--white);
  }
  .pain-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .pain-left {}
  .pain-headline-note {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 12px;
    font-weight: 300;
  }
  .pain-cue {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 32px;
    font-style: italic;
  }
  .pain-closer {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.6;
    font-weight: 400;
  }
  .pain-right { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
  .pain-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .pain-card:hover {
    border-color: var(--coral);
    box-shadow: 0 2px 16px rgba(242,108,58,0.08);
  }
  .pain-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--coral-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .pain-icon svg { width: 16px; height: 16px; color: var(--coral); }
  .pain-card-text {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.55;
  }

  /* ── DIFFERENTIATOR ── */
  .diff-section { background: var(--off-white); }
  .diff-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .diff-left {}
  .diff-body {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
  }
  .diff-tagline {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--navy);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.3;
  }
  .screen-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }
  .screen-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--navy);
    font-weight: 500;
  }
  .screen-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
  }
  .diff-note {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
  }

  /* Placements */
  .diff-right {}
  .placements-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .placements-label::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--border);
    display: inline-block;
  }
  .deliver-label {
    font-size: 15px;
    color: var(--navy);
  }
  .placement-cards { display: flex; flex-direction: column; gap: 24px; }
  .placement-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .placement-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--teal);
  }
  .placement-card:nth-child(even)::before { background: var(--coral); }
  .placement-card:hover { border-color: var(--teal); }
  .placement-name {
    font-size: 19px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
  }
  .placement-then {
    font-size: 14px;
    color: var(--slate-light);
    margin-bottom: 10px;
  }
  .placement-now {
    font-size: 16px;
    color: var(--teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .placement-now::before { content: '→'; color: var(--coral); }

  
  /* ── TESTIMONIALS (redesigned) ── */
  .testimonials-section {
    background: var(--off-white);
    padding: 48px 64px 96px;
  }
  .diff-section .section-eyebrow {
    color: var(--coral);
    font-size: 14px;
  }
  .diff-section .section-eyebrow::before {
    background: var(--coral);
  }
  .testimonials-section .section-eyebrow {
    color: var(--coral);
    font-size: 14px;
  }
  .testimonials-section .section-eyebrow::before { background: var(--coral); }

  .t-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 32px;
  }
  .t-header-left { max-width: 520px; }
  .t-header-left h2.section-title { margin-bottom: 0; }
  .t-header-right {
    font-size: 14px;
    color: var(--slate-light);
    font-weight: 300;
    line-height: 1.6;
    max-width: 280px;
    text-align: right;
    flex-shrink: 0;
  }

  /* Featured row: one wide card top */
  .t-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .t-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  /* Base card */
  .tcard2 {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  }
  .tcard2:hover {
    border-color: var(--teal);
    box-shadow: 0 8px 32px rgba(0,180,160,0.10);
    transform: translateY(-2px);
  }

  /* Accent bar top */
  .tcard2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal);
    border-radius: 16px 16px 0 0;
  }
  .tcard2.accent-coral::before { background: var(--coral); }

  /* Big decorative quote */
  .tcard2-openquote {
    font-family: Georgia, 'Times New Roman', var(--font-display), serif;
    font-size: 96px;
    line-height: 0.55;
    color: var(--teal);
    opacity: 1;
    position: absolute;
    top: 24px;
    left: 24px;
    pointer-events: none;
    user-select: none;
  }
  .tcard2.accent-coral .tcard2-openquote { color: var(--coral); opacity: 1; }

  .tcard2-quote {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate);
    font-weight: 300;
    font-style: italic;
    flex: 1;
    margin-top: 40px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }

  /* Featured card larger text */
  .tcard2-featured .tcard2-quote { font-size: 15px; }

  .tcard2-person {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
  }
  .tcard2-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
  }
  .tcard2-featured .tcard2-avatar {
    width: 56px;
    height: 56px;
  }
  .tcard2-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display), Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    background: var(--off-white);
  }
  .tcard2-featured .tcard2-avatar-initials {
    width: 56px;
    height: 56px;
    font-size: 18px;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: var(--white);
  }
  .tcard2-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
    line-height: 1.3;
  }
  .tcard2-role {
    font-size: 11px;
    color: var(--slate-light);
    line-height: 1.4;
    font-weight: 400;
  }

  /* Featured: navy background */
  .tcard2-featured {
    background: var(--navy);
    border-color: transparent;
  }
  .tcard2-featured::before { background: var(--teal); height: 4px; }
  .tcard2-featured:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(28,45,58,0.25);
  }
  .tcard2-featured .tcard2-openquote { color: var(--teal); opacity: 1; }
  .tcard2-featured .tcard2-quote { color: rgba(255,255,255,0.88); font-size: 15px; }
  .tcard2-featured .tcard2-person { border-color: rgba(255,255,255,0.12); }
  .tcard2-featured .tcard2-avatar { border-color: rgba(255,255,255,0.2); }
  .tcard2-featured .tcard2-name { color: var(--white); }
  .tcard2-featured .tcard2-role { color: var(--teal); }

  /* Teal accent card */
  .tcard2-teal {
    background: var(--teal);
    border-color: transparent;
  }
  .tcard2-teal::before { background: var(--navy); }
  .tcard2-teal:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0,180,160,0.30);
  }
  .tcard2-teal .tcard2-openquote { color: var(--navy); opacity: 1; }
  .tcard2-teal .tcard2-quote { color: rgba(255,255,255,0.92); }
  .tcard2-teal .tcard2-person { border-color: rgba(255,255,255,0.25); }
  .tcard2-teal .tcard2-avatar { border-color: rgba(255,255,255,0.3); }
  .tcard2-teal .tcard2-name { color: var(--white); }
  .tcard2-teal .tcard2-role { color: var(--navy); }
  .tcard2-teal .tcard2-avatar-initials {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.18);
    color: var(--white);
  }


  /* ── FINAL CTA ── */
  .cta-section { background: var(--off-white); padding-top: 48px; }
  .cta-section .section-eyebrow {
    color: var(--coral);
    font-size: 14px;
  }
  .cta-section .section-eyebrow::before {
    background: var(--coral);
  }
  .cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .cta-left {}
  .cta-body {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 36px;
  }
  .cta-actions { display: flex; gap: 14px; align-items: center; }
  .btn-cta-primary {
    background: var(--teal);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-cta-primary:hover { background: #009e8d; transform: translateY(-1px); }
  .cta-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .cta-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
  }
  .cta-stat:first-child { border-top: 3px solid var(--teal); }
  .cta-stat:nth-child(2) { border-top: 3px solid var(--coral); }
  .cta-stat:nth-child(3) { border-top: 3px solid var(--coral); }
  .cta-stat:nth-child(4) { border-top: 3px solid var(--teal); }
  .cta-stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
  }
  .cta-stat-label {
    font-size: 12px;
    color: var(--slate-light);
    line-height: 1.4;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 48px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 4px;
  }
  .footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
  }
  .footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
  }

  /* Fade-in on load */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-text { animation: fadeUp 0.7s ease both; }
  .hero-visual { animation: fadeUp 0.7s 0.2s ease both; }

  /* ===== Working With Us page-specific styles ===== */


  /* ── PAGE HERO (sub-pages) ── */
  .page-hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    padding: 64px 64px 72px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(242,108,58,0.18);
    pointer-events: none;
  }

  .page-hero::after {
    content: '';
    position: absolute;
    top: 30px; right: 60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(0,180,160,0.16);
    pointer-events: none;
  }

  .page-hero-inner { position: relative; z-index: 1; max-width: 720px; }

  .page-hero h1 {
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
  }

  .page-hero h1 em { font-style: italic; color: var(--teal); }

  .page-hero-sub {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
  }

/* ── PAGE HERO: two-column grid with checklist card ── */
  .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .page-hero-grid .page-hero-inner { max-width: 600px; }
  .page-hero-visual {
    position: relative;
    height: 280px;
  }
  .hero-checklist-card {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 2px 4px rgba(28,45,58,0.06), 0 12px 28px rgba(28,45,58,0.10);
    width: 320px;
  }
  .hero-checklist-card .checklist-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
  }
  .hero-checklist-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .hero-checklist-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--navy);
    line-height: 1.4;
  }
  .hero-checklist-card .price-check {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--teal-light);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-checklist-card .price-check svg { width: 9px; height: 9px; }

  @media (max-width: 900px) {
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero-visual { display: none; }
  }

  /* ── PRICING SECTION ── */
  .pricing-section { background: var(--white); }

  .pricing-intro {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
  }

  .pricing-intro .section-eyebrow { justify-content: center; color: var(--coral); }

  .pricing-intro .section-eyebrow::before { background: var(--coral); }

  .pricing-intro h2.section-title { }

  .pricing-intro-body {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
  }

  .price-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  }

  .price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(28,45,58,0.08);
  }

  .price-card.featured {
    background: #007A6E;
    border-color: #007A6E;
    box-shadow: 0 16px 40px rgba(28,45,58,0.18);
  }

  .price-card.featured:hover { transform: translateY(-3px); }

  .price-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
  }

  .price-tier-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
  }

  .price-card:not(.featured) .price-tier-icon { background: var(--teal-light); }

  .price-card.featured .price-tier-icon { background: rgba(255,255,255,0.1); }

  .price-tier-icon svg { width: 20px; height: 20px; }

  .price-tier-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .price-card:not(.featured) .price-tier-eyebrow { color: var(--slate-light); }

  .price-card.featured .price-tier-eyebrow { color: rgba(255,255,255,0.55); }

  .price-tier-name {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 24px;
  }

  .price-card:not(.featured) .price-tier-name { color: var(--navy); }

  .price-card.featured .price-tier-name { color: var(--white); }


  .price-row { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }

  .price-card.featured .price-row { border-bottom: 1px solid rgba(255,255,255,0.12); }

  .price-row:last-of-type { border-bottom: none; margin-bottom: 24px; padding-bottom: 0; }

  .price-row-label {
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
  }

  .price-card:not(.featured) .price-row-label { color: var(--slate-light); }

  .price-card.featured .price-row-label { color: rgba(255,255,255,0.55); }

  .price-row-value {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 4px;
  }

  .price-card:not(.featured) .price-row-value { color: var(--navy); }

  .price-card.featured .price-row-value { color: var(--white); }

  .price-row-note {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
  }

  .price-card:not(.featured) .price-row-note { color: var(--slate); }

  .price-card.featured .price-row-note { color: rgba(255,255,255,0.7); }


  .price-features {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .price-card:not(.featured) .price-features li { color: var(--slate); }

  .price-card.featured .price-features li { color: rgba(255,255,255,0.88); }

  .price-check {
    width: 16px; height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .price-card:not(.featured) .price-check { background: var(--teal-light); }

  .price-card.featured .price-check { background: rgba(255,255,255,0.14); }

  .price-check svg { width: 9px; height: 9px; }


  .pricing-footnote {
    max-width: 1100px;
    margin: 32px auto 0;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: 0 10px 10px 0;
    padding: 18px 24px;
    font-size: 14px;
    color: var(--navy);
    line-height: 1.6;
  }


  /* ── PROCESS STRIP ── */
  .process-section { background: var(--off-white); }

  .process-section .section-eyebrow { color: var(--coral); }

  .process-section .section-eyebrow::before { background: var(--coral); }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
  }

  .process-step {
    padding: 0 24px;
    position: relative;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    right: -1px;
    width: 1px;
    height: calc(100% - 36px);
    background: var(--border);
  }

  .process-step:first-child { padding-left: 0; }

  .process-step:last-child { padding-right: 0; }

  .process-num {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: var(--coral);
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .process-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 10px;
  }

  .process-body {
    font-size: 15.5px;
    color: var(--slate);
    line-height: 1.65;
    font-weight: 300;
  }


  /* ── FAQ ── */
  .faq-section { background: var(--white); }

  .faq-section .section-eyebrow { color: var(--coral); }

  .faq-section .section-eyebrow::before { background: var(--coral); }

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

  .faq-item {
    border-bottom: 1px solid var(--border);
  }

  .faq-item:first-child { border-top: 1px solid var(--border); }

  .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
  }

  .faq-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.25s, background 0.2s;
  }

  .faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--teal);
    transition: transform 0.25s, opacity 0.2s;
  }

  .faq-icon::before { width: 9px; height: 1.5px; }

  .faq-icon::after { width: 1.5px; height: 9px; }

  .faq-item.open .faq-icon { background: var(--teal); }

  .faq-item.open .faq-icon::before,
  .faq-item.open .faq-icon::after { background: var(--white); }

  .faq-item.open .faq-icon::after { transform: scaleY(0); }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .faq-answer-inner {
    padding: 0 4px 24px;
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    max-width: 660px;
  }


  /* ── responsive ── */
  @media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .process-step:nth-child(2)::after { display: none; }
    .price-card.featured { order: -1; }
  }



  .nav-links a.active-link { color: var(--navy); font-weight: 500; }

  .nav-links a.active-link { color: var(--navy); font-weight: 500; }

  /* ── HOW WE ARE DIFFERENT (Working With Us page) ── */
  /* Deeper off-white than --off-white (#F7F8F9) so the band reads as
     distinct from the hero, which fades down to --off-white at its base. */
  .hwd-section { background: #EDF1F4; }

  .hwd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 auto;
  }

  .hwd-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 34px 32px 32px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .hwd-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--teal);
  }
  .hwd-card:nth-child(even)::before { background: var(--coral); }
  .hwd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(28,45,58,0.35);
    border-color: #D9E0E6;
  }

  .hwd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal);
    margin-bottom: 20px;
  }
  .hwd-icon svg { width: 26px; height: 26px; display: block; }
  .hwd-card:nth-child(even) .hwd-icon {
    background: var(--coral-light);
    color: var(--coral);
  }

  .hwd-title {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hwd-body {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    max-width: 60ch;
  }

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

  /* ── THE METHOD / OUR APPROACH (Working With Us page) ── */
  /* Deliberately lighter than the .hwd cards above: no boxes, a two-column
     header+list split with a slim connected rail. Supplementary emphasis. */
  .method-section { background: var(--white); }

  .method-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 56px;
    align-items: start;
  }

  .method-head .section-eyebrow { color: var(--coral); font-size: 14px; }
  .method-head .section-eyebrow::before { background: var(--coral); }
  .method-head h2.section-title { font-size: 30px; margin-bottom: 0; }
  .method-lead {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    margin-top: 16px;
    max-width: 32ch;
  }

  .method-list {
    position: relative;
    padding-left: 2px;
  }
  .method-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border);
  }
  .method-item {
    position: relative;
    padding: 0 0 26px 34px;
  }
  .method-item:last-child { padding-bottom: 0; }
  .method-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--teal);
  }
  .method-item:nth-child(even) .method-dot { border-color: var(--coral); }
  .method-text {
    font-size: 15.5px;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
    max-width: 62ch;
  }
  .method-key { color: var(--navy); font-weight: 500; }

  @media (max-width: 900px) {
    .method-inner { grid-template-columns: 1fr; gap: 28px; }
    .method-lead { max-width: none; }
  }

  /* ── WORKING WITH US: constrain page content width ──────────────────────
     Site-wide, sub-page sections run full-width. Client asked for the
     Working With Us page content to be ~20% narrower, WITHOUT affecting the
     other pages. The hero (.page-hero-grid) and CTA (.cta-inner) are shared
     classes, so this is scoped via :has(.hwd-section) — a section that exists
     ONLY on the Working With Us page — leaving Contact, Meet John, and the
     homepage completely untouched. Adjust the 1120px value to taste. */
  body:has(.hwd-section) .page-hero-grid,
  body:has(.hwd-section) .hwd-grid,
  body:has(.hwd-section) .method-inner,
  body:has(.hwd-section) .cta-inner {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }
