/* ============================================================
   Podcast Producties — shared stylesheet
   One file, linked from every page. Edit tokens below, not
   the rules underneath them.
   ============================================================ */

/* ── Self-hosted fonts ───────────────────────────────────────
   Helvetica World needs a webfont licence before it can be
   served from the domain. Drop the .woff2 files into /fonts/
   with these names, then delete the surrounding comment markers.
   Until then the stack falls back to system Helvetica/Arial,
   which is metrically close.

@font-face {
  font-family: "Helvetica World";
  src: url("/fonts/helvetica-world-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica World";
  src: url("/fonts/helvetica-world-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
──────────────────────────────────────────────────────────── */

:root {
  /* Brand — sampled from the mockup */
  --colour-navy:       #222560;
  --colour-pink:       #e4236d;
  --colour-cyan:       #5fc9d4;
  --colour-white:      #ffffff;

  /* Surfaces */
  --colour-ink:        #0d0c18;  /* header */
  --colour-hero-navy:  #1d1d36;  /* hero fallback behind the photo */
  --colour-strip:      #000000;  /* client logo band */
  --colour-panel:      #0e0c0c;  /* services section */
  --colour-stage:      #0a0910;  /* behind the gradient glow */
  --colour-footer:     #040306;

  /* CTA gradient — sampled from the two mockup states */
  --glow-rest-core:    #d82c6a;  /* magenta, resting */
  --glow-rest-mid:     #6e1d3d;
  --glow-hover-core:   #9232fb;  /* violet, active */
  --glow-hover-mid:    #6a32de;
  --glow-hover-edge:   #271b6a;

  /* Text */
  --colour-text:       #ffffff;
  --colour-muted:      rgba(255, 255, 255, 0.78);
  --colour-line:       rgba(255, 255, 255, 0.55);

  /* Type */
  --font-body: "Helvetica World", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-h1:      clamp(2.4rem, 5.6vw, 4.9rem);
  --fs-hero-sub: clamp(1.05rem, 2.2vw, 1.9rem);
  --fs-h2:      clamp(1.3rem, 2.5vw, 2.1rem);
  --fs-mega:    clamp(1rem, 4.4vw, 3.75rem);
  --fs-mega-sub: clamp(1.05rem, 2.5vw, 2.15rem);
  --fs-address: clamp(1.15rem, 2.2vw, 1.85rem);
  --fs-body:    clamp(0.95rem, 1.2vw, 1.15rem);
  --fs-nav:     clamp(0.9rem, 1.05vw, 1.0rem);

  /* Layout */
  --max-w:      1280px;
  --gutter:     clamp(1.25rem, 4.5vw, 4rem);
  --header-h:   clamp(4.5rem, 8vw, 6.75rem);

  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  /* The page canvas is black. Without this, the body colour propagates
     to the canvas and any area outside the body box — such as scroll
     overflow below the footer — shows up as a lighter band. */
  background: #000;
}

body {
  margin: 0;
  /* One continuous surface for the whole page. Sections below the hero
     are transparent and sit on top of this, so there is nothing for a
     seam to appear between. */
  background: var(--colour-panel);
  color: var(--colour-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--colour-white);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Visible to screen readers only. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  border: 1px solid var(--colour-line);
  font-size: var(--fs-nav);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}

.btn__arrow { transition: transform 0.25s var(--ease); }

.btn--outline {
  background: rgba(0, 0, 0, 0.35);
  color: var(--colour-white);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--colour-white);
}

.btn--solid {
  background: var(--colour-white);
  border-color: var(--colour-white);
  color: #111;
}
.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--colour-cyan);
  border-color: var(--colour-cyan);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────────── */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;              /* above every page section */
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  /* Equal outer columns, so the nav is centred on the page rather than
     in whatever space the logo happens to leave over. */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand { grid-column: 1; justify-self: start; display: inline-flex; }
.brand__img {
  height: clamp(1.6rem, 2.6vw, 2.3rem);
  width: auto;
}

.nav { grid-column: 2; justify-self: center; }

.header-cta { grid-column: 3; justify-self: end; }

/* Contact is the button up here, so the list item would only repeat it.
   It comes back below 720px, where the button is gone. */
.nav__contact { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  font-size: var(--fs-nav);
  font-weight: 700;
}

.nav__list a {
  text-decoration: none;
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 2px;
  background: var(--colour-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__list a:hover::after,
.nav__list a:focus-visible::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  /* The photo ends exactly at the fold: no scrolling needed to see all
     of it. svh accounts for the mobile browser chrome; vh is the
     fallback for anything that does not support it. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: var(--colour-hero-navy);
  overflow: clip;             /* clip, not hidden — see note in README */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/home-hero-bg.png");
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Softens the bottom edge of the photo into the black logo strip. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(5rem, 14vw, 11rem);
  z-index: 0;
  pointer-events: none;
  /* Ends on the page background colour, not on black: fading to black
     here left a 14-value step against the section below. */
  background: linear-gradient(to bottom,
    rgba(14, 12, 12, 0) 0%,
    rgba(14, 12, 12, 0.30) 40%,
    rgba(14, 12, 12, 0.68) 68%,
    rgba(14, 12, 12, 0.92) 88%,
    rgba(14, 12, 12, 1) 100%);
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__sub {
  margin-top: 0.85rem;
  font-size: var(--fs-hero-sub);
  font-weight: 400;
  color: var(--colour-text);
}

.hero__actions {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__mail {
  position: absolute;
  z-index: 1;
  /* Same max-width and gutter as the header, so its right edge lines up
     with the last nav item instead of with the viewport edge. */
  left: 0;
  right: 0;
  bottom: clamp(1.25rem, 3vw, 2.6rem);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  color: var(--colour-muted);
}
.hero__mail a { text-decoration: none; }
.hero__mail a:hover { text-decoration: underline; }

.tick { color: var(--colour-cyan); }

/* ── Client logo marquee ───────────────────────────────────── */

.clients {
  /* A darkening that fades in and out rather than a black block with
     two edges. */
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 14%,
    rgba(0, 0, 0, 0.92) 34%,
    rgba(0, 0, 0, 0.92) 66%,
    rgba(0, 0, 0, 0.5) 86%,
    rgba(0, 0, 0, 0) 100%);
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
}

.marquee {
  display: flex;
  overflow: hidden;
  gap: clamp(2rem, 5vw, 4.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  flex: 0 0 auto;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(2rem, 5vw, 4.5rem);
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__track img {
  height: clamp(2.4rem, 4.4vw, 4rem);
  width: auto;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}
.marquee__track img:hover { opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - clamp(2rem, 5vw, 4.5rem))); }
}

/* ── Services ──────────────────────────────────────────────── */

.services {
  position: relative;
  isolation: isolate;
  background: transparent;
  padding-top: clamp(3rem, 6.5vw, 6rem);
}

/* Two glow layers. They are separate elements on purpose: putting the
   violet inside the magenta one would multiply it by that layer's
   opacity and wash it out. */
.services__glow,
.services::after {
  position: absolute;
  /* Deliberately larger than the section: the glow spills past its own
     edges and dies out on its own, instead of being cut off at a
     boundary. Nothing is clipped, so nothing can show a line. */
  top: -7%;
  /* Far enough to carry into the footer, not so far that it adds dead
     scroll height underneath it. */
  bottom: -44%;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}

/* resting — tight magenta bloom centred on the pill */
.services__glow {
  background:
    radial-gradient(ellipse
        clamp(300px, 58vw, 1080px) clamp(260px, 30vw, 560px)
        at 50% 36%,
      var(--glow-rest-core) 0%,
      rgba(214, 43, 106, 0.80) 12%,
      rgba(190, 39, 96, 0.60) 23%,
      rgba(156, 33, 81, 0.44) 34%,
      rgba(118, 27, 66, 0.32) 45%,
      rgba(86, 22, 53, 0.22) 56%,
      rgba(58, 18, 42, 0.14) 67%,
      rgba(36, 15, 33, 0.08) 78%,
      rgba(20, 13, 24, 0.03) 89%,
      rgba(14, 12, 12, 0) 100%);
  opacity: 1;
}

/* active — wide violet wash filling the section edge to edge */
.services::after {
  content: "";
  background:
    radial-gradient(ellipse
        clamp(560px, 105vw, 2000px) clamp(400px, 46vw, 900px)
        at 50% 40%,
      var(--glow-hover-core) 0%,
      rgba(144, 48, 248, 0.98) 12%,
      rgba(134, 48, 240, 0.92) 22%,
      rgba(106, 50, 222, 0.82) 34%,
      rgba(90, 42, 198, 0.68) 46%,
      rgba(66, 34, 164, 0.50) 58%,
      rgba(49, 28, 130, 0.34) 70%,
      rgba(34, 22, 96, 0.20) 81%,
      rgba(22, 16, 60, 0.09) 91%,
      rgba(14, 12, 12, 0) 100%);
  opacity: 0;
}

.services.is-active .services__glow { opacity: 0; }
.services.is-active::after { opacity: 1; }

/* no-JS fallback */
.services:has(.mega:hover) .services__glow,
.services:has(.mega:focus-visible) .services__glow { opacity: 0; }
.services:has(.mega:hover)::after,
.services:has(.mega:focus-visible)::after { opacity: 1; }

.services__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.stage {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(4.5rem, 12vw, 10rem);
}

/* ── The mega CTA ──────────────────────────────────────────── */

.mega {
  --mega-pad: clamp(0.4rem, 0.95vw, 0.82rem);
  --mega-icon: clamp(3.25rem, 10.5vw, 9rem);

  position: relative;
  width: min(100%, 940px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--mega-icon) + (var(--mega-pad) * 2));
  padding-block: var(--mega-pad);
  padding-left: calc(var(--mega-icon) + var(--mega-pad) + 0.85rem);
  padding-right: 1.5rem;
  border: 3px solid var(--colour-white);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--colour-white);
  text-decoration: none;
  transition: background-color 0.45s var(--ease),
              color 0.45s var(--ease),
              padding 0.7s var(--ease);
}

.mega__icon {
  position: absolute;
  top: 50%;
  left: var(--mega-pad);
  width: var(--mega-icon);
  height: var(--mega-icon);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--colour-cyan);
  color: #0b0b12;
  transform: translateY(-50%) rotate(0deg);
  transition: left 0.7s var(--ease), transform 0.7s var(--ease);
}

.mega__icon svg { width: 44%; height: 44%; }

.mega__label {
  font-size: var(--fs-mega);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;   /* never breaks onto a second line */
}

.mega__sub {
  margin-top: clamp(1.1rem, 3vw, 2.6rem);
  text-align: center;
  font-size: var(--fs-mega-sub);
  line-height: 1.25;
  text-wrap: balance;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

/* Active: pill fills white, circle rolls to the far end, subline appears. */
.mega:hover,
.mega:focus-visible {
  background: var(--colour-white);
  color: #232222;
  padding-left: 1.5rem;
  padding-right: calc(var(--mega-icon) + var(--mega-pad) + 0.85rem);
}

.mega:hover .mega__icon,
.mega:focus-visible .mega__icon {
  left: calc(100% - var(--mega-icon) - var(--mega-pad));
  transform: translateY(-50%) rotate(360deg);
}

.services.is-active .mega__sub,
.services:has(.mega:hover) .mega__sub,
.services:has(.mega:focus-visible) .mega__sub { opacity: 1; }

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  /* Transparent, so the glow above carries on through it. The only
     thing here is a slow settling into darkness towards the very
     bottom of the page. */
  position: relative;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 38%,
    rgba(0, 0, 0, 0.82) 68%,
    rgba(0, 0, 0, 1) 88%,
    rgba(0, 0, 0, 1) 100%);
  padding-block: clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.site-footer__address {
  font-size: var(--fs-address);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.site-footer__text {
  margin-top: clamp(1rem, 2vw, 1.6rem);
  margin-inline: auto;
  max-width: 68ch;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  color: var(--colour-muted);
}

.site-footer__mail {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--colour-muted);
  font-size: clamp(0.85rem, 1vw, 1rem);
}
.site-footer__mail a { text-decoration: none; }
.site-footer__mail a:hover { text-decoration: underline; }

/* ── Contact page ──────────────────────────────────────────── */

body.page-contact { background: #000; }

.contact {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--header-h) + 2rem) clamp(3rem, 8vw, 7rem);
  text-align: center;
}

.contact__title {
  font-size: clamp(2.75rem, 6.6vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.contact__address {
  margin-top: clamp(1.75rem, 4.5vw, 3.5rem);
  font-size: var(--fs-address);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.contact__text {
  margin-top: clamp(0.75rem, 1.6vw, 1.35rem);
  margin-inline: auto;
  max-width: 76ch;
  font-size: clamp(1rem, 1.45vw, 1.5rem);
  line-height: 1.35;
  color: var(--colour-text);
  text-wrap: balance;
}
.contact__text a { text-decoration: none; }
.contact__text a:hover { text-decoration: underline; }

.contact__cta { margin-top: clamp(1.75rem, 4vw, 3rem); }

/* The wide, softly rounded white button from the mockup. */
.btn--pill {
  gap: 1.1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 14px;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  font-weight: 700;
}

/* ============================================================
   Mobile — nav collapses to a full-screen opaque overlay
   ============================================================ */

@media (max-width: 720px) {

  .site-header__inner { grid-template-columns: auto 1fr; }

  /* Hamburger only: the Contact button is dropped and Contact appears
     in the list, styled exactly like the other items. */
  .header-cta { display: none; }
  .nav__contact { display: block; }

  .nav-toggle {
    grid-column: 2;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
    background: none;
    border: 0;
    color: var(--colour-white);
    cursor: pointer;
    z-index: 2;
  }

  .nav-toggle__box {
    position: relative;
    width: 26px;
    height: 18px;
    display: block;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--colour-white);
    transition: transform 0.3s var(--ease), opacity 0.2s linear;
  }
  .nav-toggle__bars { top: 8px; }
  .nav-toggle__bars::before { content: ""; top: -8px; }
  .nav-toggle__bars::after  { content: ""; top:  8px; }

  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    justify-self: stretch;
    z-index: 1;
    background: var(--colour-ink);   /* fully opaque, not a scrim */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: var(--header-h) var(--gutter) 3rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), visibility 0.28s;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: clamp(1.4rem, 6.5vw, 2rem);
  }
  .nav__list a { padding: 0.7rem 1rem; min-height: 44px; }
  .nav__list a::after { display: none; }

  /* open state */
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle__bars { background: transparent; }
  body.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle__bars::after  { transform: translateY(-8px) rotate(-45deg); }

  /* hero stacks so the e-mail line sits under the buttons, not beside them */
  .hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero__inner { text-align: center; }
  .hero__actions { justify-content: center; }

  .hero__mail {
    position: static;
    margin-top: 1.4rem;
    padding-inline: var(--gutter);
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: clamp(2rem, 8vw, 3.5rem);
    background-position: center top;
  }
  .hero__actions .btn { flex: 1 1 auto; }

  /* No hover on a phone, so the subline is simply always visible. */
  .mega__sub { opacity: 1; }

  /* Two static rows of four instead of a marquee — nothing to scroll
     sideways on a phone. */
  .marquee {
    display: block;
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .marquee__track {
    animation: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem 0.6rem;
    justify-items: center;
    align-items: center;
    min-width: 0;
  }
  .marquee__track + .marquee__track { display: none; }  /* the duplicate */
  .marquee__track img { height: clamp(1.6rem, 6vw, 2.4rem); }

  /* Smaller circle so the label still fits on one line. */
  .mega { --mega-icon: clamp(2.6rem, 12vw, 3.4rem); }
  .mega__label { font-size: clamp(0.95rem, 4.6vw, 1.5rem); }
}

/* ── Reduced motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ── Coarse pointer: no hover, so give the CTA a resting look ─ */

@media (hover: none) {
  /* Phones have no hover, so the subline is always shown and the
     active treatment fires on tap instead. */
  .mega__sub { opacity: 1; }

  .mega:active {
    background: var(--colour-white);
    color: #232222;
    padding-left: 1.5rem;
    padding-right: calc(var(--mega-icon) + var(--mega-pad) + 0.85rem);
  }
  .mega:active .mega__icon {
    left: calc(100% - var(--mega-icon) - var(--mega-pad));
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ============================================================
   Second design (index2) — everything below is scoped to
   .page-v2 or to its own block, so the first design is
   untouched.
   ============================================================ */

body.page-v2 {
  /* One surface for the whole page. Every section below the hero is
     transparent and sits on this, so there is no boundary to seam. */
  background: #000;
}

.page-v2 {
  --v2-violet:      #9871cf;   /* top of the hero */
  --v2-indigo:      #433b7f;
  --v2-navy:        #191c36;
  --v2-edge:        #6b4fd0;   /* card outlines */

  --slide-w:   clamp(17rem, 61vw, 52rem);
  --slide-gap: clamp(0.75rem, 2.2vw, 2.2rem);
}

/* ── Hero ──────────────────────────────────────────────────── */

.v2hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;      /* headline sits close to the logo strip */
  /* Short enough that the logo strip and the top of the slider are
     both above the fold. */
  min-height: clamp(20rem, 58svh, 34rem);
  padding-top: var(--header-h);
  padding-bottom: clamp(1.75rem, 4vw, 3.5rem);
  background: linear-gradient(to bottom,
    var(--v2-violet) 0%,
    #7a5cbb 8%,
    #5c4a9e 18%,
    var(--v2-indigo) 28%,
    #2b2c63 40%,
    var(--v2-navy) 55%,
    #12141f 72%,
    #08080c 88%,
    #000000 100%);
}

/* A slow bloom across the top so the flat gradient has some life. */
.v2hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse clamp(400px, 70vw, 1200px) clamp(180px, 26vw, 420px)
      at 22% 0%, rgba(198, 150, 255, 0.55) 0%, rgba(150, 110, 230, 0.20) 45%, transparent 78%),
    radial-gradient(ellipse clamp(360px, 60vw, 1000px) clamp(160px, 22vw, 360px)
      at 84% 4%, rgba(120, 90, 220, 0.42) 0%, rgba(90, 70, 190, 0.16) 48%, transparent 80%);
}

.v2hero__title {
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.v2hero__title span { display: block; }

/* Static on this page — larger logos, and no marquee. */
.page-v2 .clients {
  background: none;
  padding-block: clamp(0.75rem, 1.8vw, 1.6rem) clamp(1.25rem, 2.6vw, 2.2rem);
}
.page-v2 .marquee {
  display: block;
  overflow: visible;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  -webkit-mask-image: none;
          mask-image: none;
}
.page-v2 .marquee__track {
  animation: none;
  min-width: 0;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.6vw, 1.6rem);
}
.page-v2 .marquee__track + .marquee__track { display: none; }
.page-v2 .marquee__track img {
  height: clamp(2.6rem, 5.2vw, 4.75rem);
  opacity: 0.9;
}

/* ── Slider ────────────────────────────────────────────────── */

.slider {
  position: relative;
  isolation: isolate;
  padding-block: 0 clamp(2rem, 4vw, 3.5rem);
}

.slider__glow {
  position: absolute;
  inset: -20% 0 -30% 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse clamp(400px, 78vw, 1400px) clamp(220px, 30vw, 560px)
    at 50% 46%,
    rgba(96, 66, 200, 0.42) 0%,
    rgba(72, 50, 168, 0.26) 30%,
    rgba(46, 32, 112, 0.14) 55%,
    rgba(16, 10, 40, 0.05) 78%,
    transparent 100%);
}

.slider__viewport {
  overflow-x: clip;
  /* Slides fade away towards both edges instead of being cut off. */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, rgba(0,0,0,0.35) 6%, #000 22%, #000 78%, rgba(0,0,0,0.35) 94%, transparent 100%);
          mask-image: linear-gradient(90deg,
    transparent 0%, rgba(0,0,0,0.35) 6%, #000 22%, #000 78%, rgba(0,0,0,0.35) 94%, transparent 100%);
}

.slider__rail {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--slide-gap);
  /* --slider-start centres the middle slide; --slider-cycle is the width
     of one full set, so after that distance the row looks identical and
     the loop is invisible. Both are measured in JS. */
  transform: translateX(var(--slider-start, 0px));
  animation: slider-drift 55s linear infinite;
  will-change: transform;
}

@keyframes slider-drift {
  from { transform: translateX(var(--slider-start, 0px)); }
  to   { transform: translateX(calc(var(--slider-start, 0px) - var(--slider-cycle, 0px))); }
}

.slider:hover .slider__rail,
.slider:focus-within .slider__rail { animation-play-state: paused; }

.slider__slide {
  flex: 0 0 var(--slide-w);
  aspect-ratio: 837 / 547;
  border: 1px solid var(--v2-edge);
  border-radius: 16px;
  overflow: hidden;
}

.slider__slide img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .slider__rail { animation: none; }
}

/* ── Pitch + clips ─────────────────────────────────────────── */

