/* ==========================================================================
   SOLUTIONS — /solutions   (design: assets/html/solutions (5).html)
   Namespace: everything is scoped under .tsol. Loaded via $pageStyles in
   solutions.php, paired with assets/js/teamian-solutions.js.

   1. :root, html and body collapse onto .tsol — on :root the mock's tokens
      would redefine site-wide values and its body rules would restyle the
      shared header and footer.
   2. .reveal became .tsol-rv on all 37 elements. main.js runs its own
      IntersectionObserver over every .reveal and toggles .is-visible, while
      this page's observer toggles .in.
   3. @keyframes marquee became tsol-marquee — keyframe names are global
      however the selectors are scoped, and style.css already defines one.
   4. overflow-x:hidden became clip on the wrapper (see the note inline).
   5. Every `Nfr` grid track became `minmax(0,Nfr)` (25 grids).
   6. .hero clears the 76px fixed nav.

   The mock also shipped its own demo modal — markup, styles and open/close
   handlers — but it had no <form>, no action and no submit handler: the button
   did nothing. That markup is dropped and its two CTAs now open the real
   shared lead form from includes/footer.php, which posts to
   api/demo-request.php. The .modal/.backdrop CSS below is left in place but
   unused; nothing references it.
   ========================================================================== */


.tsol{
    --ink:        #0a0a0a;
    --ink-2:      #1a1a1a;
    --ink-3:      #2a2a2a;
    --paper:      #fafafa;
    --white:      #ffffff;
    --mute:       #666666;
    --mute-2:     #999999;
    --line:       #e5e5e5;
    --line-2:     #efefef;
    --wash:       #f4f4f4;
    --teal:       #14d3b0;
    --teal-2:     #10b096;
    --teal-wash:  rgba(20, 211, 176, 0.04);
    --blue-wash:  #eef4fe;
    --blue-ink:   #2563ff;
    --font-body:  'Inter', system-ui, sans-serif;
    --font-mono:  'JetBrains Mono', ui-monospace, monospace;
    --e-out:      cubic-bezier(.2,.7,.2,1);
    --e-in:       cubic-bezier(.5,0,.75,0);
  }
  .tsol{
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* clip, not hidden — hidden forces overflow-y to `auto`, making this a
       scroll container and breaking position:sticky for any descendant. */
    overflow-x: clip;
  }

  .tsol .wrap{ max-width: 1280px; margin: 0 auto; padding: 0 40px; }

  .tsol .eyebrow{
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .tsol .eyebrow .dot{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 3px rgba(20,211,176,0.15);
    animation: pulse 2.2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(20,211,176,0.15); }
    50%      { box-shadow: 0 0 0 7px rgba(20,211,176,0.00); }
  }

  /* Reveal */
  /* Gated on .tsol-js (set inline at the top of the page): these start invisible
     and are revealed by the observer, so without the gate a stylesheet that
     loads while the script fails leaves the page blank. */
  .tsol-js .tsol .tsol-rv{ opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out); }
  .tsol-js .tsol .tsol-rv.in{ opacity: 1; transform: none; }
  .tsol-js .tsol .tsol-rv.d1{ transition-delay: 0.08s; }
  .tsol-js .tsol .tsol-rv.d2{ transition-delay: 0.16s; }
  .tsol-js .tsol .tsol-rv.d3{ transition-delay: 0.24s; }
  .tsol-js .tsol .tsol-rv.d4{ transition-delay: 0.32s; }
  .tsol-js .tsol .tsol-rv.d5{ transition-delay: 0.40s; }
  .tsol-js .tsol .tsol-rv.d6{ transition-delay: 0.48s; }

  /* Cascade */
  .tsol .cascade span{
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out);
  }
  .tsol .cascade.in span{ opacity: 1; transform: none; }
  .tsol .cascade span:nth-child(1){ transition-delay: 0.02s; }
  .tsol .cascade span:nth-child(2){ transition-delay: 0.08s; }
  .tsol .cascade span:nth-child(3){ transition-delay: 0.14s; }
  .tsol .cascade span:nth-child(4){ transition-delay: 0.20s; }
  .tsol .cascade span:nth-child(5){ transition-delay: 0.26s; }
  .tsol .cascade span:nth-child(6){ transition-delay: 0.32s; }
  .tsol .cascade span:nth-child(7){ transition-delay: 0.38s; }

  /* Buttons */
  .tsol .btn{
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 14px; font-weight: 500;
    letter-spacing: -0.005em;
    border: 1px solid var(--ink);
    background: var(--ink); color: var(--white);
    cursor: pointer; text-decoration: none;
    border-radius: 999px;
    transition: transform 0.35s var(--e-out), background 0.25s ease;
  }
  .tsol .btn:hover{ transform: translateY(-1px); background: var(--ink-3); }
  .tsol .btn .arrow{
    width: 14px; height: 14px;
    transition: transform 0.3s var(--e-out);
  }
  .tsol .btn:hover .arrow{ transform: translate(3px, -3px); }
  .tsol .btn.ghost{
    background: transparent; color: var(--ink); border-color: var(--line);
  }
  .tsol .btn.ghost:hover{ background: var(--white); border-color: var(--ink); }

  /* =============== HERO =============== */
  .tsol .hero{
    min-height: calc(100vh - 76px);
    padding: calc(76px + 60px) 0 60px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    position: relative;
    overflow: hidden;
  }

  .tsol .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
  }
  .tsol .brand{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .tsol .brand-mark{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    background: var(--ink);
    color: var(--white);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
  }
  .tsol .top-nav{
    display: flex; gap: 28px;
    font-size: 13px; color: var(--mute);
  }
  .tsol .top-nav a{
    color: inherit; text-decoration: none;
    transition: color 0.2s ease;
  }
  .tsol .top-nav a:hover{ color: var(--ink); }

  /* Hero grid */
  .tsol .hero-grid{
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: center;
    padding: 20px 0 20px;
  }
  .tsol .hero-left{ max-width: 560px; width: 100%; min-width: 0; }

  .tsol .hero-eyebrow{ margin-bottom: 36px; }

  .tsol .hero-h{
    font-size: clamp(44px, 5.6vw, 80px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
    color: var(--ink);
  }
  .tsol .hero-h .built{
    display: block;
    font-size: 0.28em;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
    margin-bottom: 18px;
  }
  .tsol .hero-rotator{
    display: block;
    line-height: 1.05;
    height: 1em;
    position: relative;
    overflow: visible;
    white-space: nowrap;
  }
  .tsol .rotator-word{
    display: inline-block;
    position: relative;
    color: var(--ink);
  }
  .tsol .tw-char{
    display: inline-block;
    animation: twChar 0.35s ease forwards;
    will-change: opacity, filter;
  }
  .tsol .tw-char.space{
    width: 0.3em;
  }
  @keyframes twChar {
    from { opacity: 0; filter: blur(6px); }
    to   { opacity: 1; filter: blur(0); }
  }
  .tsol .caret{
    display: inline-block;
    width: 4px;
    height: 0.8em;
    background: var(--teal);
    margin-left: 10px;
    vertical-align: -0.05em;
    animation: blink 1s steps(2, end) infinite;
  }
  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }

  .tsol .hero-teams{
    display: block;
    font-size: 0.38em;
    font-weight: 500;
    margin-top: 20px;
    color: var(--ink);
    letter-spacing: -0.02em;
  }

  .tsol .hero-lede{
    font-size: 16px;
    line-height: 1.55;
    color: var(--mute);
    max-width: 440px;
    margin: 36px 0 36px;
  }

  .tsol .hero-ctas{ display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

  .tsol .rot-progress{
    display: flex;
    gap: 6px;
    margin-top: 48px;
    align-items: center;
  }
  .tsol .rot-progress .rot-dot{
    width: 16px;
    height: 2px;
    background: var(--line);
    transition: background 0.3s ease, width 0.4s var(--e-out);
    border-radius: 2px;
  }
  .tsol .rot-progress .rot-dot.active{
    background: var(--ink);
    width: 28px;
  }

  /* =============== DASHBOARD MOCKUP =============== */
  .tsol .hero-right{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
  }

  .tsol .dash{
    width: 100%;
    max-width: 720px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -30px rgba(10,10,10,0.18),
                0 6px 16px -6px rgba(10,10,10,0.06);
    display: grid;
    grid-template-columns:152px minmax(0,1fr);
    overflow: hidden;
    min-height: 520px;
    position: relative;
  }

  /* Sidebar */
  .tsol .dash-side{
    background: var(--ink);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--white);
    position: relative;
  }
  .tsol .dash-brand{
    display: flex; align-items: center; gap: 10px;
    padding: 8px 6px;
    margin-bottom: 6px;
  }
  .tsol .dash-brand-mark{
    width: 28px; height: 28px;
    background: var(--white);
    color: var(--ink);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
  }
  .tsol .dash-brand-txt{
    display: flex; flex-direction: column;
    line-height: 1.15;
  }
  .tsol .dash-brand-name{
    font-size: 12px; font-weight: 700;
    letter-spacing: -0.01em;
  }
  .tsol .dash-brand-sub{
    font-size: 9px; color: var(--mute-2);
    letter-spacing: 0.02em;
  }

  .tsol .dash-ws{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px;
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 4px;
  }
  .tsol .dash-ws:hover{ background: rgba(255,255,255,0.06); }
  .tsol .dash-ws-mark{
    width: 24px; height: 24px;
    background: var(--white);
    color: var(--ink);
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800;
    flex-shrink: 0;
  }
  .tsol .dash-ws-txt{
    flex: 1; min-width: 0;
    line-height: 1.15;
  }
  .tsol .dash-ws-name{
    font-size: 11px; font-weight: 600; color: var(--white);
    letter-spacing: -0.005em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .tsol .dash-ws-sub{
    font-size: 8.5px; color: var(--mute-2);
  }
  .tsol .dash-ws-caret{
    color: var(--mute-2);
    font-size: 8px;
  }

  /* Workspace dropdown */
  .tsol .dash-ws-drop{
    background: var(--ink-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 6px;
    margin: 4px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .tsol .dash-ws-drop-h{
    font-size: 8.5px;
    color: var(--mute-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 6px 6px;
  }
  .tsol .dash-ws-item{
    display: flex; align-items: center; gap: 8px;
    padding: 6px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .tsol .dash-ws-item:hover{ background: rgba(255,255,255,0.04); }
  .tsol .dash-ws-item.on{ background: rgba(255,255,255,0.06); }
  .tsol .dash-ws-item-mark{
    width: 20px; height: 20px;
    background: var(--white);
    color: var(--ink);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 800;
    flex-shrink: 0;
    opacity: 0.65;
  }
  .tsol .dash-ws-item.on .dash-ws-item-mark{
    opacity: 1;
  }
  .tsol .dash-ws-item-txt{
    line-height: 1.15; flex: 1;
  }
  .tsol .dash-ws-item-name{
    font-size: 10px; font-weight: 600; color: var(--white);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 76px;
  }
  .tsol .dash-ws-item-sub{
    font-size: 8.5px; color: var(--mute-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 76px;
  }
  .tsol .dash-ws-item-dot{
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--teal);
    opacity: 0;
  }
  .tsol .dash-ws-item.on .dash-ws-item-dot{ opacity: 1; }

  .tsol .dash-nav{
    display: flex; flex-direction: column; gap: 1px;
    margin-top: 2px;
  }
  .tsol .dash-nav-item{
    display: flex; align-items: center; gap: 8px;
    padding: 7px 8px;
    font-size: 11px;
    color: var(--mute-2);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
  }
  .tsol .dash-nav-item:hover{ color: var(--white); background: rgba(255,255,255,0.03); }
  .tsol .dash-nav-item.on{
    color: var(--white);
    background: rgba(255,255,255,0.06);
    font-weight: 500;
  }
  .tsol .dash-nav-item svg{
    width: 12px; height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
  }
  .tsol .dash-nav-item .end-dot{
    margin-left: auto;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--white);
    opacity: 0;
  }
  .tsol .dash-nav-item.on .end-dot{ opacity: 0.6; }

  .tsol .dash-user{
    margin-top: auto;
    padding-top: 12px;
    display: flex; align-items: center; gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 12px 8px 4px;
  }
  .tsol .dash-user-avt{
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
  }
  .tsol .dash-user-txt{ flex: 1; min-width: 0; line-height: 1.15; }
  .tsol .dash-user-name{
    font-size: 10.5px; font-weight: 600; color: var(--white);
  }
  .tsol .dash-user-mail{
    font-size: 8.5px; color: var(--mute-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .tsol .dash-user-status{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal);
  }

  /* Main area */
  .tsol .dash-main{
    padding: 18px 20px 20px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }

  .tsol .dash-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 2px;
  }
  .tsol .dash-head-l{}
  .tsol .dash-title{
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: flex; align-items: baseline; gap: 8px;
  }
  .tsol .dash-title .dept-tag{
    font-size: 10px;
    font-weight: 600;
    color: var(--mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.4s ease;
  }
  .tsol .dash-title .dept-tag.flash{
    color: var(--teal);
  }
  .tsol .dash-subtitle{
    font-size: 10px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }
  .tsol .dash-head-r{
    display: flex; align-items: center; gap: 8px;
  }
  .tsol .dash-tabs{
    display: flex;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
  }
  .tsol .dash-tab{
    padding: 5px 10px;
    font-size: 10px;
    color: var(--mute);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    letter-spacing: -0.005em;
  }
  .tsol .dash-tab.on{
    background: var(--ink);
    color: var(--white);
  }
  .tsol .dash-action{
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
    letter-spacing: -0.005em;
    transition: background 0.2s ease;
  }
  .tsol .dash-action:hover{ background: var(--ink-3); }

  /* Stats */
  .tsol .dash-stats{
    display: grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap: 8px;
  }
  .tsol .dash-stat{
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    position: relative;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .tsol .dash-stat.blue{
    background: var(--blue-wash);
    border-color: rgba(37,99,255,0.15);
  }
  .tsol .dash-stat.blue .dash-stat-value{ color: var(--blue-ink); }
  .tsol .dash-stat.teal{
    background: var(--teal);
    border-color: var(--teal);
  }
  .tsol .dash-stat.teal .dash-stat-label{ color: rgba(10,10,10,0.7); }
  .tsol .dash-stat.teal .dash-stat-value{ color: var(--ink); }
  .tsol .dash-stat.teal .dash-stat-icon{
    background: rgba(10,10,10,0.12);
    color: var(--ink);
  }

  .tsol .dash-stat-top{
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 6px;
  }
  .tsol .dash-stat-label{
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mute);
    font-weight: 600;
    line-height: 1.3;
  }
  .tsol .dash-stat-icon{
    width: 20px; height: 20px;
    background: var(--wash);
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--ink);
  }
  .tsol .dash-stat-icon svg{ width: 11px; height: 11px; }
  .tsol .dash-stat.blue .dash-stat-icon{
    background: rgba(37,99,255,0.08);
    color: var(--blue-ink);
  }
  .tsol .dash-stat-value{
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    transition: opacity 0.3s ease;
  }
  .tsol .dash-stat-value.small{ font-size: 20px; }

  /* Charts row */
  .tsol .dash-charts{
    display: grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap: 8px;
  }
  .tsol .dash-chart{
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
  }
  .tsol .dash-chart-title{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .tsol .dash-chart-sub{
    font-size: 9.5px;
    color: var(--mute);
    margin-top: 2px;
    margin-bottom: 14px;
  }

  /* Bar chart */
  .tsol .dash-bars{
    display: flex;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
    padding: 8px 0 0;
    position: relative;
  }
  .tsol .dash-bar{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .tsol .dash-bar-col{
    width: 100%;
    max-width: 22px;
    background: var(--ink);
    border-radius: 3px 3px 0 0;
    transition: height 0.7s var(--e-out);
    height: 0%;
  }
  .tsol .dash-bar-lbl{
    font-size: 8px;
    color: var(--mute);
    letter-spacing: -0.005em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Horizontal bars */
  .tsol .dash-hbars{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 4px 0;
  }
  .tsol .dash-hbar{
    display: grid;
    grid-template-columns:60px minmax(0,1fr);
    align-items: center;
    gap: 8px;
    font-size: 9px;
  }
  .tsol .dash-hbar-lbl{
    color: var(--mute);
    text-align: right;
    font-size: 9px;
    letter-spacing: -0.005em;
  }
  .tsol .dash-hbar-track{
    height: 10px;
    background: transparent;
    border-radius: 3px;
    position: relative;
  }
  .tsol .dash-hbar-fill{
    height: 100%;
    background: var(--ink);
    border-radius: 3px;
    transition: width 0.7s var(--e-out);
    width: 0%;
  }

  /* Overlay hint */
  .tsol .dash-hint{
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
    background: var(--paper);
    padding: 0 12px;
    white-space: nowrap;
  }
  .tsol .dash-hint::before,.tsol .dash-hint::after{
    content: '';
    width: 24px; height: 1px;
    background: var(--line);
  }

  /* Marquee */
  .tsol .marquee{
    margin-top: 40px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }
  .tsol .marquee-track{
    display: flex;
    gap: 60px;
    animation: tsol-marquee 40s linear infinite;
    width: max-content;
  }
  .tsol .marquee-item{
    font-size: 13px;
    font-weight: 500;
    color: var(--mute);
    letter-spacing: -0.005em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 60px;
  }
  .tsol .marquee-item::after{
    content: '';
    width: 4px; height: 4px;
    background: var(--mute-2);
    border-radius: 50%;
    display: inline-block;
  }
  @keyframes tsol-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* =============== SECTIONS common =============== */
  .tsol section{ padding: 110px 0; position: relative; }
  .tsol .section-head{
    display: grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
    gap: 80px;
    margin-bottom: 64px;
    align-items: end;
  }
  .tsol .section-index{
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .tsol .section-h{
    font-size: clamp(36px, 4.4vw, 60px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--ink);
  }
  .tsol .section-sub{
    font-size: 17px;
    color: var(--mute);
    line-height: 1.55;
    max-width: 480px;
    padding-bottom: 10px;
  }

  /* =============== DEPARTMENTS =============== */
  .tsol .dept-grid{
    display: grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .tsol .dept{
    padding: 42px 36px 46px;
    background: var(--paper);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: background 0.4s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  .tsol .dept::before{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
  }
  .tsol .dept:hover::before{ opacity: 1; }
  .tsol .dept:hover .dept-name{ transform: translateX(4px); }
  .tsol .dept:hover .dept-arrow{ transform: translate(4px, -4px); opacity: 1; }
  .tsol .dept > *{ position: relative; z-index: 1; }

  .tsol .dept-top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .tsol .dept-num{
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.06em;
  }
  .tsol .dept-arrow{
    width: 20px; height: 20px;
    opacity: 0.3;
    transition: transform 0.4s var(--e-out), opacity 0.3s ease;
  }
  .tsol .dept-name{
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 14px;
    transition: transform 0.4s var(--e-out);
  }
  .tsol .dept-desc{
    font-size: 14px;
    color: var(--mute);
    line-height: 1.55;
  }
  .tsol .dept-viz{
    margin-top: 32px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 34px;
  }
  .tsol .dept-viz .b{
    flex: 1;
    background: var(--ink);
    border-radius: 2px 2px 0 0;
    transition: transform 0.5s var(--e-out);
    transform-origin: bottom;
  }
  .tsol .dept:hover .dept-viz .b{ transform: scaleY(1.15); }
  .tsol .dept:hover .dept-viz .b:nth-child(even){ transform: scaleY(0.9); }

  /* =============== WITHOUT / WITH =============== */
  .tsol .compare{
    background: var(--ink);
    color: var(--white);
    padding: 110px 0;
  }
  .tsol .compare .section-h{ color: var(--white); }
  .tsol .compare .section-index{ color: var(--mute-2); }
  .tsol .compare .section-sub{ color: var(--mute-2); }

  .tsol .compare-grid{
    display: grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .tsol .col{
    padding: 48px 44px 60px;
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
  }
  .tsol .col:last-child{ border-right: none; background: rgba(20,211,176,0.02); }
  .tsol .col-tag{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute-2);
    margin-bottom: 12px;
  }
  .tsol .col:last-child .col-tag{ color: var(--teal); }
  .tsol .col-h{
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    color: var(--white);
  }
  .tsol .col-list{ list-style: none; display: flex; flex-direction: column; gap: 20px; }
  .tsol .col-list li{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .tsol .col-list li::before{
    content: '';
    width: 18px;
    height: 1px;
    background: var(--mute-2);
    flex-shrink: 0;
  }
  .tsol .col:first-child .col-list li{
    color: var(--mute-2);
    position: relative;
    text-decoration: line-through;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.8s var(--e-out) 0.2s;
  }
  .tsol .col:first-child.in .col-list li{
    text-decoration-color: rgba(255,255,255,0.35);
  }
  .tsol .col:first-child .col-list li:nth-child(1){ transition-delay: 0.1s; }
  .tsol .col:first-child .col-list li:nth-child(2){ transition-delay: 0.25s; }
  .tsol .col:first-child .col-list li:nth-child(3){ transition-delay: 0.4s; }
  .tsol .col:first-child .col-list li:nth-child(4){ transition-delay: 0.55s; }
  .tsol .col:first-child .col-list li:nth-child(5){ transition-delay: 0.7s; }

  .tsol .col:last-child .col-list li::before{
    background: var(--teal);
    width: 24px;
    height: 2px;
  }

  /* =============== INDUSTRIES =============== */
  .tsol .industries{ padding: 110px 0; }
  .tsol .ind-grid{
    display: grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap: 20px;
  }
  .tsol .ind{
    aspect-ratio: 1 / 1.15;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--e-out), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .tsol .ind:hover{
    transform: translateY(-6px);
    border-color: var(--ink);
  }
  .tsol .ind::after{
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 60%;
    background: radial-gradient(circle at top right, var(--teal-wash), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .tsol .ind:hover::after{ opacity: 1; }

  .tsol .ind-num{
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.08em;
    align-self: flex-start;
  }
  .tsol .ind-body{
    z-index: 1;
    position: relative;
  }
  .tsol .ind-name{
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 12px;
  }
  .tsol .ind-desc{
    font-size: 14px;
    color: var(--mute);
    line-height: 1.55;
    max-width: 240px;
  }
  .tsol .ind-plus{
    align-self: flex-end;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--e-out);
  }
  .tsol .ind:hover .ind-plus{
    background: var(--ink);
    color: var(--white);
    transform: rotate(90deg);
  }

  /* =============== TEAMIAN AI =============== */
  .tsol .ai{
    background: var(--ink);
    color: var(--white);
    padding: 110px 0;
    overflow: hidden;
  }
  .tsol .ai .section-h{ color: var(--white); }
  .tsol .ai .section-index{ color: var(--mute-2); }
  .tsol .ai .section-sub{ color: var(--mute-2); }

  .tsol .ai-grid{
    display: grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap: 80px;
    align-items: center;
    margin-top: 40px;
  }
  .tsol .ai-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .tsol .ai-list li{
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns:40px minmax(0,1fr);
    gap: 20px;
    align-items: center;
    font-size: 17px;
    color: var(--white);
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: padding-left 0.3s ease;
  }
  .tsol .ai-list li:hover{ padding-left: 8px; }
  .tsol .ai-list li .ai-idx{
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mute-2);
    letter-spacing: 0.08em;
  }

  .tsol .assistant{
    background: var(--ink-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 28px;
    position: relative;
  }
  .tsol .as-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .tsol .as-title{
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--white);
  }
  .tsol .as-title .avt{
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), rgba(20,211,176,0.4));
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--ink);
  }
  .tsol .as-status{
    font-size: 11px; color: var(--teal); font-weight: 500;
    display: flex; align-items: center; gap: 6px;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .tsol .as-status::before{
    content: ''; width: 6px; height: 6px;
    background: var(--teal); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }

  .tsol .as-body{
    padding: 24px 0 20px;
    min-height: 100px;
  }
  .tsol .as-msg{
    font-size: 14px;
    color: var(--white);
    line-height: 1.55;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out);
  }
  .tsol .as-msg.show{ opacity: 1; transform: none; }
  .tsol .as-msg .from{
    font-size: 10px;
    color: var(--mute-2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
  }

  .tsol .as-stats{
    display: grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .tsol .as-stat{
    background: rgba(255,255,255,0.03);
    padding: 14px;
    border-radius: 10px;
  }
  .tsol .as-stat .kv{
    font-size: 18px; font-weight: 700; color: var(--white);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
  }
  .tsol .as-stat .kl{
    font-size: 10px; color: var(--mute-2);
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-top: 4px;
  }
  .tsol .as-suggest{
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(20,211,176,0.06);
    border-left: 2px solid var(--teal);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--white);
    line-height: 1.55;
  }
  .tsol .as-suggest .lbl{
    font-size: 10px;
    color: var(--teal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
  }

  /* =============== OUTCOMES =============== */
  .tsol .outcomes{ padding: 110px 0; }
  .tsol .out-grid{
    display: grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .tsol .out{
    padding: 60px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .tsol .out:last-child{ border-right: none; }
  .tsol .out-num{
    font-size: clamp(72px, 8vw, 116px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
  }
  .tsol .out-num .suffix{
    font-size: 0.4em;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--mute);
    margin-left: 4px;
  }
  .tsol .out-label{
    font-size: 13px;
    color: var(--mute);
    margin-top: 24px;
    letter-spacing: -0.005em;
    max-width: 160px;
    line-height: 1.4;
  }

  /* =============== JOURNEY =============== */
  .tsol .journey{
    background: var(--ink);
    color: var(--white);
    padding: 140px 0;
    overflow: hidden;
  }
  .tsol .journey .section-h{ color: var(--white); }
  .tsol .journey .section-index{ color: var(--mute-2); }
  .tsol .journey .section-sub{ color: var(--mute-2); }

  .tsol .journey-track{
    position: relative;
    display: grid;
    grid-template-columns:repeat(7, minmax(0,1fr));
    gap: 20px;
    margin-top: 80px;
    padding: 40px 0;
  }
  .tsol .journey-line{
    position: absolute;
    left: 5%;
    right: 5%;
    top: 50%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 2s var(--e-out);
  }
  .tsol .journey.in .journey-line{ transform: scaleX(1); }
  .tsol .stop{
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .tsol .stop-dot{
    width: 12px;
    height: 12px;
    background: var(--ink);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s var(--e-out);
  }
  .tsol .stop:hover .stop-dot{
    background: var(--teal);
    border-color: var(--teal);
    transform: scale(1.4);
  }
  .tsol .stop-num{
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--mute-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .tsol .stop-name{
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
  }

  /* =============== CTA =============== */
  .tsol .cta{
    padding: 120px 0;
    text-align: center;
    background: var(--paper);
  }
  .tsol .cta-h{
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.98;
    max-width: 900px;
    margin: 0 auto 32px;
  }
  .tsol .cta-h .accent{
    color: var(--mute);
    font-weight: 300;
  }
  .tsol .cta-sub{
    font-size: 18px;
    color: var(--mute);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.55;
  }

  /* =============== FLOATING PILL =============== */
  .tsol .float-pill{
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--ink);
    color: var(--white);
    padding: 12px 8px 12px 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    box-shadow: 0 20px 40px -20px rgba(10,10,10,0.4);
    z-index: 50;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s var(--e-out);
  }
  .tsol .float-pill.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .tsol .float-pill:hover .fp-arrow{ transform: translate(3px, -3px); }
  .tsol .float-pill .fp-badge{
    background: var(--teal);
    color: var(--ink);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 13px;
  }
  .tsol .float-pill .fp-arrow{
    transition: transform 0.3s var(--e-out);
  }

  /* =============== MODAL =============== */
  .tsol .backdrop{
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
  }
  .tsol .backdrop.open{ opacity: 1; pointer-events: auto; }

  .tsol .modal{
    background: var(--paper);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 44px;
    position: relative;
    transform: scale(0.94) translateY(24px);
    transition: transform 0.5s var(--e-out);
    box-shadow: 0 60px 120px -40px rgba(0,0,0,0.5);
  }
  .tsol .backdrop.open .modal{ transform: scale(1) translateY(0); }

  .tsol .modal-close{
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--ink);
    transition: background 0.25s ease, transform 0.3s var(--e-out);
  }
  .tsol .modal-close:hover{ background: var(--ink); color: var(--white); transform: rotate(90deg); }

  .tsol .modal-eyebrow{
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .tsol .modal-eyebrow .dt{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal);
  }
  .tsol .modal-h{
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 8px;
  }
  .tsol .modal-sub{
    font-size: 14px;
    color: var(--mute);
    margin-bottom: 32px;
    line-height: 1.55;
  }

  .tsol .field{ margin-bottom: 22px; }
  .tsol .field label{
    display: block;
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .tsol .field input,.tsol .field textarea{
    width: 100%;
    padding: 14px 0;
    border: none;
    background: transparent;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.3s ease;
    outline: none;
    resize: none;
  }
  .tsol .field input:focus,.tsol .field textarea:focus{
    border-color: var(--ink);
  }
  .tsol .field input::placeholder,.tsol .field textarea::placeholder{
    color: var(--mute-2);
  }

  .tsol .chips{ display: flex; flex-wrap: wrap; gap: 8px; }
  .tsol .chip{
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-body);
  }
  .tsol .chip:hover{ border-color: var(--ink); }
  .tsol .chip.on{
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
  }

  .tsol .modal-submit{
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
    font-size: 15px;
  }

  .tsol .end{
    padding: 40px 0 60px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--mute);
  }
  .tsol .end .brand{ font-size: 13px; color: var(--ink); }

  /* =============== RESPONSIVE =============== */
  @media (max-width: 1100px) {
    .tsol .hero-grid{ grid-template-columns:minmax(0,1fr); gap: 60px; }
    .tsol .hero-right{ padding-left: 0; justify-content: flex-start; }
    .tsol .dash{ transform: none; max-width: 100%; }
  }
  @media (max-width: 720px) {
    .tsol .wrap{ padding: 0 24px; }
    .tsol .top-nav{ display: none; }
    .tsol .dash{ grid-template-columns:minmax(0,1fr); }
    .tsol .dash-side{ display: none; }
    .tsol .dash-charts{ grid-template-columns:minmax(0,1fr); }
    .tsol .dash-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .tsol .section-head{ grid-template-columns:minmax(0,1fr); gap: 30px; }
    .tsol .dept-grid{ grid-template-columns:minmax(0,1fr); }
    .tsol .compare-grid{ grid-template-columns:minmax(0,1fr); }
    .tsol .col:last-child{ border-top: 1px solid rgba(255,255,255,0.08); }
    .tsol .ind-grid{ grid-template-columns:minmax(0,1fr); }
    .tsol .ai-grid{ grid-template-columns:minmax(0,1fr); gap: 40px; }
    .tsol .out-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .tsol .out{ padding: 40px 24px; }
    .tsol .journey-track{ grid-template-columns:repeat(2, minmax(0,1fr)); gap: 30px; }
    .tsol .journey-line{ display: none; }
    .tsol section{ padding: 80px 0; }
    .tsol .modal{ padding: 32px 24px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .tsol *,.tsol *::before,.tsol *::after{
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }
