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

  :root {
    --purple:     #7c6af5;
    --purple-mid: rgba(124,106,245,0.65);
    --purple-dim: rgba(124,106,245,0.42);
    --white:      #f0ece8;
    --white-dim:  rgba(240,236,232,0.55);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Manrope', sans-serif;
    color: var(--white);
    background: #56443a;
    overflow-x: hidden;
  }

  /* ── PERSISTENT BACKGROUND ── */
  .site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 40%,
      #68514a 0%, #52403a 30%, #3a2c26 62%, #251d1a 100%);
  }
  .site-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 2.8rem;
  }
  .nav-logo { font-weight: 800; font-size: 2rem; color: var(--purple); }
  .logo-audio { font-family: 'Sora', sans-serif; font-weight: 400; }
  .logo-r { -webkit-text-stroke: 0.04em currentColor; }
  nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
  nav ul li a {
    text-decoration: none;
    color: var(--purple-mid);
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  nav ul li a:hover { color: var(--purple); }

  /* ── HERO ── */
  .hero {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-head {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1240px;
    min-width: 500px;
    pointer-events: none;
    top: 11vh;
    bottom: auto;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 19vh;
  }

  .brand-name {
    font-weight: 800;
    font-size: clamp(5.6rem, 19vw, 18rem);
    line-height: 0.88;
    color: var(--purple);
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 50px rgba(124,106,245,0.15));
  }

  .tagline {
    font-weight: 700;
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    color: var(--purple-mid);
    letter-spacing: 0.02em;
    margin-top: 0.4em;
  }

  /* ── TESTIMONIALS, pure floating text, zero box ── */
  .testimonials-wrap {
    margin-top: 2.4rem;
    width: clamp(300px, 52vw, 680px);
    height: 10.5rem;
    overflow: hidden;
    position: relative;
    /* Absolutely no background, border, or shadow */
    background: none;
    border: none;
    box-shadow: none;
  }
  /* Fades that exactly match nothing, transparent only */
  .testimonials-wrap::before,
  .testimonials-wrap::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1.2rem;
    z-index: 2;
    pointer-events: none;
  }
  .testimonials-wrap::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.01), transparent);
  }
  .testimonials-wrap::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.01), transparent);
  }

  .t-item {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(240,236,232,0.82);
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    background: none;
    border: none;
  }
  .t-item.active {
    opacity: 1;
    transform: translateY(0);
  }
  .t-item.leaving {
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .t-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple-mid);
    letter-spacing: 0.04em;
  }

  /* scroll hint */
  .scroll-hint {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: pulse 2.4s ease-in-out infinite alternate;
  }
  .scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--purple);
    text-shadow: 0 0 12px rgba(124,106,245,0.8);
  }
  .scroll-hint .line {
    width: 2px; height: 3rem;
    background: linear-gradient(to bottom, var(--purple), transparent);
    box-shadow: 0 0 8px rgba(124,106,245,0.6);
  }
  @keyframes pulse { from { opacity: 0.2; } to { opacity: 0.5; } }

  /* ── LOGOS ── */
  .logos-section {
    position: relative;
    z-index: 1;
    padding: 6rem 0 7rem;
    text-align: center;
  }
  .logos-eyebrow {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin-bottom: 3.5rem;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2.8rem 2.2rem;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 3vw;
    align-items: center;
    justify-items: center;
  }
  .logo-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.8rem;
    width: 100%;
  }
  .logo-item.visible { opacity: 0.6; transform: translateY(0); }
  .logo-item.hidden  { opacity: 0;   transform: translateY(10px); }
  .logo-item:hover   { opacity: 1 !important; }
  .logo-item svg { height: 100%; width: auto; max-width: 120px; }

  /* ── DIVIDER ── */
  .divider {
    position: relative; z-index: 1;
    border: none; height: 1px;
    background: linear-gradient(to right, transparent, rgba(124,106,245,0.2), transparent);
    margin: 0 6vw;
  }

  /* ── WHAT WE DO ── */
  .content-section {
    position: relative;
    z-index: 1;
    padding: 7rem 4vw;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  .section-eyebrow {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin-bottom: 1.2rem;
  }
  .section-heading {
    font-weight: 800;
    font-size: clamp(3.2rem, 6.5vw, 5.5rem);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.6rem;
  }
  .section-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--white-dim);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
  }

  /* Cards, 4 col top, 4 col bottom (centred pair in middle) */
  .cards-wrap {
    margin-top: 4.5rem;
    border: 1px solid rgba(124,106,245,0.12);
  }
  .cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(124,106,245,0.12);
  }
  .cards-row:last-child { border-bottom: none; }

  /* Centre the bottom row of 4 */
  .cards-row.centred {
    display: flex;
    justify-content: center;
  }
  .cards-row.centred .card {
    width: 25%;
    border-right: 1px solid rgba(124,106,245,0.1);
  }
  .cards-row.centred .card:last-child { border-right: none; }

  .card {
    background: rgba(30,22,18,0.35);
    padding: 2.6rem 1.8rem;
    text-align: left;
    border-right: 1px solid rgba(124,106,245,0.1);
    transition: background 0.3s;
  }
  .card:last-child { border-right: none; }
  .card:hover { background: rgba(124,106,245,0.1); }
  .card-num {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--purple-dim);
    margin-bottom: 1.1rem;
  }
  .card h3 {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.55rem;
  }
  .card p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--white-dim);
    font-weight: 400;
  }

  /* ── FOOTER ── */
  footer {
    position: relative; z-index: 1;
    padding: 2.5rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--purple-dim);
    text-transform: uppercase;
  }
  .foot-logo { font-weight: 800; font-size: 1rem; }
  .foot-social { display: flex; gap: 1.2rem; align-items: center; }
  .foot-social a { color: var(--purple-dim); transition: color 0.2s; display: flex; }
  .foot-social a:hover { color: var(--purple); }
  .foot-social svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }

  @media (max-width: 900px) {
    .cards-row { grid-template-columns: repeat(2, 1fr); }
    .cards-row.centred .card { width: 50%; }
  }
  @media (max-width: 700px) {
    .logos-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-head {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1240px;
    min-width: 500px;
    pointer-events: none;
    top: 11vh;
    bottom: auto;
  }
    nav ul { display: none; }
    .cards-row { grid-template-columns: 1fr; }
    .cards-row.centred { flex-direction: column; }
    .cards-row.centred .card { width: 100%; }
  }

  /* ── ABOUT PAGE ── */
  .page { display: none; }
  .page.active { display: block; }

  .about-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 11vh 4rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .about-body {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.85;
    color: rgba(240,236,232,0.88);
  }
  .about-body em {
    font-style: italic;
    color: var(--white);
  }

  /* Active nav link */
  nav ul li a.active {
    color: var(--purple);
    border-bottom: 1px solid var(--purple);
    padding-bottom: 2px;
  }


  .hero-head--blurred {
    filter: blur(6px);
    transform: translateX(-50%) scale(1.04); /* slight scale to hide blur edges */
  }
  .about-body {
    font-size: 1.22rem;
  }


  #page-about .hero-head {
    top: 11vh;
    width: 90vw;
    max-width: 1240px;
  }


  /* ── WORK PAGE ── */
  .work-grid-wrap {
    position: relative;
    z-index: 1;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }
  .work-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
  }
  
  /* Centre the last incomplete row */
  .work-grid:has(.last-row) .last-row:nth-child(1 of .last-row) {
    grid-column-start: 3;
  }

  .work-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 0 8%;
    font-family: 'Manrope', sans-serif;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .work-item:hover .work-overlay-text { opacity: 1; }
  .work-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }
  .work-company {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.3;
    opacity: 0.9;
  }
  .work-credit {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: 0.85;
  }
  .work-item { position: relative; }
  .work-meta {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 700px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }


  /* Nav background only on pages with scrollable content */
  body.page-work-active nav {
    background: rgba(30, 22, 18, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* ── CONTACT PAGE ── */
  #page-contact .hero-head {
    top: 11vh;
    width: 90vw;
    max-width: 1240px;
  }

  .contact-wrap {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto;
    padding: 11vh 2rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }

  .contact-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    color: var(--purple);
    letter-spacing: -0.01em;
  }

  .contact-sub {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(240,236,232,0.82);
  }

  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.5rem;
    text-align: left;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(240,236,232,0.75);
    letter-spacing: 0.02em;
  }

  .form-group .req {
    font-weight: 400;
    color: var(--purple-dim);
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--purple);
  }

  .form-submit {
    align-self: flex-start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-top: 0.4rem;
  }

  .form-submit:hover {
    background: var(--purple);
    border-color: var(--purple);
  }


  /* ── SHOWREELS PAGE ── */
  .sr-wrap {
    position: relative;
    z-index: 1;
    padding: 10rem 4vw 5rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .sr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
  }
  /* Centre last row of 2 */
  .sr-card:nth-child(4) {
    grid-column-start: 1;
  }
  .sr-card:nth-last-child(2):nth-child(3n+1),
  .sr-card:nth-last-child(1):nth-child(3n+2) {
    grid-column-start: 2;
  }
  /* Centre bottom 2 in a 3-col grid */
  .sr-grid .sr-card:nth-child(4) { grid-column: 1; }
  .sr-grid .sr-card:nth-child(5) { grid-column: 2; }

  .sr-card {
    cursor: pointer;
  }

  .sr-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
  }
  .sr-card:hover .sr-thumb {
    transform: scale(1.02);
  }

  .sr-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(0,0,0,0.2);
  }
  .sr-card:hover .sr-play { opacity: 1; }
  .sr-play svg { width: 64px; height: 64px; }

  .sr-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--purple-mid);
    letter-spacing: 0.1em;
    margin-top: 1rem;
  }
  .sr-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    color: var(--purple);
    margin-top: 0.4rem;
    line-height: 1.15;
  }

  /* Lightbox */
  .sr-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
  }
  .sr-lightbox.open { display: flex; }

  .sr-lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 8, 0.92);
    cursor: pointer;
  }

  .sr-lightbox-inner {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1200px;
  }

  .sr-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  .sr-close:hover { opacity: 1; }

  .sr-player {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: black;
    border-radius: 4px;
    overflow: hidden;
  }
  .sr-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  @media (max-width: 700px) {
    .sr-grid { grid-template-columns: 1fr; }
  }


  .work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #1a1210;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
  }
  .work-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
  }
  .work-item:hover img { transform: scale(1.04); }
  .work-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(30,18,14,0.0);
    transition: background 0.3s;
  }
  .work-item:hover .work-overlay { background: rgba(30,18,14,0.58); }
  .work-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 0 8%;
    font-family: 'Manrope', sans-serif;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .work-item:hover .work-overlay-text { opacity: 1; }
  .work-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }
  .work-company {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.3;
    opacity: 0.9;
  }
  .work-credit {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: 0.85;
  }
  .work-item { position: relative; }
  .work-meta {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }


  /* ═══════════════ MOBILE STYLES ═══════════════ */
  
  /* Hamburger, hidden on desktop, visible on mobile */

  @media (max-width: 768px) {

    /* Overall body centering */
    body { overflow-x: hidden; }

    /* Nav */
    nav { padding: 1rem 1.2rem; }
    nav ul { display: none; }
    .nav-logo { font-size: 1.4rem; }
    

    /* Hero, keep background head, overlay text centred */
    .hero {
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hero-head {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 140vw;
      max-width: none;
      min-width: unset;
    }

    .hero-text {
      position: absolute;
      z-index: 2;
      top: 30vw;
      left: 0; right: 0;
      text-align: center;
      padding: 0 1rem;
    }

    .brand-name {
      font-size: clamp(4.5rem, 27vw, 8rem);
    }

    .tagline {
      font-size: clamp(1rem, 5vw, 1.4rem);
    }

    .testimonials-wrap {
      width: 92vw;
    }

    .scroll-hint { display: none; }

    /* Logos, 2 columns on mobile */
    .logos-section { padding: 3rem 0 4rem; }
    .logos-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem 1.5rem;
      padding: 0 1.5rem;
    }

    /* What we do */
    .content-section {
      padding: 4rem 1.5rem;
      text-align: center;
    }

    .section-body { font-size: 1rem; }

    /* Cards, single column, centre aligned text */
    .cards-wrap { margin-top: 2.5rem; }
    .cards-row {
      grid-template-columns: 1fr;
    }
    .cards-row.centred {
      flex-direction: column;
    }
    .cards-row.centred .card {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid rgba(124,106,245,0.1);
      text-align: center;
    }
    .card {
      text-align: center;
      border-right: none;
      border-bottom: 1px solid rgba(124,106,245,0.1);
      padding: 2rem 1.5rem;
    }
    .card:last-child { border-bottom: none; }

    /* About page */
    #page-about .hero-head {
      position: relative;
      top: auto;
      width: 90vw;
      margin: 4rem auto 0;
    }
    .about-text {
      padding: 2rem 1.5rem 3rem;
    }

    /* Contact page */
    #page-contact .hero-head {
      position: relative;
      top: auto;
      width: 90vw;
      margin: 4rem auto 0;
    }
    .contact-wrap {
      padding: 2rem 1.5rem 3rem;
    }
    .form-row {
      grid-template-columns: 1fr;
    }

    /* Showreels */
    .sr-wrap { padding: 5rem 1.5rem 3rem; }
    .sr-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    /* Work grid */
    .work-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .work-grid-wrap { padding-top: 4rem; }
  }

  /* Mobile menu overlay */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(30, 20, 15, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--purple);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
  }
  .mobile-menu a:hover { opacity: 0.7; }
  .mobile-menu-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    font-size: 1.8rem;
    color: var(--purple);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
  }


  /* Hamburger menu button */


  .hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 6px; z-index: 200; }
  .hamburger span { display: block; width: 28px; height: 2px; background: var(--purple); border-radius: 2px; }
  @media (max-width: 768px) { .hamburger { display: flex; } }


  /* ═══════════════ MOBILE PAGE FIXES, non-home pages ═══════════════ */
  @media (max-width: 768px) {
    body.page-work-active nav,
    body.page-showreels-active nav,
    body.page-about-active nav,
    body.page-contact-active nav {
      background: rgba(30, 22, 18, 0.86);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    /* About + Contact need to scroll naturally on phones. The previous
       mobile rules made the head image part of the document flow and the
       hero clipped the content at 100vh, which is why those pages fell apart. */
    #page-about .hero,
    #page-contact .hero {
      height: auto;
      min-height: 100svh;
      overflow: visible;
      justify-content: flex-start;
      padding: 5.25rem 0 3rem;
    }

    #page-about .hero-head,
    #page-contact .hero-head {
      position: fixed;
      top: 4.75rem;
      left: 50%;
      width: 155vw;
      max-width: none;
      min-width: 0;
      margin: 0;
      opacity: 0.32;
      z-index: 1;
      pointer-events: none;
    }

    #page-about .about-text,
    #page-contact .contact-wrap {
      width: 100%;
      max-width: 560px;
      padding: 2rem 1.25rem 2rem;
      position: relative;
      z-index: 2;
    }

    #page-about .about-body {
      font-size: clamp(0.96rem, 4vw, 1.06rem);
      line-height: 1.72;
    }

    #page-contact .contact-heading {
      font-size: clamp(1.85rem, 9vw, 2.8rem);
    }

    #page-contact .contact-sub {
      font-size: 0.95rem;
      line-height: 1.65;
    }

    #page-contact .contact-sub br { display: none; }

    #page-contact .contact-form { gap: 1rem; }

    #page-contact .form-submit {
      width: 100%;
      max-width: 18rem;
      align-self: center;
    }

    /* The desktop showreel centering rules force cards into column 2.
       On a one-column mobile grid that creates an accidental second column. */
    #page-showreels .sr-wrap {
      padding: 5.5rem 1.25rem 3rem;
    }

    #page-showreels .sr-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    #page-showreels .sr-grid .sr-card {
      grid-column: auto !important;
    }

    #page-showreels .sr-title { font-size: 1.35rem; }

    #page-showreels .sr-lightbox-inner { width: 94vw; }
    #page-showreels .sr-close { top: -2.2rem; right: 0.2rem; }

    #page-work .work-grid-wrap { padding-top: 4.75rem; }
    #page-work .work-grid { gap: 2px; }
  }

  @media (max-width: 380px) {
    #page-about .about-text,
    #page-contact .contact-wrap,
    #page-showreels .sr-wrap {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }


  /* ── RAUDIOLABS PAGE ── */
  .labs-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 11rem 4vw 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .labs-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin-bottom: 1.4rem;
  }

  .labs-heading {
    font-weight: 800;
    font-size: clamp(3.2rem, 10vw, 8rem);
    line-height: 0.9;
    color: var(--purple);
    margin-bottom: 1.2rem;
  }

  .labs-intro {
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(240,236,232,0.78);
  }

  .labs-products {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 4.5rem 0 3rem;
    border: 1px solid rgba(124,106,245,0.16);
    background: rgba(124,106,245,0.12);
  }

  .labs-product {
    min-height: 21rem;
    padding: 3rem 2.4rem;
    background: rgba(30,22,18,0.44);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
  }

  .labs-product h3 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    color: var(--white);
    margin-bottom: 1.2rem;
  }

  .labs-product p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(240,236,232,0.78);
    max-width: 28rem;
  }

  .labs-coming {
    margin-top: 2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--purple-mid);
  }

  .labs-notify-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    color: var(--white);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    transition: background 0.2s, border-color 0.2s;
  }

  .labs-notify-link:hover {
    background: var(--purple);
    border-color: var(--purple);
  }

  @media (max-width: 768px) {
    body.page-work-active nav,
    body.page-showreels-active nav,
    body.page-about-active nav,
    body.page-contact-active nav,
    body.page-raudiolabs-active nav {
      background: rgba(30, 22, 18, 0.86);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .labs-wrap {
      min-height: 100svh;
      padding: 6.5rem 1.25rem 3rem;
    }

    .labs-products {
      grid-template-columns: 1fr;
      margin: 3rem 0 2rem;
    }

    .labs-product {
      min-height: 17rem;
      padding: 2.2rem 1.5rem;
      text-align: center;
      align-items: center;
    }

    .labs-notify-link {
      width: 100%;
      max-width: 18rem;
    }
  }



  /* ═══════════════ MOBILE TWEAKS, 2026-05-25 pass 2 ═══════════════ */
  @media (max-width: 768px) {
    /* Lift the home title so it sits across the headphone earpieces rather than
       underneath the head. */
    #page-home .hero-text {
      top: 24vw;
      margin-top: 0;
    }

    #page-home .brand-name {
      font-size: clamp(4.7rem, 26vw, 7.4rem);
      line-height: 0.82;
    }

    #page-home .tagline {
      margin-top: 0.25rem;
    }

    #page-home .testimonials-wrap {
      margin-top: 30vw;
    }

    /* When the menu is open, remove the nav blur/background that was creating a
       containing block for the fixed menu on internal pages. */
    body.menu-open nav {
      background: transparent !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: auto;
      bottom: auto;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      min-height: 100vh;
      z-index: 10000;
      background: rgba(30, 20, 15, 0.985);
      padding: 5rem 1.5rem;
      align-items: center;
      justify-content: center;
      gap: 1.55rem;
      isolation: isolate;
    }

    .mobile-menu a {
      display: block;
      font-size: clamp(2.25rem, 12vw, 4rem);
      line-height: 0.95;
      text-align: center;
    }

    .mobile-menu-close {
      z-index: 10001;
      top: 1.15rem;
      right: 1.3rem;
    }
  }

  @media (max-width: 390px) {
    #page-home .hero-text { top: 26vw; }
  }



  /* ═══════════════ MOBILE HOME VERTICAL SPACING, pass 3 ═══════════════ */
  @media (max-width: 768px) {
    #page-home .hero {
      height: 122svh;
      min-height: 122svh;
    }

    #page-home .hero-head {
      top: 18vw;
    }

    #page-home .hero-text {
      top: 42vw;
    }
  }

  @media (max-width: 390px) {
    #page-home .hero-head { top: 20vw; }
    #page-home .hero-text { top: 45vw; }
  }



  /* FINAL MOBILE HOME DROP, uses transform so it wins even if top rules are cached/overridden */
  @media (max-width: 768px) {
    #page-home .hero {
      height: 142svh !important;
      min-height: 142svh !important;
    }

    #page-home .hero-head {
      top: 0 !important;
      transform: translateX(-50%) translateY(34vw) !important;
    }

    #page-home .hero-text {
      top: 24vw !important;
      transform: translateY(34vw) !important;
    }
  }

  @media (max-width: 390px) {
    #page-home .hero-head {
      transform: translateX(-50%) translateY(36vw) !important;
    }

    #page-home .hero-text {
      top: 26vw !important;
      transform: translateY(36vw) !important;
    }
  }



  /* ═══════════════ MOBILE TWEAKS, testimonial, gap, scroll, showreels ═══════════════ */
  @media (max-width: 768px) {
    /* Keep the hero composition, but remove the enormous dead space before logos. */
    #page-home .hero {
      height: 118svh !important;
      min-height: 118svh !important;
      overflow: hidden;
    }

    /* Let long testimonials breathe: no cropped quote endings or missing names. */
    #page-home .testimonials-wrap {
      width: 92vw;
      height: 20rem !important;
      margin-top: 24vw !important;
      overflow: hidden;
    }

    #page-home .t-item {
      font-size: clamp(0.98rem, 4.35vw, 1.12rem);
      line-height: 1.52;
      padding: 0 1.05rem;
    }

    #page-home .t-name {
      display: block;
      margin-top: 0.85rem;
      font-size: 0.78rem;
      line-height: 1.35;
    }

    /* Restore the animated scroll hint on mobile and place it just below testimonials. */
    #page-home .scroll-hint {
      display: flex !important;
      bottom: 8.5vh;
      gap: 0.35rem;
      opacity: 0.65;
    }

    #page-home .scroll-hint span {
      font-size: 0.68rem;
    }

    #page-home .scroll-hint .line {
      height: 2.25rem;
    }

    /* Pull the next section up: roughly halves the gap visible before Trusted By. */
    #page-home .logos-section {
      padding-top: 1.25rem !important;
    }

    /* Showreels thumbnails should be video-shaped, not 4:3. */
    #page-showreels .sr-thumb,
    .sr-thumb {
      aspect-ratio: 16 / 9 !important;
      background-size: cover;
      background-position: center center;
    }

    .sr-player {
      aspect-ratio: 16 / 9 !important;
    }

    .form-status {
      min-height: 1.4em;
      text-align: center;
      color: var(--purple);
      font-size: 0.9rem;
      font-weight: 700;
      line-height: 1.4;
    }
  }

  @media (max-width: 390px) {
    #page-home .hero {
      height: 120svh !important;
      min-height: 120svh !important;
    }

    #page-home .testimonials-wrap {
      height: 21rem !important;
      margin-top: 25vw !important;
    }

    #page-home .scroll-hint {
      bottom: 7vh;
    }
  }


  @keyframes purpleBreath {
    0%, 100% { box-shadow: 0 0 8px 1px rgba(124,106,245,0.3); border-color: rgba(124,106,245,0.5); }
    50%       { box-shadow: 0 0 22px 4px rgba(124,106,245,0.7); border-color: rgba(124,106,245,0.95); }
  }
  .credits-btn-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 6rem 0 1.75rem;
  }
  .credits-btn {
    display: inline-block;
    padding: 0.65rem 2rem;
    border: 1px solid rgba(124,106,245,0.5);
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    background: none;
    font-family: inherit;
    animation: purpleBreath 2.8s ease-in-out infinite;
    transition: background 0.2s, color 0.2s;
  }
  .credits-btn:hover {
    background: var(--purple);
    color: #fff;
    animation: none;
    box-shadow: 0 0 28px 6px rgba(124,106,245,0.6);
  }
  #page-credits {
    padding: 5rem 6vw 4rem;
    color: var(--text);
  }
  #page-credits h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 3rem;
  }
  .credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem 3rem;
  }
  .credits-category h2 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .credits-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .credits-category li {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .credits-category li span {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
  }
  @media (max-width: 700px) {
    .credits-grid { grid-template-columns: 1fr; }
  }



  /* Ensure the Work page credit button is visible above the persistent background/nav */
  #page-work .credits-btn-wrap {
    position: relative !important;
    z-index: 20 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 6rem 0 1.75rem !important;
  }

  #page-work .credits-btn {
    position: relative;
    z-index: 21;
  }

  @media (max-width: 768px) {
    #page-work .credits-btn-wrap {
      padding: 5.25rem 0 1.25rem !important;
    }
  }



  /* Tighten Work page credit-button area: lower button slightly, remove ballroom below */
  #page-work .credits-btn-wrap {
    padding: 7rem 0 1rem !important;
  }

  #page-work .work-grid-wrap {
    padding-top: 1rem !important;
  }

  @media (max-width: 768px) {
    #page-work .credits-btn-wrap {
      padding: 5.75rem 0 0.9rem !important;
    }

    #page-work .work-grid-wrap {
      padding-top: 0.75rem !important;
    }
  }



  /* ── TESTIMONIALS PAGE ── */
  body.page-testimonials-active nav {
    background: rgba(30, 22, 18, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .testimonials-page-wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 9rem 5vw 6rem;
  }

  .testimonials-page-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--purple-mid);
    text-align: center;
    margin-bottom: 1rem;
  }

  .testimonials-page-heading {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    font-weight: 800;
    color: var(--purple);
    text-align: center;
    letter-spacing: -0.04em;
    margin-bottom: 4rem;
  }

  .testimonial-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .testimonial-card {
    background: rgba(30,22,18,0.38);
    border: 1px solid rgba(124,106,245,0.13);
    border-radius: 14px;
    padding: 1.65rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
  }

  .testimonial-card.featured {
    grid-column: 1 / -1;
    border-color: rgba(124,106,245,0.35);
    box-shadow: 0 0 32px rgba(124,106,245,0.14);
  }

  .testimonial-card p {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(240,236,232,0.86);
    font-weight: 400;
  }

  .testimonial-card.featured p {
    font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  }

  .testimonial-card cite {
    display: block;
    margin-top: 1.15rem;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--purple-mid);
  }

  @media (max-width: 768px) {
    .testimonials-page-wrap {
      padding: 6.25rem 1.25rem 4rem;
    }

    .testimonials-page-heading {
      font-size: clamp(2.75rem, 15vw, 4.8rem);
      margin-bottom: 2.25rem;
    }

    .testimonial-list {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .testimonial-card,
    .testimonial-card.featured {
      grid-column: auto;
      padding: 1.25rem;
    }

    .testimonial-card p,
    .testimonial-card.featured p {
      font-size: 0.96rem;
      line-height: 1.68;
    }
  }



  /* Polished full credits page */
  body.page-credits-active nav {
    background: rgba(30, 22, 18, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  #page-credits {
    position: relative;
    z-index: 1;
    padding: 0 !important;
    color: var(--white);
  }

  .credits-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 9rem 5vw 3.5rem;
    text-align: center;
  }

  .credits-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin-bottom: 1rem;
  }

  #page-credits .credits-hero h1 {
    font-size: clamp(3.2rem, 8vw, 7.25rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.055em;
    color: var(--purple);
    margin: 0 0 1.35rem;
    filter: drop-shadow(0 0 34px rgba(124,106,245,0.16));
  }

  .credits-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: rgba(240,236,232,0.72);
  }

  .credits-stats {
    margin: 2rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
  }

  .credits-stats span {
    border: 1px solid rgba(124,106,245,0.24);
    background: rgba(30,22,18,0.42);
    color: rgba(240,236,232,0.82);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  #page-credits .credits-grid {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4vw 6rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.05rem;
    align-items: stretch;
  }

  #page-credits .credits-category {
    grid-column: span 4;
    background: linear-gradient(180deg, rgba(40,29,24,0.72), rgba(24,17,14,0.48));
    border: 1px solid rgba(124,106,245,0.13);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 24px 70px rgba(0,0,0,0.12);
  }

  #page-credits .credits-category:first-child {
    grid-column: span 12;
  }

  #page-credits .credits-category:first-child ul {
    columns: 3 260px;
    column-gap: 2rem;
  }

  #page-credits .credits-category h2 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(124,106,245,0.18);
  }

  #page-credits .credits-count {
    flex: 0 0 auto;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    color: rgba(240,236,232,0.46);
    font-weight: 800;
  }

  #page-credits .credits-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #page-credits .credits-category li {
    break-inside: avoid;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(240,236,232,0.86);
    padding: 0.48rem 0;
    border-bottom: 1px solid rgba(240,236,232,0.055);
  }

  #page-credits .credits-category li:last-child {
    border-bottom: none;
  }

  #page-credits .credits-category li span {
    display: block;
    margin-top: 0.08rem;
    color: rgba(240,236,232,0.45);
    font-size: 0.76rem;
    line-height: 1.35;
  }

  @media (max-width: 1100px) {
    #page-credits .credits-category { grid-column: span 6; }
    #page-credits .credits-category:first-child { grid-column: span 12; }
    #page-credits .credits-category:first-child ul { columns: 2 260px; }
  }

  @media (max-width: 768px) {
    .credits-hero {
      padding: 6.5rem 1.25rem 2.25rem;
    }

    #page-credits .credits-hero h1 {
      font-size: clamp(3rem, 16vw, 4.9rem);
    }

    .credits-stats {
      align-items: center;
      flex-direction: column;
      gap: 0.55rem;
    }

    #page-credits .credits-grid {
      display: block;
      padding: 0 1rem 4rem;
    }

    #page-credits .credits-category,
    #page-credits .credits-category:first-child {
      margin-bottom: 1rem;
      padding: 1rem;
    }

    #page-credits .credits-category:first-child ul {
      columns: 1;
    }
  }



  /* Credits page refinements, ordered rows and aligned card heights */
  #page-credits .credits-eyebrow { display: none !important; }

  #page-credits .credits-category:first-child {
    grid-column: span 4;
  }

  #page-credits .credits-category:first-child ul {
    columns: 1;
  }

  #page-credits .credits-category--screen {
    min-height: 29rem;
  }

  #page-credits .credits-category--audio,
  #page-credits .credits-category--short {
    min-height: 20.5rem;
  }

  #page-credits .credits-category--factual {
    grid-column: 1 / -1;
  }

  #page-credits .credits-category--factual ul {
    columns: 3 260px;
    column-gap: 2rem;
  }

  @media (max-width: 1100px) {
    #page-credits .credits-category:first-child,
    #page-credits .credits-category--screen,
    #page-credits .credits-category--audio,
    #page-credits .credits-category--short {
      grid-column: span 6;
      min-height: 0;
    }

    #page-credits .credits-category--factual {
      grid-column: 1 / -1;
    }

    #page-credits .credits-category--factual ul {
      columns: 2 260px;
    }
  }

  @media (max-width: 768px) {
    #page-credits .credits-category--factual ul {
      columns: 1;
    }
  }