.pitch {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.pitch__glow {
  position: absolute;
  inset: 0 0 -14% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse clamp(340px, 52vw, 900px) clamp(200px, 26vw, 460px)
      at 50% 8%,
      rgba(78, 54, 170, 0.30) 0%,
      rgba(52, 36, 122, 0.16) 40%,
      rgba(20, 14, 50, 0.05) 72%,
      transparent 100%),
    radial-gradient(ellipse clamp(300px, 46vw, 800px) clamp(180px, 22vw, 380px)
      at 50% 92%,
      rgba(60, 44, 150, 0.22) 0%,
      rgba(34, 24, 90, 0.10) 45%,
      transparent 80%);
}

.pitch__eyebrow {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.pitch__title {
  margin: clamp(1.5rem, 3.5vw, 3rem) auto 0;
  max-width: 15em;
  font-size: clamp(1.75rem, 4.2vw, 3.55rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.clips {
  margin-top: clamp(2.25rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1.35rem);
}

.clips__item {
  aspect-ratio: 285 / 562;
  border: 1px solid var(--v2-edge);
  border-radius: 16px;
  overflow: hidden;
}
.clips__item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Package ───────────────────────────────────────────────── */

.package {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.package__glow {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse clamp(320px, 56vw, 1000px) clamp(220px, 30vw, 520px)
    at 50% 50%,
    rgba(46, 96, 128, 0.20) 0%,
    rgba(32, 62, 96, 0.11) 38%,
    rgba(14, 20, 44, 0.04) 70%,
    transparent 100%);
}

.package__card {
  max-width: 840px;
  margin-inline: auto;
}

.package__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(1.1rem, 2.4vw, 1.9rem);
  border-bottom: 3px solid var(--colour-white);
}

.package__name,
.package__price {
  font-size: clamp(1.05rem, 1.75vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.package__list li {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  padding-block: clamp(1.5rem, 3.2vw, 2.6rem);
  border-bottom: 3px solid var(--colour-white);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
}

.package__icon {
  flex: 0 0 auto;
  width: clamp(1.9rem, 3vw, 2.6rem);
  height: clamp(1.9rem, 3vw, 2.6rem);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--colour-cyan);
  color: #0b0b12;
}
.package__icon svg { width: 55%; height: 55%; }

/* The CTA block on this page sits straight on black. */
.services--v2 { padding-top: 0; }

/* ── Mobile ────────────────────────────────────────────────── */

@media (max-width: 720px) {
  /* The hero was 58svh with the text pinned to the bottom, which left
     more than half the screen as empty gradient. Short, and centred. */
  .v2hero {
    min-height: clamp(14rem, 40svh, 22rem);
    align-items: center;
    padding-top: var(--header-h);
    padding-bottom: clamp(1rem, 4vw, 2rem);
    text-align: center;
  }
  .v2hero__title {
    font-size: clamp(1.6rem, 7.4vw, 2.6rem);
    line-height: 1.22;
  }

  /* Client logos: two rows of four, bigger than the shared mobile rule
     and tighter together. */
  .page-v2 .clients { padding-block: clamp(0.5rem, 2vw, 1rem) clamp(0.9rem, 3vw, 1.4rem); }
  .page-v2 .marquee__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.7rem, 3vw, 1.2rem) clamp(0.4rem, 2vw, 0.9rem);
    justify-items: center;
    align-items: center;
  }
  .page-v2 .marquee__track img { height: clamp(1.9rem, 7.2vw, 2.9rem); }

  .page-v2 { --slide-w: 78vw; }
  .slider { padding-bottom: clamp(1.5rem, 5vw, 2.5rem); }
  .slider__slide { border-radius: 12px; }

  .pitch { padding-block: clamp(2.25rem, 8vw, 3.5rem) clamp(1.5rem, 5vw, 2.5rem); }
  .pitch__eyebrow { font-size: clamp(0.85rem, 3.6vw, 1.05rem); }
  .pitch__title {
    max-width: 100%;
    font-size: clamp(1.45rem, 6.4vw, 2.2rem);
    line-height: 1.3;
  }

  /* Four in a row, as on desktop — just smaller. */
  .clips {
    margin-top: clamp(1.5rem, 6vw, 2.5rem);
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.3rem, 1.6vw, 0.6rem);
  }
  .clips__item { border-radius: 10px; }

  .package { padding-block: clamp(2.25rem, 8vw, 3.5rem); }
  .package__head { padding-bottom: 0.8rem; }
  .package__head,
  .package__list li { border-bottom-width: 2px; }
  .package__name,
  .package__price { font-size: clamp(0.95rem, 4vw, 1.2rem); }
  .package__list li {
    padding-block: 1rem;
    gap: 0.7rem;
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
  }
  .package__icon { width: 1.75rem; height: 1.75rem; }
}

