/* =========================================================================
   TapTap theme over the shared system: deep violet, Plus Jakarta Sans,
   outlined chapter numerals, banded sections and card-style decisions.
   Keeps the shared hero and sidebar navigation.
   ========================================================================= */

body{background:#0a0612}
.case-study.tt-theme{
  --bg:#0a0612;--s1:#120b1f;--s2:#170f28;--s3:#1e1433;--s4:#291c45;
  --line:rgba(196,163,255,.10);--line-2:rgba(196,163,255,.18);
  --ink:#f7f3ff;--ink-2:#ddd2f2;--body:#a094b8;--mute:#6f6388;--dim:#2d2244;
  --sun:#8b3dff;--sun-2:#c4a3ff;--sun-glow:rgba(139,61,255,.24);
  font-family:"Plus Jakarta Sans","IBM Plex Sans",system-ui,sans-serif;
  background:
    radial-gradient(55% 38% at 82% 0%,rgba(139,61,255,.20),transparent 70%),
    radial-gradient(40% 30% at 0% 30%,rgba(122,24,214,.10),transparent 70%),
    #0a0612;
}
.tt-theme .cs-label,.tt-theme .cs-cap,.tt-theme .cs-sk,.tt-theme .tt-tag{font-family:"JetBrains Mono","IBM Plex Mono",monospace}
.site-header .in{font-family:"Plus Jakarta Sans",sans-serif}
.tt-theme .cs-toc a[aria-current="true"]{border-left-color:var(--sun)}

/* title with the real logo */
.tt-theme .cs-title img.tt-logo{height:.86em;width:auto}

/* chapter headers: outlined numeral */
.tt-theme .cs-section{position:relative;padding-top:24px}
.tt-theme .cs-section:nth-of-type(even):before{content:"";position:absolute;inset:-24px -100vmax 0;z-index:-1;background:linear-gradient(180deg,rgba(23,15,40,.6),rgba(23,15,40,0) 70%);border-top:1px solid var(--line)}
.tt-theme .cs-sk{display:flex;align-items:center;gap:14px;font-size:11px;letter-spacing:.14em;color:var(--sun-2);margin:0 0 18px}
.tt-theme .cs-sk:before{content:attr(data-n);font-family:"Plus Jakarta Sans",sans-serif;font-size:76px;font-weight:800;letter-spacing:-.05em;line-height:.8;color:transparent;-webkit-text-stroke:1.5px rgba(196,163,255,.45)}
.tt-theme .cs-h2{font-weight:800;letter-spacing:-.035em;line-height:1.08}
.tt-theme .cs-h2 .w{color:#2a2040}
.tt-theme .cs-h2 .w.is-lit{color:var(--ink)}
.tt-theme .cs-p strong{color:#fff;background:linear-gradient(transparent 62%,rgba(139,61,255,.4) 62%)}
.tt-theme .cs-panel{border-color:var(--line-2);border-radius:24px;background:linear-gradient(180deg,rgba(23,15,40,.92),rgba(14,9,25,.92))}

/* decision cards */
.tt-theme .cs-call{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:none;padding:0;border:0;background:none;margin-top:32px}
.tt-theme .cs-call dt{display:none}
.tt-theme .cs-call dd{margin:0;padding:22px 24px;border-radius:18px;border:1px solid var(--line-2);background:var(--s1);font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.tt-theme .cs-call dd:before{display:block;margin-bottom:8px;font-family:"JetBrains Mono",monospace;font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.tt-theme .cs-call dd:nth-of-type(1){border-color:rgba(139,61,255,.5);background:linear-gradient(160deg,rgba(139,61,255,.18),rgba(18,11,31,.9) 60%)}
.tt-theme .cs-call dd:nth-of-type(1):before{content:"Decision";color:var(--sun-2)}
.tt-theme .cs-call dd:nth-of-type(2):before{content:"Trade-off";color:#ffb648}

.tt-theme .cs-owner{border-radius:20px;border-color:var(--line-2);background:var(--s1)}
.tt-theme .cs-thesis{border:0;padding:40px 0 0;background:none}
.tt-theme .cs-thesis p{font-size:clamp(23px,2.6vw,32px);font-weight:700;letter-spacing:-.025em;line-height:1.25}
.tt-theme .cs-thesis em{font-style:normal;background:linear-gradient(100deg,#c4a3ff,#8b3dff);-webkit-background-clip:text;background-clip:text;color:transparent}
.tt-theme .cs-stats strong{background:linear-gradient(180deg,#fff,#c4a3ff);-webkit-background-clip:text;background-clip:text;color:transparent}

@media (max-width:860px){
  .tt-theme .cs-sk:before{font-size:52px}
  .tt-theme .cs-call{grid-template-columns:1fr}
}
