
    :root {
      color-scheme: dark;
      --bg: #070a12;
      --panel: rgba(255, 255, 255, 0.07);
      --panel-strong: rgba(255, 255, 255, 0.11);
      --line: rgba(255, 255, 255, 0.13);
      --text: #f7f8fb;
      --muted: #aeb7c8;
      --soft: #758096;
      --blue: #74a8ff;
      --cyan: #63e4ff;
      --violet: #a78bfa;
      --orange: #ff9e64;
      --rose: #ff6f9f;
      --green: #7df0be;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
      --radius: 22px;
      --max: 1160px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-width: 320px;
      background:
        radial-gradient(circle at 12% 8%, rgba(116, 168, 255, 0.26), transparent 28rem),
        radial-gradient(circle at 86% 16%, rgba(167, 139, 250, 0.21), transparent 26rem),
        radial-gradient(circle at 55% 58%, rgba(99, 228, 255, 0.12), transparent 28rem),
        var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      letter-spacing: 0;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(to bottom, black, transparent 78%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(7, 10, 18, 0.2), rgba(7, 10, 18, 0.9) 82%);
    }

    .tech-field {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      opacity: 0.72;
    }

    header,
    main,
    footer {
      position: relative;
      z-index: 1;
    }

    .tech-field span {
      position: absolute;
      width: 2px;
      height: 2px;
      border-radius: 999px;
      background: rgba(160, 210, 255, 0.78);
      box-shadow:
        0 0 14px rgba(99, 228, 255, 0.74),
        34px 18px 0 rgba(167, 139, 250, 0.34),
        74px -10px 0 rgba(125, 240, 190, 0.24);
      animation: pixel-run 10s linear infinite;
    }

    .tech-field span:nth-child(1) { left: 8%; top: 18%; animation-duration: 13s; animation-delay: -2s; }
    .tech-field span:nth-child(2) { left: 22%; top: 38%; animation-duration: 16s; animation-delay: -6s; }
    .tech-field span:nth-child(3) { left: 42%; top: 12%; animation-duration: 12s; animation-delay: -3s; }
    .tech-field span:nth-child(4) { left: 58%; top: 30%; animation-duration: 18s; animation-delay: -8s; }
    .tech-field span:nth-child(5) { left: 76%; top: 20%; animation-duration: 15s; animation-delay: -5s; }
    .tech-field span:nth-child(6) { left: 86%; top: 50%; animation-duration: 19s; animation-delay: -9s; }
    .tech-field span:nth-child(7) { left: 14%; top: 72%; animation-duration: 17s; animation-delay: -4s; }
    .tech-field span:nth-child(8) { left: 66%; top: 74%; animation-duration: 14s; animation-delay: -7s; }

    @keyframes pixel-run {
      0% {
        transform: translate3d(-12vw, 0, 0) scale(0.75);
        opacity: 0;
      }
      12% {
        opacity: 0.76;
      }
      78% {
        opacity: 0.5;
      }
      100% {
        transform: translate3d(34vw, -24vh, 0) scale(1.2);
        opacity: 0;
      }
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .shell {
      width: min(100% - 32px, var(--max));
      margin-inline: auto;
    }

    .skip {
      position: absolute;
      left: 16px;
      top: -80px;
      z-index: 20;
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--text);
      color: var(--bg);
      transition: top 0.2s ease;
    }

    .skip:focus {
      top: 16px;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(7, 10, 18, 0.7);
      backdrop-filter: blur(20px);
    }

    .nav-inner {
      display: flex;
      min-height: 68px;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 720;
      letter-spacing: -0.02em;
    }

    .brand-mark {
      display: grid;
      /* width: 34px; */
      height: 66px;
      place-items: center;
      /* border: 1px solid var(--line); */
      /* border-radius: 12px; */
      /* background: linear-gradient(135deg, rgba(116, 168, 255, 0.22), rgba(167, 139, 250, 0.16)); */
      /* box-shadow: inset 0 1px rgba(255, 255, 255, 0.18); */
      color: var(--cyan);
      font-size: 14px;
    }

    .brand-mark svg {
      width: 70%;
      height: 70%;
      display: block;
    }

    .nav-links {
      display: none;
      align-items: center;
      gap: 6px;
      color: var(--muted);
      font-size: 14px;
    }

    .nav-links a {
      padding: 8px 10px;
      border-radius: 999px;
    }

    .nav-links a:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text);
    }

    .nav-cta {
      display: inline-flex;
      min-height: 38px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 999px;
      padding: 8px 14px;
      background: rgba(255, 255, 255, 0.08);
      color: var(--text);
      font-size: 14px;
      font-weight: 650;
    }

    .hero {
      min-height: calc(100vh - 68px);
      padding: 44px 0 22px;
    }

    .hero-grid {
      display: grid;
      gap: 20px;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      padding: 7px 11px;
      background: rgba(255, 255, 255, 0.06);
      color: #dfe6f7;
      font-size: 13px;
      font-weight: 620;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    }

    .pulse {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--green);
      box-shadow: 0 0 0 6px rgba(125, 240, 190, 0.12);
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 780px;
      margin-bottom: 14px;
      font-size: clamp(34px, 8.2vw, 58px);
      line-height: 1.1;
      letter-spacing: -0.05em;
    }

    .gradient-text {
      background: linear-gradient(100deg, var(--text), var(--cyan) 35%, var(--violet) 68%, var(--rose));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-copy {
      max-width: 700px;
      color: var(--muted);
      font-size: clamp(16px, 2.5vw, 19px);
      line-height: 1.5;
    }

    .hero-actions,
    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }

    .button {
      display: inline-flex;
      min-height: 46px;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 720;
      letter-spacing: -0.01em;
      transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button.primary {
      background: linear-gradient(135deg, #f8fbff, #c8d8ff);
      color: #07101f;
      box-shadow: 0 18px 50px rgba(116, 168, 255, 0.25);
    }

    .button.secondary {
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.06);
      color: var(--text);
    }

    .button.primary:hover {
      box-shadow: 0 24px 70px rgba(116, 168, 255, 0.32);
    }

    .button.whatsapp {
      background: #25d366;
      color: #07101f;
      border-color: transparent;
    }

    .button.whatsapp:hover {
      background: #1fb954;
      color: #07101f;
    }

    .button.secondary:hover {
      border-color: rgba(99, 228, 255, 0.34);
      background: rgba(255, 255, 255, 0.1);
    }

    .button.scroll-top {
      position: fixed;
      right: 20px;
      bottom: 24px;
      z-index: 999;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(16, 24, 40, 0.92);
      color: #ffffff;
      text-decoration: none;
      opacity: 0;
      transform: translateY(12px);
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
      box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(10px);
    }

    .button.scroll-top svg {
      width: 32px;
      height: 32px;
      fill: currentColor;
    }

    .button.scroll-top.visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .button.scroll-top:hover {
      background: rgba(255, 255, 255, 0.14);
      color: #07101f;
      border-color: rgba(255, 255, 255, 0.3);
    }

    .button.scroll-top:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    .metric-strip {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 22px;
    }

    .metric-card,
    .glass-card,
    .project-card,
    .testimonial-card,
    .skill-card {
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.14), rgba(14, 22, 42, 0.08));
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .metric-card {
      min-height: 110px;
      border-radius: 18px;
      padding: 14px;
    }

    .metric-card:hover,
    .glass-card:hover,
    .project-card:hover,
    .testimonial-card:hover,
    .skill-card:hover {
      transform: translateY(-5px) !important;
      border-color: rgba(99, 228, 255, 0.28);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.22), rgba(18, 28, 48, 0.14));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .metric-card strong {
      display: block;
      color: var(--text);
      font-size: clamp(25px, 6.8vw, 38px);
      line-height: 1;
      letter-spacing: -0.04em;
    }

    .metric-card span {
      display: block;
      margin-top: 7px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .hero-visual {
      position: relative;
      order: 3;
      overflow: hidden;
      min-height: 380px;
      border-radius: 30px;
      padding: 16px;
      background:
        linear-gradient(135deg, rgba(103, 123, 161, 0.18), rgba(108, 97, 156, 0.08)),
        rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.13);
      box-shadow: var(--shadow);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .hero-visual:hover {
      transform: translateY(-5px) !important;
      border-color: rgba(99, 228, 255, 0.2);
      background:
        linear-gradient(135deg, rgba(103, 123, 161, 0.25), rgba(108, 97, 156, 0.12)),
        rgba(255, 255, 255, 0.06);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .dashboard {
      position: relative;
      height: 100%;
      min-height: 348px;
      overflow: hidden;
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(14, 20, 36, 0.96), rgba(10, 14, 24, 0.96)),
        #0d1322;
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .dashboard:hover {
      transform: translateY(-3px) !important;
      border-color: rgba(99, 228, 255, 0.18);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 32px rgba(99, 228, 255, 0.06);
    }

    .dashboard-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 56px;
      padding: 0 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .window-dots {
      display: flex;
      gap: 7px;
    }

    .window-dots span {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.28);
    }

    .signal {
      color: var(--green);
      font-size: 12px;
      font-weight: 760;
    }

    .dashboard-body {
      display: grid;
      gap: 14px;
      padding: 16px;
    }

    .domain-panel {
      display: grid;
      gap: 10px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      padding: 14px;
      background:
        linear-gradient(135deg, rgba(116, 168, 255, 0.11), rgba(167, 139, 250, 0.07)),
        rgba(255, 255, 255, 0.045);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .domain-panel:hover {
      transform: translateY(-4px) !important;
      border-color: rgba(99, 228, 255, 0.24);
      background:
        linear-gradient(135deg, rgba(116, 168, 255, 0.18), rgba(167, 139, 250, 0.12)),
        rgba(255, 255, 255, 0.065);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32), 0 0 32px rgba(99, 228, 255, 0.06);
    }

    .domain-panel h2 {
      margin: 0;
      font-size: 20px;
      line-height: 1.15;
      letter-spacing: -0.03em;
    }

    .domain-panel p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .domain-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .domain-chip {
      min-height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 14px;
      padding: 10px 10px;
      background: rgba(255, 255, 255, 0.055);
      color: #e7edfb;
      font-size: 12px;
      font-weight: 730;
      text-align: center;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .domain-chip:hover {
      transform: translateY(-3px) !important;
      border-color: rgba(99, 228, 255, 0.2);
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24), 0 0 24px rgba(99, 228, 255, 0.05);
    }

    .intel-map {
      position: relative;
      min-height: 155px;
      overflow: hidden;
      border-radius: 18px;
      background:
        linear-gradient(rgba(116, 168, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 168, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 35% 48%, rgba(99, 228, 255, 0.32), transparent 8rem),
        rgba(255, 255, 255, 0.05);
      background-size: 32px 32px, 32px 32px, auto, auto;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .intel-map:hover {
      transform: translateY(-4px) !important;
      border-color: rgba(99, 228, 255, 0.2);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32), 0 0 32px rgba(99, 228, 255, 0.06);
    }

    .client-band {
      grid-column: 1 / -1;
      order: 2;
      overflow: hidden;
      margin-top: 18px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.045);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(18px);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .client-band:hover {
      transform: translateY(-4px) !important;
      border-color: rgba(99, 228, 255, 0.2);
      background: rgba(255, 255, 255, 0.065);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.32), 0 0 32px rgba(99, 228, 255, 0.06);
    }

    .client-band-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 16px 0;
      color: var(--soft);
      font-size: 11px;
      font-weight: 760;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .client-track {
      display: flex;
      width: max-content;
      gap: 12px;
      padding: 13px 12px 14px;
      animation: logo-drift 30s linear infinite;
    }

    .client-band:hover .client-track {
      animation-play-state: paused;
    }

    .client-logo-link {
      display: grid;
      width: 148px;
      height: 50px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.055);
      transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    }

    .client-logo-link:hover {
      transform: translateY(-3px);
      border-color: rgba(99, 228, 255, 0.28);
      background: rgb(255, 255, 255);
    }

    .client-logo-link img {
      max-width: 112px;
      max-height: 24px;
      filter: grayscale(1) invert(1) brightness(1.6);
      opacity: 0.72;
      transition: filter 0.22s ease, opacity 0.22s ease;
    }

    .client-logo-link:hover img {
      filter: grayscale(0) invert(0) brightness(1);
      opacity: 1;
    }

    @keyframes logo-drift {
      from {
        transform: translate3d(0, 0, 0);
      }
      to {
        transform: translate3d(-50%, 0, 0);
      }
    }

    .node {
      position: absolute;
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      background: rgba(7, 10, 18, 0.74);
      color: var(--cyan);
      font-size: 12px;
      font-weight: 780;
      box-shadow: 0 0 26px rgba(99, 228, 255, 0.28);
    }

    .node.one {
      left: 18%;
      top: 22%;
       width: fit-content;
      padding: 0px 14px;
    }

    .node.two {
      right: 18%;
      top: 15%;
      color: var(--violet);
       width: fit-content;
      padding: 0px 14px;
    }

    .node.three {
      left: 25%;
      bottom: 18%;
      color: var(--green);
      padding: 0px 14px;
       width: fit-content;
    }

    .node.four {
      right: 12%;
      bottom: 16%;
      color: var(--rose);
      width: fit-content;
      padding: 0px 14px;
    }

    .node.five {
      left: 38%;
      top: 15%;
      color: var(--orange);
      width: fit-content;
      padding: 0px 14px;
    }

    .insight-list {
      display: grid;
      gap: 10px;
    }

    .insight-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.045);
    }

    .insight-row span {
      color: var(--muted);
      font-size: 13px;
    }

    .insight-row strong {
      color: var(--text);
      font-size: 14px;
    }

    section {
      padding: 64px 0;
    }

    .section-head {
      display: grid;
      gap: 14px;
      max-width: 760px;
      margin-bottom: 28px;
    }

    .section-kicker {
      color: var(--cyan);
      font-size: 13px;
      font-weight: 780;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    h2 {
      margin-bottom: 0;
      font-size: clamp(32px, 7vw, 58px);
      line-height: 1.1;
      letter-spacing: -0.045em;
    }

    .section-head p,
    .about-text,
    .timeline-copy,
    .project-copy,
    .testimonial-card p,
    .contact-copy {
      color: var(--muted);
    }

    .about-grid,
    .contact-grid {
      display: grid;
      gap: 18px;
    }

    .glass-card {
      border-radius: var(--radius);
      padding: 22px;
    }

    .about-text {
      font-size: 18px;
    }

    .focus-list {
      display: grid;
      gap: 12px;
      margin: 22px 0 0;
      padding: 0;
      list-style: none;
    }

    .focus-list li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      color: #dce3f4;
    }

    .check {
      display: grid;
      flex: 0 0 auto;
      width: 22px;
      height: 22px;
      place-items: center;
      border-radius: 999px;
      background: rgba(125, 240, 190, 0.13);
      color: var(--green);
      font-size: 13px;
      font-weight: 900;
    }

    .process-grid,
    .skills-grid,
    .testimonial-grid {
      display: grid;
      gap: 14px;
    }

    .process-step {
      position: relative;
      min-height: 170px;
    }

    .step-number {
      color: rgba(255, 255, 255, 0.28);
      font-size: 13px;
      font-weight: 780;
      letter-spacing: 0.1em;
    }

    .process-step h3,
    .skill-card h3,
    .testimonial-card h3 {
      margin: 12px 0 8px;
      font-size: 20px;
      letter-spacing: -0.02em;
    }

    .timeline {
      display: grid;
      gap: 14px;
    }

    .timeline-item {
      display: grid;
      gap: 12px;
      border-left: 1px solid rgba(255, 255, 255, 0.14);
      padding-left: 18px;
    }

    .timeline-date {
      width: fit-content;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 5px 10px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--muted);
      font-size: 12px;
      font-weight: 720;
    }

    .timeline-item h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.2;
      letter-spacing: -0.025em;
    }

    .project-grid {
      display: grid;
      gap: 50px;
    }

    .project-card {
      overflow: hidden;
      border-radius: 26px;
    }

    .project-media {
      position: relative;
      min-height: 220px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.05);
    }

    .project-media img,
    .project-media video {
      width: 100%;
      height: 100%;
      min-height: 220px;
      object-fit: fill;
      opacity: 0.86;
      filter: saturate(0.96) contrast(1.05);
      transition: transform 0.5s ease, opacity 0.3s ease, filter 0.3s ease;
    }

    .project-card:hover .project-media img,
    .project-card:hover .project-media video {
      transform: scale(1.045);
      opacity: 0.96;
      filter: saturate(1.04) contrast(1.08);
    }

    .project-media::after {
      content: "";
      position: absolute;
      inset: 0;
     
    }

    .project-body {
      padding: 22px;
    }

    .project-tags,
    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .tag {
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 6px 9px;
      background: rgba(255, 255, 255, 0.055);
      color: #dbe4f8;
      font-size: 12px;
      font-weight: 650;
    }

    .project-body h3 {
      margin: 0 0 10px;
      font-size: clamp(24px, 6vw, 38px);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .project-metrics {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 18px;
    }

    .mini-metric {
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.045);
    }

    .mini-metric strong {
      display: block;
      font-size: 22px;
      letter-spacing: -0.035em;
    }

    .mini-metric span {
      color: var(--soft);
      font-size: 12px;
    }

    .project-body .button {
      margin-top: 16px;
    }

    .skill-card,
    .testimonial-card {
      border-radius: var(--radius);
      padding: 20px;
    }

    .skill-card p {
      color: var(--muted);
    }

    .testimonial-card p {
      font-size: 17px;
    }

    .quote-mark {
      color: var(--cyan);
      font-size: 32px;
      line-height: 1;
    }

    .contact-card {
      position: relative;
      overflow: hidden;
      border-radius: 30px;
      padding: 28px;
      background:
        linear-gradient(135deg, rgba(116, 168, 255, 0.16), rgba(167, 139, 250, 0.14)),
        rgba(255, 255, 255, 0.065);
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: var(--shadow);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .contact-card:hover {
      transform: translateY(-5px) !important;
      border-color: rgba(99, 228, 255, 0.28);
      background:
        linear-gradient(135deg, rgba(116, 168, 255, 0.24), rgba(167, 139, 250, 0.2)),
        rgba(255, 255, 255, 0.09);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .contact-card h2 {
      max-width: 780px;
    }

    .contact-copy {
      max-width: 720px;
      margin-top: 16px;
      font-size: 18px;
    }

    .contact-card-content {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 24px;
      align-items: center;
    }

    .contact-frame {
      position: relative;
      width: 50%;
      max-width: 360px;
      min-height: 180px;
      overflow: hidden;
      border-radius: 56px 56px 96px 56px / 52px 64px 96px 52px;
      padding: 18px;
      margin-inline: auto;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .contact-frame:hover {
      transform: translateY(-5px) !important;
      border-color: rgba(99, 228, 255, 0.24);
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .contact-frame::before {
      content: "";
      position: absolute;
      inset: 10px;
      border-radius: 72px 72px 112px 72px / 68px 76px 120px 68px;
      background: rgba(255, 255, 255, 0.1);
      transform: translate(16px, -12px);
      filter: blur(12px);
      z-index: 0;
    }

    .contact-frame-accent {
      position: absolute;
      inset: 14px;
      transform: translate(-12px, 12px);
      border-radius: 52px 52px 96px 52px / 48px 56px 96px 48px;
      background: rgba(99, 228, 255, 0.06);
      border: 1px solid rgba(99, 228, 255, 0.12);
      box-shadow: 0 18px 40px rgba(37, 80, 171, 0.08);
      z-index: 0;
      pointer-events: none;
    }

    .contact-frame-shape {
      position: absolute;
      inset: 18px;
      border-radius: 56px 56px 112px 56px / 54px 64px 96px 54px;
      z-index: 1;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }

    .contact-frame img {
      position: relative;
      z-index: 2;
      width: 100%;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      border-radius: 44px;
    }

    /* CASE STUDY SPECTRA STYLES */

    /* Override h2 margin for case study sections */
    section h2 {
      margin-bottom: 24px;
    }

    /* HERO SECTION */
    .cs-hero {
      padding: 100px 0 80px;
      position: relative;
      overflow: visible;
    }

    .cs-hero-content {
      margin-bottom: 64px;
    }

    .cs-project-name {
      display: inline-block;
      font-size: 14px;
      font-weight: 680;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 16px;
    }

    .cs-hero h1 {
      margin-bottom: 20px;
    }

    .cs-hero-subtitle {
      max-width: 800px;
      font-size: clamp(18px, 2.5vw, 22px);
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 32px;
    }

    .cs-hero-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 64px;
    }

    .cs-hero-toc {
      max-width: 100%;
      padding: 18px 20px;
      border-radius: 14px;
      background: rgba(99, 228, 255, 0.04);
      border: 1px solid rgba(99, 228, 255, 0.1);
      margin-bottom: 48px;
    }

    .cs-hero-toc p {
      margin: 0;
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .cs-hero-toc a {
      color: inherit;
      text-decoration: underline;
    }

    .cs-info-card {
      padding: 20px;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .cs-info-card:hover {
      border-color: rgba(99, 228, 255, 0.3);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-4px) !important;
      box-shadow: 0 20px 60px rgba(99, 228, 255, 0.1);
    }

    .cs-info-label {
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--soft);
      margin-bottom: 8px;
    }

    .cs-info-value {
      font-size: 20px;
      font-weight: 720;
      color: var(--text);
    }

    .cs-hero-image {
      position: relative;
      min-height: 500px;
      border-radius: 32px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.12), rgba(167, 139, 250, 0.08));
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
    }

    .cs-hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Standard hero layout: keep image and content inside the shell, layered normally */
    .cs-hero .shell { position: relative; z-index: 1; }
    .cs-hero-image {
      position: relative;
      width: 100%;
      border-radius: 32px;
      z-index: 0;
    }
    .cs-hero .cs-placeholder { color: var(--soft); }

    .cs-placeholder {
      color: var(--soft);
      font-size: 16px;
      font-weight: 500;
    }

    /* Meridian hero: fixed frame height with contained video */
    .meridian-hero .cs-hero-image {
      min-height: 568px;
      height: 568px;
      display: block;
    }

    .meridian-hero .cs-hero-image .cs-hero-video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      background: center / cover no-repeat url('assets/img/meridian-hero.jpg');
    }

    /* SECTIONS */
    section {
      padding: 100px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    section:first-of-type {
      border-top: none;
    }

    .cs-section-label {
      display: block;
      font-size: 12px;
      font-weight: 680;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 16px;
    }

    /* OVERVIEW CARDS */
    .cs-overview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .cs-overview-card {
      padding: 40px;
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .cs-overview-card:hover {
      border-color: rgba(99, 228, 255, 0.4);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.14), rgba(167, 139, 250, 0.11));
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.12);
    }

    .cs-overview-card h3 {
      color: var(--cyan);
      margin-bottom: 16px;
    }

    .cs-overview-card p {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
      margin: 0;
    }

    /* CHALLENGE GRID */
    .cs-challenge-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-bottom: 60px;
    }

    .cs-challenge-column h3 {
      margin-bottom: 24px;
    }

    .cs-challenge-items {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .cs-challenge-item {
      padding: 16px 20px;
      border-left: 3px solid var(--cyan);
      background: rgba(99, 228, 255, 0.06);
      border-radius: 12px;
      font-weight: 600;
      color: var(--text);
    }

    /* PERSONA CARDS */
    .cs-personas-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .cs-persona-card {
      padding: 32px;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .cs-persona-card:hover {
      border-color: rgba(99, 228, 255, 0.3);
      background: rgba(255, 255, 255, 0.09);
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.1);
    }

    .cs-persona-role {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 20px;
      color: var(--cyan);
    }

    .cs-persona-card h3 {
      font-size: 28px;
      margin-bottom: 24px;
      color: var(--text);
    }

    .cs-persona-item {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 16px;
      align-items: start;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .cs-persona-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .cs-persona-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--cyan);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding-top: 2px;
    }

    .cs-persona-value {
      font-size: 15px;
      color: var(--text);
      line-height: 1.5;
      font-weight: 400;
    }

    /* PROBLEMS MATRIX */
    .cs-problem-flow {
      display: grid;
      gap: 28px;
      position: relative;
      padding-left: 28px;
    }

  

    .cs-problem-step {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr);
      gap: 22px;
      align-items: flex-start;
      position: relative;
    }

    .cs-problem-step::before {
      content: '';
      position: absolute;
      left: 1px;
      top: 12px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 0 0 1px rgba(99, 228, 255, 0.18);
    }

    .cs-problem-step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: transparent;
      color: var(--text);
      font-size: 18px;
      font-weight: 800;
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(12px);
    }

    .cs-problem-step:nth-child(odd) .cs-problem-step-number {
      color: var(--blue);
      border-color: rgba(116, 168, 255, 0.35);
    }

    .cs-problem-step:nth-child(even) .cs-problem-step-number {
      color: var(--cyan);
      border-color: rgba(99, 228, 255, 0.35);
    }

    .cs-problem-step-body {
      padding: 0;
      margin: 0;
      border: none;
      background: transparent;
      display: grid;
      gap: 10px;
      min-width: 0;
    }

    .cs-problem-step-body h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.2;
      color: var(--text);
    }

    .cs-problem-step-body p {
      margin: 0;
      color: var(--muted);
      line-height: 1.8;
      max-width: 760px;
    }

    .cs-problem-step:nth-child(odd) .cs-problem-step-body {
      padding-left: 22px;
      border-left: 4px solid rgba(116, 168, 255, 0.35);
    }

    .cs-problem-step:nth-child(even) .cs-problem-step-body {
      padding-left: 22px;
      border-left: 4px solid rgba(99, 228, 255, 0.35);
    }

    @media (max-width: 840px) {
      .cs-hero .shell {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .cs-hero-image {
        min-height: 320px;
      }

      .cs-problem-flow {
        padding-left: 18px;
      }

      .cs-problem-flow::before {
        left: 2px;
      }

      .cs-problem-step {
        grid-template-columns: 1fr;
      }

      .cs-problem-step::before {
        left: 2px;
        top: 18px;
      }

      .cs-problem-step-number {
        width: 44px;
        height: 44px;
      }

      .cs-problem-step-body {
        padding-left: 16px;
        border-left-width: 3px;
      }

      .cs-solution-panel {
        grid-template-columns: 1fr !important;
      }

      .cs-comparison-grid {
        grid-template-columns: 1fr;
      }

      .cs-decision-grid {
        grid-template-columns: 1fr;
      }

      .cs-artifact-card {
        padding: 24px;
      }

      .cs-reflection-panel {
        padding: 24px;
      }
    }

    /* PRINCIPLES */
    .cs-principles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .cs-principle {
      position: relative;
      padding: 40px;
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
      backdrop-filter: blur(10px);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 35px rgba(0, 0, 0, 0.12);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .cs-principle::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99, 228, 255, 0.18) 0%, rgba(99, 228, 255, 0.04) 60%, transparent 100%);
      pointer-events: none;
    }

    .cs-principle:hover {
      border-color: rgba(99, 228, 255, 0.4);
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-6px) !important;
      box-shadow: 0 28px 90px rgba(99, 228, 255, 0.15);
    }

    .cs-principle-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: rgba(99, 228, 255, 0.12);
      font-size: 24px;
      font-weight: 800;
      color: var(--cyan);
      margin-bottom: 16px;
    }

    .cs-principle h3 {
      margin-bottom: 16px;
      font-size: 22px;
    }

    .cs-principle p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
      margin: 0;
    }

    /* DESIGN SYSTEM */
    .cs-ds-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .cs-ds-item {
      padding: 28px;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.14), rgba(14, 22, 42, 0.08));
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .cs-problems-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 22px;
      margin-top: 24px;
    }

    .cs-problem-card {
      padding: 24px;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.12), rgba(14, 22, 42, 0.06));
      box-shadow: var(--shadow);
      min-height: 220px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
      cursor: pointer;
    }

    .cs-problem-card:hover {
      border-color: rgba(99, 228, 255, 0.28);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.22), rgba(18, 28, 48, 0.14));
      transform: translateY(-6px) !important;
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .cs-problem-card h3 {
      margin: 0;
      font-size: 20px;
    }

    .cs-problem-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
    }

    .cs-ds-item:hover {
      border-color: rgba(99, 228, 255, 0.3);
      background: rgba(255, 255, 255, 0.09);
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.1);
    }

    .cs-ds-item h3 {
      font-size: 20px;
      margin-bottom: 16px;
    }

    /* Make component card headings match ds-item headings */
    .cs-component-card h4 { 
      font-size: 20px;
      margin-bottom: 16px;
      color: var(--text);
      font-weight: 700;
    }

    /* Ensure component card body text matches DESIGN SYSTEM card text tokens */
    .cs-component-card {
      color: var(--text);
      font-family: inherit;
    }

    .cs-ds-preview {
      min-height: 180px;
      margin-top: 16px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--soft);
      font-size: 14px;
    }

    /* DECISIONS */
    .cs-decisions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 24px;
    }

    .cs-decision-card {
      padding: 32px;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .cs-decision-card:hover {
      border-color: rgba(99, 228, 255, 0.3);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.1);
    }

    .cs-decision-label {
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--soft);
      margin-bottom: 12px;
    }

    .cs-decision-content {
      margin-bottom: 16px;
    }

    .cs-decision-content h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text);
    }

    .cs-decision-content p {
      font-size: 14px;
      color: var(--muted);
      margin: 0 0 12px 0;
    }

    /* PROCESS TIMELINE */
    .cs-timeline {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 0;
      margin-bottom: 40px;
    }

    .cs-timeline-item {
      padding: 24px;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
      position: relative;
    }

    .cs-timeline-item:last-child {
      border-right: none;
    }

    .cs-timeline-number {
      font-size: 32px;
      font-weight: 800;
      color: var(--cyan);
      margin-bottom: 8px;
    }

    .cs-timeline-label {
      font-size: 13px;
      font-weight: 650;
      color: var(--muted);
    }

    /* IMPACT CARDS */
    .cs-impact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .cs-impact-card {
      padding: 40px;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .cs-impact-card:hover {
      border-color: rgba(99, 228, 255, 0.4);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.14), rgba(167, 139, 250, 0.11));
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.12);
    }

    .cs-impact-card h3 {
      margin-bottom: 16px;
      color: var(--cyan);
    }

    .cs-impact-card p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
      margin: 0;
    }

    /* REFLECTION CARDS */
    .cs-reflection-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .cs-reflection-card {
      padding: 32px;
      transition: all 0.3s ease;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
    }

    .cs-reflection-card:hover {
      border-color: rgba(99, 228, 255, 0.3);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-6px) !important;
      box-shadow: 0 24px 80px rgba(99, 228, 255, 0.1);
    }

    .cs-reflection-card h3 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    .cs-reflection-card p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.7;
      margin: 0;
    }

    /* CTA SECTION */
    .cs-cta {
      text-align: center;
      padding: 80px 0;
    }

    .cs-cta h2 {
      margin-bottom: 32px;
    }

    .cs-cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* FOOTER */
    .footer {
      padding: 28px 0 44px;
      color: var(--soft);
      font-size: 14px;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 22px;
    }

    /* PROJECT AT A GLANCE */
    .cs-glance-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 18px;
    }

    .cs-glance-card {
      padding: 28px;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.14), rgba(14, 22, 42, 0.08));
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .cs-glance-card:hover {
      transform: translateY(-6px);
      border-color: rgba(99, 228, 255, 0.28);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.22), rgba(18, 28, 48, 0.14));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    /* Ensure case-study cards use the global glass-card treatment for parity */
    .cs-ds-item,
    .cs-decision-card,
    .cs-impact-card,
    .cs-reflection-card,
    .cs-ia-item,
    .cs-info-card,
    .cs-component-card {
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.14), rgba(14, 22, 42, 0.08));
      box-shadow: var(--shadow);
      backdrop-filter: blur(12px);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
      border-radius: 20px;
      padding: 28px;
    }

    .cs-ds-item:hover,
    .cs-decision-card:hover,
    .cs-impact-card:hover,
    .cs-reflection-card:hover,
    .cs-ia-item:hover,
    .cs-info-card:hover,
    .cs-component-card:hover {
      transform: translateY(-6px) !important;
      border-color: rgba(99, 228, 255, 0.28);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.22), rgba(18, 28, 48, 0.14));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    .cs-glance-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--soft);
      margin-bottom: 12px;
    }

    .cs-glance-value {
      font-size: 18px;
      font-weight: 780;
      color: var(--text);
      line-height: 1.4;
    }

    /* HERO PRODUCT SHOWCASE */
    .cs-showcase-section {
      position: relative;
      overflow: hidden;
    }

    .cs-showcase-container {
      position: relative;
      min-height: 684px;
      border-radius: 32px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.12), rgba(167, 139, 250, 0.08));
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
    }

    .cs-showcase-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .cs-showcase-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 40px;
      background: linear-gradient(180deg, transparent, rgba(7, 10, 18, 0.9));
      backdrop-filter: blur(12px);
    }

    .cs-showcase-caption {
      font-size: 18px;
      font-weight: 500;
      color: var(--muted);
      line-height: 1.6;
      max-width: 600px;
    }

    .cs-showcase-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin-top: 28px;
    }

    .cs-showcase-list {
      display: grid;
      gap: 32px;
      margin-top: 28px;
    }

    .cs-showcase-item {
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.08), rgba(14, 22, 42, 0.06));
      box-shadow: var(--shadow);
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
      display: flex;
      flex-direction: column;
    }

    .cs-showcase-item .cs-placeholder { display: block; }
    .cs-showcase-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
    .cs-showcase-item .cs-showcase-caption { padding: 16px; color: var(--muted); }

    .cs-solution-panel {
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.08), rgba(14, 22, 42, 0.06));
      border-radius: 24px;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      padding: 24px;
      gap: 18px;
    }

    .cs-solution-media {
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      border: 1px solid rgba(255,255,255,0.08);
    }

    .cs-solution-media img {
      width: 100%;
      min-height: 320px;
      object-fit: cover;
    }

    .cs-solution-copy {
      display: grid;
      gap: 14px;
    }

    .cs-solution-step {
      padding: 18px 20px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cs-solution-step-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(99, 228, 255, 0.08);
      color: var(--cyan);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .cs-solution-step p {
      margin: 10px 0 0;
      color: var(--soft);
      line-height: 1.75;
      font-size: 15px;
    }

    .cs-solution-copy ul {
      padding-left: 20px;
      list-style: disc;
      margin: 10px 0 0;
      color: var(--soft);
      line-height: 1.75;
    }

    .cs-solution-01 .cs-solution-copy {
      gap: 12px;
    }

    .cs-solution-01 .cs-solution-copy h3 {
      margin: 0;
      color: var(--text);
      font-size: 18px;
      letter-spacing: -0.02em;
    }

    .cs-solution-01 .cs-solution-copy p {
      color: var(--soft);
      font-size: 15px;
      line-height: 1.75;
    }

    .cs-solution-01 .cs-solution-copy h3 + p {
      margin-top: 8px;
    }

    .cs-solution-01 .cs-solution-copy p + h3 {
      margin-top: 18px;
    }

    .cs-solution-panel .cs-placeholder-img {
      min-height: 320px;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, rgba(11,18,32,0.6), rgba(8,12,20,0.75));
      color: var(--muted);
      font-size: 15px;
      text-align: center;
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.08);
    }

    .cs-solution-panel .cs-placeholder-img img {
      width: 100%;
      max-height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 16px;
    }

    .cs-showcase-item:hover { transform: translateY(-6px); border-color: rgba(99,228,255,0.22); box-shadow: 0 30px 90px rgba(0,0,0,0.48); }

    /* Placeholder image styling */
    .cs-placeholder-img { display:flex; align-items:center; justify-content:center; height:160px; background:linear-gradient(180deg, rgba(11,18,32,0.6), rgba(8,12,20,0.75)); color:var(--muted); }
    .cs-placeholder-img svg { opacity: 0.9; }

    .cs-design-system-card {
      position: relative;
      overflow: hidden;
      min-height: 420px;
      padding: 0;
    }
    .cs-design-system-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* IMAGE CAROUSEL SLIDER */
    .cs-image-carousel {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      border-radius: 24px;
      overflow: hidden;
    }

    .cs-carousel-track {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .cs-carousel-slide {
      position: relative;
      width: 100%;
      height: 100%;
      min-width: 100%;
      flex-shrink: 0;
    }

    .cs-carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
    }

    .cs-carousel-nav {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }

    .cs-carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .cs-carousel-dot.active {
      background: #63e4ff;
      border-color: #63e4ff;
      transform: scale(1.2);
    }

    .cs-carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border: 1px solid rgba(99, 228, 255, 0.3);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #63e4ff;
      font-size: 20px;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .cs-carousel-arrow:hover {
      background: rgba(99, 228, 255, 0.2);
      border-color: rgba(99, 228, 255, 0.5);
      transform: translateY(-50%) scale(1.1);
    }

    .cs-carousel-arrow.prev {
      left: 12px;
    }

    .cs-carousel-arrow.next {
      right: 12px;
    }

    .image-zoom-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      box-sizing: border-box;
      background: rgba(3, 9, 22, 0.92);
      backdrop-filter: blur(12px);
    }

    .image-zoom-overlay.visible {
      display: flex;
    }

    .image-zoom-content {
      width: auto;
      max-width: calc(100vw - 80px);
      max-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .image-zoom-content img {
      display: block;
      width: auto;
      height: auto;
      max-width: calc(100vw - 96px);
      max-height: calc(100vh - 96px);
      object-fit: contain;
      border-radius: 16px;
      box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    }

    .image-zoom-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      background: rgba(4, 14, 34, 0.75);
      color: #fff;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    }

    .image-zoom-close:hover,
    .image-zoom-close:focus {
      background: rgba(255, 255, 255, 0.16);
    }

    /* BEFORE VS AFTER */
    .cs-comparison-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .cs-comparison-column {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .cs-comparison-header {
      font-size: 24px;
      font-weight: 780;
      color: var(--text);
      margin-bottom: 12px;
    }

    .cs-comparison-before {
      color: var(--red);
    }

    .cs-comparison-after {
      color: var(--cyan);
    }

    .cs-comparison-column:first-child .cs-comparison-tag {
      background: rgba(255, 90, 90, 0.14);
      border-color: rgba(255, 90, 90, 0.24);
      color: rgba(255, 210, 210, 1);
    }

    .cs-comparison-column:first-child .cs-comparison-tag:hover {
      background: rgba(255, 90, 90, 0.2);
    }

    .cs-comparison-column:last-child .cs-comparison-tag {
      background: rgba(90, 240, 160, 0.14);
      border-color: rgba(90, 240, 160, 0.24);
      color: rgba(220, 255, 240, 1);
    }

    .cs-comparison-column:last-child .cs-comparison-tag:hover {
      background: rgba(90, 240, 160, 0.2);
    }

    .cs-comparison-stack {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 8px;
    }

    .cs-comparison-tag {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 13px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
      transition: background 0.2s, border-color 0.2s;
      width: fit-content;
      max-width: 100%;
    }

    .cs-comparison-tag:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.16);
    }

    /* explicit before/after icon visuals (replace pseudo-element arrow) */
    .cs-compare-icon.before {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
      flex: 0 0 10px;
    }

    .cs-compare-icon.after {
      width: 18px;
      height: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      color: var(--cyan);
      flex: 0 0 18px;
    }

    .cs-compare-icon.after svg { width: 14px; height: 10px; display:block; stroke: currentColor }

    .cs-comparison-visual {
     
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--soft);
      overflow: hidden;
    }

    .cs-comparison-visual img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      margin: 0;
    }

    .cs-comparison-arrow {
      position: absolute;
      left: 50%;
      bottom: -40px;
      transform: translateX(-50%);
      font-size: 32px;
      color: var(--cyan);
    }

    /* Responsive tweaks for Before vs After */
    @media (max-width: 880px) {
      .cs-comparison-grid { grid-template-columns: 1fr; gap: 18px; }
      .cs-comparison-column { gap: 14px; }
      .cs-comparison-visual { height: 220px; border-radius: 12px; }
      .cs-comparison-item { padding: 12px; padding-left: 12px; border-radius: 12px; }
      .cs-comparison-header { font-size: 20px; }
      
      #revealed .cs-screen-showcase {
        grid-template-columns: 1fr !important;
        gap: 24px;
        min-height: auto;
      }

      #revealed .cs-screen-showcase > .cs-placeholder {
        order: 1;
        width: 100%;
        height: auto;
        min-height: 200px;
      }

      #revealed .cs-screen-showcase > .cs-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      #revealed .cs-screen-showcase > div {
        order: 2;
      }
    }

    /* INFORMATION ARCHITECTURE */
    .cs-ia-diagram {
      padding: 60px;
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      backdrop-filter: blur(10px);
    }

    .cs-ia-root {
      text-align: center;
      margin-bottom: 40px;
    }

    .cs-ia-root-title {
      font-size: 28px;
      font-weight: 800;
      color: var(--cyan);
      margin-bottom: 8px;
    }

    .cs-ia-tree {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 32px;
    }

    .cs-ia-branch {
      text-align: left;
    }

    .cs-ia-branch-title {
      font-size: 16px;
      font-weight: 780;
      color: var(--text);
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid rgba(99, 228, 255, 0.3);
    }

    .cs-ia-items {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .cs-ia-item {
      padding: 12px 16px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(99, 228, 255, 0.2);
      font-size: 14px;
      color: var(--muted);
      transition: all 0.2s ease;
    }

    .cs-ia-item:hover {
      background: rgba(99, 228, 255, 0.1);
      border-color: rgba(99, 228, 255, 0.4);
    }

    /* HIERARCHICAL TREE */
    .cs-ia-tree-root {
      width: 100%;
    }

    .cs-ia-node {
      width: 100%;
    }

    .cs-ia-root-node {
      margin-bottom: 40px;
    }

    .cs-ia-node-title {
      font-size: 24px;
      font-weight: 800;
      color: var(--cyan);
      margin-bottom: 32px;
      text-align: center;
      padding: 20px;
      border-bottom: 2px solid rgba(99, 228, 255, 0.3);
    }

    .cs-ia-children {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      width: 100%;
    }

    .cs-ia-branch {
      padding: 20px;
      border-radius: 16px;
      border: 1px solid rgba(99, 228, 255, 0.2);
      background: rgba(99, 228, 255, 0.05);
      transition: all 0.3s ease;
    }

    .cs-ia-branch:hover {
      background: rgba(99, 228, 255, 0.12);
      border-color: rgba(99, 228, 255, 0.4);
      transform: translateY(-4px);
    }

    .cs-ia-node-label {
      font-size: 16px;
      font-weight: 780;
      color: var(--cyan);
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid rgba(99, 228, 255, 0.2);
    }

    .cs-ia-subitems {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .cs-ia-item {
      padding: 10px 14px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
      transition: all 0.2s ease;
      position: relative;
      padding-left: 22px;
    }

    .cs-ia-item::before {
      content: "→";
      position: absolute;
      left: 8px;
      color: rgba(99, 228, 255, 0.5);
      font-size: 12px;
    }

    .cs-ia-item:hover {
      background: rgba(99, 228, 255, 0.1);
      border-color: rgba(99, 228, 255, 0.3);
      color: var(--text);
    }

    /* KEY SCREEN SHOWCASE */
    .cs-screens-container {
      display: flex;
      flex-direction: column;
      gap: 80px;
    }

    .cs-screen-showcase {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .cs-screen-showcase.alt {
      grid-template-columns: 1fr 1fr;
    }

    .cs-screen-showcase.alt .cs-screen-content {
      order: 2;
    }

    .cs-screen-showcase.alt .cs-screen-image {
      order: 1;
    }

    .cs-screen-showcase {
      padding: 28px;
      border-radius: 24px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.08), rgba(14, 22, 42, 0.06));
      box-shadow: var(--shadow);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .cs-screen-showcase:hover {
      transform: translateY(-6px);
      border-color: rgba(99, 228, 255, 0.22);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.12), rgba(18, 28, 48, 0.12));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44px rgba(99, 228, 255, 0.08);
    }

    /* Data Revealed Section - Large Image + Text */
    #revealed .cs-screen-showcase {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 28px;
      align-items: center;
      min-height: 280px;
    }

    #revealed .cs-placeholder {
      height: 100%;
      min-height: 280px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #revealed .cs-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
    }

    #revealed .cs-screen-showcase p {
      margin: 0;
      font-size: 15px;
      line-height: 1.7;
    }

    #revealed .cs-screen-showcase p:first-of-type {
      margin-bottom: 12px;
    }

    #design-system .cs-screen-showcase {
      grid-template-columns: 1fr;
    }

    #design-system .cs-screen-showcase .cs-screen-image {
      display: none;
    }

    #design-system .cs-screen-showcase .cs-screen-content {
      width: 100%;
    }

    .cs-screen-image {
      min-height: 450px;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.12), rgba(167, 139, 250, 0.08));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--soft);
      overflow: hidden;
    }

    .cs-screen-content h3 {
      color: var(--cyan);
      margin-bottom: 16px;
    }

    .cs-screen-purpose {
      font-size: 15px;
      color: var(--muted);
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .cs-screen-meta {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cs-screen-meta-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .cs-screen-meta-label {
      font-size: 12px;
      font-weight: 680;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--soft);
    }

    .cs-screen-meta-value {
      font-size: 15px;
      color: var(--text);
      line-height: 1.5;
    }

    /* COMPONENT EXAMPLES */
    .cs-component-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-top: 24px;
    }

    /* .cs-component-card now inherits shared card treatment from the global card group */

    .cs-component-example {
      /* Use the same preview surface as cs-ds-preview for visual consistency */
      min-height: 140px;
      margin-top: 8px;
      padding: 12px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--soft);
      font-size: 14px;
    }

    /* Compact, JADOPS-style buttons for component previews */
    .cs-component-card .button {
      min-height: 25px;
      padding: 4px 12px;
      border-radius: 2px;
      font-weight: 700;
      font-size: 13px;
      height: 10px;
      letter-spacing: 0;
      box-shadow: none;
      transform: none;
    }

    .cs-component-card .button.primary {
         background: rgba(37, 99, 235, .15);
    border-color: var(--acc2);
    color: var(--acc2);
    }

    .cs-component-card .button.secondary {
      background: rgba(255,255,255,0.02);
      color: var(--text);
      border: 1px solid var(--line);
    }
    .cs-component-card .button.tertiary {
      background: transparent;
      color: var(--text);
      border: 1px solid rgba(255,255,255,0.06);
    }

    /* JADOPS-style mod-btn (module action buttons) */
    .mod-btn {
      background: transparent;
      border: 1px solid var(--line);
      color: var(--text);
      padding: 3px 10px;
      border-radius: 2px;
      cursor: pointer;
      font-size: 9px;
      font-family: inherit;
      transition: 0.2s;
      white-space: nowrap;
    }

    .mod-btn:hover {
      border-color: var(--blue);
      color: var(--blue);
    }

    .mod-btn.primary {
      background: rgba(37, 99, 235, 0.15);
      border-color: var(--blue);
      color: var(--blue);
    }

    /* Component preview helpers */
    .cs-component-preview { display:flex; gap:10px; align-items:center; flex-wrap:wrap }
    .cs-chip { display:inline-block; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,0.04); color:var(--text); font-weight:700; font-size:13px }
    .cs-chip.cs-chip--critical { background: linear-gradient(90deg, rgba(255,107,107,0.12), rgba(255,107,107,0.04)); color:#ff6b6b }
    .cs-chip.cs-chip--high { background: linear-gradient(90deg, rgba(255,165,0,0.12), rgba(255,165,0,0.04)); color:#ffa500 }
    .cs-chip.cs-chip--monitor { background: linear-gradient(90deg, rgba(99,228,255,0.06), rgba(99,228,255,0.02)); color:#63e4ff }

    .cs-component-meta { color: var(--muted); font-size:13px; margin-top:8px }
    .cs-component-code { margin-top:8px; background: rgba(3,9,22,0.6); padding:10px; border-radius:8px; font-size:12px; overflow:auto }
    .cs-component-code code { color: var(--soft); }

    /* Entity tags */
    .cs-entity-tag { display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:8px; background:rgba(255,255,255,0.03); color:var(--text); font-weight:700 }
    .cs-entity-tag strong { color:var(--muted); font-weight:800 }
    .cs-entity-tag--muted { background: rgba(255,255,255,0.02); color:var(--muted) }
    .cs-entity-tag--alert { background: linear-gradient(90deg, rgba(255,107,107,0.08), rgba(255,107,107,0.02)); color:#ff6b6b }

    /* Confidence bars */
    .cs-confidence { display:flex; align-items:center; gap:12px }
    .cs-confidence-bar { width: 120px; height: 10px; border-radius: 6px; background: rgba(255,255,255,0.04); position:relative; overflow:hidden }
    .cs-confidence-bar::after { content:''; position:absolute; left:0; top:0; bottom:0; width: var(--p, 0%); background: linear-gradient(90deg, rgba(99,228,255,0.3), rgba(99,228,255,0.15)); }
    .cs-confidence-label { font-weight:700; color:var(--text); min-width:36px; text-align:right }

    /* Form controls (JADOPS-aligned) */
    .cs-form-input { padding:5px 8px; border-radius:2px; border:1px solid var(--line); background:rgba(0,0,0,.3); color:var(--text); font-family:inherit; font-size:10px; transition:.2s; }
    .cs-form-input:focus { outline:none; border-color:var(--blue); }

    /* COLLAPSIBLE DECISION PANELS */
    .cs-decision-toggle {
      position: absolute;
      top: 24px;
      right: 24px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: rgba(99, 228, 255, 0.1);
      color: var(--cyan);
      font-weight: 800;
      transition: all 0.3s ease;
    }

    .cs-decision-card:hover .cs-decision-toggle {
      background: rgba(99, 228, 255, 0.2);
    }

    .cs-decision-detail {
      display: none;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cs-decision-detail.active {
      display: block;
    }

    .cs-decision-detail-section {
      margin-bottom: 20px;
    }

    .cs-decision-detail-section:last-child {
      margin-bottom: 0;
    }

    .cs-decision-detail-header {
      font-size: 13px;
      font-weight: 680;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--soft);
      margin-bottom: 8px;
    }

    .cs-decision-detail-text {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* DELIVERY ARTIFACTS */
    .cs-artifacts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
    }

    .cs-artifact-card {
      padding: 36px 28px;
      border-radius: 24px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.14), rgba(14, 22, 42, 0.08));
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .cs-artifact-card:hover {
      transform: translateY(-6px);
      border-color: rgba(99, 228, 255, 0.28);
      background: linear-gradient(180deg, rgba(103, 123, 161, 0.22), rgba(18, 28, 48, 0.14));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 44x rgba(99, 228, 255, 0.08);
    }

    .cs-artifact-icon {
      font-size: 48px;
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
      background: rgba(99, 228, 255, 0.1);
      border: 1px solid rgba(99, 228, 255, 0.2);
    }

    .cs-artifact-card h3 {
      margin: 0;
      color: var(--text);
    }

    .cs-artifact-card p {
      margin: 0;
      font-size: 13px;
      color: var(--soft);
    }

    /* OUTCOMES ENHANCEMENT */
    .cs-outcome-card {
      padding: 40px;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: linear-gradient(135deg, rgba(116, 168, 255, 0.08), rgba(167, 139, 250, 0.06));
      backdrop-filter: blur(10px);
    }

    .cs-outcome-card h3 {
      margin-bottom: 12px;
      color: var(--cyan);
    }

    .cs-outcome-card p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
      margin: 0;
    }

    /* FINAL REFLECTION */
    .cs-final-reflection {
      display: grid;
      grid-template-columns: repeat(3, minmax(260px, 1fr));
      gap: 24px;
      margin-top: 24px;
      max-width: 100%;
    }

    .cs-final-reflection > :only-child {
      grid-column: 1 / -1;
    }

    .cs-reflection-panel {
      position: relative;
      padding: 32px;
      border-radius: 24px;
      border: 1px solid rgba(79, 142, 247, 0.18);
      background: linear-gradient(180deg, rgba(10, 18, 35, 0.96), rgba(16, 28, 50, 0.94));
      box-shadow: 0 26px 90px rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(16px);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 18px;
      transition: all 0.3s ease;
    }

    .cs-reflection-panel::before {
      content: '';
      position: absolute;
      top: -24px;
      right: -32px;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, rgba(79, 142, 247, 0.16), transparent 58%);
      pointer-events: none;
    }

    .cs-reflection-panel--primary::before {
      width: 240px;
      height: 240px;
      top: -40px;
      right: -30px;
      background: radial-gradient(circle at 40% 40%, rgba(67, 156, 247, 0.16), transparent 52%);
    }

    .cs-reflection-summary-stack {
      display: grid;
      gap: 20px;
    }

    .cs-reflection-panel:hover {
      transform: translateY(-6px) !important;
      border-color: rgba(79, 142, 247, 0.4);
      background: linear-gradient(180deg, rgba(15, 26, 48, 0.98), rgba(18, 30, 52, 0.98));
      box-shadow: 0 32px 105px rgba(0, 0, 0, 0.32);
    }

    .cs-reflection-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(79, 142, 247, 0.14);
      color: #a5c9ff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      width: max-content;
    }

    .cs-final-reflection h4 {
      margin: 0;
      font-size: 26px;
      color: #f8fafc;
      line-height: 1.15;
    }

    .cs-final-reflection p {
      margin: 0;
      font-size: 15px;
      line-height: 1.75;
      color: var(--muted);
    }

    #reflection h2 {
      margin-top: 12px;
      margin-bottom: 22px;
      font-size: 34px;
      color: #f8fafc;
      max-width: 720px;
    }

    .cs-final-reflection p:last-child {
      margin-bottom: 0;
    }

    @media (max-width: 920px) {
      .cs-final-reflection {
        grid-template-columns: 1fr;
      }
    }

    /* Vertical problems list for Spectra-style layout */
    .cs-problems-vertical {
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-top: 12px;
    }

    .cs-problems-vertical .cs-problem-card {
      display: flex;
      gap: 18px;
      align-items: flex-start;
      padding: 18px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.03);
    }

    .cs-problem-number {
      flex: 0 0 56px;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(180deg, var(--cyan), rgba(99,228,255,0.6));
      color: #07101a;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 16px;
    }

    .cs-problems-vertical .cs-problem-card h3 {
      margin: 0 0 6px 0;
      font-size: 20px;
      color: var(--text);
    }

    .cs-problems-vertical .cs-problem-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
    }


    /* CASE STUDY SPECIFIC RESPONSIVE */
    @media (max-width: 768px) {
      .cs-challenge-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .cs-problems-grid {
        grid-template-columns: 1fr;
      }
      .cs-timeline {
        grid-template-columns: repeat(2, 1fr);
      }
      .cs-cta-buttons {
        flex-direction: column;
        align-items: center;
      }
      .cs-glance-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .cs-showcase-container {
        min-height: 380px;
        height: auto;
      }
      .cs-comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .cs-comparison-arrow {
        left: auto;
        bottom: auto;
        top: -40px;
        transform: rotate(90deg) translateX(50%);
      }
      .cs-ia-diagram {
        padding: 40px;
      }
      .cs-ia-tree {
        grid-template-columns: 1fr;
      }
      .cs-screen-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .cs-screen-showcase.alt .cs-screen-content {
        order: 1;
      }
      .cs-screen-showcase.alt .cs-screen-image {
        order: 2;
      }
      .cs-screen-image {
        min-height: 280px;
      }
      .cs-artifacts-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .cs-final-reflection {
        grid-template-columns: 1fr;
        padding: 40px;
      }
      .cs-final-reflection h3 {
        font-size: 22px;
      }
      .cs-final-reflection h4 {
        font-size: 20px;
      }
      .cs-final-reflection p {
        font-size: 14px;
      }
      .cs-solution-panel {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
      }
      .cs-solution-media {
        min-height: 260px !important;
      }
      .cs-image-carousel {
        height: 280px !important;
      }
      .cs-placeholder-img {
        height: auto !important;
      }
    }

    @media (max-width: 600px) {
      .cs-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .cs-glance-grid {
        grid-template-columns: 1fr;
      }
      .cs-artifacts-grid {
        grid-template-columns: 1fr;
      }
      .cs-ds-preview {
        min-height: 120px;
      }
      .cs-showcase-container {
        /* min-height: 280px; */
      }
      /* Responsive inline grid styles */
      [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
      }
      [style*="grid-template-columns:repeat(2,1fr)"] {
        grid-template-columns: 1fr !important;
      }
      /* Responsive carousel height */
      [style*="height:420px"] {
        height: 260px !important;
      }
      .cs-hero-image {
        min-height: 240px;
      }
      .cs-comparison-header {
        font-size: 20px;
      }
      .cs-comparison-tag {
        padding: 10px 12px;
        font-size: 13px;
      }
    }

    .contact-frame-empty {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      color: rgba(255, 255, 255, 0.6);
      font-size: 14px;
      z-index: 3;
      pointer-events: none;
    }

    .footer {
      padding: 28px 0 44px;
      color: var(--soft);
      font-size: 14px;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 22px;
    }

    .reveal {
      opacity: 1;
      transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
      }

      .reveal {
        opacity: 1;
        transform: none;
      }

      .tech-field span,
      .client-track {
        animation: none !important;
      }
    }

    @media (min-width: 700px) {
      .shell {
        width: min(100% - 48px, var(--max));
      }

      .nav-links {
        display: flex;
      }

      .metric-strip,
      .process-grid,
      .skills-grid,
      .testimonial-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .about-grid,
      .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
      }

      .summary-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 980px) {
      .contact-card {
        grid-template-columns: 1fr;
      }

      .contact-card {
        padding: 22px;
      }

      .contact-card-content {
        grid-template-columns: 1fr;
        align-items: start;
      }

      .contact-frame {
        width: 100%;
        min-height: 220px;
        padding: 0;
      }

      .contact-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: inherit;
      }

      .cs-principles-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
      }

      .cs-principle {
        padding: 28px;
      }

      .cs-component-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
      }

      .cs-artifact-card {
        padding: 28px;
      }

      .cs-decisions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 18px;
      }

      .cs-decision-card {
        padding: 24px;
      }

      .cs-screen-showcase {
        padding: 18px;
      }
    }

    @media (max-width: 700px) {
      .contact-card {
        gap: 16px;
        padding: 18px;
      }

      .contact-frame {
        min-height: 220px;
      }

      .contact-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .button {
        width: 100%;
      }

      .shell {
        padding: 0 20px;
      }

      section {
        padding: 48px 0;
      }

      .nav {
        padding: 12px 0;
      }

      .nav-inner {
        flex-wrap: wrap;
        gap: 12px;
      }

      .nav-cta {
        font-size: 14px;
        padding: 10px 16px;
      }

      h1 {
        font-size: 32px;
      }

      h2 {
        font-size: 24px;
      }

      .cs-hero-subtitle {
        font-size: 16px;
      }

      .cs-cta-buttons {
        flex-direction: column;
        width: 100%;
      }

      .button.scroll-top {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
      }

      .button.scroll-top svg {
        width: 24px;
        height: 24px;
      }

      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }
    }

    @media (max-width: 480px) {
      .shell {
        padding: 0 16px;
      }

      .nav-inner {
        grid-template-columns: 1fr;
      }

      .brand {
        width: 40px;
        height: 40px;
      }

      h1 {
        font-size: 28px;
      }

      h2 {
        font-size: 20px;
      }

      .cs-problem-card {
        padding: 16px;
        min-height: auto;
      }

      .cs-problem-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }

      .button {
        padding: 12px 16px;
        font-size: 14px;
      }

      .button.scroll-top {
        bottom: 12px;
        right: 12px;
      }

      .image-zoom-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 12px;
        right: 12px;
      }

      .cs-comparison-tag {
        padding: 10px 12px;
        font-size: 12px;
      }

      .cs-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
      }
    }

    @media (min-width: 960px) {
      .hero {
        padding: 52px 0 24px;
      }

      .hero-grid {
        grid-template-columns: 1.08fr 0.92fr;
        align-items: center;
      }

      .hero-visual,
      .client-band {
        order: 0;
      }

      .project-card.featured {
        display: grid;
        grid-template-columns: 0.95fr 1.05fr;
        align-items: stretch;
      }
      /* MERIDIAN / CASE STUDY HERO LAYOUT */
      .cs-hero .shell {
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        gap: 32px;
        align-items: center;
      }
      .cs-hero-content {
        margin-bottom: 0;
      }
      .cs-hero-image {
        min-height: 420px;
      }


    /* small screens: tighten hero spacing and image height */
    @media (max-width: 768px) {
      .cs-hero {
        padding: 48px 0 32px;
      }
      .cs-hero-image {
        position: relative;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        min-height: 260px;
        border-radius: 18px;
      }
      .cs-hero-subtitle {
        font-size: 16px;
      }
    }
      .project-card.featured .project-media {
        min-height: 100%;
      }

      .project-card.featured .project-media img {
        min-height: 100%;
      }

      section {
        padding: 86px 0;
      }

      section.hero {
        padding: 52px 0 24px;
      }
    }
  


/* SPECTRA PAGE STYLES */


