  :root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --border: #2a2a3a;
    --text: #e8e8f0;
    --text-dim: #8888a0;
    --text-bright: #ffffff;
    --accent: #6366f1;
    --accent-soft: #a5b4fc;
    --cyan: #06b6d4;
    --gold: #f59e0b;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', -apple-system, sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }

  /* NAV */
  nav.top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 56px;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  nav.top .logo {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 26px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-decoration: none;
    /* Shifted right by the headline pill's left padding (22px desktop /
       16px mobile) so the "R" of Ron Rauch lines up with the "E" of
       EDITOR in the glass pill on the hero below. */
    margin-left: 22px;
  }
  nav.top .links { display: flex; gap: 36px; }
  nav.top .links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 4px;
    transition: color 0.2s;
  }
  nav.top .links a:hover { color: var(--accent); }
  nav.top .links a.active { color: var(--accent); border-bottom: 1px solid var(--accent); }

  /* SECTIONS */
  section { padding: 0 56px; }

  /* HERO (legacy class, used on sub-pages with empty space) */
  .hero {
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
  }
  .hero p {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.6;
  }

  /* Feature-hero variant — used on home, video IS the hero, sits below nav with small offset.
     Rendered as an <a> so the entire frame links to /work.html. */
  .feature-media.feature-hero {
    margin-top: 90px;
    margin-bottom: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .feature-media.feature-hero video,
  .feature-media.feature-hero img {
    max-height: 78vh;
  }
  /* Subtle hover reaction across the whole hero — video brightens slightly,
     headline pill lifts and brightens, CTA glows. */
  .feature-media.feature-hero video {
    transition: filter 0.4s ease, transform 0.6s ease;
  }
  .feature-media.feature-hero:hover video {
    filter: brightness(1.06) saturate(1.05);
    transform: scale(1.005);
  }
  .feature-media.feature-hero .center-cta {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }
  .feature-media.feature-hero:hover .center-cta {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 14px 40px rgba(99,102,241,0.5);
  }
  .feature-media.feature-hero .hero-headline h1 {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
  .feature-media.feature-hero:hover .hero-headline h1 {
    transform: translateY(-1px);
    background-color: rgba(255,255,255,0.09);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  }
  .feature-tagline {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.6) 70%, transparent 100%);
    color: var(--text-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding: 80px 56px 28px;
    z-index: 2;
    pointer-events: none;
  }
  /* Hero headline — glass pill anchored top-left of the feature video,
     directly under the nav's "Ron Rauch" logo (56px from the left edge). */
  .hero-headline {
    position: absolute;
    top: 22px;
    left: 56px;
    z-index: 2;
    pointer-events: none;
  }
  .hero-headline h1 {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 500;
    letter-spacing: 5px;
    margin: 0;
    padding: 14px 22px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Glassmorphism — semi-transparent fill behind the gradient text,
       backed by a blurred copy of whatever video frame is playing.
       No hard border; edges fade off via a soft drop-shadow only. */
    background-color: rgba(255,255,255,0.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  }
  @media (max-width: 768px) {
    .hero-headline { top: 14px; left: 24px; }
    .hero-headline h1 { letter-spacing: 2.5px; font-size: 14px; padding: 10px 16px; }
  }

  /* Work-page hero variant — compact strip, sits between page-intro and reel grid */
  .feature-media.work-hero {
    margin: 0 auto 80px;
    max-width: 1280px;
    border: 1px solid var(--border);
  }
  .feature-media.work-hero video,
  .feature-media.work-hero img {
    max-height: 56vh;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  /* When a reel-tile is playing inline, hide the play button + meta padding can stay */
  .reel-tile.reel-tile-playing .reel-play,
  .reel-tile.reel-tile-playing .reel-vimeo-label { display: none; }
  .reel-tile.reel-tile-playing { cursor: default; }
  .reel-tile.reel-tile-playing:hover { transform: none; }

  /* FEATURE VIDEO */
  .feature-media {
    position: relative;
    width: 100%;
    margin: 40px 0 0;
    background: #000;
  }
  .feature-media video,
  .feature-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
  }
  .feature-media .feature-show-label {
    position: absolute;
    bottom: 20px;
    left: 24px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(10,10,15,0.55);
    backdrop-filter: blur(4px);
    border-left: 2px solid var(--accent);
    z-index: 3;
  }
  .feature-media .center-cta {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    z-index: 3;
  }

  /* TILE GRIDS */
  .grid-wrap { padding: 120px 56px; }
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 100px auto 0;
  }
  .tile {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .tile.wide { aspect-ratio: 4/5; }
  .tile.landscape { aspect-ratio: 16/10; }
  .tile.landscape img, .tile.landscape video { object-fit: cover; }
  .tile.text-only {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1c1c2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .tile.text-only img { display: none; }
  .tile.text-only .text-only-content {
    text-align: center;
    z-index: 2;
  }
  .tile.text-only .text-only-content .name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .tile.text-only .text-only-content .kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-soft);
  }
  .tile.text-only .label { display: none; }

  /* Hover-play video overlay — shown on top of poster img while hovering */
  .tile .tile-hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
  }
  .tile:hover .tile-hover-video { opacity: 1; }
  .tile .label { z-index: 2; }

  /* TEMP VFX badge — flag work-in-progress / unapproved comp work */
  .tile.is-temp::after,
  .feature-media.is-temp::after,
  .reel-tile.is-temp::after {
    content: 'TEMP VFX';
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(10,10,15,0.85);
    border: 1px solid rgba(245,158,11,0.5);
    padding: 4px 8px;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(4px);
  }

  /* Case study hover affordance */
  .tile.has-case-study::after {
    content: 'Read Case Study →';
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(99,102,241,0.92);
    padding: 7px 11px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 4;
    pointer-events: none;
    backdrop-filter: blur(6px);
  }
  .tile.has-case-study:hover::after { opacity: 1; transform: translateY(0); }
  .tile img, .tile video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .tile:hover img, .tile:hover video { transform: scale(1.04); }
  .tile .label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .tile:hover .label { opacity: 1; }
  .tile .label span {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
  }
  .black-band {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 80px auto;
    max-width: 1100px;
  }

  /* MINI SECTIONS (About / Technology) */
  .mini-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
  }
  .mini-row h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
  }
  .mini-row a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(165,180,252,0.5);
    transition: color 0.2s, text-decoration-color 0.2s;
  }
  .mini-row a:hover { color: #ffffff; text-decoration-color: #ffffff; }

  /* PORTRAIT BAND */
  .portrait-band {
    position: relative;
    min-height: 60vh;
    background: var(--bg-card);
    color: var(--text-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .portrait-band .bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
  }
  .portrait-band .bg::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.15) 0%, transparent 70%);
  }
  .portrait-band .content { position: relative; z-index: 2; padding: 60px; }
  .portrait-band h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    letter-spacing: 4px;
    font-weight: 500;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .portrait-band p {
    font-size: 13px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
  }
  .portrait-band a.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
  }

  /* CONTACT STRIP */
  .contact-strip {
    position: relative;
    background: var(--bg-card);
    color: var(--text-bright);
    padding: 80px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
  }
  .contact-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.10) 0%, transparent 60%);
    pointer-events: none;
  }
  .contact-strip > * { position: relative; z-index: 2; }
  .contact-strip h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
  }
  .contact-strip p {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
  }
  .contact-strip a.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--accent);
    transition: background 0.2s;
  }
  .contact-strip a.btn:hover { background: #818cf8; border-color: #818cf8; }
  .contact-strip .signature {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 32px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-align: right;
    letter-spacing: -0.01em;
  }

  @media (max-width: 768px) {
    nav.top { padding: 18px 24px; }
    nav.top .logo { margin-left: 16px; font-size: 22px; }
    nav.top .links { gap: 18px; }
    nav.top .links a { font-size: 10px; letter-spacing: 1.5px; }
    section, .grid-wrap, .contact-strip { padding-left: 24px; padding-right: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .grid-2 { grid-template-columns: 1fr; gap: 16px; margin-top: 60px; }
    .contact-strip { flex-direction: column; align-items: flex-start; gap: 32px; }
    .contact-strip .signature { text-align: left; font-size: 28px; }
  }

  /* ===== FILMSTRIP-ON-HOVER (Work-page project cards) =====
     A static hero image at rest. On hover, JS cycles through the strip
     of additional frames, sliding the next one in from the right. */
  .tile.filmstrip { position: relative; overflow: hidden; }
  .tile.filmstrip .strip {
    position: absolute; inset: 0;
  }
  .tile.filmstrip .strip img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
    pointer-events: none;
  }
  .tile.filmstrip .strip img.is-current {
    opacity: 1;
    transform: translateX(0);
  }
  .tile.filmstrip .strip img.was-current {
    opacity: 0;
    transform: translateX(-100%);
  }
  /* Subtle vignette over the strip so the label stays legible */
  .tile.filmstrip::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
  }
  .tile.filmstrip .label { z-index: 2; opacity: 1; }
  .tile.filmstrip .label span {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.85);
  }
  /* Tiny indicator dots — show count and current frame on hover */
  .tile.filmstrip .strip-dots {
    position: absolute;
    bottom: 14px; right: 14px;
    display: flex; gap: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
  }
  .tile.filmstrip:hover .strip-dots { opacity: 0.85; }
  .tile.filmstrip .strip-dots i {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: background 0.3s;
  }
  .tile.filmstrip .strip-dots i.on {
    background: #fff;
  }

  /* ===== GLOBAL IMAGE HOVER MICRO-INTERACTION =====
     Subtle reaction whenever the cursor moves over a content image.
     Tiles + reel-thumbs already have their own hover (handled above), so
     we exclude them and instead target standalone content images:
     about-photo, case-study assets, contact-sheet thumbs, gallery imgs. */
  .about-photo img,
  .case-asset img,
  .contact-sheet img,
  .gallery-grid img,
  .img-hover {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1),
                box-shadow 0.4s ease,
                filter 0.4s ease;
    will-change: transform;
  }
  .about-photo img:hover,
  .case-asset:hover img,
  .contact-sheet img:hover,
  .gallery-grid img:hover,
  .img-hover:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,102,241,0.18);
    filter: brightness(1.04);
  }
  .case-asset { transition: transform 0.4s ease; }
  .case-asset:hover { transform: translateY(-3px); }

  /* ===== SUB-PAGE STYLES ===== */

  /* Page intro (Work / Tech / About / Contact tops) */
  .page-intro {
    padding: 160px 56px 80px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .page-intro h1 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 42px;
    color: var(--text-bright);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
  }
  .page-intro p {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 620px;
    line-height: 1.7;
  }

  /* Small caps section label above tile grids */
  .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
  }

  /* Anchor offset so deep links (#credits etc.) clear the fixed top nav */
  #credits, [id]:target { scroll-margin-top: 100px; }

  /* About page two-column wrap — image and bio balanced 1:1, image
     allowed to fill its column up to ~720px wide. */
  .about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 56px 80px;
  }
  .about-photo img {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    border: 1px solid var(--border);
  }
  .about-bio .lede {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    color: var(--text-bright);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .about-bio p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: var(--text-bright);
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .about-links {
    display: flex;
    gap: 32px;
    margin-top: 32px;
  }
  .about-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(165,180,252,0.5);
    transition: color 0.2s, text-decoration-color 0.2s;
  }
  .about-links a:hover { color: #ffffff; text-decoration-color: #ffffff; }

  /* Tag cloud (Networks / Vendors lists) */
  .tag-cloud {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 2;
    max-width: 880px;
  }

  /* Studio tooltip — hover any studio name to see Ron's projects there */
  .studio {
    position: relative;
    cursor: help;
    color: var(--text-bright);
    border-bottom: 1px dotted var(--accent-soft);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .studio:hover { color: var(--accent-soft); border-color: #ffffff; }
  .studio::after {
    content: attr(data-projects);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    padding: 12px 16px;
    white-space: pre;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
    text-align: left;
    box-shadow: 0 12px 32px rgba(0,0,0,0.7), 0 0 0 1px rgba(99,102,241,0.2);
  }
  .studio::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--accent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 101;
  }
  /* Edge-anchor tooltips on first/last studio so they don't overflow page margins */
  .studio:first-child::after { left: 0; transform: translateX(0) translateY(8px); }
  .studio:first-child::before { left: 16px; transform: translateX(0); }
  .studio:last-child::after { left: auto; right: 0; transform: translateX(0) translateY(8px); }
  .studio:last-child::before { left: auto; right: 16px; transform: translateX(0); }
  .studio:first-child:hover::after { transform: translateX(0); }
  .studio:last-child:hover::after { transform: translateX(0); }

  .studio:hover::after,
  .studio:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* Contact grid */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 40px auto 100px;
    padding: 0 56px;
  }
  /* Single email link block (contact page intro area) */
  .contact-email {
    text-align: center;
    padding: 60px 24px 100px;
  }
  .contact-email a {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-bright);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
    letter-spacing: -0.01em;
    transition: color 0.2s, border-color 0.2s;
  }
  .contact-email a:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

  /* Slim social icon bar (lives inside the contact-strip footer on every page) */
  .icon-bar {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 20px;
  }
  .icon-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: 50%;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .icon-bar a:hover { color: #ffffff; border-color: var(--accent-soft); background: rgba(99,102,241,0.18); }
  .icon-bar a svg { width: 16px; height: 16px; display: block; }
  .icon-bar a.imdb-link {
    width: auto;
    padding: 0 10px;
    color: #f5c518;
    border-color: rgba(245,197,24,0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .icon-bar a.imdb-link:hover { color: #f5c518; border-color: #f5c518; background: rgba(245,197,24,0.1); }

  /* ===== SELECTED CREDITS (About page) ===== */
  .credits-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 1100px;
    margin: 0 auto 28px;
    gap: 24px;
    flex-wrap: wrap;
  }
  .credits-header .section-label { margin-bottom: 0; }
  .credits-imdb {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(165,180,252,0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .credits-imdb:hover { color: #f5c518; border-color: #f5c518; }

  .credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px 56px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }
  .credit-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .credit-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-soft);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
  }
  .credit-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .credit-group li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0;
  }
  .credit-group .title {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-bright);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .credit-group .title.hi {
    font-weight: 600;
    color: #ffffff;
  }
  .credit-group .title.hi::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    margin-right: 8px;
    transform: translateY(-3px);
    border-radius: 1px;
  }
  .credit-group .role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  @media (max-width: 768px) {
    .page-intro { padding: 120px 24px 60px; }
    .page-intro h1 { font-size: 32px; }
    .about-wrap { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
    .about-links { flex-direction: column; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; padding: 0 24px; }
    .credits-grid { grid-template-columns: 1fr; gap: 36px; }
    .credits-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  }

  /* ===== REEL GRID (Work page — video-forward) ===== */
  .reel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .reel-tile {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
  }
  .reel-tile:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,102,241,0.25);
  }
  .reel-tile.reel-large {
    grid-column: span 2;
  }
  .reel-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .reel-thumb::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    transition: opacity 0.3s;
    opacity: 0;
  }
  .reel-tile:hover .reel-thumb::before { opacity: 1; }
  .reel-thumb.reel-vimeo {
    background: linear-gradient(135deg, #1ab7ea 0%, #0d6e8e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .reel-vimeo-label {
    position: absolute;
    top: 18px;
    left: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
    z-index: 2;
  }
  .reel-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(99,102,241,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    z-index: 3;
  }
  .reel-tile:hover .reel-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
  }
  .reel-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid #ffffff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
  }
  .reel-meta {
    padding: 22px 24px 26px;
  }
  .reel-show {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }
  .reel-tile.reel-large .reel-show { font-size: 28px; }
  .reel-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .reel-note {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 32px;
  }

  /* Press / breakdowns list */
  .press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .press-link {
    display: block;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
  }
  .press-link:hover {
    border-color: var(--accent);
    color: var(--text-bright);
    transform: translateX(2px);
  }
  .press-show {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
  }

  @media (max-width: 900px) {
    .reel-grid { grid-template-columns: 1fr; gap: 20px; }
    .reel-tile.reel-large { grid-column: span 1; }
    .press-grid { grid-template-columns: 1fr; }
    .reel-show { font-size: 20px; }
    .reel-tile.reel-large .reel-show { font-size: 22px; }
    .reel-play { width: 60px; height: 60px; }
  }

  /* HERO live embed — full-width iframe in feature-media position */
  .feature-media.live-hero {
    position: relative; width: 100%;
    background: #0a0a0a; margin: 40px 0 0;
    overflow: hidden;
  }
  .feature-media.live-hero iframe {
    display: block; width: 100%; height: 80vh;
    min-height: 480px; max-height: 760px;
    border: 0; background: #0a0a0a;
  }
  .live-instructions-btn {
    position: absolute; top: 50%; right: 22px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 9px 14px;
    border-radius: 18px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 5;
    transition: opacity 0.25s, color 0.25s, border-color 0.25s, background 0.25s;
    opacity: 0.45;
  }
  .live-instructions-btn:hover {
    opacity: 1;
    color: var(--accent-soft);
    border-color: var(--accent-soft);
    background: rgba(99,102,241,0.10);
  }
  .live-instructions-popup {
    position: absolute; top: 50%; right: 110px;
    transform: translateY(-50%);
    background: rgba(10,10,15,0.92);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 18px 22px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; line-height: 1.7;
    z-index: 6;
    backdrop-filter: blur(14px);
    display: none;
    max-width: 280px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  }
  .live-instructions-popup.show { display: block; }
  .live-instructions-popup ul { list-style: none; padding: 0; margin: 0; }
  .live-instructions-popup li { padding: 5px 0; display: flex; gap: 14px; }
  .live-instructions-popup .key {
    display: inline-block; min-width: 84px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--accent-soft); letter-spacing: 0.5px;
  }
  .live-instructions-popup .lp-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--text-dim); letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
  }
  @media (max-width: 700px) {
    .live-instructions-popup { display: none !important; }
    .live-instructions-btn { right: 14px; padding: 7px 10px; }
  }

  /* CASE-CARD live embed — iframe contained inside the v2 card frame */
  .case-card .live-frame {
    position: relative; width: 100%;
    background: #0a0a0a; border: 1px solid var(--border);
    margin: 18px 0 0; overflow: hidden;
  }
  .case-card .live-frame iframe {
    display: block; width: 100%; height: 560px;
    border: 0; background: #0a0a0a;
  }
  .case-card .live-frame-hint {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    z-index: 5; pointer-events: none;
    background: rgba(10,10,15,0.82); border: 1px solid var(--border);
    color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
    padding: 6px 14px; backdrop-filter: blur(8px);
    transition: opacity 0.4s ease; opacity: 1;
  }
  .case-card .live-frame:hover .live-frame-hint { opacity: 0.3; }
  .case-card .live-frame-caption {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    margin-top: 10px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--text-dim);
  }
  .case-card .live-frame-caption a {
    color: var(--accent-soft); text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
  }
  .case-card .live-frame-caption a:hover { border-color: var(--accent-soft); }
  @media (max-width: 900px) {
    .case-card .live-frame iframe { height: 460px; }
  }

  /* CASE STUDY PAGES */
  .case-pills {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
    max-width: 1100px; margin: 24px auto 0; padding: 0 24px;
  }
  .case-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--border); background: var(--bg-card); color: var(--text-dim);
  }
  .case-pill strong { color: var(--text-bright); font-weight: 600; }
  .case-pill.is-accent { border-color: var(--accent); background: rgba(99,102,241,0.10); color: var(--text); }

  .case-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 36px; max-width: 1100px; margin: 0 auto 28px;
  }
  .case-card h3 {
    font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 600;
    color: var(--text-bright); margin: 0 0 4px;
  }
  .case-card .case-meta {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-dim); margin-bottom: 22px;
  }
  .case-card p {
    font-family: 'Space Grotesk', sans-serif; line-height: 1.7;
    color: var(--text-dim); margin-bottom: 16px;
  }
  .case-feat-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 12px;
  }
  .case-feat {
    padding: 14px 0; border-top: 1px solid var(--border);
    display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start;
  }
  .case-feat .feat-name {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--accent-soft); letter-spacing: 0.5px;
  }
  .case-feat .feat-desc {
    font-family: 'Space Grotesk', sans-serif; font-size: 14px;
    color: var(--text-dim); line-height: 1.55;
  }

  .case-asset-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px; max-width: 1280px; margin: 16px auto 0; padding: 0 24px;
  }
  .case-asset {
    background: var(--bg-card); border: 1px solid var(--border);
    cursor: zoom-in; overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
  }
  .case-asset:hover { border-color: var(--accent); transform: translateY(-2px); }
  .case-asset img {
    display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  }
  .case-asset .caption {
    padding: 14px 18px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px;
    color: var(--text-dim); line-height: 1.5;
  }

  .case-lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.94);
    display: none; align-items: center; justify-content: center;
    z-index: 1000; cursor: zoom-out;
  }
  .case-lightbox.show { display: flex; }
  .case-lightbox img { max-width: 95vw; max-height: 95vh; object-fit: contain; }
  .case-lightbox .lb-close {
    position: absolute; top: 24px; right: 28px;
    background: transparent; border: none; color: var(--text-bright);
    font-size: 36px; line-height: 1; cursor: pointer;
  }

  @media (max-width: 900px) {
    .case-card { padding: 24px; }
    .case-feat-list { grid-template-columns: 1fr; }
    .case-feat { grid-template-columns: 1fr; gap: 4px; }
  }
