  /* ============================================
     SELF-HOSTED FONTS — no external requests
     Paths match this folder layout, matching your downloaded font kit:
       index.html
       style.css
       main.js
       Sora/static/...
       Inter/static/...
       JetBrains_Mono/static/...
     If you place the font folders somewhere else, update the url() paths below.
     ============================================ */
  @font-face{
    font-family: 'Sora';
    src: url('Sora/static/Sora-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Sora';
    src: url('Sora/static/Sora-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Sora';
    src: url('Sora/static/Sora-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Sora';
    src: url('Sora/static/Sora-ExtraBold.ttf') format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Inter';
    src: url('Inter/static/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Inter';
    src: url('Inter/static/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'Inter';
    src: url('Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'JetBrains Mono';
    src: url('JetBrains_Mono/static/JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'JetBrains Mono';
    src: url('JetBrains_Mono/static/JetBrainsMono-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
  }
  @font-face{
    font-family: 'JetBrains Mono';
    src: url('JetBrains_Mono/static/JetBrainsMono-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
  }

  /* ============================================
     DESIGN TOKENS — edit these to re-theme the site
     ============================================ */
  :root{
    --bg: #14161a;
    --surface: #1b1e23;
    --surface-2: #23262c;
    --line: #2a2d33;
    --text: #ecedf0;
    --text-dim: #90949c;
    --text-faint: #5c6068;
    --accent: #f2a93b;      /* amber — timecode / rec-tally glow */
    --accent-soft: #f2a93b1a;
    --accent-2: #5fd9c6;    /* teal — waveform / audio accent */
    --accent-2-soft: #5fd9c61a;

    --display: 'Sora', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;

    --max: 1120px;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }

  /* Hide the native scrollbar — the top scrubber bar is the scroll indicator instead.
     The page still scrolls normally with mouse wheel, trackpad, touch, and keyboard. */
  html, body{
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* old Edge / IE */
  }
  html::-webkit-scrollbar, body::-webkit-scrollbar{
    display: none;               /* Chrome, Safari, new Edge */
  }

  body{
    margin:0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img{ max-width:100%; display:block; }
  a{ color: inherit; text-decoration:none; }
  ::selection{ background: var(--accent); color:#14161a; }

  :focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ============================================
     SCRUBBER — persistent top progress bar
     ============================================ */
  .scrubber{
    position: fixed;
    top:0; left:0; right:0;
    height: 40px;
    z-index: 100;
    background: rgba(20,22,26,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    display:flex;
    align-items:center;
  }
  .scrubber-track{
    position:relative;
    flex:1;
    height: 20px;
    margin: 0 20px;
    cursor: pointer;
    touch-action: none;
  }
  .scrubber-track::before{
    content:"";
    position:absolute;
    left:0; right:0; top:50%;
    height:2px;
    background: var(--line);
    transform: translateY(-50%);
    pointer-events:none;
  }
  .scrubber-fill{
    position:absolute;
    top:50%; left:0;
    height:2px;
    width:0%;
    background: var(--accent);
    transform: translateY(-50%);
    pointer-events:none;
  }
  .scrubber-playhead{
    position:absolute;
    top:50%; left:0%;
    width:10px; height:10px;
    background: var(--accent);
    border-radius:50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 0 4px var(--accent-soft);
    pointer-events:none;
    transition: width .1s ease, height .1s ease;
  }
  .scrubber-track.is-dragging .scrubber-playhead{
    width:13px; height:13px;
  }
  .scrubber-code{
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 0 20px 0 0;
  }
  .scrubber-mark{
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text);
    padding: 0 0 0 20px;
    white-space: nowrap;
  }

  /* ============================================
     SHARED SECTION STYLING
     ============================================ */
  section{
    padding: 120px 0;
    border-bottom: 1px solid var(--line);
  }
  .eyebrow{
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    display:flex;
    align-items:center;
    gap: 10px;
    margin-bottom: 24px;
  }
  .eyebrow .tc{ color: var(--accent); }
  .eyebrow::before{
    content:"";
    width: 22px; height:1px;
    background: var(--accent);
    display:inline-block;
  }
  h2.title{
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
  }
  p.lead{
    color: var(--text-dim);
    font-size: 17px;
    max-width: 640px;
    margin: 0 0 40px;
  }

  /* ============================================
     HERO
     ============================================ */
  .hero{
    padding: 180px 0 100px;
    border-bottom: 1px solid var(--line);
  }
  .hero-eyebrow{
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent-2);
    letter-spacing: 0.08em;
    margin-bottom: 22px;
  }
  h1{
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
  }
  h1 span{ color: var(--accent); }
  .hero-role{
    font-family: var(--mono);
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 28px;
  }
  .hero-bio{
    max-width: 560px;
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 44px;
  }
  .hero-ctas{
    display:flex;
    gap:14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
  }
  .btn{
    font-family: var(--body);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 24px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn-primary{
    background: var(--accent);
    color: #14161a;
  }
  .btn-primary:hover{ transform: translateY(-2px); }
  .btn-ghost{
    background: transparent;
    color: var(--text);
    border-color: var(--line);
  }
  .btn-ghost:hover{ border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

  /* Chapter markers — mini timeline nav inside hero */
  .chapters{
    position:relative;
    height: 2px;
    background: var(--line);
    margin-top: 20px;
  }
  .chapter{
    position:absolute;
    top:0;
    transform: translate(-50%, -50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
  }
  .chapter-dot{
    width:8px; height:8px;
    border-radius:50%;
    background: var(--surface-2);
    border: 1px solid var(--text-faint);
    transition: background .15s ease, border-color .15s ease;
  }
  .chapter:hover .chapter-dot{ background: var(--accent-2); border-color: var(--accent-2); }
  .chapter-label{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-faint);
    white-space:nowrap;
    top: 14px;
    position:relative;
  }
  .chapter:hover .chapter-label{ color: var(--accent-2); }

  /* ============================================
     ABOUT — "tracks" like an NLE timeline
     ============================================ */
  .track{
    display:grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items:start;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .track:last-child{ border-bottom: 1px solid var(--line); }
  .track-tag{
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent-2);
    border-radius: 4px;
    padding: 4px 0;
    text-align:center;
    height: fit-content;
  }
  .track:nth-child(odd) .track-tag{ background: var(--accent); }
  .track-name{
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 6px;
  }
  .track-desc{
    color: var(--text-dim);
    font-size: 14.5px;
    margin:0;
  }

  /* ============================================
     PROJECTS
     ============================================ */
  .subhead{
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 56px 0 20px;
    padding-top: 32px;
    border-top: 1px dashed var(--line);
  }
  .subhead:first-of-type{ margin-top: 0; padding-top:0; border-top:none; }

  .yt-grid{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }
  .yt-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow:hidden;
    transition: transform .18s ease, border-color .18s ease;
  }
  .yt-card:hover{ transform: translateY(-4px); border-color: var(--accent); }
  .yt-thumb{
    position:relative;
    aspect-ratio: 16/9;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
  }
  .yt-play-icon{
    width:52px; height:52px;
    opacity:0.95;
    transition: transform .18s ease;
  }
  .yt-card:hover .yt-play-icon{ transform: scale(1.1); }
  .yt-thumb-label{
    font-family: var(--body);
    font-weight: 600;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
  }
  .yt-tag{
    position:absolute;
    top:10px; left:10px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    background: rgba(20,22,26,0.85);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 3px 8px;
    border-radius: 4px;
  }
  .yt-body{ padding: 14px 16px 18px; }
  .yt-title{
    font-family: var(--display);
    font-weight: 600;
    font-size: 14.5px;
    margin: 0 0 4px;
  }
  .yt-sub{
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-faint);
  }

  .reel-strip{
    display:flex;
    gap: 14px;
    overflow-x: auto;
    padding-top: 10px;
    margin-top: -10px;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .reel-strip::-webkit-scrollbar{ height: 6px; }
  .reel-strip::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 3px; }

  .reel-card{
    flex: 0 0 148px;
    aspect-ratio: 9/16;
    border-radius: 12px;
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    padding: 14px;
    border: 1px solid var(--line);
    transition: transform .18s ease, border-color .18s ease;
  }
  .reel-card:hover{ transform: translateY(-4px); border-color: var(--accent-2); }
  .reel-number{
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    align-self:flex-end;
  }
  .reel-center{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
  }
  .reel-center svg{
    width:34px; height:34px;
    color:#fff;
    opacity:0.95;
    transition: transform .18s ease;
  }
  .reel-card:hover .reel-center svg{ transform: scale(1.1); }
  .reel-center span{
    font-family: var(--body);
    font-weight: 600;
    font-size: 12.5px;
    color: #fff;
  }

  /* ============================================
     CONTACT
     ============================================ */
  .contact-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 14px;
    margin-top: 44px;
  }
  .contact-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    display:flex;
    align-items:center;
    gap: 14px;
    transition: border-color .15s ease, transform .15s ease;
  }
  .contact-card:hover{ border-color: var(--accent); transform: translateY(-3px); }
  .contact-icon{
    width: 40px; height:40px;
    border-radius: 8px;
    background: var(--surface-2);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .contact-icon svg{ width:19px; height:19px; color: var(--accent-2); }
  .contact-label{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 3px;
  }
  .contact-value{
    font-family: var(--body);
    font-weight: 600;
    font-size: 14.5px;
    word-break: break-word;
  }
  .contact-value .dormant{
    display:block;
    font-family: var(--mono);
    font-weight:400;
    font-size: 11px;
    color: var(--text-faint);
    margin-top:2px;
  }

  /* ============================================
     FOOTER
     ============================================ */
  footer{
    padding: 40px 0 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-faint);
  }

  /* ============================================
     REVEAL ANIMATION (respects reduced motion)
     ============================================ */
  .reveal{
    opacity:0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-visible{ opacity:1; transform:none; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .reveal{ opacity:1; transform:none; transition:none; }
    .btn, .yt-card, .reel-card, .contact-card{ transition:none; }
  }

  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 900px){
    .yt-grid{ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  }

  @media (max-width: 720px){
    .wrap{ padding: 0 20px; }
    section{ padding: 72px 0; }
    .hero{ padding: 120px 0 60px; }
    .chapters{ display:none; }
    .track{ grid-template-columns: 44px 1fr; gap: 14px; }
    .scrubber-mark{ display:none; }
    .hero-ctas{ flex-direction:column; align-items:stretch; }
    .hero-ctas .btn{ justify-content:center; }
    .yt-grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
    .contact-grid{ grid-template-columns: 1fr; }
    .reel-card{ flex-basis: 128px; }
  }

  @media (max-width: 460px){
    .wrap{ padding: 0 16px; }
    section{ padding: 56px 0; }
    .hero{ padding: 100px 0 48px; }
    h1{ font-size: clamp(34px, 12vw, 46px); }
    .hero-bio{ font-size: 15.5px; }
    .yt-grid{ grid-template-columns: 1fr; }
    .yt-body{ padding: 12px 14px 16px; }
    .scrubber-code{ font-size: 11px; padding-right: 12px; }
    .scrubber-track{ margin: 0 12px; }
    .reel-card{ flex-basis: 116px; }
    footer{ flex-direction:column; align-items:flex-start; }
  }