/* ============================================================
   Intro overlay (index2)
   Hidden unless JS sets .has-intro on <html>, so a visitor
   without JS simply gets the page.
   ============================================================ */

.intro { display: none; }

.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  transition: opacity 0.9s var(--ease);
  --intro-fade: 2s;          /* length of the closing fade to black */
}

/* Every layer stacks in the same grid cell. */
.intro > * { grid-area: 1 / 1; }

/* 1. The end screen gradient: near-black with a cool bloom behind the
      logo and a soft teal wash at both edges. */
.intro__canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
  background:
    radial-gradient(ellipse 44% 58% at 50% 50%,
      rgba(26, 32, 82, 0.85) 0%,
      rgba(18, 22, 60, 0.55) 34%,
      rgba(10, 12, 34, 0.24) 62%,
      transparent 84%),
    radial-gradient(ellipse 26% 88% at 1% 50%,
      rgba(18, 40, 52, 0.80) 0%,
      rgba(12, 26, 36, 0.36) 46%,
      transparent 78%),
    radial-gradient(ellipse 26% 88% at 99% 50%,
      rgba(20, 44, 56, 0.85) 0%,
      rgba(13, 28, 38, 0.40) 46%,
      transparent 78%),
    radial-gradient(ellipse 70% 40% at 50% 108%,
      rgba(14, 18, 48, 0.55) 0%, transparent 72%),
    #04040a;
}
.intro.is-open .intro__canvas { opacity: 1; }

/* 2. The logo rises in over it. */
.intro__logo {
  width: min(35%, 30rem);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.intro.is-logo .intro__logo { opacity: 1; transform: none; }

/* 3. The video takes over, covering both. */
.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.intro.is-video .intro__video { opacity: 1; }
.intro.is-video .intro__logo  { opacity: 0; transition-duration: 0.6s; }
.intro.is-video .intro__canvas { opacity: 0; transition-duration: 0.6s; }

/* 4. And dissolves to black over the closing seconds. */
.intro.is-fade .intro__video {
  opacity: 0;
  transition: opacity var(--intro-fade) linear;
}

.intro__skip {
  place-self: end end;
  margin: clamp(1rem, 3vw, 2rem);
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease), background-color 0.25s var(--ease);
}
.intro__skip:hover,
.intro__skip:focus-visible { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.intro.is-fade .intro__skip { opacity: 0; pointer-events: none; }

.intro.is-done { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .intro__logo { width: min(72%, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro { display: none; }
}

/* ============================================================
   Full-photo pages — studio, bedankt, contact
   ============================================================ */

body.page-shot { background: #000; }

.shot {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) 0 clamp(4.5rem, 10vw, 7rem);
  text-align: center;
}

.shot__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.shot__inner { position: relative; }

.shot__title {
  font-size: clamp(2.3rem, 6.1vw, 4.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.shot__address {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.shot__sub {
  margin-top: clamp(0.6rem, 1.6vw, 1.2rem);
  margin-inline: auto;
  max-width: 46ch;
  font-size: clamp(1rem, 1.85vw, 1.55rem);
  line-height: 1.32;
  text-wrap: balance;
}
.shot__sub--wide { max-width: 62ch; }
.shot__sub a { text-decoration: none; }
.shot__sub a:hover { text-decoration: underline; }

.shot__actions { margin-top: clamp(1.5rem, 3.5vw, 2.6rem); }

/* The tech spec line pinned to the bottom of the studio page. */
.shot__specs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 3vw, 2.4rem);
  margin-inline: auto;
  width: 100%;
  max-width: var(--max-w);
  padding-inline: var(--gutter);
  text-align: left;
  font-size: clamp(0.8rem, 1.35vw, 1.1rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.btn--sm {
  padding: 0.7rem 1.15rem;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}

@media (max-width: 720px) {
  .shot {
    padding: calc(var(--header-h) + 1rem) 0 clamp(6rem, 22vw, 9rem);
  }
  .shot__title { font-size: clamp(1.9rem, 8.6vw, 3rem); }
  .shot__sub, .shot__address { max-width: 100%; }
  .shot__specs {
    text-align: center;
    font-size: clamp(0.72rem, 3vw, 0.85rem);
  }
}
