  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #000000;
      --surface:   #080810;
      --surface2:  #0e0e1c;
      --border:    #1a2050;
      --blue:      #1A6BFF;
      --blue-dim:  rgba(26,107,255,0.12);
      --blue-glow: rgba(26,107,255,0.35);
      --gold:      #FFB800;
      --gold-dim:  rgba(255,184,0,0.12);
      --green:     #00e5a0;
      --text:      #FFFFFF;
      --muted:     #6080B0;
      --mono:      'Space Mono', monospace;
      --sans:      'Inter', sans-serif;
    }

    html,
    body {
      width: 100%;
      overflow-x: hidden;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      padding-top: 106px;
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      line-height: 1.6;
      min-height: 100vh;
    }


    /* -- CANVAS -- */
    #bg-canvas {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
    }

    /* -- TICKER -- */
    .ticker-wrap {
      position: fixed; top: 68px; left: 0; width: 100%; z-index: 99;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
      height: 38px; overflow: hidden;
    }
    body:has(.ticker-wrap) { padding-top: 106px; }
    .ticker-scroll {
      flex: 1; overflow: hidden; min-width: 0;
    }
    .ticker-track {
      display: flex; width: max-content;
      animation: ticker 45s linear infinite;
    }
    .ticker-track:hover { animation-play-state: paused; }
    .ticker-item {
      font-family: var(--mono); font-size: 11px; color: var(--muted);
      padding: 0 28px; white-space: nowrap; letter-spacing: 0.04em;
      line-height: 38px;
    }
    .ticker-item .tk { color: var(--gold); }
    .ticker-item .tv { color: var(--blue); }
    @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    /* -- NAV -- */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(0,0,0,0.93);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 0 5vw;
      display: flex; align-items: center; justify-content: space-between;
      height: 68px;
    }
    .nav-logo { display: flex; align-items: center; text-decoration: none; }
    .nav-logo img { height: 38px; width: auto; display: block; }
    .nav-links { display: flex; gap: 32px; list-style: none; }
    .nav-links a {
      font-size: 13px; font-weight: 500; color: var(--muted);
      text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-links a.active { color: var(--gold) !important; font-weight: 700; }
    .nav-cta {
      background: var(--blue) !important; color: #fff !important;
      padding: 8px 20px; border-radius: 4px;
      font-weight: 700 !important; font-size: 12px !important;
      letter-spacing: 0.08em !important;
    }
    .nav-cta:hover { background: #3d87ff !important; }

    /* -- NAV AVATARS -- */
    .nav-avatar {
      width: 22px; height: 22px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0; font-size: 9px; font-weight: 700;
      transition: border-color 0.2s, background 0.2s, color 0.2s;
    }
    .nav-avatar-home {
      background: rgba(26,107,255,0.10);
      border: 1px solid rgba(26,107,255,0.30);
      color: var(--blue);
    }
    .nav-avatar-jeff {
      background: rgba(26,107,255,0.15);
      border: 1px solid rgba(26,107,255,0.35);
      color: #5599ee;
    }
    .nav-avatar-tracy {
      background: rgba(255,184,0,0.12);
      border: 1px solid rgba(255,184,0,0.30);
      color: #cc9900;
    }
    /* Home avatar active state */
    .nav-links a.active .nav-avatar-home {
      background: rgba(255,184,0,0.15);
      border-color: rgba(255,184,0,0.55);
      color: var(--gold);
    }
    /* Person / home link alignment */
    .nav-person-link {
      display: inline-flex !important; align-items: center; gap: 7px;
    }
    /* Responsive name labels — full by default, short hidden */
    .nav-name-short { display: none; }
    .nav-name-full  { display: inline; }
    .nav-home-text  { display: inline; }

    /* -- COMPACT NAV (769px – 1172px) -- */
    @media (max-width: 1172px) {
      .nav-links { gap: 16px; }
      .nav-home-text  { display: none; }
      .nav-name-full  { display: none; }
      .nav-name-short { display: inline; }
    }
    /* -- SECTIONS -- */
    section { position: relative; z-index: 2; padding: 100px 5vw; }
    .section-label {
      font-family: var(--mono); font-size: 11px; color: var(--gold);
      letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px;
    }
    h2 {
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 800; line-height: 1.15; margin-bottom: 16px;
    }
    .accent { color: var(--blue); }
    .accent-gold { color: var(--gold); }
    .subtitle { font-size: 16px; color: var(--muted); max-width: 580px; line-height: 1.7; }

    /* -- HERO -- */
    #hero { min-height: 92vh; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
    .hero-inner {
      max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 5vw; box-sizing: border-box;
    }
    .hero-eyebrow {
      font-family: var(--mono); font-size: 12px; color: var(--gold);
      letter-spacing: 0.2em; margin-bottom: 20px;
      display: flex; align-items: center; gap: 10px;
    }
    .hero-eyebrow::before {
      content: ''; display: block; width: 30px; height: 1px; background: var(--gold);
    }
    h1 {
      font-size: clamp(26px, 5.5vw, 68px);
      font-weight: 900; line-height: 1.08; margin-bottom: 24px; letter-spacing: -0.02em;
    }
    h1 em { font-style: normal; color: var(--blue); display: block; }
    .hero-desc { font-size: 17px; color: var(--muted); max-width: 500px; line-height: 1.75; margin-bottom: 36px; }
    .btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
      padding: 14px 28px; border-radius: 4px; text-decoration: none;
      letter-spacing: 0.05em; transition: background 0.2s, transform 0.15s;
    }
    .btn-primary:hover { background: #0f52cc; transform: translateY(-1px); }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--text); font-weight: 600; font-size: 14px;
      padding: 14px 28px; border-radius: 4px; border: 1px solid var(--border);
      text-decoration: none; letter-spacing: 0.05em;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
    .btn-gold {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--gold); color: #000; font-weight: 700; font-size: 14px;
      padding: 14px 28px; border-radius: 4px; text-decoration: none;
      letter-spacing: 0.05em; transition: background 0.2s, transform 0.15s;
    }
    .btn-gold:hover { background: #ffc933; transform: translateY(-1px); }

    /* Terminal */
    .terminal {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 8px; overflow: hidden; font-family: var(--mono); font-size: 13px;
    }
    .terminal-bar {
      background: var(--surface2); padding: 10px 16px;
      display: flex; align-items: center; gap: 8px;
      border-bottom: 1px solid var(--border);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
    .terminal-bar-title { font-size: 11px; color: var(--muted); margin-left: auto; letter-spacing: 0.05em; }
    .terminal-body { padding: 24px; line-height: 2; }
    .t-prompt { color: var(--gold); }
    .t-key { color: #7ea8e3; }
    .t-val { color: var(--blue); }
    .t-val-g { color: var(--green); }
    .t-muted { color: var(--muted); }
    .t-white { color: var(--text); }
    .cursor {
      display: inline-block; width: 8px; height: 14px;
      background: var(--gold); vertical-align: middle;
      animation: blink 1s step-end infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }

    /* Stats */
    .stats-row {
      display: flex; flex-wrap: wrap; justify-content: center;
      gap: 1px; background: var(--border);
      border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
      min-width: 42px;
    }
    .stat-cell { background: var(--surface); padding: 28px 24px; text-align: center; flex: 1 0 160px; min-width: 160px; }
    .stats-row * { min-width: 42px; }
    .stat-num {
      font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--blue);
      display: block; margin-bottom: 6px;
    }
    .stat-num.gold { color: var(--gold); }
    .stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

    /* -- SERVICES -- */
    #services { background: var(--surface); }
    .services-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; background: var(--border);
      border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 56px;
    }
    .service-card {
      background: var(--bg); padding: 36px 32px;
      transition: background 0.2s; position: relative;
    }
    .service-card:hover { background: var(--surface2); }
    .service-card:hover .svc-icon { filter: none; }
    .svc-icon { font-size: 28px; margin-bottom: 16px; display: block; }
    .svc-num { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 12px; display: block; }
    .service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
    .service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
    .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
    .tag {
      font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 3px;
      background: var(--blue-dim); color: var(--blue); letter-spacing: 0.04em;
      border: 1px solid rgba(26,107,255,0.25);
    }
    .tag.gold-tag { background: var(--gold-dim); color: var(--gold); border-color: rgba(255,184,0,0.3); }

    /* -- ABOUT -- */
    .about-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center; max-width: 1200px; margin: 0 auto;
    }
    .about-text p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
    .about-text p strong { color: var(--text); font-weight: 600; }
    .about-callout {
      background: var(--surface); border: 1px solid var(--border);
      border-left: 3px solid var(--gold);
      padding: 24px 28px; border-radius: 0 6px 6px 0; margin-top: 28px;
    }
    .about-callout p { font-family: var(--mono); font-size: 14px; color: var(--gold); margin: 0; line-height: 1.6; }
    .pillars { display: flex; flex-direction: column; gap: 16px; }
    .pillar {
      background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
      padding: 20px 24px; display: flex; align-items: flex-start; gap: 20px;
      transition: border-color 0.2s;
    }
    .pillar:hover { border-color: var(--blue); }
    .pillar-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
    .pillar h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
    .pillar p { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* -- TEAM -- */
    #team { background: var(--surface); }
    .team-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
      margin-top: 56px; max-width: 1200px; margin-left: auto; margin-right: auto;
    }
    .team-card {
      background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
      overflow: hidden; transition: border-color 0.2s;
    }
    .team-card:hover { border-color: var(--blue); }
    .team-card-header {
      background: var(--surface2); border-bottom: 1px solid var(--border);
      padding: 28px 32px; display: flex; align-items: center; gap: 20px;
    }
    .avatar {
      width: 64px; height: 64px; border-radius: 50%;
      background: linear-gradient(135deg, var(--blue) 0%, #0033aa 100%);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--mono); font-size: 22px; font-weight: 700; color: #fff; flex-shrink: 0;
      border: 2px solid var(--gold);
    }
    .team-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
    .team-role { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.08em; }
    .team-card-body { padding: 28px 32px; }
    .team-card-body p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
    .skill-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
    .skill-row { display: flex; flex-direction: column; gap: 5px; }
    .skill-row-top { display: flex; justify-content: space-between; align-items: center; }
    .skill-name { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
    .skill-pct { font-family: var(--mono); font-size: 11px; color: var(--gold); }
    .skill-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
    .skill-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--blue), #4499ff);
      border-radius: 2px; width: 0;
      transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
    }

    /* Tech chips */
    .tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip {
      font-family: var(--mono); font-size: 12px; padding: 5px 12px; border-radius: 4px;
      background: var(--surface); border: 1px solid var(--border); color: var(--muted);
      transition: border-color 0.2s, color 0.2s;
    }
    .chip:hover { border-color: var(--blue); color: var(--blue); }
    .chip.hi { border-color: rgba(26,107,255,0.4); color: var(--blue); background: var(--blue-dim); }
    .chip.hi-gold { border-color: rgba(255,184,0,0.4); color: var(--gold); background: var(--gold-dim); }

    /* -- MARATHON -- */
    #marathon { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .marathon-inner { max-width: 1200px; margin: 0 auto; }
    .marathon-header { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-bottom: 56px; }
    .marathon-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--gold-dim); border: 1px solid rgba(255,184,0,0.35); color: var(--gold);
      font-family: var(--mono); font-size: 11px; padding: 6px 14px; border-radius: 20px;
      letter-spacing: 0.08em; margin-bottom: 20px;
    }
    .marathon-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .mf-card {
      background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
      padding: 24px; transition: border-color 0.2s;
    }
    .mf-card:hover { border-color: var(--blue); }
    .mf-icon { font-size: 24px; margin-bottom: 12px; display: block; }
    .mf-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
    .mf-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }
    .mf-highlight { font-family: var(--mono); font-size: 11px; color: var(--gold); margin-top: 10px; display: block; }
    .marathon-cta { display: flex; gap: 16px; margin-top: 40px; }

    /* -- STACK -- */
    #stack { background: var(--surface); }
    .stack-inner { max-width: 1200px; margin: 0 auto; }
    .stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
    .stack-col h3 {
      font-family: var(--mono); font-size: 12px; color: var(--gold);
      letter-spacing: 0.12em; text-transform: uppercase;
      margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
    }

    /* -- CONTACT -- */
    #contact { background: var(--bg); }
    .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1200px; margin: 0 auto; }
    .contact-detail {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 0; border-bottom: 1px solid var(--border);
    }
    .contact-detail:first-of-type { border-top: 1px solid var(--border); }
    .cd-icon { font-size: 18px; width: 36px; text-align: center; }
    .cd-label { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; margin-bottom: 2px; font-family: var(--mono); }
    .cd-val { font-size: 14px; font-weight: 600; }
    .cd-val a { color: var(--text); text-decoration: none; }
    .cd-val a:hover { color: var(--blue); }
    .contact-form { display: flex; flex-direction: column; gap: 16px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); }
    .form-group input,
    .form-group textarea,
    .form-group select {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 4px; padding: 12px 16px; color: var(--text);
      font-family: var(--sans); font-size: 14px; outline: none;
      transition: border-color 0.2s;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus { border-color: var(--blue); }
    .form-group select option { background: var(--surface2); }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-submit {
      background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
      border: none; border-radius: 4px; padding: 14px 28px; cursor: pointer;
      letter-spacing: 0.06em; transition: background 0.2s, transform 0.15s; width: 100%;
    }
    .form-submit:hover { background: #3d87ff; transform: translateY(-1px); }

    /* -- FOOTER -- */
    footer {
      position: relative; z-index: 2;
      background: var(--surface); border-top: 1px solid var(--border);
      padding: 40px 5vw;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 20px;
    }
    .footer-logo img { height: 34px; width: auto; display: block; }
    .footer-copy { font-size: 12px; color: var(--muted); font-family: var(--mono); }
    .footer-contact {
      width: 100%;
      font-size: 11px;
      color: var(--muted);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
    }
    .footer-contact a { color: var(--muted); text-decoration: none; }
    .footer-contact a:hover { color: var(--blue); }
    .fc-sep { opacity: 0.35; }
    
    .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
    .footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--blue); }

    /* -- DIVIDER -- */
    .section-divider {
      width: 48px; height: 3px; margin: 20px 0 40px;
      background: linear-gradient(90deg, var(--blue), var(--gold));
      border-radius: 2px;
    }

    /* -- REVEAL -- */
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    /* -- HAMBURGER -- */
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; padding: 6px; background: none; border: none; z-index: 110;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--text); border-radius: 2px; transition: all 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* -- RESPONSIVE -- */
    @media (max-width: 900px) {
      .terminal { display: none; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .about-inner { grid-template-columns: 1fr; gap: 40px; }
      .team-grid { grid-template-columns: 1fr; }
      .marathon-features { grid-template-columns: 1fr 1fr; }
      .contact-inner { grid-template-columns: 1fr; gap: 48px; }
      .stack-grid { grid-template-columns: 1fr; }
      .marathon-header { grid-template-columns: 1fr; }
    }
    /* -- HAMBURGER NAV (≤940px) -- */
    @media (max-width: 940px) {
      nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0,0,0,0.97); }
      .hamburger { display: flex; }
      .nav-links {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 68px; left: 0; right: 0;
        background: rgba(0,0,0,0.98); border-bottom: 1px solid var(--border);
        padding: 16px 5vw 24px; gap: 0;
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a { display: block; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
      .nav-links li:last-child a { border-bottom: none; margin-top: 12px; text-align: center; }
      /* Restore flex for person/home links in hamburger dropdown */
      .nav-links .nav-person-link { display: flex !important; align-items: center; }
      /* Show full names in hamburger dropdown */
      .nav-name-full  { display: inline !important; }
      .nav-name-short { display: none !important; }
      .nav-home-text  { display: inline !important; }
    }
    /* -- LAYOUT BREAKPOINTS (≤768px) -- */
    @media (max-width: 768px) {
      #bg-canvas { display: none; }
      #hero { flex-direction: column; justify-content: flex-start; padding-top: 40px; min-height: auto; }
      .hero-inner { gap: 32px; }
      .services-grid { grid-template-columns: 1fr; }
      .marathon-features { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .ticker-phone { font-size: 11px; padding: 0 14px; }
    }

    /* -- INTEL CARD WRAP -- */
    .intel-card-wrap {
      max-width: 1200px; margin: 48px auto 0; width: 100%;
      padding: 0 5vw; box-sizing: border-box;
    }
    /* -- LIGHT MODE -- */
    /* -- INTELLIGENCE CARD -- */
    .intel-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      font-family: var(--mono);
      position: relative;
    }
    .intel-card::before {
      content: '';
      position: absolute; top: 0; left: 0;
      width: 3px; height: 100%;
      background: linear-gradient(180deg, var(--blue), var(--gold), var(--blue));
    }
    .intel-header {
      background: var(--surface2);
      border-bottom: 1px solid var(--border);
      padding: 12px 20px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
    }
    .intel-header-left {
      display: flex; align-items: center; gap: 10px;
      font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
      text-transform: uppercase;
    }
    .intel-live {
      display: flex; align-items: center; gap: 5px;
      font-size: 9px; letter-spacing: 0.12em; color: var(--green);
      text-transform: uppercase;
    }
    .intel-live-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 6px var(--green);
      animation: pulse-dot 1.8s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
      50%       { opacity: 0.5; box-shadow: 0 0 12px var(--green); }
    }
    .intel-body {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
      gap: 0;
    }
    .intel-panel {
      padding: 20px 20px 18px;
    }
    .intel-panel-left {
      border-right: 1px solid var(--border);
    }
    @media (max-width: 680px) {
      .intel-panel-left { border-right: none; border-bottom: 1px solid var(--border); }
    }
    .intel-panel-label {
      font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 14px;
      display: flex; align-items: center; gap: 6px;
    }
    .intel-panel-label::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }
    .intel-metric {
      margin-bottom: 13px;
    }
    .intel-metric-row {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-bottom: 5px;
    }
    .intel-metric-name {
      font-size: 10px; color: var(--muted); letter-spacing: 0.06em;
    }
    .intel-metric-val {
      font-size: 13px; font-weight: 700; color: var(--blue);
      font-family: var(--mono);
    }
    .intel-metric-val.gold { color: var(--gold); }
    .intel-bar-track {
      height: 3px; background: var(--border); border-radius: 2px; overflow: hidden;
    }
    .intel-bar-fill {
      height: 100%; border-radius: 2px;
      background: linear-gradient(90deg, var(--blue), #3d87ff);
      transition: width 1.4s cubic-bezier(.4,0,.2,1);
      width: 0;
    }
    .intel-bar-fill.gold {
      background: linear-gradient(90deg, var(--gold), #ffc933);
    }
    .intel-ai-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 7px 0;
      border-bottom: 1px solid var(--border);
    }
    .intel-ai-row:last-child { border-bottom: none; }
    .intel-ai-left {
      display: flex; align-items: center; gap: 8px;
    }
    .intel-ai-icon {
      width: 22px; height: 22px; border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; flex-shrink: 0;
    }
    .ai-ic-claude  { background: linear-gradient(135deg,#cc4e1e,#ff8c5a); }
    .ai-ic-chatgpt { background: linear-gradient(135deg,#10a37f,#0d8a6a); }
    .ai-ic-gemini  { background: linear-gradient(135deg,#1a73e8,#34a853); }
    .ai-ic-copilot { background: linear-gradient(135deg,#00a4ef,#7a43b6); }
    .intel-ai-name {
      font-size: 11px; color: var(--text); letter-spacing: 0.04em;
    }
    .intel-ai-maker {
      font-size: 9px; color: var(--muted); display: block; margin-top: 1px;
    }
    .intel-status {
      font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--green); display: flex; align-items: center; gap: 4px;
    }
    .intel-status::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: var(--green); display: inline-block;
    }
    .intel-footer {
      border-top: 1px solid var(--border);
      padding: 12px 20px;
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    }
    .intel-footer-label {
      font-size: 9px; color: var(--muted); letter-spacing: 0.12em;
      text-transform: uppercase; margin-right: 4px;
    }
    .intel-chip {
      font-size: 9px; padding: 3px 9px; border-radius: 3px;
      background: var(--surface2); border: 1px solid var(--border);
      color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
    }
    .intel-chip.blue { color: var(--blue); border-color: var(--blue); background: rgba(26,107,255,0.07); }
    .intel-chip.gold { color: var(--gold); border-color: var(--gold); background: rgba(255,184,0,0.07); }

    @media (prefers-color-scheme: light) {

      :root {
        --bg:        #F2F5FA;
        --surface:   #FFFFFF;
        --surface2:  #E8EEF7;
        --border:    #C8D3E6;
        --blue:      #1044CC;
        --blue-dim:  rgba(16,68,204,0.08);
        --blue-glow: rgba(16,68,204,0.25);
        --gold:      #7B5800;
        --gold-dim:  rgba(123,88,0,0.08);
        --green:     #0A6840;
        --text:      #0D1117;
        --muted:     #445577;
      }
      nav { background: rgba(242,245,250,0.96) !important; border-bottom-color: #C8D3E6 !important; }
      .intel-card { background: #FFFFFF !important; border-color: #C8D3E6 !important; }
      .intel-header { background: #EBF0FA !important; border-bottom-color: #C8D3E6 !important; }
      .intel-panel-left { border-right-color: #C8D3E6 !important; }
      .intel-footer { border-top-color: #C8D3E6 !important; }
      .intel-ai-row { border-bottom-color: #C8D3E6 !important; }
      .intel-bar-track { background: #D0DAF0 !important; }
      .intel-chip { background: #EBF0FA !important; border-color: #C8D3E6 !important; color: #445577 !important; }
      .intel-chip.blue { color: #1044CC !important; border-color: #1044CC !important; background: rgba(16,68,204,0.07) !important; }
      .intel-chip.gold { color: #7B5800 !important; border-color: #7B5800 !important; background: rgba(123,88,0,0.07) !important; }
      .terminal { background: #F0F4FF !important; border-color: #C8D3E6 !important; }
      .terminal-bar { background: #E2E9F5 !important; border-color: #C8D3E6 !important; }
      .terminal code, .terminal pre { color: #0D1117 !important; }
      .t-key { color: #1044CC !important; }
      .t-val { color: #1044CC !important; }
      .t-val-g { color: #0A6840 !important; }
      .t-muted { color: #445577 !important; }
      .t-white { color: #0D1117 !important; }
      .t-prompt { color: #7B5800 !important; }
      .cursor { background: #0D1117 !important; }
      .ticker-bar { background: rgba(16,68,204,0.07) !important; border-bottom-color: #C8D3E6 !important; }
      .ticker-item .key { color: #1044CC !important; }
      .btn-gold { color: #FFFFFF !important; }
      .case-quote { border-left-color: #1044CC !important; background: rgba(16,68,204,0.05) !important; }
      .case-quote blockquote { color: #1A2A50 !important; }
      .case-stat-item { background: var(--surface2) !important; border-color: var(--border) !important; }
      .hero-badge { background: rgba(16,68,204,0.09) !important; border-color: rgba(16,68,204,0.25) !important; }
    }
    @media (max-width: 940px) and (prefers-color-scheme: light) {
      .nav-links { background: rgba(242,245,250,0.99) !important; }
    }

    /* -- iPhone SE & very small screens (≤480px) -- */
    @media (max-width: 480px) {

      /* Contact section — reduce excessive vertical padding and gap */
      #contact { padding-top: 60px; padding-bottom: 60px; }
      .contact-inner { gap: 28px; }

      /* Shrink the submit-row so the timing note wraps cleanly */
      #contact .form-submit { font-size: 13px; padding: 13px 20px; }

      /* Stats cells — tighter padding + smaller font so labels don't overflow
         the ~168px wide cell that results from 2-per-row on a 337px viewport */
      .stat-cell {
        padding: 18px 8px;
        min-width: 120px;
        flex: 1 0 120px;
      }
      .stat-num  { font-size: 21px; }
      .stat-label{ font-size: 10px; letter-spacing: 0.03em; }

      /* Case study mf-cards — override the inline min-width:260px so cards
         don't risk overflowing on a 337px content area */
      #case-study .mf-card {
        min-width: 0 !important;
        flex: 1 1 100% !important;
        width: 100% !important;
      }
    }

    /* -- TESTIMONIALS -- */
    .testi-grid-k { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
    .testi-card-k {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 12px; padding: 28px 24px;
      display: flex; flex-direction: column; gap: 16px;
    }
    .testi-stars-k { color: #FFB800; font-size: 1rem; letter-spacing: 3px; }
    .testi-quote-k {
      color: var(--fg); font-size: 0.92rem; line-height: 1.7;
      flex: 1; margin: 0;
    }
    .testi-author-k { display: flex; align-items: center; gap: 12px; }
    .testi-logo-k { height: 32px; max-width: 110px; object-fit: contain; border-radius: 4px; background: #fff; padding: 4px 6px; }
    .testi-name-k { font-size: 0.88rem; font-weight: 700; color: var(--fg); }
    .testi-role-k { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
    @media(max-width: 900px) { .testi-grid-k { grid-template-columns: 1fr; } }
    /* -- PAGE EYEBROW -- */
    .hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
    .page-hero {
      background: linear-gradient(140deg, #000000 0%, #0a1535 60%, #060d24 100%);
      border-bottom: 1px solid var(--border);
      padding: 64px 5vw 56px;
    }
    .page-hero h1 {
      font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
      margin-bottom: 12px; letter-spacing: -0.02em;
    }
    .page-hero .meta {
      font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.05em;
    }
    .page-eyebrow {
      font-family: var(--mono);
      font-size: 11px; letter-spacing: 0.18em;
      color: var(--gold); margin-bottom: 16px;
      text-transform: uppercase;
    }

    /* -- SECTION TITLE / DESC -- */
    .section-title {
      font-size: clamp(26px, 4vw, 40px);
      font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em;
    }
    .section-title em { font-style: normal; color: var(--blue); }
    .section-desc { color: var(--muted); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }

    /* -- CTA STRIP -- */
    .cta-strip {
      background: linear-gradient(135deg, #060616 0%, #0a0a28 100%);
      border: 1px solid var(--border); border-radius: 12px;
      padding: 56px 48px; text-align: center;
    }
    .cta-strip h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; }
    .cta-strip h2 em { font-style: normal; color: var(--gold); }
    .cta-strip p { color: var(--muted); margin-bottom: 32px; font-size: 16px; max-width: 500px; margin-left: auto; margin-right: auto; }
    .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    @media (prefers-color-scheme: light) {
      .cta-strip { background: linear-gradient(135deg, #E8EEF7 0%, #DDE6F5 100%) !important; border-color: #C8D3E6 !important; }
      .cta-strip h2 em { color: #7B5800 !important; }
      .cta-strip p { color: #445577 !important; }
    }

@media (max-width: 768px) {
  .contact-inner {
    display: flex;
    flex-direction: column;
  }

  .reveal {
    width: 100% !important;
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
  }
  .savings-badge {
    display: table !important;
  }

}

/* Force all inputs to stay within their bounds */
input, textarea, select {
  max-width: 100%;
  box-sizing: border-box;
}



/* ── CASE STUDY: SHARED AUTHOR BLOCK (for pages without marathon-style.css) ── */
.cs-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
}
.cs-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue,#1A6BFF) 0%, #0033aa 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono,monospace); font-size: 14px; font-weight: 700; color: #fff;
  border: 2px solid var(--gold,#FFB800); flex-shrink: 0;
}
.cs-author-name { font-size: 14px; font-weight: 700; }
.cs-author-role { font-family: var(--mono,monospace); font-size: 10px; color: var(--muted,#8892b0); letter-spacing: 0.06em; }
.cs-author a { font-family: var(--mono,monospace); font-size: 11px; color: var(--green,#64ffda); text-decoration: none; }
.cs-author a:hover { text-decoration: underline; }

/* Dual author row for multi-author pages */
.cs-authors-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 28px;
}

/* ── CASE STUDY: BOTTOM CTA SECTION ── */
.cs-cta-section {
  background: var(--light-navy, #112240);
  border-top: 1px solid rgba(100,255,218,0.12);
  padding: 80px 40px;
  text-align: center;
}
.cs-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cs-cta-label {
  font-family: var(--mono, monospace);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green, #64ffda);
  margin-bottom: 16px;
}
.cs-cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--lightest-slate, #ccd6f6);
  margin: 0 0 16px;
}
.cs-cta-sub {
  color: var(--slate, #8892b0);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 36px;
}
.cs-cta-contacts {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cs-cta-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green, #64ffda);
  text-decoration: none;
  font-family: var(--mono, monospace);
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cs-cta-contact:hover { opacity: 0.7; }
.cs-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cs-cta-section { padding: 60px 24px; }
  .cs-cta-contacts { flex-direction: column; gap: 14px; align-items: center; }
}
@media (prefers-color-scheme: light) {
  .cs-cta-section {
    background: #EEF2FA !important;
    border-top-color: rgba(0,96,204,0.15) !important;
  }
  .cs-cta-section h2 { color: #0A1628 !important; }
  .cs-cta-sub { color: #445577 !important; }
  .cs-cta-label { color: #0060CC !important; }
  .cs-cta-contact { color: #0060CC !important; }
}
