/* ── case-anglo-american — Orb Digital Branding (site-v3) ── */


    :root {
      --bg: #000820;
      --bg2: #060e28;
      --text: #f0ede8;
      --muted: #cccccc;
      --line: rgba(255,255,255,0.06);
      --blue: #003FFF;
      --blue2: #2255FF;
      --ease: cubic-bezier(.77,0,.175,1);
      --serif: 'Ubuntu', Helvetica, Arial, sans-serif;
      --sans: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* NAV */
    .nav-back { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,237,232,0.5); text-decoration: none; transition: color 0.2s; }
    .nav-back:hover { color: var(--text); }

    /* HERO */
    .hero {
      min-height: 100vh; position: relative; overflow: hidden;
      display: flex; align-items: flex-end;
      padding: 120px 48px 80px;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background: linear-gradient(145deg, #0c1430 0%, #000820 100%);
      
      
    }
    .hero-bg img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      opacity: 0.55;
      filter: saturate(0.6);
    }
    .hero-bg::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, var(--bg, #000820) 0%, rgba(0,8,32,0.5) 40%, rgba(0,8,32,0.3) 100%);
      pointer-events: none;
    }
    .hero-content { position: relative; z-index: 1; max-width: 900px; }
    .hero-client {
      font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(240,237,232,0.4); margin-bottom: 12px;
    }
    .hero-title {
      font-family: var(--serif);
      font-size: clamp(40px, 7vw, 96px);
      font-weight: 300; line-height: 0.95;
      letter-spacing: -0.02em;
    }

    /* META */
    .meta-strip {
      display: flex; gap: 0; border-bottom: 1px solid var(--line);
      margin-top: 40px; padding-top: 40px;
    }
    .meta-item {
      flex: 1; padding: 28px 32px 28px 0;
      border-right: 1px solid var(--line);
    }
    .meta-item:last-child { border-right: none; }
    .meta-label {
      font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--muted);
      display: block; margin-bottom: 8px;
    }
    .meta-value {
      font-family: var(--serif); font-size: 9px; font-weight: 300;
    }

    /* SECTIONS */
    .section {
      padding: 100px 48px; max-width: 1400px; margin: 0 auto;
    }
    .section-label {
      font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--blue2);
      display: block; margin-bottom: 16px;
    }
    .section-title {
      font-family: var(--serif);
      font-size: clamp(28px, 4vw, 54px);
      font-weight: 300; line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 24px;
    }
    .section-title em {
      font-style: italic; color: rgba(240,237,232,1);
    }
    .section-body {
      font-size: 14px; line-height: 1.75;
      color: rgba(240,237,232,1);
      max-width: 640px;
    }

    /* IMAGES */
    .img-full { width: 100%; aspect-ratio: 16/7; overflow: hidden; margin: 48px 0; }
    .img-full img, .img-full .ph {
      width: 100%; height: 100%; object-fit: cover;
    }
    .img-half { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 48px 0; }
    .img-half .block { aspect-ratio: 4/3; overflow: hidden; }

    /* METRICS */
    .metrics {
      display: grid; grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--line);
      margin: 80px 0 0;
    }
    .metric {
      padding: 48px 32px; border-right: 1px solid var(--line);
    }
    .metric:last-child { border-right: none; }
    .metric-num {
      font-family: var(--serif);
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 300; line-height: 1;
      margin-bottom: 12px;
    }
    .metric-label {
      font-size: 12px; color: var(--muted);
    }

    /* QUOTE */
    .quote {
      padding: 80px 48px; text-align: center;
      border-top: 1px solid var(--line);
    }
    .quote-mark {
      font-family: var(--serif); font-size: 79px;
      color: rgba(0,63,255,0.2); line-height: 0.7;
      margin-bottom: 16px;
    }
    .quote-text {
      font-family: var(--serif);
      font-size: 30px !important;
      font-weight: 300; font-style: italic;
      color: rgba(240,237,232,1);
      max-width: 700px; margin: 0 auto 20px;
      line-height: 1.6;
    }
    .quote-author {
      font-size: 12px; color: var(--muted);
      letter-spacing: 0.06em;
    }

    /* NEXT CASE */
    .next-case {
      display: block; text-decoration: none;
      height: 40vh; position: relative; overflow: hidden;
    }
    .next-case-bg {
      position: absolute; inset: 0;
      background: linear-gradient(145deg, #0c1430 0%, #000820 100%);
      transition: transform 0.8s var(--ease);
    }
    .next-case:hover .next-case-bg { transform: scale(1.04); }
    .next-case-label {
      position: absolute; bottom: 40px; left: 48px; z-index: 1;
    }
    .next-case-hint {
      font-size: 14px; letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(240,237,232,0.4);
      margin-bottom: 8px;
    }
    .next-case-title {
      font-family: var(--serif);
      font-size: clamp(28px, 4vw, 56px);
      font-weight: 300;
    }

    /* UTILITY */
    .max-w { max-width: 900px; margin: 0 auto; padding: 0 48px; }
    @media (max-width: 768px) {
      .section { padding: 60px 24px; }
      .max-w { padding: 0 24px; }
      .meta-strip { flex-direction: column; }
      .meta-item { padding: 20px 0; border-right: none; border-bottom: 1px solid var(--line); }
    }

    section:nth-child(odd) { background: var(--bg2); }

    /* ─────────────────────────────────────
       SCROLL & FULL-VIEWPORT OVERRIDES
    ───────────────────────────────────── */

    /* Progress bar */
    .progress-bar {
      position: fixed; top: 0; left: 0;
      height: 2px; width: 0%;
      background: linear-gradient(90deg, var(--blue), var(--blue2));
      z-index: 2000; pointer-events: none;
      transition: width 0.06s linear;
    }

    /* Sections — full viewport height */
    section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 120px 80px;
      border-bottom: 1px solid var(--line);
      position: relative;
    }

    /* Quote div (not a section element) */
    .quote {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 80px 80px;
      background: linear-gradient(135deg, #0033DD 0%, #1a3fcc 30%, #3344bb 55%, #5533aa 80%, #6a2fa0 100%);
    }

    /* Keep section override over .section class */
    .section { padding: 0; max-width: none; margin: 0; }

    /* Reveal animation */
    .rev {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.88s cubic-bezier(.22,1,.36,1),
                  transform 0.88s cubic-bezier(.22,1,.36,1);
    }
    .rev.on { opacity: 1; transform: none; }

    /* Metric numbers animate */
    .metric-num {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.65s ease, transform 0.65s ease;
      display: block;
    }
    .metric-num.on { opacity: 1; transform: none; }
    .metric-label {
      opacity: 0; transition: opacity 0.6s ease 0.3s;
    }
    .metric-label.on { opacity: 1; }

    /* Mobile */
    @media (max-width: 768px) {
      section { padding: 80px 28px !important; }
      .quote  { padding: 60px 28px !important; min-height: 80vh; }
    }

    /* ── Image callout (future placeholder) ── */
    .img-callout {
      width: 100%; aspect-ratio: 16/7;
      border: 1.5px dashed rgba(0,63,255,0.25);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      margin: 48px 0; gap: 10px; border-radius: 2px;
      background: rgba(0,63,255,0.03);
    }
    .img-callout-icon { font-size: 19px; opacity: 0.25; }
    .img-callout-label {
      font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--blue2); opacity: 0.6;
    }
    .img-callout-hint {
      font-size: 15px; color: var(--muted); opacity: 0.7;
    }
    /* Ensure real images fit nicely */
    .img-full img { width:100%; height:100%; object-fit:cover; display:block; }
    .img-half { display:grid; grid-template-columns:1fr 1fr; gap:3px; margin:48px 0; }
    .img-half img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
    @media(max-width:768px){ .img-half { grid-template-columns:1fr; } }

    /* Objectives grid for dark theme */
    .obj-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
      margin-top: 32px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
    }
    .obj-card {
      padding: 28px 24px; background: rgba(34, 85, 255, 0.05);
    }
    .obj-card:nth-child(2) {
      border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    }
    .obj-num {
      font-family: var(--serif); font-size: 35px; font-weight: 300;
      color: var(--blue2); opacity: 0.4; display: block; margin-bottom: 8px; line-height: 1;
    }
    .obj-card p {
      font-size: 12px; color: rgba(240,237,232,1); line-height: 1.6; margin: 0;
    }

    /* Strategies list for dark theme */
    .strat-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
    .strat-item {
      display: flex; align-items: flex-start; gap: 24px;
      padding: 28px 0; border-bottom: 1px solid var(--line);
    }
    .strat-icon {
      width: 40px; height: 40px; border-radius: 3px;
      background: rgba(34, 85, 255, 0.08);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 2px;
    }
    .strat-icon svg {
      width: 18px; height: 18px; stroke: var(--blue2); fill: none; stroke-width: 1.5;
    }
    .strat-content h3 {
      font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px;
    }
    .strat-content p {
      font-size: 12px; color: rgba(240,237,232,1); line-height: 1.7; margin: 0;
    }

    /* Results grid for dark theme */
    .results-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
      border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
      margin-bottom: 40px;
    }
    .result-card {
      padding: 36px 32px; background: rgba(34, 85, 255, 0.05); text-align: center;
    }
    .result-card:nth-child(odd) { border-right: 1px solid var(--line); }
    .result-card:nth-child(1), .result-card:nth-child(2) { border-bottom: 1px solid var(--line); }
    .result-number {
      font-family: var(--serif);
      font-size: clamp(42px, 6vw, 68px);
      font-weight: 600;
      color: var(--blue2);
      display: block;
      line-height: 1;
      margin-bottom: 8px;
    }
    .result-label {
      font-size: 13px; color: var(--muted); line-height: 1.5;
    }

    /* Info boxes for dark theme */
    .info-box {
      display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 0 0 4px 4px; overflow: hidden; margin-bottom: 0;
    }
    .info-box > div {
      flex: 1; padding: 28px 32px; background: rgba(34, 85, 255, 0.05); border-right: 1px solid var(--line);
    }
    .info-box > div:last-child { border-right: none; }
    .info-box-label {
      font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px;
    }
    .info-box p {
      font-size: 14px; color: rgba(240,237,232,1); line-height: 1.7; margin: 0;
    }

    /* YouTube wrapper */
    .video-wrap {
      position: relative; width: 100%; padding-bottom: 56.25%; margin: 32px 0; border-radius: 6px; overflow: hidden; background: #000;
    }
    .video-wrap iframe {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
    }

    @media(max-width:768px) {
      .obj-grid { grid-template-columns: 1fr; }
      .obj-card:nth-child(2) { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
      .results-grid { grid-template-columns: 1fr; }
      .result-card:nth-child(odd) { border-right: none; }
      .result-card:nth-child(1), .result-card:nth-child(2) { border-bottom: 1px solid var(--line); }
      .result-card:nth-child(3) { border-top: 1px solid var(--line); }
      .info-box { flex-direction: column; }
      .info-box > div { border-right: none; border-bottom: 1px solid var(--line); }
      .info-box > div:last-child { border-bottom: none; }
    }

  
    /* ── Hero overflow fix ── */
    .hero-title {
      font-size: clamp(26px, 3.8vw, 62px) !important;
      line-height: 1.05 !important;
    }
    .meta-strip { margin-top: 20px !important; padding-top: 20px !important; }
    .meta-item  { padding: 12px 20px 12px 0 !important; }
    .meta-value { font-size: 12px !important; }

    /* Mobile: stacked hero layout */
    @media (max-width: 900px) {
      .hero {
        height: auto !important;
        min-height: auto !important;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
      }
      .hero-bg {
        position: relative;
        height: 45vw;
        min-height: 200px;
        max-height: 360px;
      }
      .hero-bg img {
        width: 100%; height: 100%;
        object-fit: cover; display: block;
        opacity: 0.55; filter: saturate(0.6);
      }
      .hero-bg::after {
        background: linear-gradient(to top, var(--bg, #000820) 0%, transparent 60%);
      }
      .hero-content {
        padding: 32px 24px 48px;
      }
    }

  