/* Migrated from Views/Home/Index.cshtml inline <style> blocks. */

    @font-face {
      font-family: 'Trade Gothic LT Std';
      src: url('/TradeGothic-BoldCondensed.otf') format('opentype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'TradeGothicLT-BoldCondTwenty';
      src: url('/TradeGothic-BoldCondensed.otf') format('opentype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    /* ─── Reset & Base ─────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #0a0a0f;
      --navy:      #292B3D;
      --lavender:  #7F83A7;
      --text-light: #D9DBF4;
      --cream:     #FFE2C0;
      --terra:     #C47D6A;
      --magenta:   #C10644;
      --warm-grad: linear-gradient(120deg, #FFE2C0, #C47D6A);
      --cool-grad: linear-gradient(120deg, #D9DBF4, #7F83A7);
      --deep-cool-grad: linear-gradient(120deg, #7F83A7, #292B3D);
      --text:      #e8e8f0;
      --font-head: 'Trade Gothic LT Std', 'TradeGothicLT-BoldCondTwenty', 'Trade Gothic', 'Bebas Neue', 'Barlow Condensed', sans-serif;
      --font-sub: 'Avenir Next', 'AvenirNext-Regular', 'Plus Jakarta Sans', Inter, sans-serif;
      --font-body: 'Avenir Next', 'AvenirNext-Regular', 'Plus Jakarta Sans', Inter, sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: clip;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── Grain Overlay ────────────────────────────── */
    #circuit {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      pointer-events: none;
      z-index: 10;
      opacity: 0.65;
    }
    #grain {
      position: fixed;
      inset: -50%;
      width: 200%;
      height: 200%;
      z-index: 999;
      pointer-events: none;
      opacity: 0.032;
      animation: grain-shift 0.12s steps(1) infinite;
    }

    @keyframes grain-shift {
      0%   { transform: translate(0,0); }
      10%  { transform: translate(-3%,-4%); }
      20%  { transform: translate(4%, 2%); }
      30%  { transform: translate(-2%, 5%); }
      40%  { transform: translate(5%,-2%); }
      50%  { transform: translate(-1%, 3%); }
      60%  { transform: translate(3%,-5%); }
      70%  { transform: translate(-4%, 1%); }
      80%  { transform: translate(2%, 4%); }
      90%  { transform: translate(-3%,-1%); }
      100% { transform: translate(0, 0); }
    }

    /* ─── Nav ──────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 48px;
      background: rgba(10,10,15,0.92);
      border-bottom: 1px solid rgba(127,131,167,0.1);
      mix-blend-mode: normal;
    }



    .logo-img {
      height: 80px;
      width: auto;
      display: block;
      
    }
    .footer-logo-img {
      height: 63px;
      width: auto;
      opacity: 0.9;
      display: block;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .nav-logo {
      font-family: var(--font-sub);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text);
      text-decoration: none;
      position: relative;
    }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
      position: relative;
    }

    .nav-links a {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--lavender);
      text-decoration: none;
      transition: color 0.3s;
    }

    .nav-links a:hover { color: var(--text); }

    /* ─── Hero ─────────────────────────────────────── */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 108px 8vw 120px;
      overflow: hidden;
    }

    /* Animated gradient orbs */
    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      pointer-events: none;
    }

    .hero-orb-1 {
      width: 60vw; height: 60vw;
      background: radial-gradient(circle, rgba(168,5,58,0.12) 0%, transparent 70%);
      top: -20%; right: -15%;
      animation: orb-drift-1 18s ease-in-out infinite;
    }

    .hero-orb-2 {
      width: 40vw; height: 40vw;
      background: radial-gradient(circle, rgba(127,131,167,0.12) 0%, transparent 70%);
      bottom: -10%; left: 5%;
      animation: orb-drift-2 22s ease-in-out infinite;
    }

    .hero-orb-3 {
      width: 30vw; height: 30vw;
      background: radial-gradient(circle, rgba(196,125,106,0.10) 0%, transparent 70%);
      top: 30%; left: 40%;
      animation: orb-drift-3 16s ease-in-out infinite;
    }

    @keyframes orb-drift-1 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33%  { transform: translate(-3%, 5%) scale(1.05); }
      66%  { transform: translate(4%, -3%) scale(0.95); }
    }

    @keyframes orb-drift-2 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(5%, -8%) scale(1.08); }
    }

    @keyframes orb-drift-3 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      40% { transform: translate(-6%, 4%) scale(1.1); }
      80% { transform: translate(3%, -5%) scale(0.92); }
    }

    /* Hero scan line */
    .hero-scanline {
      position: absolute;
      left: 0; right: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(193,6,68,0.3), transparent);
      animation: scanline 6s linear infinite;
      pointer-events: none;
    }

    @keyframes scanline {
      0%   { top: -2%; opacity: 0; }
      5%   { opacity: 1; }
      95%  { opacity: 0.3; }
      100% { top: 102%; opacity: 0; }
    }

    .hero-eyebrow {
      font-family: var(--font-sub);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--magenta);
      margin-bottom: 24px;
      opacity: 0;
    }

    .hero-title {
      font-family: var(--font-head);
      font-size: clamp(72px, 13vw, 200px);
      line-height: 0.92;
      text-transform: uppercase;
      letter-spacing: 0.35em;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: warmShift 20s ease infinite;
      margin-bottom: 36px;
      overflow: hidden;
    }
    @keyframes warmShift {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .hero-sub {
      font-family: var(--font-sub);
      font-size: clamp(15px, 1.3vw, 17px);
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      max-width: 700px;
      opacity: 0;
      transform: translateY(20px);
      line-height: 1.8;
    }
    .hero-sub-line1 {
      color: #A8ABCA;
      display: block;
    }
    .hero-sub-line2 {
      color: #7F83A7;
      display: block;
    }

    .hero-cta {
      margin-top: 52px;
      display: flex;
      gap: 20px;
      opacity: 0;
    }
    .hero-cta .btn {
      opacity: 0;
      transform: translateY(16px);
    }

    .btn {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      padding: 16px 36px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.35s ease;
      display: inline-block;
    }

    .btn-primary {
      background: linear-gradient(135deg, #C10644, #4C041D);
      background-size: 200% 200%;
      animation: gradientShift 8s ease-in-out infinite alternate;
      color: white;
    }

    @keyframes gradientShift {
      0%   { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(193,6,68,0.45);
    }

    .btn-outline {
      background: transparent;
      color: var(--text);
      border: 1px solid rgba(232,232,240,0.25);
    }

    .btn-outline:hover {
      border-color: var(--lavender);
      color: var(--lavender);
      transform: translateY(-2px);
    }

    /* Scroll indicator */
    .scroll-hint {
      position: absolute;
      bottom: 40px;
      left: 8vw;
      display: flex;
      align-items: center;
      gap: 12px;
      opacity: 0;
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .scroll-hint-line {
      width: 40px;
      height: 1px;
      background: var(--magenta);
    }

    .scroll-hint-text {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--lavender);
    }

    /* ─── Sections General ─────────────────────────── */
    section {
      position: relative;
      overflow: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 8vw;
    }
#engineering .container {
    padding: 0 4vw !important;
}

.section-label {
    font-family: var(--font-sub);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 28px;
    display: block;
}

    .reveal-heading {
      overflow: hidden;
    }

    .reveal-heading-inner {
      display: block;
      clip-path: inset(0 100% 0 0);
    }

    /* ─── Section 2 — Engineering ──────────────────── */
    #engineering {
      padding: 100px 0 80px;
      background: var(--bg);
    }

    #engineering .section-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .eng-headline {
      font-family: var(--font-head);
      font-size: clamp(36px, 4.2vw, 62px);
      line-height: 1.0;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text);
      margin-bottom: 24px;
    }

    .eng-body {
      font-size: 17px;
      font-weight: 300;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 28px;
    }

    .eng-lede {
      font-style: normal;
      font-size: 20px;
      font-weight: 300;
      line-height: 1.8;
      display: block;
      color: var(--text-light);
    }

    @media (max-width: 900px) {
      .eng-lede { font-size: 17px; }
    }

    .eng-body--closing {
      margin-top: 28px;
      margin-bottom: 0;
    }

    .warm-grad-text {
      font-weight: 700;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: labGradShift 9s ease-in-out infinite alternate;
    }

    .lab-tagline {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--lavender);
      text-align: center;
      padding: 48px 0 52px;
    }

    /* ── Lab Grid — Technical Readout Panels ── */
    .lab-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 0 5vw 60px;
    }

    .lab-grid-cell {
      position: relative;
      padding: 30px 34px 36px;
      min-height: 180px;
      background:
        radial-gradient(circle at 50% 50%, rgba(196,125,106,0.03) 0%, transparent 65%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='0.75' fill='rgba(127,131,167,0.18)'/%3E%3C/svg%3E");
      border: 1px solid rgba(127,131,167,0.14);
      display: flex;
      flex-direction: column;
      gap: 18px;
      overflow: hidden;
      transition: border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
    }

    .lab-grid-cell:hover {
      border-color: rgba(196,125,106,0.3);
      box-shadow: 0 0 0 1px rgba(196,125,106,0.08) inset,
                  0 8px 48px rgba(196,125,106,0.07);
    }

    /* Corner tick marks — like the engineering visual */
    .lgc-corner {
      position: absolute;
      width: 10px; height: 10px;
      transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
      opacity: 0.35;
    }
    .lgc-corner::before, .lgc-corner::after {
      content: '';
      position: absolute;
      background: #C47D6A;
    }
    .lgc-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
    .lgc-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }

    .lgc-tl { top: 12px; left: 12px; }
    .lgc-tr { top: 12px; right: 12px; transform: scaleX(-1); }
    .lgc-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
    .lgc-br { bottom: 12px; right: 12px; transform: scale(-1); }

    .lab-grid-cell:hover .lgc-corner {
      width: 14px; height: 14px; opacity: 0.7;
    }

    /* Index number */
    .lgc-index {
      position: absolute;
      top: 12px; right: 16px;
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.2em;
      color: rgba(232,185,154,0.4);
      transition: color 0.5s ease;
    }
    .lab-grid-cell:hover .lgc-index { color: rgba(232,185,154,0.45); }

    /* Header row: pulse dot + label */
    .lgc-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
    }

    .lgc-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: #C47D6A;
      flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(196,125,106,0.5);
      animation: lgc-pulse 3s ease-in-out infinite;
    }

    @keyframes lgc-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(196,125,106,0.5); opacity: 1; }
      50%       { box-shadow: 0 0 0 5px rgba(196,125,106,0); opacity: 0.7; }
    }

    .lab-grid-label {
      font-family: var(--font-head);
      font-size: clamp(14px, 1.4vw, 20px);
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #E8B99A;
      -webkit-text-fill-color: #E8B99A;
      background: none;
      transition: color 0.4s ease;
    }

    .lab-grid-cell:hover .lab-grid-label { color: #F0C9AE; }



    /* Inner layout — simple stacked */
    .lgc-inner {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .lgc-headline {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.2vw, 17px);
      font-weight: 600;
      line-height: 1.65;
      letter-spacing: 0.02em;
      text-transform: none;
      color: rgba(232,232,240,0.9);
      margin: 0;
      transition: color 0.5s ease;
    }
    .lab-grid-cell:hover .lgc-headline { color: #D9DBF4; }

    .lgc-vdivider {
      display: none;
      width: 1px;
      align-self: stretch;
      background: linear-gradient(to bottom, #E8B99A 0%, rgba(232,185,154,0.1) 100%);
      transition: opacity 0.5s ease;
      opacity: 0.45;
    }
    .lab-grid-cell:hover .lgc-vdivider { opacity: 0.85; }

    .lgc-detail {
      font-family: var(--font-sub);
      font-size: clamp(12px, 0.95vw, 14px);
      font-weight: 300;
      line-height: 1.9;
      letter-spacing: 0.03em;
      padding-top: 0;
      background: linear-gradient(120deg, #D9DBF4 0%, #C8CCE8 50%, #E8B99A 100%);
      background-size: 200% 100%;
      background-position: 0% center;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: background-position 1.2s ease;
    }
    .lab-grid-cell:hover .lgc-detail { background-position: 60% center; }

    @media (max-width: 768px) {
      .lab-grid { grid-template-columns: 1fr; padding: 0 6vw 60px; }
    }

    .eng-stat-row {
      display: flex;
      gap: 64px;
      margin-top: 48px;
    }

    .eng-stat {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .eng-stat-num {
      font-family: var(--font-head);
      font-size: 52px;
      line-height: 1;
      color: #C47D6A;
    }

    .eng-stat-label {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--lavender);
      white-space: nowrap;
    }

    /* Decorative line art */
    .eng-visual {
      position: relative;
      height: 420px;
      container-type: inline-size;
    }

    .eng-visual-box {
      position: absolute;
      inset: 0;
      border: 1px solid rgba(127,131,167,0.15);
      border-radius: 2px;
    }

    .eng-visual-inner {
      position: absolute;
      inset: 24px;
      border: 1px solid rgba(127,131,167,0.08);
      border-radius: 2px;
    }



    .eng-visual-center {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }

    .eng-visual-dim {
      font-family: var(--font-head);
      font-size: 64px;
      color: rgba(255,226,192,0.08);
      line-height: 1;
    }

    .eng-visual-dim-label {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.3em;
      color: rgba(127,131,167,0.3);
      text-transform: uppercase;
    }

    /* Animated grid lines */
    .eng-visual-grid {
      position: absolute;
      inset: 40px;
      background-image:
        linear-gradient(rgba(127,131,167,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,131,167,0.04) 1px, transparent 1px);
      background-size: 30px 30px;
    }

    /* Glow dot */
        .eng-callout {
      position: absolute;
      will-change: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .eng-callout-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: linear-gradient(to bottom, #D9DBF4, #7F83A7);
      box-shadow: 0 0 10px rgba(196,125,106,0.7), 0 0 20px rgba(255,226,192,0.3);
      flex-shrink: 0;
      animation: dot-pulse 2.5s ease-in-out infinite;
    }
    .eng-callout-line {
      width: 32px;
      transform-origin: left center;
      height: 1px;
      background: linear-gradient(to right, #FFE2C0, rgba(196,125,106,0.3));
    }
    .eng-callout-label {
      font-family: var(--font-sub);
      font-size: clamp(8px, 2.5cqi, 12px);
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      background: linear-gradient(to bottom, #D9DBF4, #7F83A7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      white-space: nowrap;
    }



    /* Centered callout list */
    .eng-callout-list {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }
    .eng-callout-list .eng-callout {
      position: static;
    }

    @keyframes dot-pulse {
      0%, 100% { opacity: 0.7; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.5); }
    }

    /* ─── Section 3 — Space ────────────────────────── */
    #space {
      padding: 140px 0;
      background: linear-gradient(180deg, var(--bg) 0%, #0e0e1a 50%, var(--bg) 100%);
    }

    #space .section-inner {
      text-align: center;
      max-width: 900px;
      margin: 0 auto;
    }

    .space-headline {
      font-family: var(--font-head);
      font-size: clamp(48px, 6.5vw, 96px);
      line-height: 1.0;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text);
      margin-bottom: 60px;
    }

    .space-features {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      margin-top: 80px;
    }
    @media (max-width: 900px) {
      .space-features { grid-template-columns: repeat(2, 1fr) !important; gap: 1px; }
      .space-feature { padding: 30px 18px; }
    }
    @media (max-width: 480px) {
      .space-features { grid-template-columns: 1fr !important; }
    }

    .space-feature {
      padding: 48px 32px;
      background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(41,43,61,0.3) 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.2);
      border-top: 1px solid rgba(127,131,167,0.12);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .space-feature::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, #C47D6A, #7F83A7, transparent);
      transform: scaleX(0);
      transition: transform 0.4s ease;
    }

    .space-feature:hover::after { transform: scaleX(1); }

    .space-feature:hover {
      background: rgba(41,43,61,0.6);
      transform: translateY(-4px);
    }

    .feature-icon {
      font-size: 28px;
      margin-bottom: 20px;
      display: block;
    }

    .feature-title {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--cream);
      margin-bottom: 12px;
    }

    .feature-desc {
      font-size: 13px;
      font-weight: 300;
      color: var(--text-light);
      line-height: 1.7;
    }

    /* ─── Section 4 — What We Solve For ───────────── */
    #solutions {
      padding: 160px 0;
      background: var(--bg);
    }

    .solutions-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 72px;
    }

    .solutions-headline {
      font-family: var(--font-head);
      font-size: clamp(48px, 6.5vw, 96px);
      line-height: 1.0;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text);
      max-width: 700px;
    }

    #solutions .reveal-heading {
      padding-right: 0.2em;
      padding-bottom: 0.12em;
    }

    .solutions-intro {
      font-size: 14px;
      font-weight: 300;
      color: var(--text-light);
      max-width: 300px;
      line-height: 1.8;
      text-align: left;
    }

    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .solution-card {
      position: relative;
      padding: 56px 32px 48px;
      background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(41,43,61,0.35) 100%);
      border: 1px solid rgba(217,219,244,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.3);
      cursor: default;
      transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .solution-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(193,6,68,0.06) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.4s;
    }

    .solution-card:hover::before { opacity: 1; }

    .solution-card:hover {
      background: rgba(41,43,61,0.5);
      border-color: rgba(193,6,68,0.25);
      transform: translateY(-6px);
      box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    }

    .card-num {
      font-family: var(--font-head);
      font-size: 48px;
      color: rgba(193,6,68,0.45);
      line-height: 1;
      transition: color 0.4s;
    }

    .solution-card:hover .card-num { color: rgba(193,6,68,0.7); }

    .card-title {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: linear-gradient(to bottom, #D9DBF4, #7F83A7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.3;
    }

    .card-desc {
      font-size: 13px;
      font-weight: 300;
      color: var(--text-light);
      line-height: 1.75;
    }

    .card-arrow {
      margin-top: auto;
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--magenta);
      opacity: 0;
      transform: translateX(-8px);
      transition: all 0.35s;
    }

    .solution-card:hover .card-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    /* ─── Section 5 — Activations ──────────────────── */
    #activations {
      padding: 160px 0;
      background: linear-gradient(180deg, var(--bg) 0%, #0d0b14 100%);
      border-top: 1px solid rgba(127,131,167,0.08);
    }

    .activations-inner {
      text-align: center;
    }

    .activations-eyebrow {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--lavender);
      margin-bottom: 64px;
    }

    .activations-marquee-wrapper {
      overflow: hidden;
      margin: 0 -8vw;
      padding: 48px 0;
      border-top: 1px solid rgba(127,131,167,0.08);
      border-bottom: 1px solid rgba(127,131,167,0.08);
    }

    .activations-marquee {
      display: flex;
      gap: 0;
      animation: marquee 20s linear infinite;
      width: max-content;
    }

    .marquee-item {
      display: flex;
      align-items: center;
      gap: 0;
      white-space: nowrap;
    }

    .brand-name {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      text-transform: uppercase;
      color: rgba(232,232,240,0.38);
      letter-spacing: 0.04em;
      padding: 0 40px;
      transition: color 0.3s;
      cursor: default;
    }

    .brand-name:hover { color: rgba(232,232,240,0.58); }

    .marquee-sep {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      color: var(--magenta);
      opacity: 0.4;
      line-height: 1;
    }

    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .activations-copy {
      margin-top: 80px;
      max-width: 640px;
      margin-left: auto;
      margin-right: auto;
    }

    .activations-copy p {
      font-size: 18px;
      font-weight: 300;
      color: var(--lavender);
      line-height: 1.8;
    }

    /* ─── Section 6 — Contact ──────────────────────── */
    #contact {
      padding: 140px 0 140px;
      position: relative;
      overflow: hidden;
    }

    #contact::before {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(193,6,68,0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .contact-inner {
      text-align: center;
      position: relative;
    }

    .contact-headline {
      font-family: var(--font-head);
      font-size: clamp(52px, 8vw, 120px);
      line-height: 0.95;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text);
      margin-bottom: 56px;
    }

    .contact-headline span {
      color: var(--magenta);
    }

    .contact-sub {
      font-size: 16px;
      font-weight: 300;
      color: var(--lavender);
      margin-bottom: 60px;
      letter-spacing: 0.04em;
    }

    .contact-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 48px;
      flex-wrap: wrap;
    }

    .contact-link {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--lavender);
      text-decoration: none;
      transition: color 0.3s;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-link::before {
      content: '';
      width: 24px;
      height: 1px;
      background: var(--magenta);
    }

    .contact-link:hover { color: var(--text); }

    /* ─── Footer ───────────────────────────────────── */
    footer {
      border-top: 1px solid rgba(127,131,167,0.1);
      padding: 40px 8vw;
      padding-bottom: max(40px, calc(24px + env(safe-area-inset-bottom)));
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      position: relative;
    }

    .footer-logo {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--lavender);
    }

    .footer-copy {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.14em;
      color: rgba(217,219,244,0.7);
    }

    .footer-links {
      display: flex;
      gap: 28px;
    }

    .footer-links a {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.7);
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-links a:hover { color: var(--lavender); }

    /* ─── Divider ───────────────────────────────────── */
    .section-divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(127,131,167,0.15), transparent);
    }


    /* Hamburger */
    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 200;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--lavender);
      margin: 5px 0;
      transition: all 0.3s ease;
    }
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(4px, 5px);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(4px, -5px);
    }

    /* Mobile overlay menu */
    .mobile-menu {
      display: flex;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 90;
      background: rgba(10,10,15,0.97);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      pointer-events: none;
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    }
    .mobile-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
    }
    .mobile-link {
      font-family: var(--font-head);
      font-size: 28px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text);
      text-decoration: none;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }
    .mobile-menu.open .mobile-link {
      opacity: 1;
      transform: translateY(0);
    }
    .mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.10s, 0.10s, 0s; }
    .mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.16s, 0.16s, 0s; }
    .mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.22s, 0.22s, 0s; }
    .mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.28s, 0.28s, 0s; }
    .mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.34s, 0.34s, 0s; }
    .mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.40s, 0.40s, 0s; }
    .mobile-link:hover { color: var(--magenta); }


    /* Mobile connector: problem → solution (right-angle + circle) */
    @media (max-width: 900px) {
      .solve-col {
        position: relative;
      }
      /* Vertical segment of the L-connector */
      /* Indent solution col + add crimson marker */
      .solve-col:last-child {
        padding-left: 20px;
        border-left: 2px solid rgba(193,6,68,0.8);
        margin-top: 4px;
      }
    }



    /* ─── Mobile Services: retro terminal cards ─── */
    .svc-m { display: none; }

    @media (max-width: 1024px) {
      .svc-radial-wrap { display: flex !important; flex-direction: column !important; min-height: auto !important; }
      .svc-radial-wrap { flex-direction: column !important; align-items: center !important; padding: 0 6vw !important; gap: 0 !important; min-height: auto !important; margin-top: 0 !important; }
      .svc-diagram-area { display: none !important; }

      .svc-connector-lines { display: none !important; }
      .svc-conn-mobile { display: none !important; }
      .svc-cards-col { flex: none !important; width: 100% !important; flex-direction: column !important; gap: 0 !important; padding: 0 !important; align-items: stretch !important; }
      .svc-nd-card { max-width: 100% !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 16px !important; padding: 18px 20px !important; border-left: 1px solid rgba(196,125,106,0.25) !important; border-right: 1px solid rgba(196,125,106,0.25) !important; border-top: 1px solid rgba(196,125,106,0.15) !important; border-bottom: none !important; }
      .svc-nd-card:last-of-type { border-bottom: 1px solid rgba(196,125,106,0.15) !important; }
      .svc-nd-card br { display: none; }
      .svc-nd-edge-diamond { position: relative !important; left: auto !important; top: auto !important; transform: none !important; display: block !important; width: 36px !important; height: 36px !important; flex-shrink: 0 !important; }
      .svc-nd-edge-diamond .svc-nd-diamond { width: 26px !important; height: 26px !important; top: 5px !important; left: 5px !important; }
      .svc-nd-index { font-size: 24px !important; font-weight: 700 !important; margin-bottom: 0 !important; flex-shrink: 0 !important; min-width: 36px !important; text-align: left !important; color: rgba(232,185,154,0.6) !important; }
      .svc-nd-title { font-size: 13px !important; max-width: none !important; flex: 1 !important; line-height: 1.4 !important; }
      .svc-nd-coord { font-size: 10px !important; margin-top: 0 !important; white-space: nowrap; position: absolute; bottom: 6px; right: 16px; text-align: right !important; }
      .svc-diamond-sep { display: none !important; }
      .svc-track-seg { display: none !important; }
      .svc-indicator-dots { display: none !important; }
      .svc-selector-dots { display: none !important; }
      .svc-status-bar { display: none !important; }
      .svc-detail-diamond { display: none !important; }
      .svc-detail-tagline { display: none !important; }
      .svc-dots-detail { display: none !important; }
      .svc-frame-corner { display: none !important; }
      .svc-right-panel { display: flex !important; flex: none !important; width: 100% !important; border-left: none !important; padding: 16px 0 0 !important; justify-content: center; }
      .svc-right-card { max-width: 100% !important; }
      .svc-right-card .src-corner { display: block !important; }
      .svc-panel-title { margin-bottom: 12px !important; }
      .svc-panel-title::after { content: ''; display: block; margin-top: 12px; height: 1px; background: linear-gradient(to right, rgba(196,125,106,0.3), transparent); }
      .svc-panel-result { border-top: 1px solid rgba(196,125,106,0.15) !important; padding-top: 16px !important; }
      .svc-right-panel { flex: none !important; width: 100% !important; border-left: none !important; border-top: 1px solid rgba(127,131,167,0.1); padding: 32px 6vw !important; }
      .svc-right-card { max-width: 100% !important; padding: 24px 28px !important; }
      .svc-intro-wrap { padding: 10px 6vw 8px !important; margin-bottom: -8px !important; }
      .svc-diagram-area > * { transform: scale(0.7); transform-origin: center top; }
      .svc-right-panel { padding: 12px 6vw !important; margin-top: 0 !important; }
      .svc-m { display: none !important; }

      .svc-m-card {
        position: relative;
        padding: 32px 24px;
        border-bottom: 1px solid rgba(127,131,167,0.1);
        background: transparent;
      }

      .svc-m-card::before {
        content: '';
        position: absolute;
        top: 0; left: 24px;
        width: 1px;
        height: 100%;
        background: linear-gradient(to bottom, rgba(193,6,68,0.3), rgba(127,131,167,0.1));
      }

      .svc-m-card::after {
        content: '';
        position: absolute;
        top: 42px; left: 20px;
        width: 9px; height: 9px;
        border: 1.5px solid rgba(193,6,68,0.6);
        transform: rotate(45deg);
        background: rgba(193,6,68,0.15);
      }

      .svc-m-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        padding-left: 20px;
      }

      .svc-m-idx {
        font-family: var(--font-sub);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2em;
        color: rgba(196,125,106,0.5);
      }

      .svc-m-code {
        font-family: var(--font-sub);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(127,131,167,0.7);
        padding: 2px 8px;
        border: 1px solid rgba(127,131,167,0.15);
        border-radius: 2px;
      }

      .svc-m-dot {
        width: 5px; height: 5px;
        border-radius: 50%;
        background: var(--magenta);
        box-shadow: 0 0 6px rgba(193,6,68,0.5);
        animation: pulse 2.5s ease-in-out infinite;
        margin-left: auto;
      }

      .svc-m-title {
        font-family: var(--font-head);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        background: linear-gradient(120deg, #FFE2C0, #C47D6A);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.25;
        margin-bottom: 12px;
        padding-left: 20px;
      }

      .svc-m-body {
        font-family: var(--font-sub);
        font-size: 14px;
        font-weight: 300;
        line-height: 1.7;
        color: rgba(200,204,232,0.65);
        margin-bottom: 16px;
        padding-left: 20px;
      }

      .svc-m-result {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
        margin-left: 20px;
        border: 1px solid rgba(232,185,154,0.18);
        border-left: 2px solid rgba(232,185,154,0.5);
        background: rgba(232,185,154,0.02);
        font-family: var(--font-sub);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.65;
        color: rgba(232,185,154,0.75);
      }

      .svc-m-arrow {
        color: #E8B99A;
        font-weight: 600;
        flex-shrink: 0;
        font-size: 14px;
      }
    }


    @media (max-width: 1024px) {
      .svc-connector-lines { display: none !important; }
      .svc-conn-mobile { display: block !important; }
    }
    /* ─── Sub-desktop: consistent padding for all non-desktop ─── */
    @media (max-width: 1024px) {
      #space { padding-left: 6vw; padding-right: 6vw; }
      #services { padding-left: 6vw; padding-right: 6vw; padding-top: 60px !important; padding-bottom: 20px !important; }
      .solve-right { padding-bottom: 40px !important; }
      #the-lab { padding-left: 6vw; padding-right: 6vw; padding-top: 60px !important; }
      #contact { padding-left: 6vw; padding-right: 6vw; }
      #activations { padding-left: 6vw; padding-right: 6vw; }
      .solve-timeline { padding-left: 64px; padding-right: 4vw; }
      .solve-timeline-track { left: 36px; }
      .solve-item-left { left: -56px; }
      .lab-eyebrow-row { padding-left: 0; padding-right: 0; }
      .lab-callouts { padding-left: 0; padding-right: 0; }
      .lab-callout-card { padding: 24px 24px 28px; }
      .lab-callout-num { margin-bottom: 10px; }
      .lab-callout-label { margin-bottom: 14px; font-size: 15px; }
      .lab-callout-divider { margin-bottom: 14px; }
      .lab-callout-body { font-size: 15px; margin-bottom: 8px; }
      .lab-callout-detail { font-size: 14px; }
      #engineering { padding-top: 60px !important; padding-bottom: 40px !important; }
      #space { padding-top: 60px !important; padding-bottom: 60px !important; }
      #solve { padding-top: 60px !important; }
      .solve-right { padding-bottom: 40px !important; }
      #activations { padding-top: 60px !important; padding-bottom: 60px !important; }
      #contact { padding-top: 60px !important; padding-bottom: 60px !important; }
      .lab-eyebrow-row { padding-top: 60px !important; padding-bottom: 40px !important; }
      .hero-title { letter-spacing: 0.12em; overflow: visible; }
      .hero-eyebrow { font-size: 11px; letter-spacing: 0.2em; }
      .hero-cta { flex-wrap: wrap; }
      .btn { letter-spacing: 0.1em !important; padding: 12px 20px !important; white-space: nowrap; }
    }

    /* ─── Mobile ───────────────────────────────────── */
    @media (max-width: 900px) {
      nav { padding: 16px 6vw; flex-direction: row; align-items: center; }
      .nav-links { display: none; }
      .hamburger { display: block; margin-left: auto; order: 2; }
      .nav-logo { order: 1; margin-left: 0; }

      #hero { padding: 0 6vw; }
      .hero-title { font-size: clamp(52px, 15vw, 96px); }

      #engineering .section-inner { grid-template-columns: 1fr; gap: 48px; }
      .eng-visual { height: 280px; overflow: hidden; }
      .eng-stat-row { gap: 20px; flex-wrap: wrap; }

      .space-features { grid-template-columns: repeat(2, 1fr); gap: 1px; }
      .space-feature { padding: 32px 20px; }
      .feature-title { font-size: 12px; letter-spacing: 0.14em; }
      .feature-desc { font-size: 13px; }

      .solutions-header { flex-direction: column; align-items: flex-start; gap: 20px; }
      .solutions-intro { text-align: left; max-width: 100%; }
      .solutions-grid { grid-template-columns: 1fr; }

      .svc-intro-wrap { padding: 48px 6vw 40px; }
      .svc-intro-positive { font-size: clamp(32px, 8vw, 52px); }
      /* mobile: stack diagram above card panel */


      justify-content: center;
      .contact-links { flex-direction: column; gap: 24px; }

      footer { flex-direction: column; text-align: center; gap: 16px; align-items: center; }
      .footer-links { order: 1; }
      .footer-copy { order: 2; }
      .footer-logo-img { order: 3; position: static !important; transform: none !important; }
      .btn { padding: 14px 28px; font-size: 11px; letter-spacing: 0.16em; text-align: center; display: flex; align-items: center; justify-content: center; }
      .hero-cta { gap: 14px; }
      .lab-eyebrow-row { flex-direction: column; align-items: flex-start; padding: 60px 6vw 40px; gap: 24px; }
      .lab-eyebrow-row > div:last-child { text-align: left !important; max-width: 100% !important; }
      .lab-callouts { grid-template-columns: 1fr; padding: 0 6vw 60px; }

      .svc-right-card { padding: 20px 20px !important; max-width: 100% !important; }
      .svc-panel-inner { padding: 20px 0 16px !important; grid-template-columns: 40px 1fr !important; column-gap: 16px !important; }
      .svc-panel-body { font-size: 14px !important; }
      .svc-panel-result { font-size: 13px !important; }
    }

    @media (max-width: 480px) {
      .hero-title { font-size: clamp(28px, 13vw, 68px); letter-spacing: 0.06em; }
      .hero-sub { font-size: 12px; }

      .space-features { grid-template-columns: 1fr; }
      .space-feature { padding: 28px 20px; }

      .eng-stat-row { flex-direction: column; gap: 16px; }
      .eng-stat-num { font-size: 40px; }

      .solve-card { padding: 24px 20px; }

      .svc-intro-positive { font-size: clamp(28px, 9vw, 44px); }
      .svc-intro-negative { font-size: 13px; }

      .solutions-grid { grid-template-columns: 1fr; }
    }

    /* Mobile service list */
    .svc-mobile-list { display: none; flex-direction: column; padding: 0 6vw 48px; gap: 0; }
    .svc-mobile-item { padding: 24px 0; border-top: 1px solid rgba(127,131,167,0.15); }
    .svc-mobile-num { font-family: var(--font-sub); font-size: 12px; letter-spacing: 0.2em; color: rgba(196,125,106,0.7); margin-bottom: 8px; }
    .svc-mobile-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #FFE2C0; margin-bottom: 12px; line-height: 1.2; }
    .svc-mobile-body { font-family: var(--font-sub); font-size: 14px; font-weight: 300; line-height: 1.8; color: rgba(200,204,232,0.65); margin-bottom: 12px; }
    .svc-mobile-result { font-family: var(--font-sub); font-size: 13px; color: rgba(232,185,154,0.8); border-top: 1px solid rgba(232,185,154,0.15); padding-top: 10px; line-height: 1.6; }


    /* ── WARM GRADIENT: large bold headings only ── */
    h2, h3,
    .section-title, .eng-heading, .solution-title,
    .contact-heading, .footer-brand {
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: warmShift 20s ease infinite;
    }

    /* Feature card titles — subtle warm gradient */
    .feature-title {
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: warmShift 20s ease infinite;
    }

    /* texture overlay removed */
    #engineering, #space, #solutions, #activations {
      position: relative;
    }


    /* ── Orphan & widow prevention ── */
    p, .card-desc, .feature-desc, .eng-body, .solutions-intro {
      orphans: 3;
      widows: 3;
      text-wrap: pretty; /* modern browsers: smart line-break balancing */
    }
    /* Tie last two words together on headings */
    h1, h2, h3 {
      text-wrap: balance;
    }



    /* ── Lab section — new layout ── */
    .lab-new-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
      padding: 100px 8vw 120px;
    }
    .lab-copy { }
    .lab-name-lockup {
      display: flex;
      align-items: baseline;
      gap: 14px;
      margin: 20px 0 32px;
      line-height: 1;
    }
    .lab-name-the {
      font-family: var(--font-head);
      font-size: clamp(22px, 2.5vw, 38px);
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.6);
    }
    .lab-name-lab {
      font-family: var(--font-head);
      font-size: clamp(52px, 7.5vw, 108px);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: warmShift 20s ease infinite;
      line-height: 0.95;
    }
    .lab-subhead {
      font-family: var(--font-head);
      font-size: clamp(14px, 1.4vw, 20px);
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.7);
      line-height: 1.45;
      margin-bottom: 32px;
    }
    .lab-cells {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-items: start;
    }
    @media (max-width: 960px) {
      .lab-new-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 6vw 80px; }
      .lab-cells { grid-template-columns: 1fr; }
    }


    
    .lab2-wrap {
      padding: 0 8vw 120px;
      position: relative;
    }
    .lab2-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 40px 0 28px;
      border-bottom: 1px solid rgba(127,131,167,0.15);
      margin-bottom: 0;
    }
    .lab2-tag {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--magenta);
    }
    .lab2-coord {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.14em;
      color: rgba(127,131,167,0.45);
      text-transform: uppercase;
    }
    .lab2-title-row {
      display: flex;
      align-items: flex-end;
      gap: 60px;
      padding: 40px 0 0;
      border-bottom: 1px solid rgba(127,131,167,0.08);
      padding-bottom: 40px;
    }
    .lab2-title-left {
      display: flex;
      flex-direction: column;
      line-height: 0.9;
      flex-shrink: 0;
    }
    .lab2-the {
      font-family: var(--font-head);
      font-size: clamp(18px, 2vw, 32px);
      font-weight: 400;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.65);
    }
    .lab2-lab {
      font-family: var(--font-head);
      font-size: clamp(64px, 9vw, 130px);
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: warmShift 20s ease infinite;
      line-height: 0.88;
    }
    .lab2-headline-col {
      padding-bottom: 8px;
    }
    .lab2-headline {
      font-family: var(--font-head);
      font-size: clamp(16px, 1.6vw, 24px);
      font-weight: 400;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.75);
      line-height: 1.5;
    }
    .lab2-rule {
      display: flex;
      align-items: center;
      gap: 0;
      height: 1px;
      background: linear-gradient(to right, rgba(127,131,167,0.2), rgba(127,131,167,0.06));
      margin: 0;
      position: relative;
    }
    .lab2-rule-tick {
      display: inline-block;
      width: 1px;
      height: 8px;
      background: rgba(127,131,167,0.3);
      margin-left: 20%;
      margin-top: -4px;
    }
    .lab2-body-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      padding: 40px 0 48px;
    }
    .lab2-body {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.1vw, 16px);
      font-weight: 300;
      line-height: 1.8;
      color: rgba(200,204,232,0.75);
      letter-spacing: 0.02em;
    }
    .lab2-panels {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .lab2-panel {
      position: relative;
      border: 1px solid rgba(127,131,167,0.14);
      padding: 32px 36px 36px;
      background: rgba(127,131,167,0.03);
      transition: background 0.3s ease;
    }
    .lab2-panel:hover {
      background: rgba(127,131,167,0.07);
    }
    /* corner accents */
    .lab2-panel-corner {
      position: absolute;
      width: 12px;
      height: 12px;
      border-color: rgba(196,125,106,0.7);
      border-style: solid;
    }
    .lab2-panel-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
    .lab2-panel-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
    .lab2-panel-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
    .lab2-panel-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
    .lab2-panel-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }
    .lab2-panel-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--magenta);
      animation: pulse-dot 2.5s ease-in-out infinite;
      flex-shrink: 0;
    }
    .lab2-panel-label {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.8);
      flex: 1;
    }
    .lab2-panel-index {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.2em;
      color: rgba(127,131,167,0.7);
    }
    .lab2-panel-divider {
      height: 1px;
      background: linear-gradient(to right, rgba(196,125,106,0.3), transparent);
      margin-bottom: 20px;
    }
    .lab2-panel-body {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.1vw, 17px);
      font-weight: 600;
      line-height: 1.6;
      color: rgba(232,232,240,0.88);
      margin-bottom: 14px;
      letter-spacing: 0.01em;
    }
    .lab2-panel-detail {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      line-height: 1.7;
      color: rgba(180,183,210,0.65);
      letter-spacing: 0.02em;
    }
    @media (max-width: 900px) {
      .lab2-body-row { grid-template-columns: 1fr; gap: 24px; }
      .lab2-panels { grid-template-columns: 1fr; }
      .lab2-title-row { flex-direction: column; gap: 20px; align-items: flex-start; }
      .lab2-wrap { padding: 0 6vw 80px; }
    }



    /* ── Lab section: eyebrow + coord row ── */
    .lab-eyebrow-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 100px 8vw 72px;
      gap: 48px;
    }

    .lab-crosshair {
      color: var(--magenta);
      opacity: 0.5;
      font-size: 14px;
      margin-right: 6px;
      animation: lab-xhair-pulse 3s ease-in-out infinite;
    }
    @keyframes lab-xhair-pulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 0.7; }
    }

    .lab-coord {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(180,185,220,0.7);
      text-align: left;
    }


    /* ── Lab callout cards (replaces lgc grid) ── */
    .lab-callouts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      padding: 0 8vw 100px;
    }
    .lab-callout-card {
      border: 1px solid rgba(127,131,167,0.15);
      padding: 36px 40px 40px;
      position: relative;
      background: rgba(127,131,167,0.025);
      transition: background 0.3s ease, border-color 0.3s ease;
    }
    .lab-callout-card:hover {
      background: rgba(127,131,167,0.06);
      border-color: rgba(196,125,106,0.25);
    }
    /* corner accents */
    .lab-callout-card::before,
    .lab-callout-card::after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      border-color: rgba(196,125,106,0.5);
      border-style: solid;
      transition: border-color 0.3s ease;
    }
    .lab-callout-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
    .lab-callout-card::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
    .lab-callout-card:hover::before,
    .lab-callout-card:hover::after { border-color: rgba(196,125,106,0.9); }
    .lab-callout-num {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.28em;
      color: rgba(127,131,167,0.3);
      margin-bottom: 18px;
    }
    .lab-callout-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-head);
      font-size: clamp(14px, 1.3vw, 18px);
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #E8B99A;
      margin-bottom: 20px;
    }
    .lab-callout-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--magenta);
      flex-shrink: 0;
      animation: lgc-pulse 3s ease-in-out infinite;
    }
    .lab-callout-divider {
      height: 1px;
      background: linear-gradient(to right, rgba(196,125,106,0.4), transparent);
      margin-bottom: 20px;
    }
    .lab-callout-body {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.1vw, 16px);
      font-weight: 500;
      line-height: 1.7;
      color: rgba(217,219,244,0.85);
      margin-bottom: 12px;
      letter-spacing: 0.02em;
    }
    .lab-callout-detail {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(180,183,210,0.6);
      letter-spacing: 0.02em;
    }
    @media (max-width: 768px) {
      .lab-callouts { grid-template-columns: 1fr; padding: 0 6vw 60px; }

      .svc-right-card { padding: 20px 20px !important; max-width: 100% !important; }
      .svc-panel-inner { padding: 20px 0 16px !important; grid-template-columns: 40px 1fr !important; column-gap: 16px !important; }
      .svc-panel-body { font-size: 14px !important; }
      .svc-panel-result { font-size: 13px !important; }
    }


    /* ── Eng visual wrap + topbar ── */
    .eng-visual-wrap { display: flex; flex-direction: column; }
    .eng-visual-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 0 10px 0;
      border-bottom: 1px solid rgba(127,131,167,0.12);
      margin-bottom: 10px;
    }
    .eng-visual-toplabel {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(168,171,202,0.55);
    }
    /* Corners: gradient #C10644 → #4C041D */
    .eng-visual-corner {
      position: absolute;
      width: 20px; height: 20px;
    }
    .eng-visual-corner::before,
    .eng-visual-corner::after {
      content: '';
      position: absolute;
      background: linear-gradient(135deg, #C10644, #4C041D);
    }
    .eng-visual-corner::before { width: 100%; height: 2px; top: 0; left: 0; }
    .eng-visual-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
    .eng-visual-corner.tl { top: 24px; left: 24px; }
    .eng-visual-corner.tr { top: 24px; right: 24px; transform: scaleX(-1); }
    .eng-visual-corner.bl { bottom: 24px; left: 24px; transform: scaleY(-1); }
    .eng-visual-corner.br { bottom: 24px; right: 24px; transform: scale(-1); }
    /* 5 callouts: left-aligned, equally spaced */



    /* ── Lab entrance animations ── */
    .lab-header-bar {
      opacity: 0;
      transform: scaleX(0);
      transform-origin: center;
    }
    .lab-header-bar.lab-in {
      opacity: 1;
      transform: scaleX(1);
      transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .lab-title-lab {
      opacity: 0;
      transform: translateY(40px);
      filter: blur(8px);
    }
    .lab-title-lab.lab-in {
      opacity: 1 !important;
      transform: translateY(0) !important;
      filter: blur(0) !important;
      transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, filter 0.7s ease 0.2s;
    }

    .lab-eyebrow-row > div:last-child {
      opacity: 0;
      transform: translateX(40px);
    }
    .lab-eyebrow-row > div:last-child.lab-in {
      opacity: 1;
      transform: translateX(0);
      transition: opacity 0.7s ease 0.4s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    }

    .lab-callout-card {
      opacity: 0;
      transform: translateY(30px) scale(0.97);
    }
    .lab-callout-card.lab-in {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* ── Lab header bar ── */
    .lab-header-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 8vw 24px;
      border-bottom: 1px solid rgba(127,131,167,0.08);
      margin-bottom: -20px;
    }
    .lab-hb-left, .lab-hb-right, .lab-hb-center {
      font-family: var(--font-sub);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(180,178,220,0.35);
    }
    .lab-hb-left { color: rgba(196,125,106,0.5); }
    .lab-hb-center { color: rgba(127,131,167,0.2); }

    /* ── Lab card header: 01 | SYSTEM MODULE | status dots ── */
    .lab-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(127,131,167,0.08);
    }
    .lab-card-num {
      font-family: var(--font-head);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: rgba(232,185,154,0.5);
    }
    .lab-card-module {
      font-family: var(--font-sub);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.18em;
      color: rgba(127,131,167,0.5);
      margin-left: auto;
    }
    .lab-card-status-dots {
      display: flex;
      gap: 3px;
      align-items: center;
    }
    .lab-card-status-dots span {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(127,131,167,0.2);
    }
    .lab-card-status-dots .lab-sd-on {
      background: var(--magenta);
      box-shadow: 0 0 4px rgba(193,6,68,0.4);
    }
    .lab-card-status-dots .lab-sd-blue {
      background: rgba(180,200,240,0.85);
      box-shadow: 0 0 6px rgba(180,200,240,0.4);
    }

    /* ── Lab card footer: STATUS ▸ ONLINE ── */
    .lab-card-footer {
      margin-top: 20px;
      padding-top: 12px;
      border-top: 1px solid rgba(127,131,167,0.08);
      font-family: var(--font-sub);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(127,131,167,0.4);
    }
    .lab-status-live {
      color: rgba(196,125,106,0.7);
    }

    /* ── Lab footer bar ── */
    .lab-footer-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 8vw 0;
      border-top: 1px solid rgba(127,131,167,0.08);
      margin-top: 20px;
    }
    .lab-fb-left, .lab-fb-right, .lab-fb-center {
      font-family: var(--font-sub);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(127,131,167,0.3);
    }
    .lab-fb-dot {
      display: inline-block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(196,125,106,0.5);
      vertical-align: middle;
      margin-left: 4px;
    }
    .lab-fb-center { color: rgba(127,131,167,0.15); }

    /* ── Corner brackets: also add to the eyebrow row panels ── */
    .lab-eyebrow-row > div:first-child {
      position: relative;
      padding: 24px;
    }
    .lab-eyebrow-row > div:first-child::before,
    .lab-eyebrow-row > div:first-child::after {
      content: '';
      position: absolute;
      width: 12px;
      height: 12px;
      border-color: rgba(196,125,106,0.3);
      border-style: solid;
    }
    .lab-eyebrow-row > div:first-child::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
    .lab-eyebrow-row > div:first-child::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

    .lab-eyebrow-row > div:last-child {
      position: relative;
      padding: 24px;
      border: 1px solid rgba(127,131,167,0.08);
    }
    .lab-eyebrow-row > div:last-child::before,
    .lab-eyebrow-row > div:last-child::after {
      content: '';
      position: absolute;
      width: 12px;
      height: 12px;
      border-color: rgba(127,131,167,0.3);
      border-style: solid;
    }
    .lab-eyebrow-row > div:last-child::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
    .lab-eyebrow-row > div:last-child::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

    /* ── Scan line for The Lab ── */
    #the-lab::before {
      content: '';
      position: absolute;
      left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(127,131,167,0.12) 30%, rgba(127,131,167,0.2) 50%, rgba(127,131,167,0.12) 70%, transparent 100%);
      animation: lab-scan 18s linear infinite;
      pointer-events: none;
      z-index: 2;
    }
    @keyframes lab-scan {
      0%   { top: 0%;   opacity: 0; }
      5%   { opacity: 1; }
      95%  { opacity: 0.3; }
      100% { top: 100%; opacity: 0; }
    }

    /* ─── THE LAB Section ────────────────────────── */
    #the-lab {
      padding: 140px 0 60px;
      background:
        linear-gradient(180deg, var(--bg) 0%, #0e0e1a 50%, var(--bg) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='0.5' fill='rgba(127,131,167,0.08)'/%3E%3C/svg%3E");
      position: relative;
      overflow: hidden;
    }
    /* Subtle grid overlay */
    #the-lab::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(0deg, rgba(127,131,167,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,131,167,0.025) 1px, transparent 1px);
      background-size: 100px 100px;
      pointer-events: none;
      z-index: 0;
    }
    #the-lab > * { position: relative; z-index: 1; }

    .lab-triptych {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 32px;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 48px;
    }

    .lab-card {
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(127,131,167,0.15);
      border-radius: 2px;
      padding: 36px 32px;
      position: relative;
      transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
      overflow: hidden;
    }

    .lab-card::before {
      content: ;
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,226,192,0.06) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .lab-card::after {
      content: ;
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(255,226,192,0.6), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .lab-card:hover {
      transform: translateY(-6px);
      border-color: rgba(255,226,192,0.25);
      box-shadow: 0 20px 60px rgba(196,125,106,0.12), 0 4px 20px rgba(0,0,0,0.3);
      background: rgba(255,226,192,0.03);
    }

    .lab-card:hover::before { opacity: 1; }
    .lab-card:hover::after { opacity: 1; }

    .lab-card:hover p { color: rgba(217,219,244,0.85); }

    .lab-card p {
      font-size: 15px;
      font-weight: 300;
      color: var(--text-light);
      line-height: 1.8;
      margin: 0;
    }

    .lab-card strong {
      color: var(--cream);
      font-weight: 500;
    }

    .lab-title-block {
      text-align: center;
      padding: 0 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }

    .lab-connector {
      width: 1px;
      height: 32px;
      background: linear-gradient(to bottom, transparent, rgba(255,226,192,0.3));
    }

    .lab-connector.bottom {
      background: linear-gradient(to bottom, rgba(255,226,192,0.3), transparent);
    }

    .lab-title-text {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 12px 0;
    }

    .lab-title-the {
      font-family: var(--font-sub);
      font-size: clamp(13px, 1.2vw, 18px);
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: rgba(255,226,192,0.4);
      display: block;
      margin-bottom: 4px;
    }

    .lab-title-lab {
      font-family: var(--font-head);
      font-size: clamp(36px, 4.2vw, 62px);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0, #C47D6A);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      display: block;
      animation: labGradShift 7s ease-in-out infinite alternate;
    }

    @keyframes labGradShift {
      0%   { background-position: 0% center; }
      100% { background-position: 100% center; }
    }

    @media (max-width: 860px) {
      .lab-triptych {
        grid-template-columns: 1fr;
      }
      .lab-title-block { order: -1; }
      .lab-connector { display: none; }
    }
  
/* ── Lab Grid — Technical Readout Panels ── */
    .lab-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 0 5vw 60px;
    }

    .lab-grid-cell {
      position: relative;
      padding: 30px 34px 36px;
      min-height: 180px;
      background:
        radial-gradient(circle at 50% 50%, rgba(196,125,106,0.03) 0%, transparent 65%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='0.75' fill='rgba(127,131,167,0.18)'/%3E%3C/svg%3E");
      border: 1px solid rgba(127,131,167,0.14);
      display: flex;
      flex-direction: column;
      gap: 18px;
      overflow: hidden;
      transition: border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
    }

    .lab-grid-cell:hover {
      border-color: rgba(196,125,106,0.3);
      box-shadow: 0 0 0 1px rgba(196,125,106,0.08) inset,
                  0 8px 48px rgba(196,125,106,0.07);
    }

    /* Corner tick marks — like the engineering visual */
    .lgc-corner {
      position: absolute;
      width: 10px; height: 10px;
      transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
      opacity: 0.35;
    }
    .lgc-corner::before, .lgc-corner::after {
      content: '';
      position: absolute;
      background: #C47D6A;
    }
    .lgc-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
    .lgc-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }

    .lgc-tl { top: 12px; left: 12px; }
    .lgc-tr { top: 12px; right: 12px; transform: scaleX(-1); }
    .lgc-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
    .lgc-br { bottom: 12px; right: 12px; transform: scale(-1); }

    .lab-grid-cell:hover .lgc-corner {
      width: 14px; height: 14px; opacity: 0.7;
    }

    /* Index number */
    .lgc-index {
      position: absolute;
      top: 12px; right: 16px;
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.2em;
      color: rgba(232,185,154,0.4);
      transition: color 0.5s ease;
    }
    .lab-grid-cell:hover .lgc-index { color: rgba(232,185,154,0.45); }

    /* Header row: pulse dot + label */
    .lgc-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
    }

    .lgc-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: #C47D6A;
      flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(196,125,106,0.5);
      animation: lgc-pulse 3s ease-in-out infinite;
    }

    @keyframes lgc-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(196,125,106,0.5); opacity: 1; }
      50%       { box-shadow: 0 0 0 5px rgba(196,125,106,0); opacity: 0.7; }
    }

    .lab-grid-label {
      font-family: var(--font-head);
      font-size: clamp(14px, 1.4vw, 20px);
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #E8B99A;
      -webkit-text-fill-color: #E8B99A;
      background: none;
      transition: color 0.4s ease;
    }

    .lab-grid-cell:hover .lab-grid-label { color: #F0C9AE; }



    /* Inner layout — simple stacked */
    .lgc-inner {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .lgc-headline {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.2vw, 17px);
      font-weight: 600;
      line-height: 1.65;
      letter-spacing: 0.02em;
      text-transform: none;
      color: rgba(232,232,240,0.9);
      margin: 0;
      transition: color 0.5s ease;
    }
    .lab-grid-cell:hover .lgc-headline { color: #D9DBF4; }

    .lgc-vdivider {
      display: none;
      width: 1px;
      align-self: stretch;
      background: linear-gradient(to bottom, #E8B99A 0%, rgba(232,185,154,0.1) 100%);
      transition: opacity 0.5s ease;
      opacity: 0.45;
    }
    .lab-grid-cell:hover .lgc-vdivider { opacity: 0.85; }

    .lgc-detail {
      font-family: var(--font-sub);
      font-size: clamp(12px, 0.95vw, 14px);
      font-weight: 300;
      line-height: 1.9;
      letter-spacing: 0.03em;
      padding-top: 0;
      background: linear-gradient(120deg, #D9DBF4 0%, #C8CCE8 50%, #E8B99A 100%);
      background-size: 200% 100%;
      background-position: 0% center;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: background-position 1.2s ease;
    }
    .lab-grid-cell:hover .lgc-detail { background-position: 60% center; }

    @media (max-width: 768px) {
      .lab-grid { grid-template-columns: 1fr; padding: 0 6vw 60px; }
    }

    .eng-stat-row {
      display: flex;
      gap: 64px;
      margin-top: 48px;
    }

    .eng-stat {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .eng-stat-num {
      font-family: var(--font-head);
      font-size: 52px;
      line-height: 1;
      color: #C47D6A;
    }

    .eng-stat-label {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--lavender);
      white-space: nowrap;
    }

    /* Decorative line art */
    .eng-visual {
      position: relative;
      height: 420px;
      container-type: inline-size;
    }

    .eng-visual-box {
      position: absolute;
      inset: 0;
      border: 1px solid rgba(127,131,167,0.15);
      border-radius: 2px;
    }

    .eng-visual-inner {
      position: absolute;
      inset: 24px;
      border: 1px solid rgba(127,131,167,0.08);
      border-radius: 2px;
    }



    .eng-visual-center {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }

    .eng-visual-dim {
      font-family: var(--font-head);
      font-size: 64px;
      color: rgba(255,226,192,0.08);
      line-height: 1;
    }

    .eng-visual-dim-label {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.3em;
      color: rgba(127,131,167,0.3);
      text-transform: uppercase;
    }

    /* Animated grid lines */
    .eng-visual-grid {
      position: absolute;
      inset: 40px;
      background-image:
        linear-gradient(rgba(127,131,167,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,131,167,0.04) 1px, transparent 1px);
      background-size: 30px 30px;
    }

    /* Glow dot */
        .eng-callout {
      position: absolute;
      will-change: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .eng-callout-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: linear-gradient(to bottom, #D9DBF4, #7F83A7);
      box-shadow: 0 0 10px rgba(196,125,106,0.7), 0 0 20px rgba(255,226,192,0.3);
      flex-shrink: 0;
      animation: dot-pulse 2.5s ease-in-out infinite;
    }
    .eng-callout-line {
      width: 32px;
      transform-origin: left center;
      height: 1px;
      background: linear-gradient(to right, #FFE2C0, rgba(196,125,106,0.3));
    }
    .eng-callout-label {
      font-family: var(--font-sub);
      font-size: clamp(8px, 2.5cqi, 12px);
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      background: linear-gradient(to bottom, #D9DBF4, #7F83A7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      white-space: nowrap;
    }



    /* Centered callout list */
    .eng-callout-list {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }
    .eng-callout-list .eng-callout {
      position: static;
    }

    @keyframes dot-pulse {
      0%, 100% { opacity: 0.7; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.5); }
    }

    /* ─── Section 3 — Space ────────────────────────── */
    #space {
      padding: 140px 0;
      background: linear-gradient(180deg, var(--bg) 0%, #0e0e1a 50%, var(--bg) 100%);
    }

    #space .section-inner {
      text-align: center;
      max-width: 900px;
      margin: 0 auto;
    }

    .space-headline {
      font-family: var(--font-head);
      font-size: clamp(48px, 6.5vw, 96px);
      line-height: 1.0;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text);
      margin-bottom: 60px;
    }

    .space-features {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      margin-top: 80px;
    }

    .space-feature {
      padding: 48px 32px;
      background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(41,43,61,0.3) 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.2);
      border-top: 1px solid rgba(127,131,167,0.12);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .space-feature::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, #C47D6A, #7F83A7, transparent);
      transform: scaleX(0);
      transition: transform 0.4s ease;
    }

    .space-feature:hover::after { transform: scaleX(1); }

    .space-feature:hover {
      background: rgba(41,43,61,0.6);
      transform: translateY(-4px);
    }

    .feature-icon {
      font-size: 28px;
      margin-bottom: 20px;
      display: block;
    }

    .feature-title {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--cream);
      margin-bottom: 12px;
    }

    .feature-desc {
      font-size: 13px;
      font-weight: 300;
      color: var(--text-light);
      line-height: 1.7;
    }

    /* ── What We Do — icon row ── */
    #engineering .ww-icon-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(24px, 4vw, 72px);
      align-items: start;
      max-width: 1280px;
      margin: 96px auto 16px;
      padding: 0 clamp(20px, 5vw, 56px);
      box-sizing: border-box;
    }
    #engineering .ww-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 18px;
      text-align: center;
    }
    #engineering .ww-icon img {
      display: block;
      width: 100%;
      max-width: 232px;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
    }
    #engineering .ww-icon-label {
      font-family: var(--font-sub);
      font-size: clamp(12px, 0.95vw, 14px);
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #D9DBF4, #7F83A7, #D9DBF4, #7F83A7);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: coolShift 18s ease infinite;
      max-width: none;
      line-height: 1.5;
      white-space: nowrap;
    }
    @keyframes coolShift {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    @media (max-width: 1100px) {
      #engineering .ww-icon-label {
        white-space: normal;
        max-width: 18ch;
      }
    }
    @media (max-width: 1024px) {
      #engineering .ww-icon-row { margin-top: 56px; gap: 28px; }
      #engineering .ww-icon img { max-width: 200px; }
    }
    @media (max-width: 700px) {
      /* Mobile pyramid: icon 1 spans both columns (centered above), icons 2 & 3 share the row below. */
      #engineering .ww-icon-row {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        margin-top: 48px;
      }
      #engineering .ww-icon:nth-child(1) { grid-column: 1 / -1; }
      #engineering .ww-icon img { max-width: 140px; }
    }

    /* ── What We Solve For ── */
    #solve {
      padding: 120px 0 0;
      overflow: visible;
    }

    .solve-two-col {
      display: grid;
      grid-template-columns: 40% 60%;
      gap: 0;
      align-items: start;
    }

    .solve-left {
      position: sticky;
      top: 15vh;
      padding: 0 5vw 80px;
    }

    .solve-headline {
      font-family: var(--font-head);
      font-size: clamp(36px, 4.5vw, 72px);
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      line-height: 1.0;
      color: var(--text);
      margin-top: 20px;
    }

    .solve-right {
      border-left: 1px solid rgba(127,131,167,0.1);
      padding-bottom: 120px;
    }

    .solve-card {
      padding: 56px 5vw;
      border-bottom: 1px solid rgba(127,131,167,0.07);
      position: relative;
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .solve-card.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    /* Warm left accent line */
    .solve-card::before {
      content: '';
      position: absolute;
      left: 0; top: 20%; bottom: 20%;
      width: 2px;
      background: linear-gradient(to bottom, transparent, rgba(232,185,154,0.4), transparent);
      opacity: 0;
      transition: opacity 0.6s ease 0.3s;
    }

    .solve-card.in-view::before { opacity: 1; }

    .solve-index {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.3em;
      color: rgba(127,131,167,0.7);
      margin-bottom: 24px;
    }

    /* Side-by-side problem / solution within each card */
    .solve-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
    }
    .solve-col {
      padding-right: 32px;
    }
    .solve-col + .solve-col {
      padding-right: 28px;
      padding-left: 32px;
      border-left: 1px solid rgba(127,131,167,0.12);
    }
    .solve-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-sub);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .solve-label::before {
      content: '';
      display: inline-block;
      width: 12px;
      height: 1px;
      flex-shrink: 0;
    }
    .solve-label-problem {
      color: rgba(127,131,167,0.9);
      font-family: var(--font-head);
    }
    .solve-label-problem::before { background: rgba(127,131,167,0.6); }
    .solve-label-solution {
      color: #FFE2C0;
      font-family: var(--font-head);
    }
    .solve-label-solution::before { background: #FFE2C0; }

    .solve-problem {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.2vw, 17px);
      font-weight: 500;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.82);
      line-height: 1.55;
    }

    .solve-solution {
      font-family: var(--font-sub);
      font-size: clamp(14px, 1.2vw, 18px);
      font-weight: 700;
      letter-spacing: 0.01em;
      text-transform: none;
      line-height: 1.55;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 480px) {
      .solve-two-col { grid-template-columns: 1fr; }
      .solve-left { position: relative; top: auto; padding: 0 6vw 40px; }
      .solve-right { border-left: none; border-top: 1px solid rgba(127,131,167,0.1); }
      .solve-card { padding: 48px 6vw; opacity: 1; transform: none; }
    }


    /* ── Services Section ──    /* ── Services Section ── */
    #services {
      padding: 120px 0 60px;
      position: relative;
      overflow: visible;
      /* Retro-technical dot grid + subtle gradient */
      background:
        radial-gradient(circle at 20% 30%, rgba(193,6,68,0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196,125,106,0.02) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='0.5' fill='rgba(127,131,167,0.12)'/%3E%3C/svg%3E");
    }

    /* Retro grid overlay */
    #services::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(0deg, rgba(127,131,167,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,131,167,0.03) 1px, transparent 1px);
      background-size: 120px 120px;
      pointer-events: none;
      z-index: 0;
    }

    #services > * {
      position: relative;
      z-index: 1;
    }

    #services::before {
      content: '';
      position: absolute;
      left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(232,185,154,0.18) 30%, rgba(232,185,154,0.35) 50%, rgba(232,185,154,0.18) 70%, transparent 100%);
      animation: svc-scan 12s linear infinite;
      pointer-events: none;
    }

    @keyframes svc-scan {
      0%   { top: 0%;   opacity: 0; }
      5%   { opacity: 1; }
      95%  { opacity: 0.4; }
      100% { top: 100%; opacity: 0; }
    }

    /* Services intro — editorial treatment */
    .svc-intro-wrap {
      padding: 80px 8vw 48px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .svc-intro-label {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(196,125,106,0.7);
      margin-bottom: 20px;
    }

    .svc-intro-negative {
      font-family: var(--font-head);
      font-size: clamp(16px, 1.6vw, 22px);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #D9DBF4;
      margin-bottom: 6px;
      line-height: 1;
      text-decoration: line-through;
      text-decoration-color: rgba(217,219,244,0.45);
    }

    .svc-intro-positive {
      font-family: var(--font-head);
      font-size: clamp(36px, 4.5vw, 72px);
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      line-height: 1.05;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: labGradShift 10s ease-in-out infinite alternate;
      margin-bottom: 20px;
    }

    .svc-intro-detail {
      font-family: var(--font-sub);
      font-size: clamp(13px, 1.1vw, 16px);
      font-weight: 300;
      line-height: 1.8;
      color: #D9DBF4;
      letter-spacing: 0.04em;
      max-width: 560px;
    }

    .svc-intro { display: none; }

    /* radial diagram */
    .svc-radial-wrap {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      min-height: 480px;
      max-width: 1300px;
      margin: 0 auto;
      gap: 40px;
      padding: 0 4vw;
    }

    .svc-diagram-area {
      position: relative;
      flex: 0 0 auto;
      width: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 300px;
      background-image: radial-gradient(circle, rgba(180,178,220,0.13) 1px, transparent 1px);
      background-size: 28px 28px;
    }

    /* Right panel — hidden, tooltips handle content */
    .svc-right-panel {
      flex: 0 1 380px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 0 0 0 3vw;
      border-left: 1px solid rgba(127,131,167,0.08);
    }

    .svc-right-card {
      width: 100%;
      max-width: 600px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.4s ease, transform 0.4s ease;
      background: rgba(10,10,18,0.3);
      border: 1px solid rgba(127,131,167,0.1);
      border-top: 1px solid rgba(196,125,106,0.2);
      padding: 36px 40px;
      position: relative;
      overflow: hidden;
    }
    
    .svc-right-card.svc-default .svc-panel-inner {
      align-items: center;
      justify-content: center;
      text-align: center;
      min-height: 200px;
    }
    .svc-right-card.svc-default .svc-right-num { text-align: center; }
    .svc-right-card.svc-default .svc-right-title { text-align: center; letter-spacing: 0.2em; }
    .svc-right-card.visible {
      opacity: 1;
      transform: translateY(0);
      border-color: rgba(196,125,106,0.3);
      box-shadow: 0 0 0 1px rgba(196,125,106,0.08) inset, 0 8px 48px rgba(196,125,106,0.07);
    }
    /* Corner ticks — match lgc-corner */
    .svc-right-card .src-corner {
      position: absolute;
      width: 10px; height: 10px;
    }
    .svc-right-card .src-corner::before,
    .svc-right-card .src-corner::after {
      content: '';
      position: absolute;
      background: #C47D6A;
    }
    .svc-right-card .src-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
    .svc-right-card .src-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }
    .svc-right-card .src-tl { top: 12px; left: 12px; }
    .svc-right-card .src-tr { top: 12px; right: 12px; transform: scaleX(-1); }
    .svc-right-card .src-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
    .svc-right-card .src-br { bottom: 12px; right: 12px; transform: scale(-1); }

    .svc-right-num {
      font-family: var(--font-head);
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: rgba(193,6,68,0.45);
      margin-bottom: 16px;
      text-transform: uppercase;
    }
    .svc-right-title {
      font-family: var(--font-head);
      font-size: clamp(14px, 1.4vw, 18px);
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #D9DBF4, #7F83A7, #D9DBF4, #7F83A7);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: svcTitleShift 16s ease-in-out infinite;
      margin-bottom: 20px;
      line-height: 1.3;
    }

    @keyframes svcTitleShift {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .svc-right-body {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 300;
      line-height: 1.75;
      color: #FFE2C0;
      margin-bottom: 20px;
    }
    .svc-right-result {
      font-family: var(--font-sub);
      font-size: 15px;
      font-weight: 500;
      background: linear-gradient(135deg, #FFF1E0, #FFE2C0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      border-top: 1px solid rgba(127,131,167,0.12);
      padding-top: 16px;
      line-height: 1.6;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* SVG connector lines */
    .svc-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      overflow: visible;
    }

    .svc-line {
      stroke: rgba(180,178,220,0.28);
      stroke-width: 1;
      stroke-dasharray: 3 5;
      animation: svc-dash 3s linear infinite;
      transition: stroke 0.4s ease, stroke-width 0.3s ease;
    }

    .svc-line.warm {
      stroke: rgba(232,185,154,0.65);
      stroke-width: 1;
      animation: svc-dash 1.6s linear infinite;
    }

    @keyframes svc-dash {
      to { stroke-dashoffset: -18; }
    }

    /* center node */
    .svc-center-node {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 120px;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
    }

    .svc-c-circle {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(180,178,220,0.1);
      pointer-events: none;
    }
    .svc-c-circle.c1 { width: 120px; height: 120px; border-color: rgba(76,4,29,0.25); }
    .svc-c-circle.c2 { width: 145px; height: 145px; }
    .svc-c-circle.c3 { width: 170px; height: 170px; }

    .svc-c-orbit {
      position: absolute;
      width: 105px;
      height: 105px;
      border-radius: 50%;
      border: 1px dashed rgba(232,185,154,0.22);
      border-top-color: rgba(232,185,154,0.65);
      animation: svc-orbit-spin 8s linear infinite;
      pointer-events: none;
    }

    @keyframes svc-orbit-spin {
      to { transform: rotate(360deg); }
    }

    .svc-c-diamond {
      position: absolute;
      width: 100px;
      height: 100px;
      border: 1px solid rgba(232,185,154,0.48);
      outline: 1px solid rgba(76,4,29,0.25);
      outline-offset: 8px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(76,4,29,0.35) 0%, rgba(76,4,29,0.08) 60%, transparent 100%);
      animation: svc-center-pulse 4s ease-in-out infinite;
    }

    @keyframes svc-center-pulse {
      0%, 100% { outline-color: rgba(76,4,29,0.2); box-shadow: 0 0 0 0 rgba(76,4,29,0); }
      50%       { outline-color: rgba(76,4,29,0.45); box-shadow: 0 0 16px rgba(76,4,29,0.3); }
    }

    .svc-c-label {
      position: relative;
      font-family: var(--font-head);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: rgba(232,185,154,0.88);
      text-transform: uppercase;
      white-space: nowrap;
      z-index: 4;
    }

    .svc-c-coord {
      position: absolute;
      bottom: -24px;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.07em;
      color: rgba(180,178,220,0.5);
      white-space: nowrap;
    }

    /* ── Services: two-column layout (circle left, cards right) ── */
    .svc-cards-col {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      padding: 20px 0;
      flex: 0 0 auto;
    }

    /* Outer frame corner brackets */
    .svc-frame-corner {
      position: absolute;
      width: 14px;
      height: 14px;
      border-color: rgba(196,125,106,0.35);
      border-style: solid;
      z-index: 1;
    }
    .svc-fc-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
    .svc-fc-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
    .svc-fc-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
    .svc-fc-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

    /* Diamond separators between cards */
    .svc-diamond-sep {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      padding: 8px 0;
    }
    .svc-ds-gem {
      width: 10px;
      height: 10px;
      border: 1px solid rgba(196,125,106,0.5);
      transform: rotate(45deg);
      flex-shrink: 0;
    }
    .svc-ds-line {
      width: 40px;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(196,125,106,0.3));
    }
    .svc-ds-top .svc-ds-line:first-child {
      background: linear-gradient(to right, rgba(196,125,106,0.3), transparent);
    }

    /* Card frame */
    .svc-nd-card {
      position: relative;
      border: 1px solid rgba(196,125,106,0.25);
      padding: 14px 18px 14px 28px;
      background: rgba(10,10,18,0.4);
      text-align: left;
      width: 100%;
      max-width: 260px;
      cursor: pointer;
      transition: border-color 0.3s ease, background 0.3s ease;
    }

    .svc-nd-card:hover,
    .svc-nd-card.active {
      border-color: rgba(232,185,154,0.5);
      background: rgba(232,185,154,0.04);
    }

    .svc-nd-edge-diamond {
      position: absolute;
      left: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      z-index: 2;
    }
    .svc-nd-edge-diamond .svc-nd-diamond {
      top: 5px;
      left: 5px;
      width: 30px;
      height: 30px;
    }

    

    /* Corner accents on cards */
    .svc-nd-corner {
      position: absolute;
      width: 8px;
      height: 8px;
      border-color: rgba(196,125,106,0.5);
      border-style: solid;
      transition: border-color 0.3s ease;
    }
    .svc-nc-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
    .svc-nc-tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
    .svc-nc-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
    .svc-nc-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

    .svc-nd-card:hover .svc-nd-corner,
    .svc-nd-card.active .svc-nd-corner {
      border-color: rgba(232,185,154,0.8);
    }

    .svc-nd-card:hover .svc-nd-title,
    .svc-nd-card.active .svc-nd-title {
      color: rgba(217,219,244,0.92);
    }

    .svc-nd-shell {
      width: 56px;
      height: 56px;
      flex-shrink: 0;
      cursor: pointer;
    }

    .svc-nd-diamond {
      position: absolute;
      top: 8px;
      left: 8px;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(196,125,106,0.55);
      transform: rotate(45deg);
      transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    }

    .svc-node.active .svc-nd-diamond,
    .svc-node:hover .svc-nd-diamond {
      border-color: rgba(196,125,106,0.95);
      background: rgba(76,4,29,0.18);
      box-shadow: 0 0 10px rgba(196,125,106,0.15);
    }

    .svc-nd-dot {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(196,125,106,0.85);
      transition: background 0.35s ease, box-shadow 0.35s ease;
      animation: svc-node-pulse 2.5s ease-in-out infinite;
    }

    .svc-node.active .svc-nd-dot,
    .svc-node:hover .svc-nd-dot {
      background: #C10644;
      box-shadow: 0 0 8px rgba(193,6,68,0.7);
    }

    #svc-node-02 .svc-nd-dot { animation-delay: 0.85s; }
    #svc-node-03 .svc-nd-dot { animation-delay: 1.7s; }

    @keyframes svc-node-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(196,125,106,0.6); }
      50%       { box-shadow: 0 0 0 5px rgba(196,125,106,0); }
    }

    .svc-nd-tick {
      position: absolute;
      background: rgba(196,125,106,0.5);
      transition: background 0.35s ease;
    }
    .svc-node.active .svc-nd-tick,
    .svc-node:hover .svc-nd-tick { background: rgba(196,125,106,1); }

    .tick-t { top: 0;    left: 50%; transform: translateX(-50%); width: 1px; height: 8px; }
    .tick-r { right: 0;  top: 50%;  transform: translateY(-50%); width: 8px; height: 1px; }
    .tick-b { bottom: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 8px; }
    .tick-l { left: 0;   top: 50%;  transform: translateY(-50%); width: 8px; height: 1px; }

    .svc-nd-index {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: rgba(232,185,154,0.75);
      margin-bottom: 10px;
      text-align: left;
    }

    .svc-nd-title {
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      line-height: 1.35;
      color: rgba(232,185,154,0.92);
      margin-top: 0;
      max-width: 200px;
      transition: color 0.35s ease;
    }

    .svc-node.active .svc-nd-title,
    .svc-node:hover .svc-nd-title { color: rgba(217,219,244,0.92); }

    .svc-nd-coord {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.14em;
      color: rgba(196,125,106,0.7);
      margin-top: 8px;
      text-transform: uppercase;
      text-align: left;
    }

    /* detail panel */
    .svc-panel { display: none !important; }
    .svc-panel-DISABLED {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
    }

    .svc-panel.open {
      max-height: 320px;
      opacity: 1;
    }

    .svc-panel-inner {
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .svc-panel-idx {
      grid-row: auto;
      grid-column: 1 / -1;
      font-family: var(--font-head);
      font-size: clamp(40px, 6vw, 56px);
      font-weight: 700;
      line-height: 1;
      color: var(--magenta);
      opacity: 0.35;
      letter-spacing: 0.04em;
      margin-bottom: 16px;
    }

    .svc-panel-title {
      font-family: var(--font-head);
      font-size: clamp(14px, 1.5vw, 18px);
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.92);
      margin-bottom: 16px;
    }

    .svc-panel-body {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(200,204,232,0.72);
      margin-bottom: 20px;
    }

    .svc-panel-result {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 0 0;
      border: none;
      border-top: 1px solid rgba(127,131,167,0.08);
    }

    .svc-result-arrow {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 600;
      color: #E8B99A;
      opacity: 0.8;
      flex-shrink: 0;
      letter-spacing: 0.1em;
    }

    .svc-result-text {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      line-height: 1.7;
      color: rgba(232,185,154,0.75);
      letter-spacing: 0.02em;
    }

    @media (max-width: 860px) {
      .svc-diagram-area { min-height: 400px; }
      .svc-panel-inner { grid-template-columns: 38px 1fr; }
    }
  
    /* Hover card — retro technical vibe */
    .svc-tooltip { display: none !important; }
    .svc-tooltip-DISABLED {
      position: absolute;
      width: 240px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
      transform: translateY(6px);
      z-index: 20;
      background: rgba(10,10,14,0.97);
      border: 1px solid rgba(232,185,154,0.22);
      padding: 18px 20px;
      text-align: left;
      background-image: radial-gradient(circle, rgba(127,131,167,0.1) 1px, transparent 1px);
      background-size: 20px 20px;
    }

    /* Corner ticks */
    .svc-tooltip::before,
    .svc-tooltip::after {
      content: '';
      position: absolute;
      width: 7px;
      height: 7px;
      border-color: rgba(232,185,154,0.55);
      border-style: solid;
    }
    .svc-tooltip::before { top: 5px; left: 5px; border-width: 1px 0 0 1px; }
    .svc-tooltip::after  { bottom: 5px; right: 5px; border-width: 0 1px 1px 0; }

    .svc-node:hover,
    .svc-node.active { z-index: 15; }
    .svc-node:hover .svc-tooltip,
    .svc-node.active .svc-tooltip {
      opacity: 1;
      transform: translateY(0);
    }

    /* Node 01: top-left — card goes right */
    #svc-node-01 .svc-tooltip {
      left: 60px;
      top: 0;
    }

    /* Node 02: top-right — card goes left */
    #svc-node-02 .svc-tooltip {
      right: 60px;
      top: 0;
    }

    /* Node 03: bottom — card goes above-right */
    #svc-node-03 .svc-tooltip {
      left: 60px;
      bottom: 20px;
    }

    .svc-tooltip-title {
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: labGradShift 8s ease-in-out infinite alternate;
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .svc-tooltip-body {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      line-height: 1.8;
      color: rgba(200,204,232,0.65);
      margin-bottom: 10px;
    }

    .svc-tooltip-result {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 400;
      color: rgba(232,185,154,0.82);
      border-top: 1px solid rgba(232,185,154,0.15);
      padding-top: 8px;
      line-height: 1.65;
    }

  
    /* ── Mobile overrides (final) ── */
    @media (max-width: 900px) {
      .space-features {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1px;
      }
      .space-feature {
        padding: 32px 20px;
      }
      .feature-title {
        font-size: 12px;
        letter-spacing: 0.12em;
      }
      .feature-desc {
        font-size: 13px;
      }
    }
    @media (max-width: 480px) {
      .space-features {
        grid-template-columns: 1fr !important;
      }
    }
  
    /* ─── Case Studies ───────────────────────────────── */
    #case-studies {
      padding: 80px 0 120px;
    }

    .cs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 60px;
    }

    .cs-card {
      padding: 48px 36px;
      background: radial-gradient(circle at 50% 0%, rgba(196,125,106,0.05) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='0.75' fill='rgba(127,131,167,0.15)'/%3E%3C/svg%3E");
      border-top: 1px solid rgba(127,131,167,0.14);
      position: relative;
      overflow: hidden;
      transition: border-color 0.5s ease, box-shadow 0.5s ease;
    }

    .cs-card:hover {
      border-color: rgba(196,125,106,0.35);
      box-shadow: 0 0 0 1px rgba(196,125,106,0.08) inset, 0 8px 48px rgba(196,125,106,0.07);
    }

    /* Corner ticks */
    .cs-card .cs-tl, .cs-card .cs-br {
      position: absolute;
      width: 10px; height: 10px;
    }
    .cs-card .cs-tl::before, .cs-card .cs-tl::after,
    .cs-card .cs-br::before, .cs-card .cs-br::after {
      content: ''; position: absolute; background: #C47D6A; opacity: 0.5;
    }
    .cs-card .cs-tl::before { width: 100%; height: 1px; top: 0; left: 0; }
    .cs-card .cs-tl::after  { width: 1px; height: 100%; top: 0; left: 0; }
    .cs-card .cs-br::before { width: 100%; height: 1px; bottom: 0; right: 0; top: auto; left: auto; }
    .cs-card .cs-br::after  { width: 1px; height: 100%; bottom: 0; right: 0; top: auto; left: auto; }
    .cs-card .cs-tl { top: 12px; left: 12px; }
    .cs-card .cs-br { bottom: 12px; right: 12px; }

    .cs-card:hover .cs-tl::before, .cs-card:hover .cs-tl::after,
    .cs-card:hover .cs-br::before, .cs-card:hover .cs-br::after { opacity: 1; }

    .cs-client {
      font-family: var(--font-head);
      font-size: clamp(32px, 3.5vw, 52px);
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: labGradShift 10s ease-in-out infinite alternate;
      line-height: 1;
      margin-bottom: 16px;
    }

    .cs-project {
      text-wrap: balance;
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      font-style: italic;
      color: rgba(217,219,244,0.7);
      letter-spacing: 0.04em;
      margin-bottom: 36px;
      line-height: 1.4;
    }

    .cs-services {
      list-style: none;
      padding: 0; margin: 0;
      border-top: 1px solid rgba(127,131,167,0.12);
      padding-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .cs-services li {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      color: rgba(200,204,232,0.65);
      letter-spacing: 0.06em;
      padding-left: 14px;
      position: relative;
      line-height: 1.5;
    }

    .cs-services li::before {
      content: '';
      position: absolute;
      left: 0; top: 7px;
      width: 5px; height: 1px;
      background: #C47D6A;
      opacity: 0.7;
    }

    @media (max-width: 900px) {
      .cs-grid { grid-template-columns: 1fr; }
      .cs-card { padding: 36px 24px; }
    }

  
    /* ─── Case Study Tabs ─────────────────────────────── */
    .cs-tabs-wrap {
      margin-top: 40px;
      border-bottom: 1px solid rgba(127,131,167,0.1);
    }

    .cs-tabs {
      display: flex;
      justify-content: center;
      gap: 0;
    }

    .cs-tab {
      font-family: var(--font-head);
      font-size: clamp(18px, 2vw, 28px);
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(200,204,232,0.7);
      padding: 20px 40px;
      cursor: pointer;
      position: relative;
      transition: color 0.3s ease;
      border: none;
      background: none;
      white-space: nowrap;
    }

    .cs-tab::after {
      content: '';
      position: absolute;
      bottom: 0; left: 50%; right: 50%;
      height: 2px;
      background: linear-gradient(90deg, #FFE2C0, #C47D6A);
      transition: left 0.35s ease, right 0.35s ease;
    }

    .cs-tab:hover { color: rgba(232,185,154,0.8); }
    .cs-tab.active { color: rgba(232,185,154,0.95); }
    .cs-tab.active::after { left: 20%; right: 20%; }

    .cs-panels {
      overflow: hidden;
    }

    .cs-panel {
      display: none;
      padding: 48px 5vw 56px;
      animation: csFadeIn 0.35s ease;
    }
    .cs-panel.active { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }

    @keyframes csFadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .cs-panel-client {
      font-family: var(--font-head);
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: labGradShift 10s ease-in-out infinite alternate;
      line-height: 1;
      margin-bottom: 12px;
    }

    .cs-panel-project {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      font-style: italic;
      color: rgba(217,219,244,0.6);
      line-height: 1.5;
    }

    .cs-panel-services {
      list-style: none;
      padding: 0; margin: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .cs-panel-services li {
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 300;
      color: rgba(200,204,232,0.75);
      letter-spacing: 0.04em;
      padding-left: 18px;
      position: relative;
      line-height: 1.5;
      border-bottom: 1px solid rgba(127,131,167,0.08);
      padding-bottom: 14px;
    }

    .cs-panel-services li:last-child { border-bottom: none; padding-bottom: 0; }

    .cs-panel-services li::before {
      content: '';
      position: absolute;
      left: 0; top: 8px;
      width: 7px; height: 1px;
      background: #C47D6A;
    }

    /* Highlight case study brands in reel */
    .brand-name--cs {
      color: rgba(232,185,154,0.75) !important;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    .brand-name--cs:hover { color: rgba(232,185,154,1) !important; }

    @media (max-width: 900px) {
      .cs-tab { padding: 16px 20px; font-size: 12px; }
      .cs-panel.active { grid-template-columns: 1fr; gap: 24px; }
      .cs-panel { padding: 32px 6vw 40px; }
    }

  
    /* ─── Case Showcase ───────────────────────────── */
    .cs-showcase {
      border-top: 1px solid rgba(127,131,167,0.12);
    }

    .cs-cols {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

    .cs-col {
      border-right: 1px solid rgba(127,131,167,0.1);
    }
    .cs-col:last-child { border-right: none; }

    .cs-name-btn {
      display: block;
      width: 100%;
      font-family: var(--font-head);
      font-size: clamp(28px, 3.5vw, 52px);
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(217,219,244,0.65);
      background: none;
      border: none;
      border-bottom: 1px solid rgba(127,131,167,0.1);
      padding: 32px 36px;
      text-align: left;
      cursor: pointer;
      transition: color 0.3s ease, background 0.3s ease;
      position: relative;
    }

    .cs-name-btn::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 0; right: 100%;
      height: 2px;
      background: linear-gradient(90deg, #C47D6A, #FFE2C0);
      transition: right 0.4s ease;
    }

    .cs-name-btn:hover { color: rgba(217,219,244,0.8); background: rgba(127,131,167,0.03); }
    .cs-name-btn.active { color: rgba(232,185,154,0.95); }
    .cs-name-btn.active::after { right: 0; }

    /* Dropdown panel — retro-technical */
    .cs-panel {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
      opacity: 0;
      position: relative;
      background:
        radial-gradient(circle at 50% 0%, rgba(196,125,106,0.06) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='0.75' fill='rgba(127,131,167,0.14)'/%3E%3C/svg%3E");
    }

    .cs-panel.active {
      max-height: 400px;
      opacity: 1;
    }

    /* Corner ticks */
    .cs-corner {
      position: absolute;
      width: 10px; height: 10px;
      pointer-events: none;
    }
    .cs-corner::before, .cs-corner::after {
      content: ''; position: absolute; background: #C47D6A; opacity: 0.5;
    }
    .cs-corner::before { width: 100%; height: 1px; }
    .cs-corner::after  { width: 1px; height: 100%; }
    .cs-tl { top: 12px; left: 12px; }
    .cs-tl::before { top: 0; left: 0; }
    .cs-tl::after  { top: 0; left: 0; }
    .cs-br { bottom: 12px; right: 12px; }
    .cs-br::before { bottom: 0; right: 0; }
    .cs-br::after  { bottom: 0; right: 0; }

    .cs-panel-project {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 400;
      font-style: italic;
      color: rgba(217,219,244,0.65);
      letter-spacing: 0.06em;
      padding: 24px 36px 16px;
      border-bottom: 1px solid rgba(127,131,167,0.08);
      text-wrap: balance;
    }

    .cs-panel-services {
      list-style: none;
      padding: 16px 36px 28px;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .cs-panel-services li {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 300;
      color: rgba(200,204,232,0.65);
      letter-spacing: 0.05em;
      padding-left: 16px;
      position: relative;
      line-height: 1.5;
    }

    .cs-panel-services li::before {
      content: '';
      position: absolute;
      left: 0; top: 7px;
      width: 7px; height: 1px;
      background: #C47D6A;
      opacity: 0.8;
    }

    @media (max-width: 900px) {
      .cs-cols { grid-template-columns: 1fr; }
      .cs-col { border-right: none; border-bottom: 1px solid rgba(127,131,167,0.1); }
      .cs-name-btn { font-size: clamp(24px, 7vw, 40px); padding: 24px 6vw; }
      .cs-panel-project, .cs-panel-services { padding-left: 6vw; padding-right: 6vw; }
    }


    /* ── SERVICES: force stack on non-desktop ── */
    @media (max-width: 900px) {
      div.svc-radial-wrap { flex-direction: column !important; min-height: auto !important; }
      div.svc-diagram-area { flex: none !important; width: 100% !important; min-height: 520px !important; max-height: none !important; }
      div.svc-right-panel  { flex: none !important; width: 100% !important; border-left: none !important; border-top: 1px solid rgba(127,131,167,0.1); padding: 40px 6vw !important; }
      .svc-right-card { max-width: 100% !important; padding: 24px 28px !important; }
      .svc-intro-wrap { padding: 10px 6vw 8px !important; margin-bottom: -8px !important; }
      .svc-diagram-area > * { transform: scale(0.7); transform-origin: center top; }
      .svc-right-panel { padding: 12px 6vw !important; margin-top: 0 !important; }
    }

    /* ── Solve card retro enhancements ── */
    .solve-header-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    .solve-status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--magenta);
      flex-shrink: 0;
      animation: lgc-pulse 3s ease-in-out infinite;
    }
    .solve-index {
      font-family: var(--font-sub);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.32em;
      color: rgba(127,131,167,0.7);
      margin-bottom: 0;
    }
    .solve-tick-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(to right, rgba(193,6,68,0.3), transparent);
    }
    /* Bottom-left data readout on each card */
    .solve-card::after {
      content: attr(data-index) ' ── STATUS: ACTIVE';
      position: absolute;
      bottom: 14px;
      right: 5vw;
      font-family: var(--font-sub);
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(127,131,167,0.18);
      transition: color 0.4s ease;
    }
    .solve-card.in-view::after {
      color: rgba(127,131,167,0.32);
    }
    /* Enhanced left bar */
    .solve-card::before {
      content: '';
      position: absolute;
      left: 0; top: 20%; bottom: 20%;
      width: 2px;
      background: linear-gradient(to bottom, transparent, rgba(193,6,68,0.5), transparent);
      opacity: 0;
      transition: opacity 0.6s ease 0.3s;
    }
    .solve-card.in-view::before { opacity: 1; }


    /* ── Logo reel marquee ── */
    .activations-marquee-wrapper {
      overflow: hidden;
      margin: 0 -8vw;
      padding: 48px 0;
      border-top: 1px solid rgba(127,131,167,0.08);
      border-bottom: 1px solid rgba(127,131,167,0.08);
    }
    .activations-marquee {
      display: flex;
      gap: 0;
      animation: marquee 20s linear infinite;
      width: max-content;
    }
    .marquee-item {
      display: flex;
      align-items: center;
      gap: 0;
      white-space: nowrap;
    }
    .brand-name {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      text-transform: uppercase;
      color: rgba(232,232,240,0.38);
      letter-spacing: 0.04em;
      padding: 0 40px;
      transition: color 0.3s;
      cursor: default;
    }
    .brand-name:hover { color: rgba(232,232,240,0.58); }
    .marquee-sep {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      color: var(--magenta);
      opacity: 0.4;
      line-height: 1;
    }
    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }


    /* ── Logo reel marquee ── */
    .activations-marquee-wrapper {
      overflow: hidden;
      margin: 0 -8vw;
      padding: 48px 0;
      border-top: 1px solid rgba(127,131,167,0.08);
      border-bottom: 1px solid rgba(127,131,167,0.08);
    }
    .activations-marquee {
      display: flex;
      align-items: center;
      white-space: nowrap;
      width: max-content;
      animation: marquee 24s linear infinite;
      will-change: transform;
    }
    .brand-name {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      text-transform: uppercase;
      color: rgba(232,232,240,0.38);
      letter-spacing: 0.04em;
      padding: 0 40px;
      transition: color 0.3s;
      cursor: default;
    }
    .brand-name:hover { color: rgba(232,232,240,0.58); }
    .marquee-sep {
      font-family: var(--font-head);
      font-size: clamp(56px, 8vw, 110px);
      color: var(--magenta);
      opacity: 0.4;
      line-height: 1;
    }
    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }


    /* ── Solve timeline layout ── */
    .solve-timeline {
      position: relative;
      padding-left: 80px;
      padding-right: 6vw;
    }
    .solve-timeline-track {
      position: absolute;
      left: 40px;
      top: 8px;
      bottom: 8px;
      width: 1px;
      border-left: 1px dashed rgba(193,6,68,0.35);
    }
    .solve-item {
      display: flex;
      align-items: flex-start;
      gap: 0;
      padding: 20px 0;
      position: relative;
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .solve-item.in-view {
      opacity: 1;
      transform: translateY(0);
    }
    .solve-item:last-child { border-bottom: none; }
    .solve-item-left {
      position: absolute;
      left: -76px;
      top: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .solve-item-num {
      font-family: var(--font-sub);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: rgba(127,131,167,0.7);
    }
    .solve-item-node {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--magenta);
      box-shadow: 0 0 10px rgba(193,6,68,0.5);
      position: relative;
    }
    .solve-item-node::before {
      content: '';
      position: absolute;
      top: -4px; left: -4px;
      width: 18px; height: 18px;
      border-radius: 50%;
      border: 1px solid rgba(193,6,68,0.25);
    }
    .solve-item-content {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 0;
      width: 100%;
      border: 1px solid rgba(127,131,167,0.12);
      background: rgba(10,10,18,0.3);
      position: relative;
    }
    /* Corner accents on solve cards */

    .solve-item-content {
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
      cursor: default;
    }
    .solve-item-content:hover,
    .solve-item-content.touched {
      background: rgba(196,125,106,0.06);
      border-color: rgba(196,125,106,0.25);
      box-shadow: 0 4px 24px rgba(196,125,106,0.08), inset 0 0 40px rgba(196,125,106,0.04);
      transform: scale(1.015);
    }
    .solve-item-content:hover::before,
    .solve-item-content.touched::before {
      border-color: rgba(196,125,106,0.65);
    }
    .solve-item-content:hover::after,
    .solve-item-content.touched::after {
      border-color: rgba(196,125,106,0.65);
    }

    .solve-item-content::before,
    .solve-item-content::after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      border-color: rgba(196,125,106,0.35);
      border-style: solid;
    }
    .solve-item-content::before {
      top: -1px; left: -1px;
      border-width: 1px 0 0 1px;
    }
    .solve-item-content::after {
      bottom: -1px; right: -1px;
      border-width: 0 1px 1px 0;
    }
    .solve-col {
      padding: 22px 28px;
    }
    .solve-col:first-child {
      border-right: 1px solid rgba(127,131,167,0.08);
    }

    /* Solution: bold warm gradient */
    .solve-solution {
      font-family: var(--font-sub) !important;
      font-size: clamp(14px, 1.15vw, 17px) !important;
      font-weight: 700 !important;
      letter-spacing: 0.01em;
      text-transform: none;
      line-height: 1.6;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }
    /* Node connector line from track to card */
    .solve-item::before {
      content: '';
      position: absolute;
      left: -36px;
      top: 38px;
      width: 36px;
      height: 1px;
      background: linear-gradient(to right, rgba(193,6,68,0.35), rgba(127,131,167,0.12));
    }
    @media (max-width: 768px) {
      .solve-timeline { padding-left: 64px; padding-right: 6vw; }
      .solve-timeline-track { left: 36px; }
      .solve-item-left { left: -56px; }
      .solve-item::before { left: -28px; width: 28px; }
      .solve-item-content { grid-template-columns: 1fr; }
      .solve-col:first-child { border-right: none; border-bottom: 1px solid rgba(127,131,167,0.08); }
      .solve-col { padding: 20px 28px; }
    }


    .trusted-by-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 32px;
    }
    .trusted-by-line {
      width: 40px;
      height: 1px;
      background: var(--magenta);
    }
    .trusted-by-label {
      font-family: var(--font-sub);
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--lavender);
    }

    .hero-eyebrow-divider {
      display: inline-block;
      width: 1px;
      height: 12px;
      background: var(--magenta);
      vertical-align: middle;
      margin: 0 10px;
      opacity: 0.7;
      font-size: 0;
    }

    .contact-link-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 16px;
    }
    .contact-link-line {
      width: 32px;
      height: 1px;
      background: var(--magenta);
      flex-shrink: 0;
    }
    .contact-link-phone {
      font-family: var(--font-sub);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.12em;
      color: var(--magenta);
      text-decoration: none;
      transition: color 0.2s;
      margin-top: 8px;
    }
    .contact-link-phone:hover { opacity: 0.75; }
  
    /* ── Reduced motion preference ── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .hero-orb-1, .hero-orb-2, .hero-orb-3 { animation: none !important; }
      .solve-item, .eng-callout, .reveal-heading-inner {
        opacity: 1 !important;
        transform: none !important;
      }
    }

    


    /* Selector dots — 3 dots that illuminate based on active service */
    .svc-selector-dots {
      display: flex;
      gap: 10px;
      justify-content: center;
      padding: 8px 0 12px;
    }
    .svc-sel-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(180,178,220,0.25);
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .svc-sel-dot.active {
      background: rgba(180,200,240,0.85);
      box-shadow: 0 0 6px rgba(180,200,240,0.4);
    }

    /* ── Services: vertical track + nodes ── */
    .svc-track-seg {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      padding: 0;
    }
    .svc-track-line {
      width: 1px;
      height: 16px;
      border-left: 1px dashed rgba(180,178,220,0.12);
    }
    .svc-track-node {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(180,178,220,0.15);
      box-shadow: none;
      flex-shrink: 0;
    }

    /* Indicator dots */
    .svc-indicator-dots {
      display: flex;
      gap: 4px;
      justify-content: center;
      padding: 6px 0;
    }
    .svc-indicator-dots span {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(180,178,220,0.12);
    }
    .svc-indicator-dots .dot-active {
      background: rgba(180,178,220,0.2);
      box-shadow: none;
    }

    /* Status bar accent (top-right of card) */
    .svc-status-bar {
      position: absolute;
      top: 8px;
      right: 12px;
      width: 28px;
      height: 2px;
      background: rgba(196,125,106,0.3);
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .svc-nd-card:hover .svc-status-bar,
    .svc-nd-card.active .svc-status-bar {
      background: var(--magenta);
      box-shadow: 0 0 6px rgba(193,6,68,0.4);
    }

    /* Active card: red glow border */
    .svc-nd-card.active {
      border-color: rgba(193,6,68,0.45) !important;
      box-shadow: 0 0 20px rgba(193,6,68,0.08), inset 0 0 30px rgba(193,6,68,0.03);
    }

    /* Corner brackets: bigger and more visible */
    .svc-nd-corner {
      width: 12px !important;
      height: 12px !important;
    }

    /* Detail card diamond separator */
    .svc-detail-diamond {
      display: flex;
      justify-content: center;
      padding: 20px 0 16px;
    }
    .svc-detail-diamond span {
      display: block;
      width: 8px;
      height: 8px;
      border: 1px solid rgba(196,125,106,0.4);
      transform: rotate(45deg);
    }

    /* Detail card tagline */
    .svc-detail-tagline {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(232,185,154,0.8);
      text-align: left;
      padding-top: 4px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .svc-right-card.visible .svc-detail-tagline {
      opacity: 1;
    }
    .svc-right-card.svc-default .svc-detail-tagline {
      opacity: 0;
    }
    .svc-tl-icon {
      color: var(--magenta);
      font-size: 10px;
      margin-right: 4px;
    }

    .svc-dots-detail {
      position: absolute;
      bottom: 12px;
      right: 16px;
    }

    /* Detail card: stronger corner brackets */
    .svc-right-card .src-corner::before,
    .svc-right-card .src-corner::after {
      background: rgba(127,131,167,0.25) !important;
    }
    .svc-right-card:hover .src-corner::before,
    .svc-right-card:hover .src-corner::after {
      background: rgba(196,125,106,0.4) !important;
    }


    /* ── Services entrance animations (initial states) ── */
    .svc-intro-wrap {
      opacity: 0;
      transform: translateY(20px);
    }
    .svc-intro-wrap.svc-revealed {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .svc-diagram-area {
      opacity: 0;
      transform: scale(0.9) rotate(-5deg);
    }
    .svc-diagram-area.svc-revealed {
      opacity: 1;
      transform: scale(1) rotate(0deg);
      transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
    }
    .svc-cards-col .svc-nd-card {
      opacity: 0;
      transform: translateX(-20px);
    }
    .svc-cards-col .svc-nd-card.svc-revealed {
      opacity: 1;
      transform: translateX(0);
    }
    .svc-right-panel {
      opacity: 0;
      transform: translateX(30px);
    }
    .svc-right-panel.svc-revealed {
      opacity: 1;
      transform: translateX(0);
      transition: opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s;
    }
    .svc-connector-lines {
      opacity: 0;
    }
    .svc-connector-lines.svc-revealed {
      opacity: 1;
      transition: opacity 1s ease 0.8s;
    }
    .svc-selector-dots {
      opacity: 0;
    }
    .svc-selector-dots.svc-revealed {
      opacity: 1;
      transition: opacity 0.5s ease 0.5s;
    }
    .svc-track-seg {
      opacity: 0;
    }
    .svc-track-seg.svc-revealed {
      opacity: 1;
      transition: opacity 0.4s ease;
    }

    /* ── Skip link ── */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      padding: 12px 24px;
      background: var(--magenta);
      color: #fff;
      font-family: var(--font-sub);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-decoration: none;
      z-index: 10000;
      border-radius: 4px;
      transition: top 0.2s ease;
    }
    .skip-link:focus {
      top: 16px;
    }

    /* ── Focus styles for keyboard navigation ── */
    a:focus-visible,
    button:focus-visible,
    .svc-nd-card:focus-visible,
    .svc-m-box:focus-visible,
    .btn:focus-visible {
      outline: 2px solid var(--magenta);
      outline-offset: 3px;
    }
    *:focus:not(:focus-visible) {
      outline: none;
    }


/* ── Contact / feedback overlay ── */

    .contact-overlay {
      position: fixed; inset: 0;
      display: none;
      align-items: center; justify-content: center;
      z-index: 10000;
      padding: 20px;
    }
    .contact-overlay.is-open { display: flex; }
    .contact-overlay-backdrop {
      position: absolute; inset: 0;
      background: rgba(8,9,18,0.78);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .contact-overlay-card {
      position: relative;
      width: 100%;
      max-width: 640px;
      background: linear-gradient(180deg, #15172a 0%, #0d0e1c 100%);
      border: 1px solid rgba(255,226,192,0.18);
      border-radius: 14px;
      padding: 44px 44px 40px;
      box-shadow: 0 30px 80px rgba(0,0,0,0.55);
      max-height: calc(100vh - 40px);
      overflow-y: auto;
    }
    .contact-overlay-close {
      position: absolute; top: 14px; right: 16px;
      background: transparent; border: 0;
      color: #D9DBF4;
      font-size: 28px; line-height: 1;
      cursor: pointer;
      padding: 4px 10px;
      transition: color 0.15s ease;
    }
    .contact-overlay-close:hover { color: #FFE2C0; }

    .contact-overlay-heading {
      font-family: 'Bebas Neue', 'Barlow Condensed', Impact, sans-serif;
      font-size: clamp(28px, 4vw, 40px);
      letter-spacing: 0.04em;
      color: #FFF1E0;
      margin: 0 0 12px;
      line-height: 1.05;
    }
    .contact-overlay-message {
      color: #D9DBF4;
      font-size: 15px;
      line-height: 1.6;
      margin: 0 0 24px;
    }

    .contact-honeypot {
      position: absolute; left: -9999px; width: 1px; height: 1px;
      overflow: hidden;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px 16px;
    }
    .contact-field { display: flex; flex-direction: column; gap: 6px; }
    .contact-field-wide { grid-column: 1 / -1; }
    .contact-field label {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #7F83A7;
    }
    .contact-field input,
    .contact-field textarea,
    .contact-field select {
      width: 100%;
      background: rgba(217,219,244,0.04);
      border: 1px solid rgba(217,219,244,0.18);
      color: #FFF1E0;
      border-radius: 8px;
      padding: 10px 12px;
      font: inherit;
      font-size: 15px;
      transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }
    .contact-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
    .contact-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23D9DBF4' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
    .contact-field select option { background: #15172a; color: #FFF1E0; }
    .contact-field input:focus,
    .contact-field textarea:focus,
    .contact-field select:focus {
      outline: none;
      border-color: #FFE2C0;
      background-color: rgba(255,226,192,0.05);
      box-shadow: 0 0 0 3px rgba(255,226,192,0.18);
    }

    .contact-actions {
      display: flex; justify-content: flex-end;
      margin-top: 20px;
    }
    .contact-submit { min-width: 140px; }
    .contact-submit[disabled] { opacity: 0.6; cursor: progress; }

    .contact-form-message {
      margin-top: 14px;
      min-height: 1.4em;
      font-size: 14px;
      color: #C10644;
    }
    .contact-form-message.is-info { color: #D9DBF4; }
    .contact-form-fallback-link {
      color: #FFE2C0;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .contact-form-fallback-link:hover { color: #FFF1E0; }

    .contact-overlay-success {
      text-align: center;
      padding: 20px 0 8px;
    }
    .contact-success-mark {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, #FFE2C0, #C47D6A);
      color: #15172a;
      font-size: 32px;
      line-height: 56px;
      margin: 0 auto 18px;
      font-weight: 700;
    }
    .contact-success-text {
      color: #FFF1E0;
      font-size: 16px;
      line-height: 1.55;
      margin: 0 0 22px;
    }

    @media (max-width: 600px) {
      .contact-overlay-card { padding: 32px 22px 28px; }
      .contact-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      .contact-overlay, .contact-overlay-card { transition: none !important; }
    }


    /* ════════════════════════════════════════════════════════
       CONTACT OVERLAY v2 — restyled creative (scoped to #contactOverlay)
       Adds retro grid, scanlines, vignette, corner accents, status dot,
       gradient heading + divider, terracotta focus, crimson submit.
       Form structure & JS hooks untouched.
       ════════════════════════════════════════════════════════ */

    #contactOverlay { padding: 24px; }

    #contactOverlay .contact-overlay-backdrop {
      background: rgba(12,12,14,0.85);
      z-index: 0;
    }

    #contactOverlay .contact-overlay-grid,
    #contactOverlay .contact-overlay-vignette,
    #contactOverlay .contact-overlay-scanlines {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    #contactOverlay .contact-overlay-grid {
      background-image:
        linear-gradient(rgba(255,226,192,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,226,192,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      z-index: 1;
    }
    #contactOverlay .contact-overlay-vignette {
      background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
      z-index: 2;
    }
    #contactOverlay .contact-overlay-scanlines {
      background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(255,226,192,0.012) 2px, rgba(255,226,192,0.012) 4px
      );
      z-index: 3;
    }

    #contactOverlay .contact-overlay-card {
      position: relative;
      z-index: 5;
      width: 680px;
      max-width: calc(100vw - 48px);
      max-height: calc(100vh - 48px);
      overflow: hidden;
      background: #111116;
      border: 1px solid rgba(255,226,192,0.12);
      border-radius: 6px;
      padding: 48px 44px 50px;
      box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    }

    /* Keep the site's existing top-right logo visible while contact modal is open.
       Desktop only: lift the entire <nav> above the overlay, make its background
       transparent and disable pointer-events, and hide the nav-links so only the
       site's existing logo (.nav-logo / .logo-img) shows in its natural position.
       Lifting just .nav-logo doesn't work because <nav> has z-index:100 which
       creates a stacking context that children can't escape.
       On mobile (≤900px) we don't lift — modal covers nav as before. */
    @media (min-width: 901px) {
      body:has(#contactOverlay.is-open) nav {
        z-index: 10001;
        background: transparent;
        border-bottom-color: transparent;
        pointer-events: none;
      }
      body:has(#contactOverlay.is-open) .nav-links {
        visibility: hidden;
      }
    }
    #contactOverlay .contact-overlay-card::before {
      content: '';
      position: absolute;
      inset: -60px;
      background: radial-gradient(ellipse at center, rgba(196,125,106,0.06) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
    }

    #contactOverlay .contact-status-dot {
      position: absolute;
      top: 22px;
      left: 22px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #C47D6A;
      animation: contactStatusPulse 3s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes contactStatusPulse {
      0%, 100% { opacity: 0.4; }
      50%      { opacity: 1; }
    }

    #contactOverlay .contact-overlay-close {
      top: 18px;
      right: 18px;
      width: 36px;
      height: 36px;
      padding: 0;
      font-size: 20px;
      line-height: 1;
      display: grid;
      place-items: center;
      color: #6B6E8A;
      border: 1px solid transparent;
      border-radius: 4px;
      transition: color 0.2s, border-color 0.2s;
    }
    #contactOverlay .contact-overlay-close:hover {
      color: #FFE2C0;
      border-color: rgba(255,226,192,0.12);
    }

    #contactOverlay .contact-overlay-heading {
      font-family: 'Trade Gothic LT Std','Trade Gothic','Barlow Condensed','Arial Narrow',sans-serif;
      font-weight: 700;
      font-size: clamp(24px, 3.2vw, 32px);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: linear-gradient(135deg, #FFE2C0, #C47D6A);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
      line-height: 1.15;
      margin: 0 0 16px;
    }
    #contactOverlay .contact-overlay-heading::after {
      content: '';
      display: block;
      width: 80px;
      height: 1px;
      background: linear-gradient(90deg, #C47D6A, transparent);
      margin-top: 16px;
    }

    #contactOverlay .contact-overlay-message {
      font-size: 14px;
      color: #7F83A7;
      line-height: 1.6;
      margin: 0 0 36px;
      max-width: 520px;
    }

    #contactOverlay .contact-grid {
      grid-template-columns: 1fr 1fr;
      gap: 20px 24px;
    }

    #contactOverlay .contact-field { gap: 0; }
    #contactOverlay .contact-field label {
      font-family: 'Trade Gothic LT Std','Trade Gothic','Barlow Condensed',sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #6B6E8A;
      margin-bottom: 8px;
      transition: color 0.2s;
    }
    #contactOverlay .contact-field label::before {
      content: '\203A';
      margin-right: 6px;
      color: #C47D6A;
      opacity: 0;
      transition: opacity 0.2s;
    }
    #contactOverlay .contact-field:focus-within label { color: #C47D6A; }
    #contactOverlay .contact-field:focus-within label::before { opacity: 1; }

    #contactOverlay .contact-field input,
    #contactOverlay .contact-field textarea,
    #contactOverlay .contact-field select {
      background: rgba(255,226,192,0.03);
      border: 1px solid rgba(255,226,192,0.12);
      border-radius: 4px;
      color: #FFE2C0;
      font-size: 15px;
      padding: 12px 14px;
      transition: border-color 0.25s, box-shadow 0.25s;
    }
    #contactOverlay .contact-field input::placeholder,
    #contactOverlay .contact-field textarea::placeholder {
      color: rgba(107,110,138,0.5);
    }
    #contactOverlay .contact-field input:focus,
    #contactOverlay .contact-field textarea:focus,
    #contactOverlay .contact-field select:focus {
      outline: none;
      border-color: #C47D6A;
      background-color: rgba(255,226,192,0.03);
      box-shadow: 0 0 0 2px rgba(196,125,106,0.12);
    }
    #contactOverlay .contact-field textarea {
      min-height: 130px;
      line-height: 1.5;
    }

    #contactOverlay .contact-actions { margin-top: 14px; }

    #contactOverlay .contact-submit,
    #contactOverlay .btn.btn-primary.contact-submit {
      font-family: 'Trade Gothic LT Std','Trade Gothic','Barlow Condensed',sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.3em !important;
      text-transform: uppercase;
      color: #FFF1E0;
      background: #8B1A3C;
      background-image: none;
      border: 1px solid rgba(139,26,60,0.6);
      border-radius: 4px;
      padding: 14px 40px !important;
      animation: none;
      transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    #contactOverlay .contact-submit:hover {
      background: #a01e3e;
      box-shadow: 0 0 20px rgba(139,26,60,0.3);
      transform: translateY(-1px);
    }
    #contactOverlay .contact-submit:active {
      transform: translateY(0);
      box-shadow: none;
    }

    #contactOverlay .contact-success-mark {
      background: linear-gradient(135deg, #FFE2C0, #C47D6A);
      color: #111116;
    }
    #contactOverlay .contact-success-text { color: #FFE2C0; }

    @media (max-width: 600px) {
      #contactOverlay { padding: 16px; }
      #contactOverlay .contact-overlay-card { padding: 36px 24px 28px; }
      #contactOverlay .contact-overlay-heading { font-size: 22px; }
      #contactOverlay .contact-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      #contactOverlay .contact-status-dot { animation: none; opacity: 0.6; }
    }


    /* ════════════════════════════════════════════════════════
       SERVICES — restyled creative (circle + paired grid)
       Appended after legacy services CSS so cascade overrides win.
       Replaces the prior radial diagram + right-panel hover layout.
       ════════════════════════════════════════════════════════ */

    /* ── SERVICES INLINE GRID (v2 — always visible) ── */
    .svc-inline-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1200px;
      margin: 40px auto 60px;
      padding: 0 40px;
    }

    /* ── Circle + stacked cards layout ── */
    .svc-circle-layout {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      max-width: 1400px;
      margin: 40px auto 60px;
      gap: 50px;
      padding: 0 3vw;
    }

    .svc-circle-area {
      position: relative;
      flex: 0 0 500px;
      width: 500px;
      height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-image: radial-gradient(circle, rgba(180,178,220,0.1) 1px, transparent 1px);
      background-size: 24px 24px;
      align-self: center;
    }

    .svc-center-node {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: 360px;
      height: 360px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .svc-c-circle {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(180,178,220,0.1);
      pointer-events: none;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
    }
    .svc-c-circle.c1 { width: 300px; height: 300px; border-color: rgba(76,4,29,0.3); }
    .svc-c-circle.c2 { width: 370px; height: 370px; border-color: rgba(180,178,220,0.12); }
    .svc-c-circle.c3 { width: 440px; height: 440px; border-color: rgba(180,178,220,0.08); }

    .svc-c-orbit {
      position: absolute;
      width: 275px;
      height: 275px;
      border-radius: 50%;
      border: 1px dashed rgba(232,185,154,0.22);
      border-top-color: rgba(232,185,154,0.65);
      animation: svc-orbit-spin 8s linear infinite;
      pointer-events: none;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
    }
    @keyframes svc-orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

    .svc-c-diamond {
      position: absolute;
      width: 260px;
      height: 260px;
      border: 1px solid rgba(232,185,154,0.55);
      outline: 1px solid rgba(76,4,29,0.3);
      outline-offset: 14px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(76,4,29,0.35) 0%, rgba(76,4,29,0.08) 60%, transparent 100%);
      animation: svc-center-pulse 4s ease-in-out infinite;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
    }

    /* Circle center title */
    .svc-c-title {
      position: relative;
      font-family: var(--font-head);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: rgba(232,185,154,0.95);
      text-transform: uppercase;
      white-space: nowrap;
      z-index: 4;
      margin-bottom: 4px;
      text-align: center;
    }
    /* Make label smaller as subtitle */
    .svc-c-label {
      position: relative;
      font-family: var(--font-head);
      font-size: 11px !important;
      font-weight: 700;
      color: rgba(180,178,220,0.55) !important;
      letter-spacing: 0.2em !important;
      text-transform: uppercase;
      white-space: nowrap;
      text-align: center !important;
      z-index: 4;
    }

    .svc-c-coord {
      position: absolute;
      top: calc(50% + 160px);
      bottom: auto;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-sub);
      font-size: 11px;
      letter-spacing: 0.14em;
      color: rgba(180,178,220,0.45);
      white-space: nowrap;
    }

    /* ── Circle crosshair lines ── */
    .svc-crosshair-h,
    .svc-crosshair-v {
      position: absolute;
      pointer-events: none;
      z-index: 1;
    }
    .svc-crosshair-h {
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(to right,
        transparent 5%,
        rgba(180,178,220,0.12) 15%,
        rgba(180,178,220,0.2) 40%,
        rgba(180,178,220,0.08) 50%,
        rgba(180,178,220,0.2) 60%,
        rgba(180,178,220,0.12) 85%,
        transparent 95%
      );
      transform: translateY(-0.5px);
    }
    .svc-crosshair-v {
      left: 50%;
      top: 0;
      bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom,
        transparent 5%,
        rgba(180,178,220,0.12) 15%,
        rgba(180,178,220,0.2) 40%,
        rgba(180,178,220,0.08) 50%,
        rgba(180,178,220,0.2) 60%,
        rgba(180,178,220,0.12) 85%,
        transparent 95%
      );
      transform: translateX(-0.5px);
    }

    /* Small diamond markers at cardinal points of innermost circle */
    .svc-xhair-marker {
      position: absolute;
      width: 8px;
      height: 8px;
      border: 1px solid rgba(196, 125, 106, 0.5);
      transform: rotate(45deg);
      background: rgba(10, 10, 18, 0.8);
      z-index: 2;
    }
    .svc-xm-top    { top: calc(50% - 150px - 4px); left: calc(50% - 4px); }
    .svc-xm-bottom { top: calc(50% + 150px - 4px); left: calc(50% - 4px); }
    .svc-xm-left   { top: calc(50% - 4px); left: calc(50% - 150px - 4px); }
    .svc-xm-right  { top: calc(50% - 4px); left: calc(50% + 150px - 4px); }

    /* Small tick marks along crosshair lines */
    .svc-xhair-tick {
      position: absolute;
      background: rgba(180, 178, 220, 0.2);
      pointer-events: none;
      z-index: 1;
    }
    .svc-xt-h { width: 1px; height: 6px; top: calc(50% - 3px); }
    .svc-xt-h1 { left: calc(50% - 200px); }
    .svc-xt-h2 { left: calc(50% - 100px); }
    .svc-xt-h3 { left: calc(50% + 100px); }
    .svc-xt-h4 { left: calc(50% + 200px); }
    .svc-xt-v { height: 1px; width: 6px; left: calc(50% - 3px); }
    .svc-xt-v1 { top: calc(50% - 200px); }
    .svc-xt-v2 { top: calc(50% - 100px); }
    .svc-xt-v3 { top: calc(50% + 100px); }
    .svc-xt-v4 { top: calc(50% + 200px); }

    /* Small crosshair at center (behind the label) */
    .svc-center-xhair {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 16px; height: 16px;
      z-index: 3;
      pointer-events: none;
    }
    .svc-center-xhair::before,
    .svc-center-xhair::after {
      content: '';
      position: absolute;
      background: rgba(193, 6, 68, 0.35);
    }
    .svc-center-xhair::before { width: 16px; height: 1px; top: 50%; left: 0; }
    .svc-center-xhair::after { width: 1px; height: 16px; top: 0; left: 50%; }

    @media (max-width: 900px) {
      .svc-crosshair-h, .svc-crosshair-v,
      .svc-xhair-marker, .svc-xhair-tick,
      .svc-center-xhair { display: none; }
    }

    @media (max-width: 900px) {
      .svc-circle-layout {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        margin: 30px auto 40px;
      }
      .svc-circle-area {
        width: 220px;
        height: 220px;
        flex: 0 0 220px;
      }
    }

    .svc-inline-card {
      position: relative;
      background: rgba(10, 10, 18, 0.4);
      border: 1px solid rgba(196, 125, 106, 0.25);
      padding: 14px 16px 14px 28px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      max-width: 190px;
      width: 190px;
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    .svc-inline-card:hover {
      border-color: rgba(232, 185, 154, 0.5);
      background: rgba(232, 185, 154, 0.04);
    }
    .svc-inline-card .svc-nd-corner { display: block; }
    .svc-inline-card:hover .svc-nd-corner::before,
    .svc-inline-card:hover .svc-nd-corner::after {
      background: rgba(232, 185, 154, 0.7);
    }
    .svc-inline-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .svc-inline-header .svc-nd-index {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      color: rgba(193, 6, 68, 0.7);
      letter-spacing: 0.14em;
      margin-bottom: 4px;
    }
    .svc-inline-title {
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      line-height: 1.35;
      background: linear-gradient(120deg, #D9DBF4, #7F83A7, #D9DBF4, #7F83A7);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: svcTitleShift 16s ease-in-out infinite;
      margin-bottom: 2px;
    }
    @keyframes svcTitleShift {
      0%, 100% { background-position: 0% center; }
      50% { background-position: 100% center; }
    }
    .svc-inline-body {
      font-family: var(--font-sub);
      font-size: 13px;
      font-weight: 400;
      color: #FFE2C0;
      line-height: 1.7;
      margin-bottom: 4px;
    }
    .svc-inline-result {
      font-family: var(--font-sub);
      font-size: 12px;
      font-weight: 400;
      background: linear-gradient(135deg, #FFF1E0, #FFE2C0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.5;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding-top: 4px;
      border-top: 1px solid rgba(127,131,167,0.12);
      margin-top: auto;
    }
    .svc-inline-card .svc-nd-coord {
      font-family: var(--font-sub);
      font-size: 12px;
      color: rgba(196, 125, 106, 0.7);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-top: 8px;
    }
    .svc-inline-card .svc-nd-edge-diamond {
      position: absolute;
      left: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      z-index: 2;
    }
    .svc-inline-card .svc-nd-diamond {
      position: absolute;
      top: 5px;
      left: 5px;
      width: 30px;
      height: 30px;
      border: 1px solid rgba(196, 125, 106, 0.55);
      transform: rotate(45deg);
      background: rgba(10, 10, 18, 0.95);
    }
    .svc-inline-card .svc-nd-dot {
      width: 6px;
      height: 6px;
      background: rgba(196, 125, 106, 0.85);
      border-radius: 50%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      animation: svcPulse 2.5s ease-in-out infinite;
    }
    @keyframes svcPulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 1; }
    }

    @keyframes svc-dash-flow {
      to { stroke-dashoffset: -100; }
    }

    /* ── Linked hover: name card + body box illuminate together ── */
    .svc-name-card.svc-hover,
    .svc-body-box.svc-hover {
      border-color: rgba(232, 185, 154, 0.5);
    }
    .svc-name-card.svc-hover {
      background: rgba(232, 185, 154, 0.04);
    }
    .svc-body-box.svc-hover {
      border-color: rgba(232, 185, 154, 0.5);
    }
    .svc-name-card.svc-hover .svc-nd-corner {
      border-color: rgba(232, 185, 154, 0.8);
    }
    .svc-name-card.svc-hover .svc-inline-title {
      -webkit-text-fill-color: rgba(217, 219, 244, 0.95);
      background: none;
    }
    .svc-name-card.svc-hover .svc-nd-diamond {
      border-color: rgba(196, 125, 106, 0.95);
      background: rgba(76, 4, 29, 0.18);
      box-shadow: 0 0 10px rgba(196, 125, 106, 0.15);
    }
    .svc-name-card.svc-hover .svc-nd-dot {
      background: #C10644;
      box-shadow: 0 0 8px rgba(193, 6, 68, 0.7);
    }

    /* Connector lines: no animation by default, animate only on hover */
    .svc-all-conn line[id^="svc-bline"] {
      stroke-dasharray: 4 6;
      stroke-dashoffset: 0;
      animation: none;
      transition: stroke 0.3s ease;
    }
    .svc-all-conn line.svc-line-active {
      stroke: rgba(232, 185, 154, 0.5);
      animation: svc-dash-flow 8s linear infinite;
    }

    /* Body box corners illuminate red on hover */
    .svc-body-box.svc-hover .svc-nd-corner {
      border-color: rgba(193, 6, 68, 0.8) !important;
    }
    .svc-body-box.svc-hover .svc-inline-result {
      font-weight: 700;
      background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: svcWarmShift 4s ease-in-out infinite alternate;
    }
    @keyframes svcWarmShift {
      0% { background-position: 0% center; }
      100% { background-position: 100% center; }
    }

    /* ── Pair bounding box hints ── */
    .svc-pair-row { display: contents; }
    .svc-pair-bounds {
      position: absolute;
      pointer-events: none;
      z-index: 0;
    }
    .svc-pb-corner {
      position: absolute;
      width: 8px;
      height: 8px;
      pointer-events: none;
    }
    .svc-pb-corner::before,
    .svc-pb-corner::after {
      content: '';
      position: absolute;
      background: rgba(196, 125, 106, 0.18);
      transition: background 0.3s ease;
    }
    .svc-pb-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
    .svc-pb-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }
    .svc-pb-tl { top: 0; left: -20px; }
    .svc-pb-tr { top: 0; right: -20px; transform: scaleX(-1); }
    .svc-pb-bl { bottom: 0; left: -20px; transform: scaleY(-1); }
    .svc-pb-br { bottom: 0; right: -20px; transform: scale(-1); }

    .svc-pb-rule {
      position: absolute;
      left: -20px;
      right: -20px;
      height: 1px;
      background: linear-gradient(to right,
        rgba(196,125,106,0.15),
        rgba(196,125,106,0.08) 30%,
        rgba(196,125,106,0.03) 50%,
        rgba(196,125,106,0.08) 70%,
        rgba(196,125,106,0.15)
      );
      pointer-events: none;
    }
    .svc-pb-rule-top { top: -5px; }
    .svc-pb-rule-bottom { bottom: -5px; }

    .svc-pair-wrap:hover .svc-pb-corner::before,
    .svc-pair-wrap:hover .svc-pb-corner::after {
      background: rgba(196, 125, 106, 0.4);
    }
    .svc-pair-wrap:hover .svc-pb-rule {
      background: linear-gradient(to right,
        rgba(196,125,106,0.3),
        rgba(196,125,106,0.12) 30%,
        rgba(196,125,106,0.05) 50%,
        rgba(196,125,106,0.12) 70%,
        rgba(196,125,106,0.3)
      );
    }

    .svc-pair-wrap {
      display: grid;
      grid-column: 1 / -1;
      grid-template-columns: subgrid;
      align-items: center;
      position: relative;
      padding: 10px 0;
    }

    @media (max-width: 900px) {
      .svc-pair-wrap {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .svc-pb-corner, .svc-pb-rule { display: none; }
    }

    /* ── Paired grid: name + body in same row ── */
    .svc-paired-grid {
      position: relative;
      display: grid;
      grid-template-columns: 190px minmax(0, 380px);
      grid-template-rows: auto auto auto;
      gap: 20px 50px;
      align-items: center;
      flex: 0 0 auto;
      max-width: 700px;
      min-width: 0;
    }

    @media (max-width: 900px) {
      .svc-c-coord { display: none !important; }
      .svc-all-conn { display: none !important; }
      .svc-conn-svg { display: none !important; }
      .svc-paired-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }
      .svc-paired-grid .svc-body-box { display: none; }
    }

    /* 45° corner slants on body boxes */
    .svc-body-box .svc-corner-slant {
      position: absolute;
      width: 10px;
      height: 10px;
      pointer-events: none;
      z-index: 1;
    }
    .svc-body-box .svc-corner-slant::before {
      content: '';
      position: absolute;
      width: 14px;
      height: 1px;
      background: rgba(196, 125, 106, 0.4);
      transform-origin: 0 0;
    }
    .svc-body-box .svc-cs-tl { top: 0; left: 0; }
    .svc-body-box .svc-cs-tl::before { transform: rotate(45deg); top: 0; left: 0; }
    .svc-body-box .svc-cs-tr { top: 0; right: 0; }
    .svc-body-box .svc-cs-tr::before { transform: rotate(-45deg); top: 0; right: 0; left: auto; transform-origin: 100% 0; }
    .svc-body-box .svc-cs-bl { bottom: 0; left: 0; }
    .svc-body-box .svc-cs-bl::before { transform: rotate(-45deg); bottom: 0; left: 0; top: auto; transform-origin: 0 100%; }
    .svc-body-box .svc-cs-br { bottom: 0; right: 0; }
    .svc-body-box .svc-cs-br::before { transform: rotate(45deg); bottom: 0; right: 0; left: auto; top: auto; transform-origin: 100% 100%; }

    /* ── 3-column services layout (desktop) ── */
    .svc-body-col {
      position: relative;
      flex: 1 1 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-width: 480px;
      min-width: 0;
    }

    .svc-body-box {
      position: relative;
      border: none;
      padding: 22px 28px 22px 32px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      background: transparent;
    }
    .svc-body-box::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(196, 125, 106, 0.2);
      clip-path: polygon(
        0% 0%,
        calc(100% - 14px) 0%,
        100% 14px,
        100% 100%,
        0% 100%
      );
      z-index: -2;
      transition: background 0.3s ease;
    }
    .svc-body-box::after {
      content: '';
      position: absolute;
      inset: 1px;
      background: rgba(10, 10, 18, 0.95);
      clip-path: polygon(
        0% 0%,
        calc(100% - 13px) 0%,
        100% 13px,
        100% 100%,
        0% 100%
      );
      z-index: -1;
    }
    .svc-body-box:hover::before {
      background: rgba(196, 125, 106, 0.35);
    }
    .svc-body-box .svc-nd-corner { display: block; z-index: 1; }
    .svc-body-box .svc-nc-tl { top: 6px; left: 6px; }
    .svc-body-box .svc-nc-tr { top: 8px; right: 4px; }
    .svc-body-box .svc-nc-bl { bottom: 6px; left: 6px; }
    .svc-body-box .svc-nc-br { bottom: 6px; right: 6px; }

    .svc-body-diamond {
      position: absolute;
      left: -6px;
      top: 50%;
      transform: translateY(-50%);
      width: 12px;
      height: 12px;
      z-index: 2;
    }
    .svc-body-diamond .svc-nd-diamond {
      display: none !important;
    }
    .svc-body-diamond .svc-nd-dot {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(196, 125, 106, 0.85);
      animation: svcPulse 2.5s ease-in-out infinite;
    }

    /* On desktop: hide mobile detail inside name cards */
    .svc-mobile-detail { display: none; }

    /* Name cards: compact, just title + index */
    .svc-name-card .svc-inline-body,
    .svc-name-card .svc-inline-result { display: none; }

    /* On mobile: show detail inside name cards, hide body col */
    @media (max-width: 900px) {
      .svc-mobile-detail { display: flex; flex-direction: column; gap: 4px; }
      .svc-paired-grid .svc-body-box { display: none !important; }
      .svc-name-card .svc-inline-body,
      .svc-name-card .svc-inline-result { display: none; }
      .svc-mobile-detail .svc-inline-body,
      .svc-mobile-detail .svc-inline-result { display: block; }
    }

    /* ── SERVICES INLINE GRID: responsive ── */
    @media (max-width: 900px) {
      .svc-inline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin: 30px auto 40px;
      }
    }
    @media (max-width: 600px) {
      .svc-circle-area {
        width: 180px;
        height: 180px;
        flex: 0 0 180px;
        background-size: 20px 20px;
      }
      .svc-c-circle.c1 { width: 120px; height: 120px; }
      .svc-c-circle.c2 { width: 150px; height: 150px; }
      .svc-c-circle.c3 { width: 180px; height: 180px; }
      .svc-c-orbit { width: 110px; height: 110px; }
      .svc-c-diamond { width: 100px; height: 100px; }
    }
    @media (max-width: 600px) {
      .svc-inline-grid {
        padding: 0 16px;
        gap: 16px;
      }
      .svc-inline-card {
        padding: 24px 20px 20px;
      }
    }

    /* Mobile: wider cards, better spacing, diamond centered on top border */
    @media (max-width: 900px) {
      .svc-inline-card {
        max-width: 100% !important;
        width: 100% !important;
        padding: 28px 24px 24px !important;
        gap: 10px !important;
      }
      .svc-inline-card .svc-nd-edge-diamond {
        position: absolute !important;
        left: 50% !important;
        top: -15px !important;
        transform: translateX(-50%) !important;
        width: 30px !important;
        height: 30px !important;
      }
      .svc-inline-card .svc-nd-diamond {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        width: 22px !important;
        height: 22px !important;
      }
      .svc-inline-card .svc-nd-dot {
        width: 5px !important;
        height: 5px !important;
      }
      .svc-mobile-detail { margin-top: 4px; }
      .svc-mobile-detail .svc-inline-body {
        font-size: 14px !important;
        line-height: 1.7 !important;
      }
      .svc-mobile-detail .svc-inline-result {
        font-size: 13px !important;
        line-height: 1.6 !important;
        padding-top: 10px !important;
      }
      .svc-paired-grid {
        padding: 0 5vw !important;
      }
    }

    /* Mobile: result text always has bold shifting gradient */
    @media (max-width: 900px) {
      .svc-mobile-detail .svc-inline-result {
        font-weight: 700 !important;
        background: linear-gradient(120deg, #FFE2C0, #C47D6A, #FFE2C0) !important;
        background-size: 200% 100% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        animation: svcWarmShift 4s ease-in-out infinite alternate !important;
      }
    }

    /* Hide legacy services elements if any remain (defensive) */
    .svc-radial-wrap, .svc-m, .svc-right-panel { display: none !important; }
