*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #080808;
    --white: #f0ece4;
    --cream: #e8e2d9;
    --gold: #b89b6a;
    --gold-light: #d4b98a;
    --muted: #7a7870;
    --border: rgba(184,155,106,0.18);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --mono: 'Geist Mono', monospace;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--serif);
    overflow-x: hidden;
    cursor: none;
  }
  img { max-width: 100%; }

  /* ── CURSOR ── */
  .cursor {
    position: fixed; width: 22px; height: 22px;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width .3s, height .3s, opacity .3s;
    opacity: 0.85;
  }
  .cursor img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .cursor-trail {
    position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  }
  .cursor-trail i {
    position: absolute; width: 4px; height: 4px;
    border-radius: 50%; background: var(--gold-light);
    transform: translate(-50%,-50%);
    box-shadow: 0 0 7px rgba(212,185,138,.35);
    transition: width .25s, height .25s, opacity .25s;
  }
  .cursor-trail i:nth-child(1) { opacity: .42; }
  .cursor-trail i:nth-child(2) { opacity: .3; width: 3px; height: 3px; }
  .cursor-trail i:nth-child(3) { opacity: .2; width: 3px; height: 3px; }
  .cursor-trail i:nth-child(4) { opacity: .12; width: 2px; height: 2px; }
  .cursor-trail i:nth-child(5) { opacity: .06; width: 2px; height: 2px; }
  .cursor.h { width: 28px; height: 28px; opacity: 1; }
  .cursor-trail.h i:first-child { width: 6px; height: 6px; opacity: .65; }

  /* ── NAV ── */
  nav {
    position: fixed; inset: 0 0 auto 0;
    z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 2.2rem 4.5rem;
    transition: background .5s, padding .4s, border-color .5s;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled {
    background: rgba(8,8,8,.93);
    backdrop-filter: blur(16px);
    padding: 1.3rem 4.5rem;
    border-color: var(--border);
  }
  .nav-logo {
    font-family: var(--serif); font-size: 1.18rem; font-weight: 300;
    letter-spacing: .38em; text-transform: uppercase;
    color: var(--white); text-decoration: none;
    display: flex; align-items: center; gap: .5em;
  }
  .nav-logo img { height: 34px !important; }
  .nav-logo-star { color: var(--gold); font-style: italic; }
  .nav-links { display: flex; gap: 2.8rem; list-style: none; }
  .nav-links a {
    font-family: var(--mono); font-size: .85rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color .3s; position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width .4s;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }
  .nav-toggle { display: none; }

  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

  /* ── HERO ── */
  #hero {
    position: relative; height: 100vh;
    display: flex; align-items: flex-end;
    padding: 0 4.5rem 3rem; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; overflow: hidden;
    container-type: size;
  }
  .hero-bg > iframe {
    position: absolute; top: 50%; left: 50%;
    width: max(100cqw, 177.78cqh);
    height: max(100cqh, 56.25cqw);
    min-width: 100%; min-height: 100%;
    transform: translate(-50%,-50%);
    pointer-events: none;
  }
  .hero-video-mobile {
    position: absolute; inset: 0; display: none; overflow: hidden;
  }
  .hero-video-mobile iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100%;
    height: 100%;
    min-width: 0; min-height: 0;
    transform: translate(-50%,-50%);
    pointer-events: none;
  }
  .hero-veil {
    position: absolute; inset: 0;
    background:
      linear-gradient(to bottom,
        rgba(8,8,8,.55) 0%,
        rgba(8,8,8,.05) 35%,
        rgba(8,8,8,.75) 80%,
        rgba(8,8,8,.98) 100%);
  }
  #hero::after {
    content: ''; position: absolute; z-index: 3;
    left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--black); pointer-events: none;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-tag {
    font-family: var(--mono); font-size: .58rem; letter-spacing: .38em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem;
    opacity: 0; animation: fadeUp .8s .4s forwards;
  }
  .hero-h {
    font-size: clamp(3rem,7.5vw,6.8rem); font-weight: 300;
    line-height: .95; letter-spacing: -.01em; max-width: 680px;
    opacity: 0; animation: fadeUp 1s .7s forwards;
  }
  .hero-h em { font-style: italic; color: var(--gold-light); }
  .hero-scroll {
    position: absolute; right: 4.5rem; bottom: 3rem; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
    opacity: 0; animation: fadeUp .8s 1.6s forwards;
  }
  .hero-scroll span {
    font-family: var(--mono); font-size: .52rem; letter-spacing: .3em;
    text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl;
  }
  .sline {
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse 2.2s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{opacity:.35} 50%{opacity:1} }

  /* ── SHARED ── */
  section { padding: 8rem 0; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 4.5rem; }
  .eyebrow {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .32em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
  }
  .sec-title {
    font-size: clamp(2.4rem,5vw,3.8rem); font-weight: 300;
    line-height: 1.05; letter-spacing: -.01em;
  }
  .sec-title em { font-style: italic; color: var(--gold-light); }

  /* ── TAGLINE ── */
  #tagline { padding: 7rem 0 4rem; background: var(--black); }
  .tagline-text {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 300; line-height: 1.05;
    letter-spacing: -.01em;
  }
  .tagline-text em { font-style: italic; color: var(--gold-light); }

  /* ── ABOUT ── */
  #about { background: var(--black); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 7rem; align-items: start;
    margin-top: 0;
  }
  .about-left .sec-title { margin-bottom: 2.5rem; }
  .about-body p {
    font-size: 1.25rem; font-weight: 300; line-height: 1.8;
    color: rgba(240,236,228,.68); margin-bottom: 1.5rem;
  }
  .stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.8rem; margin-top: 3.5rem;
  }
  .stat { border-top: 1px solid var(--border); padding-top: 1.3rem; }
  .stat-n { font-size: 2.8rem; font-weight: 300; color: var(--gold); line-height: 1; }
  .stat-l {
    font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--muted); margin-top: .4rem;
  }
  .about-right { padding-top: .5rem; }
  .pull-quote {
    font-size: clamp(1.5rem,2.8vw,2.2rem); font-weight: 300; font-style: italic;
    line-height: 1.45; color: var(--white);
    border-left: 1px solid var(--gold); padding-left: 2rem;
    margin-bottom: 3rem;
  }
  .values { list-style: none; }
  .values li {
    display: flex; align-items: center; gap: 1.4rem;
    padding: 1.1rem 0; border-bottom: 1px solid var(--border);
    font-family: var(--mono); font-size: .76rem; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(240,236,228,.65);
  }
  .values li::before {
    content: ''; width: 13px; height: 13px; flex-shrink: 0;
    background: url('../images/nebula-logo.svg') center/contain no-repeat;
    filter: brightness(1.15) drop-shadow(0 0 3px rgba(212,185,138,.25));
    opacity: .82;
  }

  /* ── FILMS ── */
  #films { background: #0c0b0a; }
  .films-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3.5rem; flex-wrap: wrap; gap: 2rem;
  }
  .filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
  .tab {
    font-family: var(--mono); font-size: .58rem; letter-spacing: .18em;
    text-transform: uppercase; padding: .5rem 1.2rem;
    border: 1px solid var(--border); color: var(--muted);
    background: transparent; cursor: pointer;
    transition: background .3s, color .3s, border-color .3s;
  }
  .tab.active, .tab:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

  .films-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
  }
  .films-grid.single {
    grid-template-columns: 320px;
    justify-content: center;
  }
  .film-card {
    position: relative; aspect-ratio: 2/3; overflow: hidden;
    background: #181614; cursor: pointer;
  }
  .film-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .5s;
    filter: grayscale(25%) brightness(.9);
  }
  .film-card:hover .film-img { transform: scale(1.05); filter: grayscale(0%) brightness(1); }
  .film-meta {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,.96) 0%, transparent 55%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.8rem;
    opacity: 0; transition: opacity .45s;
  }
  .film-card:hover .film-meta { opacity: 1; }
  .film-cat {
    font-family: var(--mono); font-size: .56rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
  }
  .film-name { font-size: 1.35rem; font-weight: 300; color: var(--white); }

  /* placeholder poster art */
  .film-art {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; background: #181614; position: relative;
  }

  /* ── CONTACT ── */
  #contact { background: var(--black); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.15fr;
    gap: 7rem; align-items: start;
  }
  .contact-info .sec-title { margin-bottom: 2rem; }
  .contact-info { position: relative; }
  .contact-title { white-space: nowrap; font-size: clamp(2.2rem,4.2vw,3.8rem); }
  .contact-info > p {
    font-size: 1.2rem; font-weight: 300; line-height: 1.8;
    color: rgba(240,236,228,.6); margin-bottom: 3rem;
  }
  .cdetails { display: flex; flex-direction: column; gap: 1.3rem; }
  .crow {
    display: grid; grid-template-columns: 110px minmax(0, 1fr);
    gap: 1.5rem; align-items: baseline;
  }
  .clabel {
    font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gold); padding-top: .1rem;
  }
  .cval { font-size: 1.18rem; color: rgba(240,236,228,.7); line-height: 1.6; }

  /* contact action */
  .contact-action {
    position: absolute; left: calc(100% + 7rem); top: 18rem;
    width: max-content; margin: 0; padding: 0; border: 0;
  }
  .contact-us-trigger {
    display: inline-block; border: 1px solid var(--gold); padding: .85rem 1.5rem;
    background: transparent; color: var(--white); cursor: pointer;
    font-family: var(--mono); font-size: .7rem; letter-spacing: .2em;
    text-transform: uppercase; text-decoration: none;
    transition: color .3s, border-color .3s, background .3s;
  }
  .contact-us-trigger:hover {
    color: var(--black); border-color: var(--gold); background: var(--gold);
  }
  .btn-send {
    font-family: var(--mono); font-size: .62rem; letter-spacing: .25em;
    text-transform: uppercase; color: var(--black);
    background: var(--gold); border: none; padding: 1rem 2.8rem;
    cursor: pointer; transition: background .3s, transform .2s;
    margin-top: .8rem; align-self: flex-start;
  }
  .btn-send:hover { background: var(--gold-light); transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border); padding: 2.8rem 0;
    background: var(--black);
  }
  .foot {
    max-width: 1180px; margin: 0 auto; padding: 0 4.5rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .foot-logo {
    font-family: var(--serif); font-size: .88rem; font-weight: 300;
    letter-spacing: .3em; text-transform: uppercase;
    color: rgba(240,236,228,.65); text-decoration: none;
    display: flex; align-items: center; gap: .55rem;
    flex-wrap: nowrap; white-space: nowrap;
  }
  .foot-logo img {
    width: 30px; height: 30px; object-fit: contain;
    filter: brightness(1.15); opacity: .75;
  }
  .foot-logo em { font-style: italic; color: var(--gold); }
  .foot-copy {
    font-family: var(--mono); font-size: .52rem; letter-spacing: .15em;
    text-transform: uppercase; color: var(--muted);
  }
  .foot-links { display: flex; gap: 1.6rem; align-items: center; }
  .foot-links a {
    color: var(--muted); text-decoration: none;
    transition: color .3s; display: flex; align-items: center;
  }
  .foot-links a:hover { color: var(--gold); }

  /* ── REVEAL ── */
  .r { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
  .r.on { opacity: 1; transform: translateY(0); }
  .d1 { transition-delay: .1s; }
  .d2 { transition-delay: .25s; }
  .d3 { transition-delay: .4s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1100px) {
    body { cursor: auto; }
    body.menu-open { overflow: hidden; }
    .cursor, .cursor-trail { display: none; }
    nav, nav.scrolled { padding: 1.15rem 1.25rem; }
    .nav-logo { font-size: .78rem; letter-spacing: .25em; gap: .35rem; }
    .nav-logo img { height: 23px !important; }
    .nav-toggle {
      width: 44px; height: 44px; display: grid; place-content: center;
      background: transparent; border: 1px solid var(--border);
      color: var(--white); cursor: pointer; z-index: 2;
    }
    nav.open {
      background: transparent; backdrop-filter: none;
      border-color: transparent;
    }
    nav.open .nav-logo { z-index: 2; }
    nav.open .nav-toggle { margin-left: auto; }
    .nav-links {
      position: fixed; inset: 0; height: 100dvh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 2.2rem;
      background: var(--black); backdrop-filter: none;
      z-index: 1; opacity: 1; visibility: hidden;
    }
    nav.open .nav-links { visibility: visible; }
    .nav-links a { font-family: var(--serif); font-size: 2rem; letter-spacing: .06em; }
    #hero { padding: 0 2rem 4.5rem; }
    .wrap { padding: 0 2rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .films-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 5rem 0; }
    .hero-scroll { display: none; }
    .foot { flex-direction: column; gap: 1.5rem; text-align: center; }
    .films-head { flex-direction: column; align-items: flex-start; }
    .film-meta { opacity: 1; }
    .hero-video-desktop { display: none; }
    .hero-bg .hero-video-mobile { display: block; }
  }
  @media (max-width: 520px) {
    nav, nav.scrolled { padding: .9rem 1rem; }
    .nav-logo span { display: none; }
    .nav-logo img { height: 32px !important; }
    #hero {
      width: 100%;
      height: 177.78vw;
      min-height: 0;
      padding: 0 1.25rem 2rem;
    }
    .hero-veil {
      background: linear-gradient(to bottom,
        rgba(8,8,8,.45) 0%,
        rgba(8,8,8,.03) 52%,
        rgba(8,8,8,.25) 82%,
        rgba(8,8,8,.62) 96%,
        var(--black) 100%);
    }
    #hero::after { height: 2px; }
    #tagline { position: relative; margin-top: -1px; }
    section { padding: 4.5rem 0; }
    .wrap { padding: 0 1.25rem; }
    #tagline { padding: 4.5rem 0 1.5rem; }
    .tagline-text { font-size: clamp(2.6rem, 14vw, 4.2rem); line-height: 1; }
    .sec-title { font-size: clamp(2.35rem, 12vw, 3.3rem); }
    .contact-title {
      font-size: clamp(2.35rem,12vw,3.3rem);
      letter-spacing: -.01em; white-space: nowrap;
      transform: scaleX(.82); transform-origin: left center;
      width: 121.95%;
    }
    .eyebrow { font-size: .68rem; line-height: 1.5; }
    .about-grid, .contact-grid { gap: 3.5rem; }
    .about-left .sec-title { margin-bottom: 1.8rem; }
    .about-body p { font-size: 1.15rem; line-height: 1.75; }
    .contact-info > p { font-size: 1.12rem; line-height: 1.75; }
    .cval { font-size: 1.08rem; }
    .films-grid { grid-template-columns: 1fr; }
    .films-grid.single { grid-template-columns: minmax(0, 1fr); }
    .film-card { max-width: 320px; width: 100%; margin: 0 auto; }
    .film-meta { padding: 1.25rem; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat-n { font-size: 2.2rem; }
    .stat-l { font-size: .66rem; line-height: 1.5; }
    .pull-quote { padding-left: 1.25rem; margin-bottom: 2.2rem; }
    .values li { font-size: .72rem; line-height: 1.6; gap: 1rem; }
    .crow { grid-template-columns: 1fr; gap: .3rem; align-items: start; }
    .clabel { min-width: 0; font-size: .67rem; line-height: 1.5; }
    .cval { overflow-wrap: anywhere; }
    .btn-send { width: 100%; }
    footer { padding: 2.2rem 0; }
    .foot { padding: 0 1.25rem; gap: 1.35rem; }
    .foot-logo { font-size: .72rem; letter-spacing: .2em; }
    .foot-copy { line-height: 1.7; }
    .foot-links { width: 100%; justify-content: center; gap: 1.8rem; }

    /* Mobile readability: increase supporting text without changing headings. */
    .eyebrow { font-size: .76rem; }
    .about-body p,
    .contact-info > p { font-size: 1.22rem; line-height: 1.75; }
    .stat-l { font-size: .74rem; }
    .values li { font-size: .8rem; }
    .film-cat { font-size: .68rem; line-height: 1.5; }
    .film-name { font-size: 1.5rem; }
    .clabel { font-size: .75rem; }
    .cval { font-size: 1.16rem; }
    .btn-send { font-size: .7rem; }
    .contact-action {
      position: static; width: auto; margin-top: 2rem; padding-top: 1.6rem;
      border-top: 1px solid var(--border); display: block;
    }
    .contact-us-trigger { width: 100%; font-size: .75rem; }
    .contact-us-trigger { text-align: center; }
    .foot-copy { font-size: .62rem; }
  }
  @media (hover: none) {
    .film-meta { opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }
