

    :root {
      --bg: #f8f6f1;
      --panel: rgba(255,255,255,0.52);
      --card: #fbfaf7;
      --text: #151515;
      --muted: #666;
      --soft: #8a847c;
      --line: #e5dfd6;
      --accent: #ff6a00;
      --blue: #15207c;
      --shadow: 0 14px 36px rgba(0,0,0,0.05);
      --radius: 28px;
      --container: 1180px;
      --section-gap: 28px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }

    .page {
      padding-bottom: 72px;
    }

        /* =========================
       NAVIGATION
    ========================== */

    .navbar {
      padding: 28px 0;
    }

    .nav-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 28px;
    }

    .nav-link {
      font-size: 14px;
      color: #6d6d6d;
      transition: 0.2s ease;
    }

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

    .logo {
      font-family: "Brush Script MT", cursive;
      font-size: 32px;
      color: var(--accent);
      line-height: 1;
    }

    /* Hero */
    .hero {
      padding: 56px 0 24px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
      gap: 32px;
      align-items: end;
    }

    .eyebrow {
      font-size: 13px;
      color: var(--soft);
      margin-bottom: 14px;
      letter-spacing: 0.02em;
    }

    .hero h1 {
      margin: 0;
      max-width: 11.5ch;
      font-size: clamp(36px, 4.6vw, 68px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      font-weight: 600;
    }

    .hero-summary {
      margin: 0;
      max-width: 38ch;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.9;
    }

    .hero-number {
      text-align: right;
      font-size: 18px;
      color: #111;
    }

    .hero-number strong {
      display: block;
      font-size: 54px;
      font-weight: 500;
      line-height: 0.9;
      margin-bottom: 10px;
      letter-spacing: -0.05em;
    }

    .hero-metrics {
      margin-top: 22px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .metric {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.55);
      border: 1px solid var(--line);
      font-size: 13px;
      color: #333;
      box-shadow: var(--shadow);
    }

    .metric b { font-weight: 600; }

    .hero-meta {
      margin-top: 28px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .meta-item { min-width: 0; }
    .meta-label {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7c746c;
      margin-bottom: 6px;
    }
    .meta-value {
      font-size: 15px;
      line-height: 1.55;
      color: #1f1f1f;
    }

    /* Layout with sticky side nav */
    .case-layout {
      display: grid;
      grid-template-columns: 250px minmax(0, 1fr);
      gap: 34px;
      align-items: start;
      margin-top: 36px;
    }

    .toc {
      position: sticky;
      top: 86px;
      align-self: start;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.42);
      box-shadow: var(--shadow);
    }

    .toc-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7a7a7a;
      margin-bottom: 14px;
      font-weight: 700;
    }

    .toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .toc-list a {
      display: block;
      padding: 8px 10px;
      border-radius: 12px;
      color: #4c4c4c;
      font-size: 14px;
      transition: 0.2s ease;
    }

    .toc-list a:hover {
      background: #fff;
      color: var(--text);
    }

    .toc-list a.active {
      background: #fff;
      color: var(--text);
      border: 1px solid var(--line);
    }

    .toc-note {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* Main content */
    .content {
      min-width: 0;
    }

    .section {
      padding: 26px 0;
      scroll-margin-top: 96px;
    }

    .section + .section {
      margin-top: 8px;
    }

    .section-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 18px;
    }

    .section-title {
      margin: 0;
      font-size: 24px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      font-weight: 600;
    }

    .section-kicker {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7d7d7d;
      white-space: nowrap;
    }

    .body-copy {
      margin: 0;
      max-width: 820px;
      color: #2d2d2d;
      font-size: 16px;
      line-height: 1.95;
    }

    .body-copy + .body-copy {
      margin-top: 14px;
    }

    .callout {
      margin-top: 18px;
      padding: 24px;
      border-radius: 22px;
      background: #f5f1ea;
      border-left: 4px solid var(--accent);
      box-shadow: var(--shadow);
    }

    .callout strong {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
      letter-spacing: 0.01em;
    }

    .callout p {
      margin: 0;
      color: #333;
      line-height: 1.85;
    }

    .image-block {
      margin-top: 20px;
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow);
      border: 1px solid rgba(229, 223, 214, 0.7);
    }

    .image-block img {
      width: 100%;
      height: auto;
    }

    .image-caption {
      padding: 12px 16px 16px;
      font-size: 13px;
      color: #666;
      border-top: 1px solid var(--line);
      background: rgba(255,255,255,0.7);
    }

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

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

    .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .card h3 {
      margin: 0 0 10px;
      font-size: 18px;
      line-height: 1.25;
    }

    .card p {
      margin: 0;
      color: #333;
      line-height: 1.8;
      font-size: 15px;
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      color: #333;
      line-height: 1.85;
    }

    .card li + li {
      margin-top: 8px;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      padding: 9px 14px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #dbd5cb;
      font-size: 13px;
      color: #2f2f2f;
      box-shadow: var(--shadow);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      margin-top: 18px;
    }

    .step {
      padding: 18px 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.62);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .step span {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .step p {
      margin: 0;
      font-size: 14px;
      line-height: 1.75;
      color: #333;
    }

    .timeline {
      margin-top: 14px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.6);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      font-size: 15px;
      color: #2f2f2f;
    }

    .timeline strong {
      display: block;
      margin-bottom: 10px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
    }

    .highlight-list {
      margin: 0;
      padding-left: 18px;
      color: #333;
      line-height: 1.85;
    }

    .highlight-list li + li {
      margin-top: 8px;
    }

    .flow {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 18px;
    }

    .flow-bar {
      padding: 18px 20px;
      border-radius: 18px;
      background: rgba(255,255,255,0.65);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      font-size: 15px;
      color: #2e2e2e;
    }

    .flow-bar b {
      color: #111;
    }

    .mini-visuals {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .mini-visual {
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .mini-visual img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    .mini-visual .caption {
      padding: 10px 12px 12px;
      font-size: 13px;
      color: #666;
      border-top: 1px solid var(--line);
    }

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

    .outcome {
      padding: 22px;
      border-radius: 20px;
      background: rgba(255,255,255,0.55);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .outcome h3 {
      margin: 0 0 10px;
      font-size: 18px;
    }

    .outcome p {
      margin: 0;
      color: #333;
      line-height: 1.85;
      font-size: 15px;
    }

    .related {
      padding: 48px 0 24px;
      margin-top: 10px;
      border-top: 1px solid var(--line);
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .related-card {
      display: block;
      padding: 12px;
      border-radius: 18px;
      background: rgba(255,255,255,0.48);
      border: 1px solid var(--line);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .related-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .related-card img {
      border-radius: 12px;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      margin-bottom: 10px;
    }

    .related-card h4 {
      margin: 0 0 4px;
      font-size: 14px;
      line-height: 1.3;
    }

    .related-card p {
      margin: 0;
      font-size: 12px;
      color: #666;
    }

    .footer {
      padding: 30px 0 18px;
      text-align: center;
      color: #777;
      font-size: 13px;
      border-top: 1px solid var(--line);
      margin-top: 24px;
    }

/* Thumbnails get the zoom-in cursor */
  .mini-visual, .image-block {
    cursor: zoom-in;
    transition: transform 0.25s ease;
  }
  .mini-visual:hover, .image-block:hover {
    transform: scale(1.03);
  }

  /* Lightbox Background Overlay */
  .lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    
    /* Entire expanded layout gets the zoom-out cursor */
    cursor: zoom-out; 
    
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease;
  }

  .lightbox.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Lightbox Container Content */
  .lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .lightbox.active .lightbox-content {
    transform: scale(1);
  }

  /* The Popup Image */
  .lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
  }

  /* Close Button (fallback standard pointer) */
  .lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
  }
  .lightbox-close:hover {
    color: #ff4d4d;
    transform: scale(1.1);
  }

  /* Popup Caption */
  .lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
    font-family: sans-serif;
    text-align: center;
  }
  
    /* Responsive */
    @media (max-width: 1080px) {
      .case-layout {
        grid-template-columns: 1fr;
      }

      .toc {
        position: relative;
        top: auto;
      }

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

    @media (max-width: 900px) {
      .hero-grid,
      .grid-2,
      .grid-3,
      .outcome-grid,
      .related-grid {
        grid-template-columns: 1fr;
      }

      .hero-number {
        text-align: left;
      }

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

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

      .mini-visuals {
        grid-template-columns: 1fr;
      }
    }

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

      .header-inner {
        gap: 14px;
        align-items: flex-start;
        flex-direction: column;
      }

      .top-links {
        gap: 12px;
      }

      .hero {
        padding-top: 38px;
      }

      .hero h1 {
        max-width: none;
      }

      .hero-summary {
        max-width: none;
      }

      .hero-meta,
      .steps {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 22px;
      }

      .toc-list {
        grid-template-columns: 1fr;
      }

      .section {
        padding: 22px 0;
      }
    }


    /* ///////////////////////////// * edelweiss research case study specific styles * ///////////////////////////// */


    :root {
      --bg: #f8f6f1;
      --panel: rgba(255,255,255,0.55);
      --card: #fcfbf8;
      --text: #151515;
      --muted: #666;
      --soft: #847c73;
      --line: #e6dfd6;
      --accent: #ff6a00;
      --blue: #1d3f95;
      --shadow: 0 14px 36px rgba(0,0,0,0.05);
      --radius: 28px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }

    .page {
      padding-bottom: 72px;
    }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(10px);
      background: rgba(248, 246, 241, 0.78);
      border-bottom: 1px solid rgba(230, 223, 214, 0.7);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 14px 0;
    }

    .logo {
      font-family: "Brush Script MT", cursive;
      font-size: 30px;
      color: var(--accent);
      line-height: 1;
      white-space: nowrap;
    }

    .top-links {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 13px;
      color: #777;
    }

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

    /* Hero */
    .hero {
      padding: 56px 0 24px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
      gap: 32px;
      align-items: end;
    }

    .eyebrow {
      font-size: 13px;
      color: var(--soft);
      margin-bottom: 14px;
    }

    .hero h1 {
      margin: 0;
      max-width: 11.5ch;
      font-size: clamp(36px, 4.6vw, 68px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      font-weight: 600;
    }

    .hero-summary {
      margin: 0;
      max-width: 38ch;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.9;
    }

    .hero-number {
      text-align: right;
      font-size: 18px;
      color: #111;
    }

    .hero-number strong {
      display: block;
      font-size: 54px;
      font-weight: 500;
      line-height: 0.9;
      margin-bottom: 10px;
      letter-spacing: -0.05em;
    }

    .hero-metrics {
      margin-top: 22px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .metric {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.58);
      border: 1px solid var(--line);
      font-size: 13px;
      color: #333;
      box-shadow: var(--shadow);
    }

    .metric b { font-weight: 600; }

    .hero-meta {
      margin-top: 28px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .meta-item { min-width: 0; }
    .meta-label {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7c746c;
      margin-bottom: 6px;
    }
    .meta-value {
      font-size: 15px;
      line-height: 1.55;
      color: #1f1f1f;
    }

    /* Layout with sticky side nav */
    .case-layout {
      display: grid;
      grid-template-columns: 250px minmax(0, 1fr);
      gap: 34px;
      align-items: start;
      margin-top: 36px;
    }

    .toc {
      position: sticky;
      top: 86px;
      align-self: start;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.42);
      box-shadow: var(--shadow);
    }

    .toc-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7a7a7a;
      margin-bottom: 14px;
      font-weight: 700;
    }

    .toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .toc-list a {
      display: block;
      padding: 8px 10px;
      border-radius: 12px;
      color: #4c4c4c;
      font-size: 14px;
      transition: 0.2s ease;
    }

    .toc-list a:hover,
    .toc-list a.active {
      background: #fff;
      color: var(--text);
      border: 1px solid var(--line);
    }

    .toc-note {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* Content */
    .content {
      min-width: 0;
    }

    .section {
      padding: 26px 0;
      scroll-margin-top: 96px;
    }

    .section-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 18px;
    }

    .section-title {
      margin: 0;
      font-size: 24px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      font-weight: 600;
    }

    .section-kicker {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #7d7d7d;
      white-space: nowrap;
    }

    .body-copy {
      margin: 0;
      max-width: 820px;
      color: #2d2d2d;
      font-size: 16px;
      line-height: 1.95;
    }

    .body-copy + .body-copy {
      margin-top: 14px;
    }

    .callout {
      margin-top: 18px;
      padding: 24px;
      border-radius: 22px;
      background: #f5f1ea;
      border-left: 4px solid var(--accent);
      box-shadow: var(--shadow);
    }

    .callout strong {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
    }

    .callout p {
      margin: 0;
      color: #333;
      line-height: 1.85;
    }

    .image-block {
      margin-top: 20px;
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow);
      border: 1px solid rgba(230, 223, 214, 0.7);
    }

    .image-block img {
      width: 100%;
      height: auto;
    }

    .image-caption {
      padding: 12px 16px 16px;
      font-size: 13px;
      color: #666;
      border-top: 1px solid var(--line);
      background: rgba(255,255,255,0.7);
    }

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

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

    .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .card h3 {
      margin: 0 0 10px;
      font-size: 18px;
      line-height: 1.25;
    }

    .card p {
      margin: 0;
      color: #333;
      line-height: 1.8;
      font-size: 15px;
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      color: #333;
      line-height: 1.85;
    }

    .card li + li {
      margin-top: 8px;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      padding: 9px 14px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #dbd5cb;
      font-size: 13px;
      color: #2f2f2f;
      box-shadow: var(--shadow);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      margin-top: 18px;
    }

    .step {
      padding: 18px 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.62);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .step span {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .step p {
      margin: 0;
      font-size: 14px;
      line-height: 1.75;
      color: #333;
    }

    .timeline {
      margin-top: 14px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.6);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      font-size: 15px;
      color: #2f2f2f;
    }

    .timeline strong {
      display: block;
      margin-bottom: 10px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
    }

    .highlight-list {
      margin: 0;
      padding-left: 18px;
      color: #333;
      line-height: 1.85;
    }

    .highlight-list li + li {
      margin-top: 8px;
    }

    .flow {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }

    .flow-bar {
      padding: 18px 20px;
      border-radius: 18px;
      background: rgba(255,255,255,0.65);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      font-size: 15px;
      color: #2e2e2e;
    }

    .flow-bar b {
      color: #111;
    }

    .mini-visuals {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .mini-visual {
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .mini-visual img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    .mini-visual .caption {
      padding: 10px 12px 12px;
      font-size: 13px;
      color: #666;
      border-top: 1px solid var(--line);
    }

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

    .outcome {
      padding: 22px;
      border-radius: 20px;
      background: rgba(255,255,255,0.55);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .outcome h3 {
      margin: 0 0 10px;
      font-size: 18px;
    }

    .outcome p {
      margin: 0;
      color: #333;
      line-height: 1.85;
      font-size: 15px;
    }

    .related {
      padding: 48px 0 24px;
      margin-top: 10px;
      border-top: 1px solid var(--line);
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .related-card {
      display: block;
      padding: 12px;
      border-radius: 18px;
      background: rgba(255,255,255,0.48);
      border: 1px solid var(--line);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .related-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .related-card img {
      border-radius: 12px;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      margin-bottom: 10px;
    }

    .related-card h4 {
      margin: 0 0 4px;
      font-size: 14px;
      line-height: 1.3;
    }

    .related-card p {
      margin: 0;
      font-size: 12px;
      color: #666;
    }

    .footer {
      padding: 30px 0 18px;
      text-align: center;
      color: #777;
      font-size: 13px;
      border-top: 1px solid var(--line);
      margin-top: 24px;
    }

    /* Responsive */
    @media (max-width: 1080px) {
      .case-layout {
        grid-template-columns: 1fr;
      }

      .toc {
        position: relative;
        top: auto;
      }

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

    @media (max-width: 900px) {
      .hero-grid,
      .grid-2,
      .grid-3,
      .outcome-grid,
      .related-grid {
        grid-template-columns: 1fr;
      }

      .hero-number {
        text-align: left;
      }

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

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

      .mini-visuals {
        grid-template-columns: 1fr;
      }
    }

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

      .header-inner {
        gap: 14px;
        align-items: flex-start;
        flex-direction: column;
      }

      .top-links {
        gap: 12px;
      }

      .hero {
        padding-top: 38px;
      }

      .hero h1,
      .hero-summary {
        max-width: none;
      }

      .hero-meta,
      .steps {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 22px;
      }

      .toc-list {
        grid-template-columns: 1fr;
      }

      .section {
        padding: 22px 0;
      }
    }


    /* Thumbnails get the zoom-in cursor */
  .mini-visual, .image-block {
    cursor: zoom-in;
    transition: transform 0.25s ease;
  }
  .mini-visual:hover, .image-block:hover {
    transform: scale(1.03);
  }

  /* Lightbox Background Overlay */
  .lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    
    /* Entire expanded layout gets the zoom-out cursor */
    cursor: zoom-out; 
    
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease;
  }

  .lightbox.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Lightbox Container Content */
  .lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .lightbox.active .lightbox-content {
    transform: scale(1);
  }

  /* The Popup Image */
  .lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
  }

  /* Close Button (fallback standard pointer) */
  .lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
  }
  .lightbox-close:hover {
    color: #ff4d4d;
    transform: scale(1.1);
  }

  /* Popup Caption */
  .lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
    font-family: sans-serif;
    text-align: center;
  }
  