  :root {
    --bg: #060606;
    --bg-raised: #0d0d0d;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --text: #ebebeb;
    --text-2: #999999;
    --text-3: #555555;
    --accent: #dadada;
    --accent-dim: rgba(218,218,218,0.08);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --serif: 'Playfair Display', 'Georgia', serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
  body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 128px 128px; }
  ::selection { background: var(--accent); color: var(--bg); }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

  /* ANIMATIONS */
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .stagger > .reveal:nth-child(1) { transition-delay: 0s; }
  .stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
  .stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
  .stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
  .stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }

  /* ════ PASSWORD GATE ════ */
  #gate { transition: opacity 0.5s var(--ease); }
  #gate.is-hidden { opacity: 0; height: 0; overflow: hidden; pointer-events: none; position: absolute; }
  .gate__box { text-align: center; max-width: 420px; padding: 32px; }
  .gate__name { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 48px; }
  .gate__icon { width: 56px; height: 56px; margin: 0 auto 28px; border-radius: 14px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 22px; }
  .gate__title { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
  .gate__sub { font-size: 15px; color: var(--text-2); font-weight: 300; line-height: 1.6; margin-bottom: 32px; }
  .gate__input-wrap { display: flex; gap: 10px; margin-bottom: 8px; }
  .gate__input { flex: 1; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: var(--sans); font-size: 15px; outline: none; transition: border-color 0.3s; }
  .gate__input::placeholder { color: var(--text-3); }
  .gate__input:focus { border-color: var(--accent); }
  .gate__btn { padding: 16px 28px; background: var(--accent); color: var(--bg); border: none; border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.3s, transform 0.2s; }
  .gate__btn:hover { background: #dadada; transform: translateY(-1px); }
  .gate__error { font-size: 13px; color: #ff5555; margin-top: 14px; opacity: 0; transition: opacity 0.3s; }
  .gate__error.is-visible { opacity: 1; }
  .gate__contact { margin-top: 28px; font-size: 13px; color: var(--text-3); }
  .gate__contact a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
  .gate__contact a:hover { color: var(--text); }

  /* ════ NAV ════ */
  .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px 32px; background: rgba(6,6,6,0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
  .nav__inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
  .nav__logo { font-size: 15px; font-weight: 500; letter-spacing: 0.04em; }
  .nav__links { display: flex; gap: 32px; }
  .nav__links a { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); transition: color 0.3s; position: relative; }
  .nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease); }
  .nav__links a:hover { color: var(--text); }
  .nav__links a:hover::after { width: 100%; }
  .nav__links a.is-active { color: var(--text); }
  .nav__links a.is-active::after { width: 100%; }
  .nav__status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); font-weight: 400; letter-spacing: 0.04em; }
  .nav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

  /* ════ HERO ════ */
  .hero { min-height: 100vh; display: flex; align-items: center; padding: 160px 0 120px; }
  .hero__eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 28px; }
  .hero__title { font-family: var(--serif); font-size: clamp(44px, 7vw, 88px); font-weight: 400; line-height: 1.05; letter-spacing: -0.025em; max-width: 900px; margin-bottom: 36px; }
  .hero__title em { font-style: italic; color: var(--accent); }
  .hero__sub { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 560px; margin-bottom: 48px; font-weight: 300; }
  .hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 6px; transition: all 0.3s var(--ease); cursor: pointer; border: none; }
  .btn--primary { background: var(--accent); color: var(--bg); }
  .btn--primary:hover { background: #d4ff33; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,255,0,0.15); }
  .btn--ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
  .btn--ghost:hover { border-color: var(--border-hover); color: var(--text); transform: translateY(-2px); }

  /* ════ SECTIONS ════ */
  .section { padding: 120px 0; }
  .section--border { border-top: 1px solid var(--border); }
  .section__label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
  .section__heading { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 20px; }
  .section__sub { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 580px; font-weight: 300; }

  /* ════ METRICS ════ */
  .metrics-container { margin-top: 56px; }
  .metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; margin: 0; }
  .metric { background: var(--bg-card); padding: 36px 28px; text-align: center; transition: background 0.3s; }
  .metric:hover { background: var(--bg-card-hover); }
  .metric__value { font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 6px; }
  .metric__value--accent { color: var(--accent); }
  .metric__label { font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

  /* ════ PROJECT CARDS ════ */
  .projects-grid { display: flex; flex-direction: column; gap: 24px; }
  .project-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.4s, transform 0.4s var(--ease); cursor: pointer; text-decoration: none; color: inherit; }
  .project-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
  .project-card:hover .project-card__img img { transform: scale(1.03); }
  .project-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-raised); }
  .project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
  .project-card__img--placeholder { display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
  .project-card__body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
  .project-card__tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
  .project-card__title { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
  .project-card__desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
  .project-card__metrics { display: flex; gap: 24px; flex-wrap: wrap; }
  .project-card__stat { display: flex; flex-direction: column; gap: 2px; }
  .project-card__stat-value { font-size: 20px; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; }
  .project-card__stat-label { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }
  .project-card__arrow { margin-top: 24px; font-size: 13px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: color 0.3s, gap 0.3s; }
  .project-card:hover .project-card__arrow { color: var(--accent); gap: 12px; }
  .project-card--disabled { pointer-events: none; opacity: 0.4; }

  /* ════ ABOUT ════ */
  .about-excerpt { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); line-height: 1.55; font-weight: 400; color: var(--text-2); max-width: 800px; }
  .about-excerpt strong { color: var(--text); font-weight: 500; }

  .about-stack { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
  .about-body { font-size: 16px; line-height: 1.85; color: var(--text-2); font-weight: 300; max-width: 820px; }

  /* ════ SERVICES ════ */
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(218, 218, 218, 0.3), rgba(218, 218, 218, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }
  .service-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(218, 218, 218, 0.1);
  }
  .service-card:hover::before {
    opacity: 1;
  }
  .service-card__number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
    display: block;
    transition: color 0.3s var(--ease);
  }
  .service-card:hover .service-card__number {
    color: var(--text-2);
  }
  .service-card__title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .service-card__desc {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 18px;
  }
  .service-card__expect {
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.7;
    font-weight: 300;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    position: relative;
    padding-left: 16px;
  }
  .service-card__expect::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--text-3);
    font-weight: 400;
    opacity: 0.6;
  }

  /* ════ LOGOS ════ */
  .logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; opacity: 0.5; margin-top: 48px; }
  .logos span { font-size: 27px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }

  /* ════ CTA ════ */
  .cta-section { padding: 120px 0; text-align: center; border-top: 1px solid var(--border); }
  .cta-section__heading { font-family: var(--serif); font-size: clamp(32px, 5vw, 56px); font-weight: 400; line-height: 1.1; margin-bottom: 20px; }
  .cta-section__sub { font-size: 16px; color: var(--text-2); margin-bottom: 36px; font-weight: 300; }

  /* ════ FOOTER ════ */
  .footer { padding: 48px 0; border-top: 1px solid var(--border); }
  .footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
  .footer__copy { font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }
  .footer__links { display: flex; gap: 24px; }
  .footer__links a { font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; }
  .footer__links a:hover { color: var(--text); }

  .page { display: none; }
  .page.is-active { display: block; }

  /* ════ RESPONSIVE ════ */
  @media (max-width: 768px) {
    .nav__status { display: none; }
    .hero { padding: 140px 0 80px; min-height: auto; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .project-card { grid-template-columns: 1fr; }
    .project-card__body { padding: 28px 24px; }
    .about-stack { gap: 18px; }
    .about-body { font-size: 15px; }
    .services-grid { grid-template-columns: 1fr; }
    .logos { gap: 28px; }
    .section { padding: 80px 0; }
    .footer__inner { flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 480px) {
    .wrap { padding: 0 20px; }
    .nav { padding: 18px 20px; }
    .metrics { grid-template-columns: 1fr; }
    .hero__ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .project-card__metrics { flex-direction: column; gap: 12px; }
  }

/* ========== CASE STUDY PAGE STYLES ========== */
  :root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #dadada;
    --accent-dim: rgba(218, 218, 218, 0.12);
    --accent-glow: rgba(218, 218, 218, 0.25);
    --green: #00c853;
    --green-dim: rgba(0, 200, 83, 0.12);
    --green-glow: rgba(0, 200, 83, 0.25);
    --red: #ff4444;
    --red-dim: rgba(255, 68, 68, 0.12);
    --amber: #dadada;
    --amber-dim: rgba(218, 218, 218, 0.12);
    --blue: #dadada;
    --blue-dim: rgba(218, 218, 218, 0.12);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Case study pages only */
  body.case-study {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    padding-left: 240px;
  }

  @media (max-width: 768px) {
    body.case-study {
      padding-left: 0;
    }
  }

  /* ─── UTILITY ─── */
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .container--wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .section {
    padding: 100px 0;
  }

  .section--bordered {
    border-top: 1px solid var(--border);
  }

  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── BACK NAV ─── */
  .back-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
  }

  .back-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .back-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
  }

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

  .back-nav__arrow {
    font-size: 18px;
    transition: transform var(--transition);
  }

  .back-nav a:hover .back-nav__arrow {
    transform: translateX(-3px);
  }

  /* ─── HERO ─── */
  .hero {
    padding: 160px 0 80px;
    position: relative;
  }

  .hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
  }

  .hero__label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    max-width: 800px;
  }

  .hero__title em {
    font-style: italic;
    color: var(--accent);
  }

  .hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 48px;
  }

  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
  }

  .hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .hero__meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .hero__meta-value {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* ─── IMAGE PLACEHOLDER ─── */
  .image-block {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin: 48px 0;
    position: relative;
  }

  .image-block--hero {
    aspect-ratio: 16 / 8;
  }

  .image-block--standard {
    /* Removed fixed aspect-ratio to allow images to display at full size */
  }

  .image-block--tall {
    aspect-ratio: 4 / 3;
  }

  .image-block__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background:
      radial-gradient(circle at 30% 40%, rgba(0,200,83,0.03) 0%, transparent 50%),
      linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  }

  .image-block__placeholder svg {
    opacity: 0.3;
  }

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

  /* ─── KEY RESULTS CARDS ─── */
  .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 48px 0;
  }

  .result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
  }

  .result-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
  }

  .result-card__value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }

  .result-card__value--green { color: var(--accent); }
  .result-card__value--red { color: var(--red); }
  .result-card__value--blue { color: var(--blue); }
  .result-card__value--amber { color: var(--amber); }

  .result-card__label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
  }

  .result-card__bg-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 80px;
    opacity: 0.04;
    line-height: 1;
  }

  /* ─── ANIMATED BAR CHART ─── */
  .chart-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin: 48px 0;
  }

  .chart-section__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 36px;
  }

  .chart-bar-group {
    margin-bottom: 32px;
  }

  .chart-bar-group:last-child {
    margin-bottom: 0;
  }

  .chart-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
  }

  .chart-bar__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .chart-bar__value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .chart-bar__track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
  }

  .chart-bar__fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .chart-bar__fill--green { background: var(--accent); }
  .chart-bar__fill--red { background: var(--red); }
  .chart-bar__fill--blue { background: var(--blue); }
  .chart-bar__fill--amber { background: var(--amber); }

  /* ─── COMPARISON CHART ─── */
  .comparison-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 48px 0;
  }

  .comparison-chart__side {
    padding: 40px 32px;
  }

  .comparison-chart__side--before {
    background: var(--bg-card);
  }

  .comparison-chart__side--after {
    background: var(--bg-elevated);
  }

  .comparison-chart__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
  }

  .comparison-chart__tag--before {
    color: var(--red);
    background: var(--red-dim);
  }

  .comparison-chart__tag--after {
    color: var(--green);
    background: var(--green-dim);
  }

  .comparison-chart__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .comparison-chart__item-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
  }

  .comparison-chart__item-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .comparison-chart__item-value--red { color: var(--red); }
  .comparison-chart__item-value--green { color: var(--green); }

  /* ─── SECTION HEADERS ─── */
  .section-header {
    margin-bottom: 40px;
  }

  .section-header__number {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
  }

  .section-header__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .section-header__subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.7;
  }

  /* ─── BODY TEXT ─── */
  .prose {
    max-width: 680px;
  }

  .prose p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .prose p:last-child {
    margin-bottom: 0;
  }

  .prose strong {
    color: var(--text-primary);
    font-weight: 600;
  }

  /* ─── QUOTE ─── */
  .quote-block {
    border-left: 3px solid var(--accent);
    padding: 24px 0 24px 32px;
    margin: 40px 0;
  }

  .quote-block__text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
  }

  .quote-block__attr {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
  }

  /* ─── FINDINGS LIST ─── */
  .findings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
  }

  .finding-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color var(--transition);
  }

  .finding-item:hover {
    border-color: var(--border-hover);
  }

  .finding-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
  }

  .finding-item__icon--red {
    background: var(--red-dim);
    color: var(--red);
  }

  .finding-item__icon--amber {
    background: var(--amber-dim);
    color: var(--amber);
  }

  .finding-item__content {
    flex: 1;
  }

  .finding-item__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
  }

  .finding-item__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ─── PHASE CARDS ─── */
  .phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
  }

  .phase-card__number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    font-family: 'Inter', sans-serif;
  }

  .phase-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-dim);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 20px;
  }

  .phase-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
  }

  .phase-card__challenge {
    font-size: 15px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
  }

  .phase-card__body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .phase-card__impact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
  }

  .phase-card__impact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .phase-card__impact-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.02em;
  }

  .phase-card__impact-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
  }

  /* ─── CONCEPT CARDS ─── */
  .concepts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
  }

  .concept-card {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color var(--transition);
  }

  .concept-card--rejected {
    background: var(--bg-card);
    opacity: 0.6;
  }

  .concept-card--chosen {
    background: var(--green-dim);
    border-color: rgba(0, 200, 83, 0.2);
  }

  .concept-card__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .concept-card__tag--rejected {
    color: var(--red);
    background: var(--red-dim);
  }

  .concept-card__tag--chosen {
    color: var(--green);
    background: var(--green-dim);
  }

  .concept-card__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .concept-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ─── LEARNINGS ─── */
  .learnings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
  }

  .learning-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition);
  }

  .learning-card:hover {
    border-color: var(--border-hover);
  }

  .learning-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .learning-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ─── DESIGN SYSTEM ─── */
  .ds-brands {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
  }

  .ds-brand-tag {
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
  }

  .ds-brand-tag--primary {
    background: var(--accent-dim);
    border-color: rgba(0, 200, 83, 0.2);
    color: var(--accent);
  }

  /* ─── FOOTER ─── */
  .case-footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .case-footer__text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
  }

  .case-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
  }

  .case-footer__cta:hover {
    background: #00e65c;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px var(--accent-glow);
  }

  /* ─── SIDE NAVIGATION ─── */
  .side-nav {
    position: fixed;
    left: 40px;
    top: 180px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .side-nav__item {
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 400;
    color: #999999;
    cursor: pointer;
  }

  .side-nav__item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #999999;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .side-nav__item:hover {
    color: #3B82F6;
    transition: color 200ms ease;
  }

  .side-nav__item:hover::before {
    background: #3B82F6;
  }

  .side-nav__item.active {
    color: var(--text-primary);
    font-weight: 600;
  }

  .side-nav__item.active::before {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .section {
      padding: 64px 0;
    }

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

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

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

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

    .chart-section {
      padding: 32px 24px;
    }

    .phase-card {
      padding: 32px 24px;
    }

    .hero__meta {
      gap: 20px;
    }

    .hero {
      padding: 120px 0 60px;
    }

    .side-nav {
      display: none;
    }
  }

  @media (max-width: 480px) {
    .results-grid {
      grid-template-columns: 1fr;
    }

    .phase-card__impact {
      flex-direction: column;
      gap: 16px;
    }

    .result-card__value {
      font-size: 28px;
    }
  }

  /* ─── NHS OUTCOME CARDS ─── */
  .outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
  }

  .outcome-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition);
  }

  .outcome-card:hover {
    border-color: var(--border-hover);
  }

  .outcome-card__icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
  }

  .outcome-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
  }

  .outcome-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ─── NHS SKILLS TAGS ─── */
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
  }

  .skill-tag {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
  }

  .skill-tag:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
    color: var(--text-primary);
  }

  /* ─── RESPONSIVE FOR NHS CARDS ─── */
  @media (max-width: 768px) {
    .outcomes-grid {
      grid-template-columns: 1fr;
    }

    .skills-grid {
      gap: 8px;
    }

    .skill-tag {
      font-size: 12px;
      padding: 8px 16px;
    }
  }
