.portfolio-details-page{ background: linear-gradient(90deg, rgba(247, 200, 207, 1) 0%, rgba(144, 172, 212, 1) 50%, rgba(152, 109, 181, 1) 100%); }
  .journey-page{padding-left:21px;}
/* =========================================
       MICRO-INTERACTION UTILITIES
    ========================================= */
    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* Stagger delays for groups */
    .delay-1 { transition-delay: .08s; }
    .delay-2 { transition-delay: .16s; }
    .delay-3 { transition-delay: .24s; }

    /* =========================================
       BADGES / SHARED ATOMS
    ========================================= */
    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 999px;
      font-size: 12px; font-weight: 700; letter-spacing: .04em;
    }
    .badge--purple { color: var(--purple-700); background: var(--purple-100); }
    .badge--white { color: var(--purple-800); background: rgba(255,255,255,.9); }

    /* =========================================
       BACK LINK
    ========================================= */
    .back-link {
      display: inline-flex; align-items: center; gap: 8px;
      margin: 32px 0 24px;
      font-size: 14px; font-weight: 600; color: var(--purple-700);
      text-decoration: none; letter-spacing: .01em;
      transition: gap .25s ease, color .2s;
    }
    .back-link:hover { gap: 14px; color: var(--purple-900); }
    .back-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; }

    /* =========================================
       HERO
    ========================================= */
    .journey-hero {
      display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px;
      align-items: center; margin-bottom: 28px;
    }
    .hero-label {
      display: inline-block; font-size: 12px; font-weight: 800;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--purple-600); margin-bottom: 14px;
    }
    .journey-hero h1 {
      font-size: clamp(42px, 5.5vw, 68px); font-weight: 800;
      color: var(--purple-800); line-height: 1.05; letter-spacing: .02em;
    }
    .hero-subtitle {
      font-size: 18px; font-weight: 600; color: var(--blue-600);
      margin: 12px 0 16px; line-height: 1.3;
    }
    .hero-desc {
      font-size: 15px; line-height: 1.75; color: var(--gray-700); max-width: 560px;
    }

    /* Hero mockups */
    .hero-mockups { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
    .laptop {
      width: 88%; aspect-ratio: 16/10.2; background: #1f2937;
      border-radius: 14px 14px 0 0; padding: 10px 10px 0;
      box-shadow: 0 28px 60px -14px rgba(0,0,0,.25);
      position: relative; z-index: 1;
    }
    .laptop-screen {
      width: 100%; height: 100%; background: #f8fafc;
      border-radius: 6px 6px 0 0; overflow: hidden; position: relative;
    }
    .laptop-base {
      position: absolute; bottom: -12px; left: -4%; width: 108%; height: 12px;
      background: #374151; border-radius: 0 0 6px 6px;
      box-shadow: 0 6px 12px rgba(0,0,0,.15);
    }
    .laptop-base::after {
      content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
      width: 16%; height: 4px; background: #4b5563; border-radius: 0 0 2px 2px;
    }
    .phone {
      position: absolute; right: -2%; bottom: -18px;
      width: 26%; aspect-ratio: 9/19; background: #1f2937;
      border-radius: 22px; padding: 8px; z-index: 2;
      box-shadow: 0 20px 40px -8px rgba(0,0,0,.3);
      animation: floatPhone 5s ease-in-out infinite;
    }
    .phone-notch {
      position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
      width: 36%; height: 14px; background: #1f2937; border-radius: 0 0 8px 8px; z-index: 3;
    }
    .phone-screen { width: 100%; height: 100%; background: #f8fafc; border-radius: 16px; overflow: hidden; }

    @keyframes floatPhone {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    /* Abstract UI inside hero devices */
    .ui-sidebar-mini {
      position: absolute; left: 0; top: 0; width: 24%; height: 100%; background: #fff; border-right: 1px solid #e2e8f0;
      padding: 14px 10px;
    }
    .ui-logo-mini { width: 65%; height: 9px; background: #4f46e5; border-radius: 2px; margin-bottom: 16px; }
    .ui-nav-line { height: 5px; background: #cbd5e1; border-radius: 2px; margin-bottom: 9px; width: 80%; }
    .ui-body-mini { margin-left: 24%; padding: 14px 16px; }
    .ui-heading-mini { width: 40%; height: 8px; background: #1e293b; border-radius: 2px; margin-bottom: 14px; }
    .ui-stats-mini { display: flex; gap: 8px; margin-bottom: 14px; }
    .ui-stat-mini { flex: 1; height: 40px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
    .ui-row-mini { height: 18px; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; margin-bottom: 6px; }

    .phone .ui-body-mini { margin-left: 0; padding: 28px 10px 10px; }
    .phone .ui-heading-mini { width: 55%; }
    .phone .ui-stats-mini { display: grid; grid-template-columns: 1fr 1fr; }
    .phone .ui-stat-mini { height: 34px; }

    /* =========================================
       META BAR
    ========================================= */
    .meta-bar {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 16px 24px;
      background: rgba(255,255,255,.65); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-md);
      padding: 20px 28px; margin-bottom: 48px;
    }
    .meta-item { display: flex; align-items: center; gap: 12px; }
    .meta-item svg { width: 22px; height: 22px; stroke: var(--purple-600); fill: none; stroke-width: 2; flex-shrink: 0; }
    .meta-item strong { display: block; font-size: 13px; color: var(--gray-900); }
    .meta-item span { font-size: 12px; color: var(--gray-600); }

    /* =========================================
       SIDEBAR + MAIN LAYOUT
    ========================================= */
    .journey-layout { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: start; }

    /* Sidebar sticky nav */
    .side-nav { position: sticky; top: 32px; }
    .side-nav-title {
      font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
      color: var(--gray-900); margin-bottom: 14px;
    }
    .side-nav ul { list-style: none; padding-left: 0rem; }
    .side-nav li { margin-bottom: 4px; }
    .side-nav a {
      display: flex; align-items: center; gap: 10px;
      padding: 5px 0; font-size: 13px; font-weight: 500;
      color: var(--gray-600); text-decoration: none; border-radius: 6px;
      transition: color .2s, transform .2s;
    }
    .side-nav a::before {
      content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-300);
      transition: background .25s, box-shadow .25s, transform .25s;
      flex-shrink: 0;
    }
    .side-nav a:hover { color: var(--purple-700); transform: translateX(2px); }
    .side-nav a.active { color: var(--purple-800); font-weight: 700; }
    .side-nav a.active::before {
      background: var(--purple-600);
      box-shadow: 0 0 0 4px var(--purple-100);
      transform: scale(1.25);
    }

    /* Mobile top nav (hidden on desktop) */
    .side-nav-mobile { display: none; margin-bottom: 28px; }
    .side-nav-mobile ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .side-nav-mobile ul::-webkit-scrollbar { display: none; }
    .side-nav-mobile a {
      white-space: nowrap; padding: 6px 14px; border-radius: 999px;
      font-size: 12px; font-weight: 600; color: var(--gray-700);
      background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7);
      text-decoration: none; transition: all .2s;
    }
    .side-nav-mobile a:hover, .side-nav-mobile a.active { background: var(--purple-100); color: var(--purple-800); border-color: var(--purple-200); }

    /* =========================================
       MAIN CONTENT SECTIONS
    ========================================= */
    .main-content section { margin-bottom: 64px; }
    .section-title { width: 98%; margin-left: 0rem;
      font-size: 20px; font-weight: 800; color: var(--purple-800);
      margin-bottom: 24px; letter-spacing: -.01em;
    }

    /* Cards */
    .card {
      background: rgba(255,255,255,.72); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius-md);
      padding: 22px; box-shadow: 0 4px 14px rgba(76,29,149,.04);
      transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
    }
    .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(76,29,149,.08); }
    .card__header {
      display: flex; align-items: center; gap: 10px;
      font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px;
    }
    .card__header svg { width: 20px; height: 20px; stroke: var(--purple-600); fill: none; stroke-width: 2; flex-shrink: 0; }
    .card p, .card li { font-size: 13px; line-height: 1.65; color: var(--gray-600); }
    .card ul { list-style: none; }
    .card li { display: flex; align-items: flex-start; gap: 8px;}
    .card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-400); margin-top: 7px; flex-shrink: 0; }
    .checklist li::before { display: none; }
    .checklist .check { width: 16px; height: 16px; border-radius: 50%; background: var(--purple-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
    .checklist .check svg { width: 10px; height: 10px; stroke: var(--purple-600); stroke-width: 3; fill: none; }

    /* Grids */
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
    .grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

    /* Challenge mini-card */
    .challenge-card { text-align: center; padding: 20px 12px; }
    .challenge-card .ico { width: 32px; height: 32px; margin: 0 auto 10px; stroke: var(--purple-600); fill: none; stroke-width: 1.8; }
    .challenge-card h4 { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; line-height: 1.3; }
    .challenge-card p { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

    /* Role / Stakeholders split */
    .role-section { position: relative; }
    .role-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
    .role-list { list-style: none; }
    .role-list li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.6; color: var(--gray-700); margin-bottom: 10px; }
    .role-list li::before {
      content: ""; position: absolute; left: 0; top: 7px;
      width: 9px; height: 9px; border: 2px solid var(--purple-300); border-radius: 50%;
    }
    .stakeholders-card {
      background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
      color: #fff; border-radius: var(--radius-md); padding: 26px;
      box-shadow: 0 10px 30px -8px rgba(76,29,149,.35);
    }
    .stakeholders-card h3 { color: #fff; margin-bottom: 16px; font-size: 15px; font-weight: 700; }
    .sh-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 500; }
    .sh-item svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; flex-shrink: 0; }
    .role-deco {
      position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
      width: 140px; height: 140px; opacity: .08; pointer-events: none;
    }

    /* Design Process */
    .process-track {
      display: flex; justify-content: space-between; position: relative;
      padding-top: 8px;
    }
    .process-track::before {
      content: ""; position: absolute; top: 28px; left: 5%; right: 5%; height: 2px;
      background: linear-gradient(90deg, var(--purple-200), var(--purple-300), var(--purple-200)); border-radius: 2px;
    }
    .step { position: relative; z-index: 1; text-align: center; flex: 1; max-width: 150px; }
    .step-icon {
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--purple-100); display: flex; align-items: center; justify-content: center;
      margin: 0 auto 12px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.06);
      transition: transform .3s;
    }
    .step:hover .step-icon { transform: scale(1.1) translateY(-2px); }
    .step-icon svg { width: 20px; height: 20px; stroke: var(--purple-700); fill: none; stroke-width: 2; }
    .step h5 { font-size: 13px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
    .step p { font-size: 11px; color: var(--gray-600); line-height: 1.45; padding: 0 4px; }

    /* Key decision impact label */
    .impact-label { font-size: 11px; font-weight: 800; color: var(--purple-600); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 4px; }
    .impact-text { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

    /* Selected Screens */
    .screen-thumb { text-align: center; }
    .screen-frame {
      background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
      padding: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
      transition: transform .3s, box-shadow .3s;
    }
    .screen-thumb:hover .screen-frame { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(76,29,149,.1); }
    .screen-inner { width: 100%; aspect-ratio: 4/3; background: #f1f5f9; border-radius: 6px; position: relative; overflow: hidden; }
    .screen-bar { height: 6px; background: #e2e8f0; border-radius: 3px; margin: 8px 10px 6px; opacity: .7; }
    .screen-line { height: 3px; background: #e2e8f0; border-radius: 2px; margin: 5px 10px; }
    .screen-line.short { width: 60%; }
    .screen-cap { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--gray-700); }

    /* Challenges / Trade-offs split */
    .split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
    .chall-item { display: flex; gap: 14px; margin-bottom: 20px; }
    .chall-ico {
      width: 36px; height: 36px; border-radius: 50%; background: var(--purple-100);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .chall-ico svg { width: 18px; height: 18px; stroke: var(--purple-700); fill: none; stroke-width: 2; }
    .chall-text h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
    .chall-text p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
    .trade-card .card { height: 100%; }
    .trade-card ul { list-style: none; }
    .trade-card li { position: relative; padding-left: 18px !important; font-size: 13px; color: var(--gray-700); margin-bottom: 10px; line-height: 1.55; }
    .trade-card li::before { content: "•"; position: absolute; left: 0; color: var(--purple-600); font-weight: 900; font-size: 16px; top: -2px; }
    .balance-art { width: 100%; max-width: 160px; margin: 18px auto 0; opacity: .9; }

    /* Outcomes */
    .outcome { text-align: center; padding: 24px 14px; }
    .outcome svg { width: 32px; height: 32px; stroke: var(--purple-600); fill: none; stroke-width: 1.8; margin-bottom: 12px; }
    .outcome h4 { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--gray-900); }
    .outcome p { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

    /* Reflection */
#reflectionn {padding-left: 10px; width: 98%;} 
    .reflection { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;}
    .quote { position: relative; padding-left: 36px; font-size: 15px; line-height: 1.8; color: var(--gray-700); }
    .quote::before {
      content: "“"; position: absolute; left: 0; top: -10px;
      font-family: Georgia, serif; font-size: 72px; color: var(--purple-300); line-height: 1;
    }
    .mountain-art { width: 150px; height: auto; }

    /* Next Case Banner */
    .next-case-banner {
      display: grid; grid-template-columns: 1fr auto 200px; gap: 28px; align-items: center;
      background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
      border-radius: var(--radius-lg); padding: 36px 44px; color: #fff; margin: 30px 10px;
    }
    .next-case-banner h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
    .next-case-banner p { font-size: 14px; opacity: .92; max-width: 420px; line-height: 1.55; }
    .next-btn {
      display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
      padding: 12px 24px; background: #fff; color: #fa8f05;
      border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
      box-shadow: 0 6px 20px rgba(0,0,0,.15);
      transition: transform .2s, box-shadow .2s;
    }
    .next-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
    .next-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .2s; }
    .next-btn:hover svg { transform: translateX(3px); }
    .next-mock { width: 180px; justify-self: end; position: relative; }
    .next-mock .laptop { width: 100%; padding: 6px 6px 0; border-radius: 10px 10px 0 0; }
    .next-mock .laptop-base { height: 9px; bottom: -9px; }
    .next-mock .phone { width: 30%; right: -6px; bottom: -12px; border-radius: 16px; padding: 5px; }
    .next-mock .phone-notch { height: 10px; border-radius: 0 0 6px 6px; }

    /* =========================================
       RESPONSIVE
    ========================================= */
    @media (max-width: 1100px) {
      .journey-layout { grid-template-columns: 1fr; }
      .side-nav { display: none; }
      .side-nav-mobile { display: block; }
      .grid-5 { grid-template-columns: repeat(3, 1fr); }
      .grid-6 { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 880px) {
      .journey-hero { grid-template-columns: 1fr; }
      .hero-mockups { order: -1; min-height: 340px; }
      .grid-3, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
      .split-2, .reflection, .role-grid { grid-template-columns: 1fr; }
      .next-case-banner { grid-template-columns: 1fr; text-align: center; }
      .next-mock { justify-self: center; order: -1; }
      .process-track { gap: 12px; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
      .process-track::before { display: none; }
      .step { min-width: 120px; text-align: left; display: flex; align-items: flex-start; gap: 12px; }
      .step-icon { margin: 0; }
    }
    @media (max-width: 560px) {
      .grid-3, .grid-5, .grid-6 { grid-template-columns: 1fr; }
      .meta-bar { display: grid; grid-template-columns: 1fr 1fr; }
      .next-case-banner { padding: 28px 24px; }
    }
