  /* ===== SAVANNAH THEME — dark (night) default ===== */
  :root, html[data-theme="dark"] {
    --bg-deep: #100a06;
    --bg-base: #15100a;
    --surface: rgba(255, 248, 235, 0.045);
    --surface-strong: rgba(255, 248, 235, 0.08);
    --fg: #f4ecdf;
    --fg-muted: #b3a48c;
    --fg-dim: #7e7058;
    --border: rgba(242, 165, 60, 0.14);
    --border-strong: rgba(242, 165, 60, 0.3);
    --nav-bg: rgba(21, 16, 10, 0.55);
    --nav-bg-scroll: rgba(18, 13, 8, 0.82);
    --glow: rgba(242, 165, 60, 0.35);
    --amb-1: rgba(242, 165, 60, 0.16);
    --amb-2: rgba(226, 104, 46, 0.13);
    --blob-a: rgba(242,165,60,0.55);
    --blob-b: rgba(226,104,46,0.5);
    --blob-c: rgba(194,84,47,0.45);
    --horizon: rgba(242, 165, 60, 0.10);
    --grain-opacity: 0.03;
  }
  /* ===== SAVANNAH THEME — light (midday) ===== */
  html[data-theme="light"] {
    --bg-deep: #fbf4e6;
    --bg-base: #f6eedd;
    --surface: rgba(255, 252, 245, 0.6);
    --surface-strong: rgba(255, 252, 245, 0.85);
    --fg: #2a1d10;
    --fg-muted: #6e5b42;
    --fg-dim: #9c8a6e;
    --border: rgba(150, 96, 35, 0.18);
    --border-strong: rgba(150, 96, 35, 0.34);
    --nav-bg: rgba(255, 250, 240, 0.62);
    --nav-bg-scroll: rgba(255, 249, 237, 0.9);
    --glow: rgba(226, 104, 46, 0.28);
    --amb-1: rgba(242, 165, 60, 0.28);
    --amb-2: rgba(226, 104, 46, 0.18);
    --blob-a: rgba(242,165,60,0.45);
    --blob-b: rgba(226,104,46,0.35);
    --blob-c: rgba(212,160,90,0.4);
    --horizon: rgba(194, 84, 47, 0.14);
    --grain-opacity: 0.02;
  }

  :root {
    --accent: #f2a53c;   /* gold */
    --accent-2: #e2682e; /* sunset orange */
    --accent-3: #c2542f; /* terracotta */
    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --maxw: 1180px;
    --grad: #e2682e;
    /* Soweto / Ndebele vibrant palette */
    --c-yellow: #ffcf33;
    --c-orange: #ff7a1a;
    --c-red: #e23b2e;
    --c-magenta: #e6357a;
    --c-teal: #18b3a6;
    --c-blue: #2f6bff;
    --c-green: #2bb673;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body {
    font-family: 'Archivo', system-ui, sans-serif;
    background: var(--bg-deep);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background 0.5s var(--ease), color 0.5s var(--ease);
  }

  /* Ambient savannah background */
  .ambient {
    position: fixed; inset: 0; z-index: -2; overflow: hidden;
    background: var(--bg-deep);
    transition: background 0.5s var(--ease);
  }
  .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform; }
  .blob.a { width: 480px; height: 480px; top: -120px; left: -80px; background: var(--blob-a); animation: drift1 22s var(--ease) infinite alternate; }
  .blob.b { width: 520px; height: 520px; top: 28%; right: -160px; background: var(--blob-b); animation: drift2 28s var(--ease) infinite alternate; }
  .blob.c { width: 420px; height: 420px; bottom: -140px; left: 30%; background: var(--blob-c); animation: drift3 25s var(--ease) infinite alternate; }
  @keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
  @keyframes drift2 { to { transform: translate(-100px, 60px) scale(1.1); } }
  @keyframes drift3 { to { transform: translate(60px, -90px) scale(1.2); } }
  .ambient::after {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity); mix-blend-mode: overlay;
  }
  /* Acacia savannah horizon silhouette */
  .horizon {
    position: fixed; left: 0; right: 0; bottom: 0; height: 260px; z-index: -1;
    color: var(--horizon); pointer-events: none;
  }
  .horizon svg { width: 100%; height: 100%; display: block; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: rgba(242, 165, 60, 0.35); color: #1a1208; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

  /* Nav */
  header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px 12px 22px; border-radius: var(--radius-pill);
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  }
  header.scrolled .nav { background: var(--nav-bg-scroll); border-color: var(--border-strong); }
  .brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
  .brand .paw { width: 22px; height: 22px; color: var(--accent); }
  .nav-right { display: flex; align-items: center; gap: 6px; }
  .nav-links { display: flex; gap: 6px; align-items: center; }
  .nav-links a { position: relative; font-size: 14px; color: var(--fg-muted); padding: 8px 14px; border-radius: var(--radius-pill); transition: color 0.25s var(--ease), background 0.25s var(--ease); }
  .nav-links a:hover { color: var(--fg); background: var(--surface); }
  /* Active section indicator — theme-aware accent underline */
  .nav-links a.active { color: var(--fg); }
  .nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
  .nav-links a.nav-cta.active::after { display: none; }
  .nav-cta { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; padding: 10px 20px !important; color: #1a1208 !important; background: var(--grad); border-radius: var(--radius-pill); }
  html[data-theme="dark"] .nav-cta { color: #fff8eb !important; }
  .nav-cta:hover { filter: brightness(1.08); }
  .icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--fg); cursor: pointer; transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; }
  .icon-btn:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .icon-btn .sun { display: none; } .icon-btn .moon { display: block; }
  html[data-theme="light"] .icon-btn .sun { display: block; } html[data-theme="light"] .icon-btn .moon { display: none; }
  .menu-btn { display: none; }

  /* Hero */
  .hero { min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; position: relative; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; width: 100%; }
  #three-canvas { width: 100%; height: 540px; display: block; cursor: grab; }
  #three-canvas:active { cursor: grabbing; }
  .canvas-wrap { position: relative; }
  .canvas-hint { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--fg-dim); letter-spacing: 0.04em; }
  .canvas-fallback { position: absolute; inset: 0; display: none; place-items: center; }

  .badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); margin-bottom: 26px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.2s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

  .hero h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
  .hero h1 .grad, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero .role { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--accent-2); font-weight: 500; margin-bottom: 22px; letter-spacing: -0.01em; }
  .hero p.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--fg-muted); max-width: 560px; margin-bottom: 34px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .btn { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; padding: 15px 28px; border-radius: var(--radius-pill); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease); }
  .btn-primary { color: #1a1208; background: var(--grad); box-shadow: 0 8px 30px var(--glow); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px var(--glow); }
  .btn-ghost { color: var(--fg); background: var(--surface); border-color: var(--border); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-strong); transform: translateY(-2px); }
  .hero-stats { display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap; }
  .stat .n { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stat .l { font-size: 12.5px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; }

  /* Sections */
  section { padding: 100px 0; position: relative; }
  .eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
  .section-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; }
  .section-sub { color: var(--fg-muted); max-width: 560px; font-size: 1.05rem; }
  .section-head { margin-bottom: 56px; }

  /* Glass */
  .glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 20px 50px rgba(0,0,0,0.22); position: relative; overflow: hidden; }
  .glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,0.05); pointer-events: none; }

  /* 3D tilt */
  .tilt { transform-style: preserve-3d; transition: transform 0.4s var(--ease); will-change: transform; }
  .tilt .glare { position: absolute; inset: 0; border-radius: inherit; opacity: 0; background: rgba(255,210,140,0.12); transition: opacity 0.3s var(--ease); pointer-events: none; z-index: 2; }
  .tilt:hover .glare { opacity: 1; }

  /* About */
  .about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
  .about-card { padding: 44px; }
  .about-card p { color: var(--fg-muted); font-size: 1.06rem; margin-bottom: 16px; }
  .about-card p strong { color: var(--fg); font-weight: 600; }
  .core-card { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
  .core-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
  .core-list { display: flex; flex-direction: column; gap: 12px; }
  .core-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--fg-muted); font-size: 0.98rem; }
  .core-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

  /* Experience timeline */
  .timeline { display: flex; flex-direction: column; gap: 22px; }
  .xp { padding: 30px 34px; transform-style: preserve-3d; }
  .xp-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; margin-bottom: 6px; }
  .xp h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
  .xp .date { font-size: 13px; color: var(--fg-dim); font-family: 'Space Grotesk', sans-serif; white-space: nowrap; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); }
  .xp .date.now { color: var(--accent); border-color: var(--border-strong); }
  .xp .company { color: var(--accent-2); font-size: 0.98rem; margin-bottom: 16px; font-weight: 500; }
  .xp ul { display: flex; flex-direction: column; gap: 9px; }
  .xp li { list-style: none; display: flex; gap: 11px; color: var(--fg-muted); font-size: 0.96rem; line-height: 1.55; }
  .xp li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; margin-top: 9px; background: var(--grad); }

  /* Projects */
  .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .project { padding: 30px 28px 28px; display: flex; flex-direction: column; transform-style: preserve-3d; min-height: 240px; }
  .project-tag { align-self: flex-start; font-size: 12px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.04em; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--surface-strong); border: 1px solid var(--border); color: var(--accent); margin-bottom: 18px; }
  .project h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
  .project h3 .ext { color: var(--fg-dim); flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.3s; }
  .project:hover h3 .ext { transform: translate(3px, -3px); color: var(--accent); }
  .project p { color: var(--fg-muted); font-size: 0.95rem; flex-grow: 1; }
  .project-meta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
  .project-meta span { font-size: 12px; color: var(--fg-dim); padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid var(--border); }

  /* Skills */
  .skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .skill-card { padding: 32px; transform-style: preserve-3d; }
  .skill-card .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-strong); border: 1px solid var(--border); margin-bottom: 18px; color: var(--accent); }
  .skill-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem; margin-bottom: 16px; letter-spacing: -0.01em; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chip { font-size: 13.5px; padding: 8px 15px; border-radius: var(--radius-pill); background: var(--surface-strong); border: 1px solid var(--border); color: var(--fg-muted); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
  .chip:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-2px); }

  /* Education + cert */
  .edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .edu-card { padding: 34px; transform-style: preserve-3d; }
  .edu-card .tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 600; margin-bottom: 14px; display: block; }
  .edu-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.3; }
  .edu-card p { color: var(--fg-muted); }
  .edu-card .date { color: var(--fg-dim); font-size: 0.9rem; margin-top: 10px; font-family: 'Space Grotesk', sans-serif; }

  /* Contact */
  .contact-card { padding: 72px 40px; text-align: center; }
  .contact-card h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; }
  .contact-card p { color: var(--fg-muted); max-width: 480px; margin: 0 auto 32px; font-size: 1.08rem; }
  .contact-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; color: var(--fg-muted); font-size: 0.95rem; }
  .contact-meta a, .contact-meta span { display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; }
  .contact-meta a:hover { color: var(--fg); }
  .socials { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
  .socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--fg-muted); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
  .socials a:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-3px); }

  footer { padding: 40px 0 60px; }
  footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--fg-dim); font-size: 14px; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

  /* Section title — word-by-word entrance */
  .section-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .section-title .word > span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
  .section-title.words-in .word > span { transform: none; opacity: 1; }

  /* ===== African savannah / Soweto-Ndebele cosmetics ===== */
  /* Beadwork 3-diamond marker before each section eyebrow */
  .eyebrow { display: flex; align-items: center; gap: 10px; }
  .eyebrow::before { content: ""; flex: 0 0 auto; width: 34px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='8'%3E%3Cpath d='M5 0 10 4 5 8 0 4Z' fill='%2318b3a6'/%3E%3Cpath d='M17 0 22 4 17 8 12 4Z' fill='%23e6357a'/%3E%3Cpath d='M29 0 34 4 29 8 24 4Z' fill='%23ffcf33'/%3E%3C/svg%3E") no-repeat center; }
  /* Multi-colour Ndebele triangle rule under every section title */
  .section-title::after { content: ""; display: block; width: 130px; height: 10px; margin-top: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='10'%3E%3Cpath d='M0 10 10 0 20 10Z' fill='%23ffcf33'/%3E%3Cpath d='M20 10 30 0 40 10Z' fill='%2318b3a6'/%3E%3Cpath d='M40 10 50 0 60 10Z' fill='%23e6357a'/%3E%3Cpath d='M60 10 70 0 80 10Z' fill='%232f6bff'/%3E%3Cpath d='M80 10 90 0 100 10Z' fill='%23ff7a1a'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: auto 10px; }
  /* Scrolling Ndebele ribbon (continuous motion) */
  .tribal-band { height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='18'%3E%3Crect width='100' height='18' fill='%231a120b'/%3E%3Cpath d='M0 18 10 2 20 18Z' fill='%23ffcf33'/%3E%3Cpath d='M20 18 30 2 40 18Z' fill='%2318b3a6'/%3E%3Cpath d='M40 18 50 2 60 18Z' fill='%23e6357a'/%3E%3Cpath d='M60 18 70 2 80 18Z' fill='%232f6bff'/%3E%3Cpath d='M80 18 90 2 100 18Z' fill='%23ff7a1a'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: auto 18px; animation: ribbon 2.4s linear infinite; }
  @keyframes ribbon { from { background-position-x: 0; } to { background-position-x: -100px; } }
  /* Stronger savannah skyline presence, theme-aware */
  html[data-theme="dark"] .horizon { color: rgba(226,104,46,0.26); }
  html[data-theme="light"] .horizon { color: rgba(150,96,35,0.22); }
  /* Living savannah — pulsing sun, walking wildlife, flying birds */
  .horizon .sun-disc { transform-box: fill-box; transform-origin: center; animation: sunpulse 7s ease-in-out infinite; }
  @keyframes sunpulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.85; } }
  .horizon .walk, .horizon .fly { will-change: transform; }
  .horizon .walk-giraffe { animation: trek 46s linear infinite; animation-delay: -6s; }
  .horizon .walk-eleph   { animation: trek 72s linear infinite; animation-delay: -38s; }
  .horizon .walk-ante1   { animation: trek 33s linear infinite; animation-delay: -4s; }
  .horizon .walk-ante2   { animation: trek 33s linear infinite; animation-delay: -19s; }
  .horizon .fly          { animation: flyby 24s linear infinite; }
  @keyframes trek  { from { transform: translateX(-220px); } to { transform: translateX(1560px); } }
  @keyframes flyby { from { transform: translateX(-160px); } to { transform: translateX(1540px); } }
  /* Soweto marquee ticker */
  .marquee { overflow: hidden; background: var(--c-yellow); border-top: 4px solid #1a120b; border-bottom: 4px solid #1a120b; }
  .marquee-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: marquee 26s linear infinite; }
  .marquee-track span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.1rem, 2.6vw, 1.9rem); color: #1a120b; padding: 12px 0; }
  .marquee-track .sep { color: var(--c-magenta); padding: 0 22px; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* Responsive */
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .canvas-wrap { order: -1; }
    #three-canvas { height: 360px; }
    .about-grid, .skills-grid, .edu-grid, .projects-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .menu-btn { display: grid; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--nav-bg-scroll); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; gap: 4px; }
    .nav-links.open a { padding: 12px 16px; }
    section { padding: 72px 0; }
    .tilt { transform: none !important; }
  }
  @media (min-width: 700px) and (max-width: 960px) { .projects-grid.open, .projects-grid { grid-template-columns: repeat(2, 1fr); } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tilt { transform: none !important; }
    html { scroll-behavior: auto; }
  }