/* ── added by multi-page split ── */
/* keep aspect ratio: attribute heights yield to CSS-driven widths */
img { height: auto; }

h1.section-heading { font-weight: 800; font-size: clamp(3.2rem, 6.5vw, 5.5rem); line-height: 1.05; color: var(--white); margin-bottom: 1.6rem; }
.page-heading { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; font-weight: 800; color: var(--purple); text-align: center; letter-spacing: -0.03em; margin: 0 0 2.5rem; }
a.nav-logo { text-decoration: none; display: inline-block; cursor: pointer; }
a.credits-btn { text-decoration: none; display: inline-block; }

/* Work page: heading carries the nav clearance; button sits close beneath it */
#page-work .page-heading { padding-top: 5.5rem; margin-bottom: 0; }
#page-work .credits-btn-wrap { padding: 0.4rem 0 0.9rem !important; }


  /* ── WORK LIGHTBOX ── */
  .work-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 2rem 4.5rem;
  }
  .work-lightbox.open { display: flex; }

  .work-lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 8, 0.92);
    cursor: pointer;
  }

  .work-lightbox-inner {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .work-lightbox-img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 7rem);
    height: auto;
    object-fit: contain;
    background: #1a1210;
    border-radius: 2px;
  }

  .work-lightbox-caption {
    width: 100%;
    text-align: center;
    padding: 1.1rem 0.5rem 0.25rem;
    font-family: 'Manrope', sans-serif;
    color: #fff;
  }
  .work-lightbox-title {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }
  .work-lightbox-company {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.88;
    line-height: 1.35;
  }
  .work-lightbox-credit {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.78;
    line-height: 1.35;
  }

  .work-lightbox-close {
    position: absolute;
    top: -2.4rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 0.25rem;
  }
  .work-lightbox-close:hover { opacity: 1; }

  .work-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.4rem 0.55rem;
    transition: color 0.2s, opacity 0.2s;
    user-select: none;
  }
  .work-lightbox-nav:hover { color: rgba(255,255,255,0.95); }
  .work-lightbox-prev { left: 0.4rem; }
  .work-lightbox-next { right: 0.4rem; }

  @media (max-width: 700px) {
    .work-lightbox { padding: 1.25rem 2.6rem; }
    .work-lightbox-nav { font-size: 2.4rem; }
    .work-lightbox-prev { left: 0.1rem; }
    .work-lightbox-next { right: 0.1rem; }
    .work-lightbox-close { top: -2.1rem; right: 0.1rem; }
    .work-lightbox-caption { padding-top: 0.9rem; }
  }



  /* ── SERVICES NAV DROPDOWN ── */
  .nav-item--services { position: relative; }
  .nav-services-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--purple-mid);
    font-family: inherit;
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .nav-services-trigger:hover,
  .nav-services-trigger.active { color: var(--purple); }
  .nav-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 15rem;
    list-style: none;
    margin: 0;
    padding: 0.55rem 0 0.45rem; /* invisible hover bridge under trigger */
    background: transparent;
    border: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s, visibility 0.12s;
    z-index: 200;
  }
  .nav-dropdown::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 22, 18, 0.98);
    border: 1px solid rgba(124, 106, 245, 0.25);
    border-radius: 8px;
    z-index: -1;
  }
  .nav-item--services.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown li { position: relative; z-index: 1; width: 100%; }
  .nav-dropdown li a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(240, 236, 232, 0.88);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }
  .nav-dropdown li a:hover,
  .nav-dropdown li a.active {
    background: rgba(124, 106, 245, 0.12);
    color: var(--purple);
  }

  .mobile-services { width: 100%; text-align: center; }
  .mobile-services-trigger {
    background: none;
    border: none;
    color: var(--purple-mid);
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 0.2rem 0;
  }
  .mobile-services-panel {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0 0.25rem;
  }
  .mobile-services.open .mobile-services-panel { display: flex; }
  .mobile-services-panel .mobile-nav-link {
    font-size: 1.05rem;
    opacity: 0.85;
  }

  body.page-services-active nav {
    background: rgba(30, 22, 18, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* ── SERVICES PAGES ── */
  #page-services,
  #page-services-hub {
    position: relative;
    overflow: visible;
  }
  .services-page-bg {
    position: absolute;
    top: 6vh;
    left: 50%;
    transform: translateX(-50%) scale(1.04);
    width: min(96vw, 1400px);
    max-width: 1400px;
    min-width: 500px;
    z-index: 0;
    pointer-events: none;
    filter: blur(6px);
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, rgba(0,0,0,0.55) 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 68%, rgba(0,0,0,0.55) 88%, transparent 100%);
  }
  .service-hero {
    position: relative;
    z-index: 1;
    min-height: auto;
    height: auto;
    overflow: visible;
    justify-content: flex-start;
    padding-bottom: 2rem;
  }
  .service-hero--hub {
    min-height: 62vh;
    justify-content: center;
    padding-top: 5.5rem; /* clear fixed nav, then centre the text block */
    padding-bottom: 1.5rem;
  }
  .service-hero--hub .service-hero-text {
    padding-top: 0;
    padding-bottom: 0;
  }
  /* What we do sits over the lower part of the blurred image */
  #page-services-hub .services-hub-grid {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 2.5rem;
    background: transparent;
  }
  #page-services .service-section:first-of-type {
    position: relative;
    z-index: 1;
    margin-top: -3rem;
    padding-top: 4rem;
    background: transparent;
  }
  .service-hero-text {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 11vh 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .service-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--purple);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
  }
  .service-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    color: rgba(240, 236, 232, 0.92);
    line-height: 1.45;
    margin: 0;
  }
  .service-hero-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(240, 236, 232, 0.82);
    margin: 0;
    max-width: 680px;
  }
  .service-btn {
    display: inline-block;
    margin-top: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.75rem 2.2rem;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
  }
  .service-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
  }
  .service-section {
    position: relative;
    z-index: 1;
    padding: 3.5rem 2rem;
  }
  .service-section--alt { background: rgba(0,0,0,0.12); }
  .service-section-inner {
    max-width: 820px;
    margin: 0 auto;
  }
  .service-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--purple);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
  }
  .service-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(240,236,232,0.88);
    margin: 0 0 1rem;
  }
  .service-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
  }
  .service-checklist li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(240,236,232,0.9);
  }
  .service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 700;
  }
  .service-process {
    display: grid;
    gap: 1.5rem;
  }
  .service-process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.4rem;
  }
  .service-process-step p { margin: 0; }
  .service-faq { display: grid; gap: 1.25rem; }
  .service-faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.35rem;
  }
  .service-faq-item p { margin: 0; }
  .service-cta {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 5rem;
    text-align: center;
  }
  .service-cta .service-section-inner { max-width: 640px; }
  .service-coming-soon {
    font-style: italic;
    opacity: 0.75;
  }
  .service-tagline {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--purple);
    letter-spacing: 0.02em;
  }
  .slate-brand {
    font-style: italic;
  }
  .services-hub-grid {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .service-related { padding-bottom: 5rem; }
  .service-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-left: 1px solid rgba(255,255,255,0.08);
  }
  .service-related-card {
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  a.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  a.card-link:hover { background: rgba(124,106,245,0.1); }

  @media (min-width: 769px) {
    .service-process { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  }
  @media (max-width: 768px) {
    .service-hero-text { padding-top: 8rem; }
    .service-related-grid { grid-template-columns: 1fr; }
    .nav-dropdown { left: auto; right: 0; transform: none; }
    .nav-item--services.open .nav-dropdown { transform: none; }
  }
