/* Page-specific token overrides (grey-tinted subtle) */
:root {
  --accent-subtle: rgba(0, 0, 0, 0.04);
  --accent-subtle2: rgba(0, 0, 0, 0.08);
}

      /* ─── MARQUEE ─── */
      .marquee-wrap {
        overflow: hidden;
        border-bottom: 0.5px solid var(--line);
        padding: 0.85rem 0;
        background: var(--bg3);
        margin-top: 92px;
      }
      .marquee-track {
        display: flex;
        gap: 3rem;
        animation: marquee 22s linear infinite;
        white-space: nowrap;
      }
      .marquee-item {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.62rem;
        letter-spacing: 0.38em;
        text-transform: uppercase;
        color: var(--text3);
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-shrink: 0;
      }
      .marquee-item::after {
        content: "·";
        color: var(--accent2);
      }
      @keyframes marquee {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }

      /* ─── HERO ─── */
      .hero {
        min-height: calc(100vh - 92px - 37px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
      }
      .hero-left {
        padding: 6rem 5rem 5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        max-width: 720px;
      }
      .hero-eyebrow {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.62rem;
        letter-spacing: 0.43em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 2.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
      }
      .hero-eyebrow::before {
        content: "";
        display: block;
        width: 32px;
        height: 0.5px;
        background: var(--accent);
      }
      .hero-name {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(3.5rem, 7vw, 6rem);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.01em;
        color: var(--text);
        margin-bottom: 0.3rem;
      }
      .hero-name em {
        font-style: italic;
        color: var(--accent);
      }
      .hero-title {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(1rem, 2vw, 1.35rem);
        font-weight: 700;
        color: var(--text3);
        letter-spacing: 0.06em;
        margin-bottom: 3rem;
        font-style: italic;
      }
      .hero-desc {
        font-size: 0.88rem;
        color: var(--text2);
        line-height: 1.95;
        max-width: 440px;
        margin-bottom: 3.5rem;
      }
      .hero-h1 {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(2.8rem, 6vw, 5.4rem);
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -0.02em;
        color: var(--text);
        margin-bottom: 1.75rem;
      }
      .hero-h1 em {
        font-style: italic;
        color: var(--text3);
      }
      .hero-typing {
        border-right: 2px solid var(--accent-bright);
        padding-right: 3px;
        animation: hero-caret-blink 0.85s step-end infinite;
      }
      @keyframes hero-caret-blink {
        0%,
        100% {
          border-color: var(--accent-bright);
        }
        50% {
          border-color: transparent;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .hero-typing {
          animation: none;
          border-right-color: transparent;
        }
      }
      .hero-sub {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.85;
        max-width: 580px;
        margin-bottom: 3rem;
        font-weight: 400;
        letter-spacing: 0.02em;
        text-align: left;
      }
      .hero-cta {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .btn-primary {
        background: var(--accent-bright);
        color: #000000;
        font-weight: 600;
        border: 1px solid var(--accent-bright);
        border-radius: 999px;
        padding: 0.85rem 2.1rem;
        font-family: "Montserrat", sans-serif;
        font-size: 0.85rem;
        letter-spacing: 0.01em;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        box-shadow: 0 2px 10px rgba(3, 202, 244, 0.25);
        transition:
          color 0.2s,
          transform 0.15s,
          box-shadow 0.2s;
        position: relative;
        top: 0;
      }
      .btn-primary svg {
        transition: transform 0.2s ease;
      }
      .btn-primary:hover {
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(3, 202, 244, 0.35);
      }
      .btn-primary:hover svg {
        transform: translateX(3px);
      }
      .btn-primary:active {
        transform: translateY(1px);
        box-shadow: 0 1px 4px rgba(3, 202, 244, 0.2);
      }

      .btn-ghost {
        background: var(--card);
        color: var(--text2);
        border: 0.5px solid var(--line);
        border-radius: 999px;
        padding: 0.85rem 2.1rem;
        font-family: "Montserrat", sans-serif;
        font-size: 0.85rem;
        letter-spacing: 0.01em;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition:
          border-color 0.15s,
          color 0.15s,
          transform 0.15s,
          box-shadow 0.15s;
        position: relative;
        top: 0;
      }
      .btn-ghost:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(3, 202, 244, 0.12);
      }
      .btn-ghost:active {
        transform: translateY(1px);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
      }

      /* ─── HERO DIAGRAM (standalone section) ─── */
      .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--card);
        position: relative;
        overflow: hidden;
        padding: 2rem 1rem;
        border-radius: 8px;
      }
      .hero-visual::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(
          90deg,
          var(--accent2) 0%,
          var(--accent) 60%,
          transparent 100%
        );
        opacity: 0.85;
        z-index: 1;
        border-radius: 8px 8px 0 0;
      }
      .hvd {
        width: 100%;
        max-width: 720px;
        overflow: visible;
      }

      /* ─── SECTIONS ─── */
      section {
        padding: 7rem 5rem;
        border-top: 0.5px solid var(--line);
        position: relative;
        z-index: 1;
      }
      .section-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        max-width: 640px;
        margin-bottom: 5rem;
      }
      .section-label {
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        font-size: 0.68rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--accent);
        display: flex;
        align-items: center;
        gap: 0.85rem;
      }
      .section-label::before {
        content: "";
        display: block;
        width: 24px;
        height: 0.5px;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        flex-shrink: 0;
      }
      .section-title {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(1.9rem, 4vw, 3.1rem);
        font-weight: 700;
        color: var(--text);
        letter-spacing: -0.01em;
        line-height: 1.15;
      }
      .section-desc {
        font-size: 0.92rem;
        color: var(--text2);
        line-height: 1.8;
        max-width: 520px;
      }

      /* ─── ABOUT ─── */
      .about {
        background: var(--bg);
      }
      .about-grid {
        display: grid;
        grid-template-columns: 5fr 3fr;
        gap: 5rem;
        align-items: start;
      }
      .about-text p {
        font-size: 0.92rem;
        color: var(--text2);
        line-height: 1.95;
        margin-bottom: 1.5rem;
      }
      .about-text p:first-child {
        font-size: 1.12rem;
        color: var(--text);
        font-weight: 400;
        line-height: 1.75;
      }
      .about-aside {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: sticky;
        top: 90px;
      }
      .profile-photo-wrap {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--line);
        flex-shrink: 0;
        align-self: flex-start;
      }
      .profile-photo-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        filter: grayscale(100%);
        display: block;
      }
      .profile-photo-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 2px solid var(--line);
        background: var(--bg3);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        color: var(--text3);
        flex-shrink: 0;
        align-self: flex-start;
      }
      .profile-photo-placeholder span {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.5rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-align: center;
        padding: 0 0.5rem;
      }

      /* revenue-architecture style card */
      .aside-card {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 1.5rem;
        position: relative;
        overflow: hidden;
        transition: border-color 0.3s;
      }
      .aside-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
      }
      .aside-card:hover::before {
        transform: scaleX(1);
      }
      .aside-card:hover {
        border-color: var(--accent-subtle2);
      }
      .aside-label {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.57rem;
        letter-spacing: 0.43em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 1rem;
      }
      .aside-item {
        font-size: 0.85rem;
        color: var(--text2);
        padding: 0.4rem 0;
        border-bottom: 0.5px solid var(--line2);
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }
      .aside-item:last-child {
        border-bottom: none;
      }
      .aside-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
      }

      /* ─── Less firefighting. More forward motion. (always-dark band) ─── */
      .awaits-section {
        background: #111111;
        padding: 7rem 5rem;
        border-top: 0.5px solid var(--line);
        position: relative;
        z-index: 1;
      }
      .awaits-section .awaits-label {
        color: var(--accent-bright);
      }
      .awaits-section .awaits-label::before {
        background: linear-gradient(90deg, var(--accent-bright), var(--accent2));
      }
      .awaits-section .awaits-label::after {
        background: linear-gradient(90deg, var(--accent2), var(--accent-bright));
      }
      .awaits-section .awaits-headline {
        color: #f0f0f0;
      }
      .awaits-section .awaits-card {
        background: #1c1c1c;
        border-color: rgba(255, 255, 255, 0.08);
      }
      .awaits-section .awaits-divider {
        background: rgba(255, 255, 255, 0.08);
      }
      .awaits-section .awaits-bad {
        background: rgba(255, 255, 255, 0.03);
      }
      .awaits-section .awaits-good {
        background: linear-gradient(
          135deg,
          rgba(3, 202, 244, 0.08),
          rgba(246, 38, 129, 0.05)
        );
      }
      .awaits-section .awaits-bad .awaits-icon {
        color: #ff6b6b;
      }
      .awaits-section .awaits-good .awaits-icon {
        color: #2ecc71;
      }
      .awaits-section .awaits-text {
        color: #cccccc;
      }
      .awaits-section .awaits-bad .awaits-text {
        color: #999999;
      }
      .awaits-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        font-size: 0.68rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 1.1rem;
      }
      .awaits-label::before,
      .awaits-label::after {
        content: "";
        width: 24px;
        height: 0.5px;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
      }
      .awaits-label::after {
        background: linear-gradient(90deg, var(--accent2), var(--accent));
      }
      .awaits-headline {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(1.9rem, 4vw, 3.1rem);
        font-weight: 700;
        color: var(--text);
        letter-spacing: -0.01em;
        line-height: 1.15;
        text-align: center;
        margin-bottom: 4rem;
      }
      .awaits-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 1.25rem;
        max-width: 1100px;
        margin: 0 auto;
      }
      .awaits-card {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid var(--line);
        background: var(--card);
        display: flex;
        flex-direction: column;
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease,
          border-color 0.3s ease;
      }
      .awaits-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        z-index: 2;
        background: linear-gradient(
          90deg,
          var(--accent) 0%,
          var(--accent2) 50%,
          transparent 100%
        );
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .awaits-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(3, 202, 244, 0.12);
        border-color: rgba(3, 202, 244, 0.3);
      }
      .awaits-card:hover::before {
        opacity: 1;
      }
      .awaits-half {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 1.1rem 1.2rem;
        flex: 1;
      }
      .awaits-divider {
        position: relative;
        height: 1px;
        background: var(--line);
        margin: 0;
      }
      .awaits-divider::after {
        content: "↓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent-bright), var(--accent2));
        color: #000000;
        font-size: 0.65rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(3, 202, 244, 0.35);
        z-index: 1;
      }
      .awaits-bad {
        background: rgba(0, 0, 0, 0.03);
      }
      .awaits-good {
        background: linear-gradient(
          135deg,
          rgba(3, 202, 244, 0.08),
          rgba(246, 38, 129, 0.05)
        );
      }
      .awaits-icon {
        font-size: 0.95rem;
        font-weight: 700;
        flex-shrink: 0;
        line-height: 1.6;
      }
      .awaits-bad .awaits-icon {
        color: #b91c1c;
      }
      .awaits-good .awaits-icon {
        color: #16873b;
      }
      .awaits-text {
        font-size: 0.78rem;
        line-height: 1.65;
        color: var(--text2);
        font-family: "Montserrat", sans-serif;
      }
      @media (max-width: 900px) {
        .awaits-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .awaits-section {
          padding: 5rem 2rem;
        }
      }
      @media (max-width: 580px) {
        .awaits-grid {
          grid-template-columns: 1fr;
        }
      }
      /* ─── CASE STUDIES ─── */
      .services {
        background: var(--bg2);
      }
      .cs-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 2rem;
        margin-top: -1.5rem;
      }
      .cs-tab {
        font-family: "DM Mono", monospace;
        font-size: 0.62rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--text3);
        background: none;
        border: 0.5px solid var(--border);
        border-radius: 20px;
        padding: 0.45rem 1.1rem;
        cursor: pointer;
        transition:
          border-color 0.2s,
          color 0.2s,
          background 0.2s;
      }
      .cs-tab:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .cs-tab.active {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-subtle);
      }
      .cs-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
      }
      .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .cs-card {
        background: var(--surface);
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
        transition:
          border-color 0.3s,
          transform 0.35s,
          box-shadow 0.35s;
      }
      .cs-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.38s ease;
      }
      .cs-card:hover::before {
        transform: scaleX(1);
      }
      .cs-card:hover {
        border-color: var(--accent-subtle2);
        transform: translateY(-7px);
        box-shadow: 0 20px 52px rgba(3, 202, 244, 0.09);
      }
      .cs-card-inner {
        padding: 2.5rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        flex: 1;
      }
      .cs-num {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.57rem;
        letter-spacing: 0.38em;
        color: var(--accent);
        margin-bottom: 0.25rem;
      }
      .cs-icon {
        width: 44px;
        height: 44px;
        border: 0.5px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.5rem;
        color: var(--text2);
        transition:
          border-color 0.3s,
          color 0.3s;
      }
      .cs-card:hover .cs-icon {
        border-color: var(--accent);
        color: var(--accent);
      }
      .cs-title {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: 1.45rem;
        font-weight: 700;
        color: var(--text);
        line-height: 1.2;
      }
      .cs-teaser {
        font-size: 0.82rem;
        color: var(--text3);
        line-height: 1.7;
        flex: 1;
      }
      .cs-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding: 0 2rem 1.5rem;
      }
      .cs-tags span {
        font-family: "DM Mono", monospace;
        font-size: 0.52rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        padding: 3px 8px;
        border: 0.5px solid var(--border);
        color: var(--text3);
        transition:
          border-color 0.3s,
          color 0.3s;
      }
      .cs-card:hover .cs-tags span {
        border-color: var(--accent-subtle2);
        color: var(--accent);
      }
      .cs-read-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0 2rem 2rem;
        font-family: "DM Mono", monospace;
        font-size: 0.6rem;
        letter-spacing: 0.32em;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--accent);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: gap 0.2s;
        width: fit-content;
      }
      .cs-read-btn:hover {
        gap: 0.7rem;
      }
      .cs-read-btn svg {
        transition: transform 0.2s;
      }
      .cs-read-btn:hover svg {
        transform: translateX(3px);
      }

      /* Outcome stat line replacing tag pills */
      .cs-outcome-stat {
        font-family: "DM Mono", monospace;
        font-size: 0.65rem;
        letter-spacing: 0.06em;
        color: var(--accent);
        font-weight: 500;
        padding: 0 2rem 0.75rem;
        line-height: 1.55;
      }
      :root .services .cs-outcome-stat {
        color: var(--accent);
      }

      /* modals */
      .cs-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(4px);
        align-items: center;
        justify-content: center;
        padding: 2rem;
      }
      .cs-modal-overlay.open {
        display: flex;
      }
      .cs-modal {
        background: var(--bg);
        border: 0.5px solid var(--line);
        border-top: 2px solid var(--accent);
        max-width: 640px;
        width: 100%;
        padding: 3rem;
        position: relative;
        animation: modalIn 0.28s ease;
        max-height: 90vh;
        overflow-y: auto;
      }
      @keyframes modalIn {
        from {
          opacity: 0;
          transform: translateY(22px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .cs-modal-close {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        background: none;
        border: 0.5px solid var(--line);
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text3);
        transition:
          border-color 0.2s,
          color 0.2s;
      }
      .cs-modal-close:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .cs-modal-num {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.57rem;
        letter-spacing: 0.43em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 1rem;
      }
      .cs-modal-title {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text);
        line-height: 1.2;
        margin-bottom: 2rem;
      }
      .cs-modal-body p {
        font-size: 0.9rem;
        color: var(--text2);
        line-height: 1.9;
        margin-bottom: 1.25rem;
      }
      .cs-modal-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 0.5px solid var(--line);
      }
      .cs-modal-tags span {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.52rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        padding: 4px 10px;
        border: 0.5px solid var(--accent-subtle2);
        color: var(--accent);
      }

      /* ─── APPROACH / HOW IT WORKS ─── */
      .approach {
        background: var(--bg);
      }

      .workflow-outer {
        position: relative;
      }

      .workflow-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: visible;
      }

      .workflow-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 3rem 5rem;
        position: relative;
      }

      .workflow-card {
        background: var(--card);
        border: 0.5px solid var(--border);
        border-radius: 16px;
        padding: 1.4rem 1.4rem 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        position: relative;
        overflow: hidden;
        transition:
          border-color 0.3s,
          box-shadow 0.3s,
          transform 0.3s;
      }
      .workflow-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 16px 16px 0 0;
        background: linear-gradient(
          90deg,
          var(--accent) 0%,
          var(--accent2) 50%,
          transparent 100%
        );
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s ease;
      }
      .workflow-card:hover::before {
        transform: scaleX(1);
      }
      .workflow-card:hover {
        border-color: rgba(3, 202, 244, 0.28);
        box-shadow: 0 12px 40px rgba(3, 202, 244, 0.08);
        transform: translateY(-4px);
      }

      .wf-stage {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.55rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--accent2);
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }
      .wf-stage::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 0.5px;
        background: var(--accent2);
        flex-shrink: 0;
      }

      .wf-icon {
        width: 26px;
        height: 26px;
        color: var(--text3);
        flex-shrink: 0;
        opacity: 0.55;
      }
      .wf-icon svg {
        width: 100%;
        height: 100%;
      }

      .wf-title {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text);
        line-height: 1.2;
      }
      .wf-sub {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.58rem;
        color: var(--text3);
        font-style: italic;
        letter-spacing: 0.04em;
        line-height: 1.5;
        margin-bottom: 0.1rem;
      }
      .wf-text {
        font-size: 0.78rem;
        color: var(--text2);
        line-height: 1.8;
      }

      .wf-pilot-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-family: "DM Mono", monospace;
        font-size: 0.52rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--accent2);
        border: 0.5px solid var(--accent2);
        border-radius: 20px;
        padding: 3px 10px;
        width: fit-content;
        margin-top: 0.5rem;
      }
      .wf-pilot-tag::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent2);
        animation: pulse-dot 1.8s ease-in-out infinite;
      }
      @keyframes pulse-dot {
        0%,
        100% {
          opacity: 1;
          transform: scale(1);
        }
        50% {
          opacity: 0.4;
          transform: scale(0.7);
        }
      }
      /* ─── CONTACT ─── */
      .contact {
        background: var(--bg2);
      }
      .contact-inner {
        display: grid;
        grid-template-columns: 5fr 3fr;
        gap: 5rem;
        align-items: start;
      }
      .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }
      .field-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
      }
      .field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
      }
      .field label {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.58rem;
        letter-spacing: 0.38em;
        text-transform: uppercase;
        color: var(--text3);
      }
      .field input,
      .field textarea {
        background: var(--card);
        border: 0.5px solid var(--line);
        color: var(--text);
        padding: 0.85rem 1rem;
        font-family: "Montserrat", sans-serif;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.2s;
        width: 100%;
        resize: none;
      }
      .field input:focus,
      .field textarea:focus {
        border-color: var(--accent);
      }
      .field input::placeholder,
      .field textarea::placeholder {
        color: var(--text3);
        font-style: italic;
      }
      .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.25rem;
      }
      .checkbox-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        cursor: pointer;
        padding: 0.6rem 0.75rem;
        border: 0.5px solid var(--line);
        background: var(--card);
        transition:
          border-color 0.2s,
          background 0.2s;
      }
      .checkbox-item:hover {
        border-color: var(--accent);
      }
      .checkbox-item.checked {
        border-color: var(--accent);
        background: var(--accent-subtle);
      }
      .checkbox-item input[type="checkbox"] {
        display: none;
      }
      .checkbox-box {
        width: 14px;
        height: 14px;
        border: 0.5px solid var(--line);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition:
          border-color 0.2s,
          background 0.2s;
      }
      .checkbox-item.checked .checkbox-box {
        border-color: var(--accent);
        background: var(--accent);
      }
      .checkbox-check {
        display: none;
        color: #000;
      }
      .checkbox-item.checked .checkbox-check {
        display: block;
      }
      .checkbox-label {
        font-family: "Montserrat", sans-serif;
        font-size: 0.82rem;
        color: var(--text2);
        transition: color 0.2s;
      }
      .checkbox-item.checked .checkbox-label {
        color: var(--text);
      }
      .contact-aside {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }
      .contact-info-block {
        background: var(--surface);
        border: 1px solid var(--border);
        border-top: 2px solid var(--accent);
        padding: 2rem;
      }
      .contact-info-label {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.57rem;
        letter-spacing: 0.38em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 0.8rem;
      }
      .contact-info-value {
        font-size: 0.9rem;
        color: var(--text2);
      }
      .contact-info-value a {
        color: var(--text);
        text-decoration: none;
        transition: color 0.2s;
      }
      .contact-info-value a:hover {
        color: var(--accent);
      }

      /* ─── HERO: always black bg, near-white text (fixed, no toggle) ─── */
      .hero,
      .hero-left {
        background: #0a0a0a;
        color: #f0f0f0;
        position: relative;
      }
      .hero::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(3, 202, 244, 0.08) 0%,
          rgba(3, 202, 244, 0.03) 45%,
          transparent 70%
        );
        pointer-events: none;
        z-index: 0;
      }
      .hero-left {
        position: relative;
        z-index: 1;
      }
      .hero .hero-h1 {
        color: #ffffff;
      }
      .hero .hero-h1 em {
        color: #999999;
      }
      .hero .hero-eyebrow {
        color: var(--accent-bright);
      }
      .hero .hero-eyebrow::before {
        background: linear-gradient(90deg, var(--accent-bright), var(--accent2));
      }
      .hero .hero-sub {
        color: #999999;
      }
      .hero .hero-sub b {
        color: #ffffff;
      }
      .hero .btn-ghost {
        background: transparent;
        color: #d0d0d0;
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: none;
      }
      .hero .btn-ghost:hover {
        border-color: var(--accent-bright);
        color: var(--accent-bright);
        box-shadow: 0 4px 16px rgba(3, 202, 244, 0.12);
      }
      /* ─── ALWAYS-DARK BANDS (fixed, no toggle) ─── */
      .marquee-wrap {
        background: #161616;
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
      }
      .marquee-item {
        color: #777;
      }
      .services {
        background: #111111;
      }
      .services .section-title,
      .services .cs-title {
        color: #f0f0f0;
      }
      .services .cs-card {
        background: #1c1c1c;
        border-color: rgba(255, 255, 255, 0.07);
      }
      .services .cs-teaser {
        color: #888;
      }
      .services .cs-tags span {
        border-color: rgba(255, 255, 255, 0.1);
        color: #666;
      }
      .services .cs-card:hover .cs-tags span {
        border-color: rgba(3, 202, 244, 0.4);
        color: var(--accent-bright);
      }
      .services .cs-icon {
        color: #888;
        border-color: rgba(255, 255, 255, 0.08);
      }
      .services .cs-card:hover .cs-icon {
        border-color: var(--accent-bright);
        color: var(--accent-bright);
      }
      .services .section-label {
        color: var(--accent-bright);
      }
      .services .section-label::before {
        background: linear-gradient(90deg, var(--accent-bright), var(--accent2));
      }
      .services .section-desc {
        color: #999999;
      }
      .services .cs-num {
        color: var(--accent-bright);
      }
      .aside-dot {
        background: var(--accent2);
      }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 4rem 2rem 3rem;
  }
  section {
    padding: 4rem 2rem;
  }
  .before-after-section {
    padding: 4rem 1.5rem !important;
  }
  .before-after-section .hero-visual {
    min-height: unset !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .before-after-section .hvd {
    min-width: 680px;
    width: 680px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-aside {
    position: static;
  }
  .cs-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .workflow-svg {
    display: none;
  }
  #wf4 {
    order: 4;
  }
  #wf3 {
    order: 3;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .field-group {
    grid-template-columns: 1fr;
  }
}

      /* ─── BEFORE/AFTER MOBILE CARDS ─── */
      .ba-mobile {
        display: none;
      }
      .ba-desktop {
        display: block;
      }

      @media (max-width: 900px) {
        .ba-mobile {
          display: block;
        }
        .ba-desktop {
          display: none !important;
        }
        .before-after-section {
          padding: 4rem 0 !important;
          overflow: hidden;
        }
        .before-after-section .section-header {
          padding: 0 1.5rem;
        }
      }

      .ba-scroll-hint {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-bottom: 1rem;
      }
      .ba-scroll-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--text3);
        transition:
          background 0.3s,
          transform 0.3s;
        cursor: pointer;
      }
      .ba-scroll-dot.active {
        background: var(--accent);
        transform: scale(1.4);
      }

      .ba-scroll-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding-bottom: 0.5rem;
      }
      .ba-scroll-track::-webkit-scrollbar {
        display: none;
      }

      .ba-card {
        flex: 0 0 90vw;
        max-width: 380px;
        scroll-snap-align: center;
        background: #0a0a0a;
        border: 0.5px solid var(--line);
        margin: 0 0.75rem;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        border-radius: 4px;
        position: relative;
        overflow: hidden;
      }
      .ba-card--before {
        border-top: 2px solid #cc3333;
      }
      .ba-card--ai {
        border-top: 2px solid transparent;
        border-image: linear-gradient(90deg, #03caf4, #f62681) 1;
        align-items: center;
        text-align: center;
      }
      .ba-card--after {
        border-top: 2px solid #03caf4;
      }

      /* First and last card: allow seeing edge of adjacent card */
      .ba-card:first-child {
        margin-left: 5vw;
      }
      .ba-card:last-child {
        margin-right: 5vw;
      }

      .ba-card-label {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.55rem;
        letter-spacing: 0.43em;
        text-transform: uppercase;
        color: #cc3333;
      }
      .ba-card-label--ai {
        background: linear-gradient(90deg, #03caf4, #f62681);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
      }
      .ba-card-label--after {
        color: #03caf4;
      }

      .ba-donut-wrap {
        display: flex;
        justify-content: center;
      }
      .ba-donut {
        width: 110px;
        height: 110px;
      }

      .ba-subhead {
        font-family: "Montserrat", sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        color: #f0f0f0;
        letter-spacing: -0.01em;
        text-align: center;
      }
      .ba-subhead--cyan {
        color: #03caf4;
      }

      .ba-subdesc {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.55rem;
        color: #555;
        text-align: center;
        letter-spacing: 0.08em;
      }

      .ba-bars-label {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.52rem;
        letter-spacing: 0.33em;
        color: #444;
        margin-top: 0.25rem;
      }

      .ba-bars {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        width: 100%;
      }

      .ba-bar-row {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 0.5rem;
      }
      .ba-bar-name {
        font-family: "Montserrat", sans-serif;
        font-size: 0.68rem;
        color: #999;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .ba-bar-track {
        width: 80px;
        height: 5px;
        background: #1c1c1c;
        border-radius: 2px;
        overflow: hidden;
      }
      .ba-bar-fill {
        height: 100%;
        border-radius: 2px;
        /* bars fill from 0 on load */
        width: 0 !important;
        transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
      }
      .ba-bar-fill.animated {
        width: var(--target-w) !important;
      }
      .ba-bar-fill--red {
        background: #cc3333;
        opacity: 0.75;
      }
      .ba-bar-fill--cyan {
        background: #03caf4;
        opacity: 0.8;
      }

      .ba-bar-pct {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.6rem;
        min-width: 2.5ch;
        text-align: right;
      }
      .ba-pct--red {
        color: #cc3333;
      }
      .ba-pct--cyan {
        color: #03caf4;
      }

      .ba-outcome {
        background: rgba(204, 34, 34, 0.07);
        border: 0.5px solid rgba(204, 34, 34, 0.22);
        border-radius: 4px;
        padding: 0.75rem 0.85rem;
        font-family: "Montserrat", sans-serif;
        font-size: 0.72rem;
        color: #888;
        line-height: 1.6;
        margin-top: 0.25rem;
      }
      .ba-outcome--cyan {
        background: rgba(3, 202, 244, 0.06);
        border-color: rgba(3, 202, 244, 0.22);
      }
      .ba-outcome-label {
        display: block;
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.52rem;
        letter-spacing: 0.32em;
        color: #cc3333;
        margin-bottom: 0.3rem;
      }
      .ba-outcome-label--cyan {
        color: #03caf4;
      }

      /* AI card specifics */
      .ba-ai-orb {
        width: 130px;
        height: 130px;
      }
      .ba-ai-svg {
        width: 100%;
        height: 100%;
      }

      .ba-ai-desc {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.6rem;
        color: #666;
        text-align: center;
        line-height: 1.65;
        letter-spacing: 0.04em;
        max-width: 240px;
      }

      .ba-pills {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.25rem;
      }
      .ba-pill {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.45rem 0.85rem;
        border-radius: 20px;
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
      }
      .ba-pill--cyan {
        background: rgba(3, 202, 244, 0.07);
        border: 0.5px solid rgba(3, 202, 244, 0.22);
        color: #03caf4;
      }
      .ba-pill--pink {
        background: rgba(246, 38, 129, 0.07);
        border: 0.5px solid rgba(246, 38, 129, 0.22);
        color: #f62681;
      }

      /* ─── CONTACT CTA SECTION ─── */
      .contact-cta-section {
        padding: 9rem 5rem;
        border-top: 0.5px solid var(--line);
        background: var(--bg);
        text-align: center;
        position: relative;
        z-index: 1;
      }
      .contact-cta-inner {
        max-width: 640px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
      }
      .contact-cta-num {
        font-family: "DM Mono", monospace;
        font-weight: 500;
        font-size: 0.6rem;
        color: var(--accent2);
        letter-spacing: 0.38em;
        margin-bottom: 1.5rem;
      }
      .contact-cta-headline {
        font-family: "Times New Roman", Times, Georgia, serif;
        font-size: clamp(2.4rem, 5vw, 4.2rem);
        font-weight: 700;
        color: var(--text);
        letter-spacing: -0.01em;
        line-height: 1.1;
        margin-bottom: 1.5rem;
      }
      .contact-cta-headline em {
        font-style: italic;
        color: var(--text3);
      }
      .contact-cta-sub {
        font-size: 0.92rem;
        color: var(--text2);
        line-height: 1.9;
        max-width: 520px;
        margin-bottom: 3rem;
      }
      .contact-cta-btns {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
      }
      .btn-ghost--lg {
        font-size: 0.85rem;
        padding: 0.9rem 2.3rem;
        border-radius: 999px;
      }
      @media (max-width: 600px) {
        .contact-cta-section {
          padding: 6rem 2rem;
        }
        .contact-cta-btns {
          flex-direction: column;
          width: 100%;
        }
        .contact-cta-btns a {
          justify-content: center;
        }
      }
