  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', system-ui, sans-serif; background: #F5F7FA; color: #0F172A; overflow-x: hidden; }

  /* Custom cursor:
     solid disk by default, larger concentric state on clickable elements. */
  @media (pointer: fine) {
    :root {
      --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='58' viewBox='0 0 58 58'%3E%3Cdefs%3E%3CradialGradient id='g' cx='35%25' cy='35%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fde047'/%3E%3Cstop offset='60%25' stop-color='%23eab308'/%3E%3Cstop offset='100%25' stop-color='%23a16207'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='29' cy='29' r='12.5' fill='url(%23g)'/%3E%3C/svg%3E") 29 29, auto;
      --cursor-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cdefs%3E%3CradialGradient id='g' cx='35%25' cy='35%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fde047'/%3E%3Cstop offset='60%25' stop-color='%23eab308'/%3E%3Cstop offset='100%25' stop-color='%23a16207'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='3.4' fill='url(%23g)'/%3E%3Ccircle cx='28' cy='28' r='18.5' fill='none' stroke='url(%23g)' stroke-width='2.2' opacity='0.98'/%3E%3C/svg%3E") 28 28, pointer;
      --cursor-press: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cdefs%3E%3CradialGradient id='g' cx='35%25' cy='35%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fde047'/%3E%3Cstop offset='60%25' stop-color='%23eab308'/%3E%3Cstop offset='100%25' stop-color='%23a16207'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='3.1' fill='url(%23g)'/%3E%3Ccircle cx='28' cy='28' r='16.25' fill='none' stroke='url(%23g)' stroke-width='2.2' opacity='1'/%3E%3C/svg%3E") 28 28, pointer;
    }

    html,
    body {
      cursor: var(--cursor-default) !important;
    }

    a,
    button,
    [role="button"],
    summary,
    .pm-thumb,
    .tab-btn {
      cursor: var(--cursor-hover) !important;
    }

    a:active,
    button:active,
    [role="button"]:active,
    summary:active,
    .pm-thumb:active,
    .tab-btn:active {
      cursor: var(--cursor-press) !important;
    }
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }
  .reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal-right.visible { opacity: 1; transform: translateX(0); }
  .stagger-1 { transition-delay: 0.05s; }
  .stagger-2 { transition-delay: 0.12s; }
  .stagger-3 { transition-delay: 0.19s; }
  .stagger-4 { transition-delay: 0.26s; }
  .stagger-5 { transition-delay: 0.33s; }
  .stagger-6 { transition-delay: 0.40s; }

  /* Nav */
  #nav { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

  /* Hero gradient */
  .hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0f2744 70%, #0a1520 100%);
    position: relative; overflow: hidden;
  }
  .hero-bg::before {
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(79,124,172,0.18) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(45,90,142,0.12) 0%, transparent 60%);
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  /* Photo frame */
  .photo-frame {
    position: relative; display: inline-block;
  }
  .photo-frame::before {
    content:''; position:absolute; top:-12px; right:-12px;
    width:100%; height:100%;
    border: 2px solid rgba(79,124,172,0.4);
    border-radius: 20px; z-index:0;
  }
  .photo-frame img { position:relative; z-index:1; }

  /* Cards */
  .card-hover { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }
  .card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(15,23,42,0.12); }

  /* Case study cards */
  .cs-card { transition: all 0.35s cubic-bezier(0.16,1,0.3,1); }
  .cs-card:hover { transform: translateY(-8px); }
  .cs-card .cs-overlay { opacity: 0; transition: opacity 0.3s ease; }
  .cs-card:hover .cs-overlay { opacity: 1; }

  /* Venture carousel */
  .carousel-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }

  /* Timeline */
  .timeline-line { position:absolute; left:7px; top:8px; bottom:0; width:1px; background: linear-gradient(180deg, #4f7cac 0%, #e2e8f0 100%); }

  /* Stat counter */
  .stat-card { background: white; border: 1px solid #e2e8f0; }

  /* Mobile nav */
  #mobile-nav { display:none; }
  #mobile-nav.open { display:flex; }

  /* Skill pills */
  .skill-pill { transition: all 0.2s ease; border: 1px solid transparent; }
  .skill-pill:hover { background: #1e3f6b; color: white; transform: scale(1.04); }

  /* Phone mockup */

  /* ═══════════════════════════════════════════════════
     Product asset cards
     Reuses the existing markup, but removes the device
     metaphor so the Figma screens are shown directly.
  ═══════════════════════════════════════════════════ */

  .iph {
    position: relative;
    display: inline-block;
    aspect-ratio: 393 / 852;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow:
      0 18px 45px rgba(15, 23, 42, .10),
      0 6px 18px rgba(15, 23, 42, .06);
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
  }

  .iph-screen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #fff;
    overflow: hidden;
  }

  .iph-screen img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .iph::before,
  .iph::after,
  .iph-btn,
  .iph-usbc,
  .iph-screen::after {
    display: none;
  }

  /* ── Size variants ── */
  .iph-xl   { width: 215px; }
  .iph-lg   { width: 190px; }
  .iph-md   { width: 138px; }
  .iph-hero { width: 155px; }
  .iph-sm   { width: 68px; }

  /* ── Float animations ── */
  @keyframes floatA { 0%,100%{ transform: translateY(0)    } 50%{ transform: translateY(-12px) } }
  @keyframes floatB { 0%,100%{ transform: translateY(0)    } 50%{ transform: translateY(-8px)  } }
  @keyframes floatC { 0%,100%{ transform: translateY(-5px) } 50%{ transform: translateY(6px)   } }
  .float-a { animation: floatA 5.0s ease-in-out infinite; }
  .float-b { animation: floatB 6.4s ease-in-out infinite 1.4s; }
  .float-c { animation: floatC 4.8s ease-in-out infinite 0.7s; }

  /* ── Swiper ── */
  .sw-outer { overflow: hidden; position: relative; }
  .sw-track {
    display: flex;
    transition: transform .52s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
  }
  .sw-slide { flex: 0 0 100%; display: flex; justify-content: center; padding: 0; }
  .sw-dots  { display: none; }
  .sw-dot   { width: 6px; height: 6px; border-radius: 3px; background: rgba(148,163,184,.3); transition: width .3s, background .3s; cursor: var(--cursor-hover) !important; }
  .sw-dot.on{ width: 22px; background: #3b82f6; }

  /* ── Thumbnails ── */
  .pm-thumb {
    cursor: var(--cursor-hover) !important;
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
  }
  .pm-thumb.active {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 0 2px #3b82f6, 0 14px 30px rgba(59,130,246,.18);
  }
  .pm-thumb:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(59,130,246,.35), 0 12px 24px rgba(15,23,42,.10);
  }

  /* ── Marquee ── */
  @keyframes marqueeL { from { transform: translateX(0) } to { transform: translateX(-50%) } }
  @keyframes marqueeR { from { transform: translateX(-50%) } to { transform: translateX(0) } }
  .marquee-l { animation: marqueeL 32s linear infinite; display: flex; gap: 16px; width: max-content; }
  .marquee-r { animation: marqueeR 38s linear infinite; display: flex; gap: 16px; width: max-content; }
  .marquee-pause:hover .marquee-l,
  .marquee-pause:hover .marquee-r { animation-play-state: paused; }

  /* ── Feature phone glow ── */
  .pm-feature {
    position: relative;
    filter: none;
  }

  /* Main carousel visuals should sit directly in the page, not inside a card shell */
  .sw-slide .iph {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  .sw-slide .iph-screen {
    background: transparent;
    border-radius: 28px;
    box-shadow: none;
  }
  .sw-slide .iph-screen img {
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(15,23,42,.12);
  }

  /* ── Glow blobs ── */
  .blob { position: absolute; border-radius: 50%; filter: blur(56px); pointer-events: none; z-index: 0; }

  /* ── Scroll-reveal ── */
  .sr { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
  .sr.in { opacity: 1; transform: translateY(0) scale(1); }
  .sr.d1 { transition-delay: .08s } .sr.d2 { transition-delay: .18s }
  .sr.d3 { transition-delay: .28s } .sr.d4 { transition-delay: .38s }

  /* ── Case study tabs ── */
  .tab-btn { cursor: var(--cursor-hover) !important; }
  .tab-btn.active {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  }
  .tab-content { display: none; }
  .tab-content.active { display: block; }

  /* ── Hero strip ── */
  .hero-phone-strip { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: flex-end; gap: 14px; padding-right: 20px; pointer-events: none; z-index: 2; }
  @media (max-width: 1023px) { .hero-phone-strip { display: none; } }

  /* Contact button — toast on hover */
  .contact-toast-wrap {
    position: relative;
  }
  .contact-toast {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 10;
  }
  .contact-toast::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0f172a;
  }
  .contact-toast-wrap:hover .contact-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .theme-dark .contact-toast {
    background: #e2e8f0;
    color: #0f172a;
  }
  .theme-dark .contact-toast::after {
    border-top-color: #e2e8f0;
  }

  /* Contact button — LinkedIn light theme hover */
  .contact-btn-linkedin:hover {
    background: #004182 !important;
    border-color: #004182 !important;
    box-shadow: 0 12px 32px rgba(10,102,194,0.25);
  }

  /* ── Global dark theme ── */
  .theme-dark {
    --bg-main: #08111f;
    --bg-section: rgba(9, 17, 32, 0.78);
    --bg-panel: #101c2f;
    --bg-panel-soft: #16233a;
    --bg-panel-alt: #1a2942;
    --border-subtle: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(125, 211, 252, 0.28);
    --text-strong: #eef4ff;
    --text-body: #b7c5d9;
    --text-muted: #7d90ab;
    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
    background:
      radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.12), transparent 30%),
      radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.12), transparent 28%),
      linear-gradient(180deg, #060d18 0%, #091120 40%, #070f1c 100%);
    color: var(--text-strong);
    position: relative;
  }

  .theme-dark::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 18%, rgba(0, 0, 0, 0.45) 82%, transparent 100%);
    opacity: 0.22;
    z-index: 0;
  }

  .theme-dark section,
  .theme-dark footer,
  .theme-dark .sec-divider {
    position: relative;
    z-index: 1;
  }

  .theme-dark #nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(8, 17, 31, 0.82) !important;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  }

  .theme-dark #nav a.font-bold {
    color: var(--text-strong);
  }

  .theme-dark #nav .anim-link,
  .theme-dark #nav button,
  .theme-dark #mobile-nav a {
    color: var(--text-body);
  }

  .theme-dark #nav .anim-link:hover,
  .theme-dark #mobile-nav a:hover {
    color: var(--text-strong);
  }

  .theme-dark #nav button:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .theme-dark #mobile-nav {
    background: rgba(8, 17, 31, 0.96);
    border-top: 1px solid var(--border-subtle);
  }

  .theme-dark #nav a[href^="mailto"],
  .theme-dark #mobile-nav a[href^="mailto"] {
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25);
  }

  .theme-dark #nav a[href^="mailto"]:hover,
  .theme-dark #mobile-nav a[href^="mailto"]:hover {
    color: #fff;
    transform: translateY(-1px);
  }

  /* Contact buttons — dark theme */
  .theme-dark .contact-btn-email {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .theme-dark .contact-btn-email:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }
  .theme-dark .contact-btn-linkedin {
    background: #0A66C2 !important;
    border-color: #0A66C2 !important;
    box-shadow: 0 8px 24px rgba(10,102,194,0.3);
  }
  .theme-dark .contact-btn-linkedin:hover {
    background: #004182 !important;
    box-shadow: 0 12px 32px rgba(10,102,194,0.4);
  }
  .theme-dark #contact a[download] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .theme-dark #contact a[download]:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }

  .theme-dark section.py-24.bg-white,
  .theme-dark #ventures,
  .theme-dark #case-studies {
    background: transparent !important;
  }

  .theme-dark #experience,
  .theme-dark #contact {
    background: var(--bg-section) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  }

  .theme-dark .bg-white,
  .theme-dark .bg-slate-50,
  .theme-dark .bg-slate-100,
  .theme-dark .stat-card {
    background: var(--bg-panel) !important;
  }

  .theme-dark .bg-white,
  .theme-dark .bg-slate-50,
  .theme-dark .bg-slate-100,
  .theme-dark .border,
  .theme-dark .border-slate-100,
  .theme-dark .border-slate-200,
  .theme-dark .border-slate-200\/80,
  .theme-dark .border-t,
  .theme-dark .border-b {
    border-color: var(--border-subtle) !important;
  }

  .theme-dark .text-navy-900,
  .theme-dark .text-navy-800,
  .theme-dark .text-navy-700 {
    color: var(--text-strong);
  }

  .theme-dark .text-slate-700,
  .theme-dark .text-slate-600,
  .theme-dark .text-slate-500 {
    color: var(--text-body);
  }

  .theme-dark .text-slate-400 {
    color: var(--text-muted);
  }

  .theme-dark .text-blue-600,
  .theme-dark .text-blue-500,
  .theme-dark .text-blue-400,
  .theme-dark .text-blue-300 {
    color: var(--accent);
  }

  .theme-dark .bg-blue-300 {
    background-color: rgba(125, 211, 252, 0.55) !important;
  }

  .theme-dark #experience .text-blue-600,
  .theme-dark #experience .text-navy-600,
  .theme-dark #contact .text-blue-600,
  .theme-dark #ventures .text-blue-600,
  .theme-dark #case-studies .text-blue-600 {
    color: var(--accent);
  }

  .theme-dark .bg-blue-50,
  .theme-dark .bg-navy-100 {
    background: rgba(56, 189, 248, 0.12) !important;
  }

  .theme-dark .bg-emerald-50,
  .theme-dark .bg-emerald-100 {
    background: rgba(52, 211, 153, 0.14) !important;
  }

  .theme-dark .bg-purple-50,
  .theme-dark .bg-purple-100 {
    background: rgba(168, 85, 247, 0.14) !important;
  }

  .theme-dark .bg-orange-50,
  .theme-dark .bg-orange-100 {
    background: rgba(251, 146, 60, 0.14) !important;
  }

  .theme-dark .bg-navy-100.text-navy-700,
  .theme-dark .bg-emerald-100.text-emerald-700,
  .theme-dark .bg-purple-100.text-purple-700,
  .theme-dark .bg-orange-100.text-orange-700,
  .theme-dark .bg-orange-100.text-orange-600 {
    color: var(--text-strong);
  }

  .theme-dark .text-emerald-700,
  .theme-dark .text-emerald-600,
  .theme-dark .text-emerald-500 {
    color: #6ee7b7;
  }

  .theme-dark .text-purple-700,
  .theme-dark .text-purple-600,
  .theme-dark .text-purple-500 {
    color: #c084fc;
  }

  .theme-dark .text-orange-700,
  .theme-dark .text-orange-600,
  .theme-dark .text-orange-500 {
    color: #fdba74;
  }

  .theme-dark .card-hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  }

  .theme-dark .card-hover:hover {
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
  }

  .theme-dark .iph {
    background: linear-gradient(180deg, #132136 0%, #0d1626 100%);
    border-color: var(--border-subtle);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  }

  .theme-dark .iph-screen {
    background: #0a1424;
  }

  .theme-dark .sw-slide .iph-screen img {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
  }

  .theme-dark .pm-thumb {
    border-color: var(--border-subtle);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  }

  .theme-dark .pm-thumb.active {
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.75), 0 16px 34px rgba(14, 165, 233, 0.18);
  }

  .theme-dark .pm-thumb:hover:not(.active) {
    box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.35), 0 12px 28px rgba(0, 0, 0, 0.26);
  }

  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  }

  .theme-dark .tab-shell {
    background: rgba(16, 28, 47, 0.9) !important;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .theme-dark .tab-btn,
  .theme-dark .tab-btn.text-slate-600 {
    color: var(--text-body) !important;
  }

  .theme-dark .tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-strong) !important;
  }

  .theme-dark .tab-btn.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 42%, #0f172a 100%);
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.38);
  }

  /* Philosophy accordion */
  .phil-accordion {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    transition: all 0.2s;
  }
  .phil-accordion[open] {
    background: rgba(255,255,255,0.03);
    border-color: rgba(96,165,250,0.2);
  }
  .phil-accordion summary::-webkit-details-marker { display: none; }
  .phil-accordion summary::marker { display: none; content: ''; }

  /* Bottom tab navigation */
  .tab-bottom-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
  }
  .tab-bottom-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.375rem;
    background: #f1f5f9;
    border-radius: 0.75rem;
    width: fit-content;
  }
  .tab-bottom-tabs button {
    font-size: 11px;
    font-weight: 600;
    padding: 0.375rem 0.5rem;
    border-radius: 0.5rem;
    color: #64748b;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .tab-bottom-tabs button:hover {
    background: #e2e8f0;
    color: #334155;
  }
  .tab-bottom-tabs button.active {
    background: #0f172a;
    color: #fff;
  }
  @media (min-width: 768px) {
    .tab-bottom-tabs {
      gap: 0.5rem;
    }
    .tab-bottom-tabs button {
      font-size: 0.75rem;
      padding: 0.5rem 1rem;
    }
  }

  /* Dark theme bottom nav */
  .theme-dark .tab-bottom-nav {
    border-top-color: rgba(125, 211, 252, 0.1);
  }
  .theme-dark .tab-bottom-tabs {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(125, 211, 252, 0.08);
  }
  .theme-dark .tab-bottom-tabs button {
    color: #94a3b8;
  }
  .theme-dark .tab-bottom-tabs button:hover {
    background: rgba(30, 58, 95, 0.5);
    color: #e2e8f0;
  }
  .theme-dark .tab-bottom-tabs button.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 42%, #0f172a 100%);
    color: #fff;
  }

  .theme-dark #case-studies .bg-navy-900,
  .theme-dark #contact .bg-navy-900 {
    background: linear-gradient(135deg, #0b1423 0%, #122033 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .theme-dark .timeline-line {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.82) 0%, rgba(30, 41, 59, 0.08) 100%);
  }

  .theme-dark .skill-pill {
    background: rgba(17, 32, 54, 0.95) !important;
    color: var(--text-body) !important;
    border: 1px solid var(--border-subtle);
  }

  .theme-dark .skill-pill:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%) !important;
    color: #fff !important;
    border-color: rgba(125, 211, 252, 0.28);
  }

  .theme-dark .theme-toggle {
    background: rgba(17, 32, 54, 0.9);
    color: var(--text-strong) !important;
    border-color: var(--border-subtle);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  }

  .theme-dark .theme-toggle:hover {
    background: rgba(24, 40, 65, 0.96);
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  }

  .theme-dark #contact a[target="_blank"] {
    background: rgba(17, 32, 54, 0.9) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-strong) !important;
  }

  .theme-dark #contact a[target="_blank"]:hover {
    border-color: rgba(125, 211, 252, 0.4) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  }

  .theme-dark #contact .border-t {
    border-color: var(--border-subtle) !important;
  }

  .theme-dark #contact p a {
    color: var(--accent);
  }

  .theme-dark .sec-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.28), transparent);
  }

