/* Necto Mono — Collletttivo, SIL OFL 1.1 (bundled: fonts/NectoMono-OFL.txt) */
@font-face {
  font-family: "Necto Mono";
  src: url("fonts/NectoMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0c0d;
  --text: #f2f0ec;
  --muted: #7d7d7a;
  --line: #232325;
  --gx: 30%;   /* gloss highlight position, updated by JS on mouse move */
  --gy: 12%;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
  /* Body/reading text — Space Grotesk: geometric grotesk, creative-studio feel */
  --body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gold: #E5C07A;
}

/* MIRAMAX-style headings: gold with a hard black 3D block shadow */
.tagline,
.text-section h2,
.showreel-caption,
.ht-name {
  color: #F5F5DC;
}

.work-meta .title {
  color: #F5F5DC;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* clip the scroll-driven heading drift */
}

/* Full-page fixed background. Tinted live from the hero film by JS
   (--hero-bg); the transition fades the color across on scene cuts. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: var(--hero-bg, #677E61);
  transition: background-color 0.8s ease-out;
  z-index: -3;
}

/* Glossy sheen + dark scrim over the image */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* mouse-following reflective highlight */
    radial-gradient(45% 55% at var(--gx) var(--gy),
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0) 60%),
    /* strong diagonal gloss streak */
    linear-gradient(118deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.10) 22%,
      rgba(255, 255, 255, 0) 42%),
    /* soft top glow */
    radial-gradient(130% 90% at 50% -12%,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0) 55%),
    /* edge vignette for depth */
    radial-gradient(120% 120% at 50% 50%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.18) 100%),
    /* base tint */
    rgba(8, 8, 10, 0.06);
  transition: background 0.15s ease-out;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Cinematic intro loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;                /* above everything, incl. header (100) + cursor (9999) */
  background: #0c0c0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5vh;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

/* the color-wipe: overlay slides up to reveal the page */
.loader.done {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-logo {
  height: clamp(60px, 9vw, 92px);
  width: auto;
  opacity: 0;
  transform: scale(0.92);
  animation: loaderLogoIn 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.1s;
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.55));
}

@keyframes loaderLogoIn {
  to { opacity: 1; transform: scale(1); }
}

.loader-count {
  font-family: var(--display);
  font-size: clamp(48px, 12vw, 150px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #F5F5DC;
}

.loader-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(245, 245, 220, 0.14);
  overflow: hidden;
}

.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo { animation-duration: 0.3s; }
  .loader { transition-duration: 0.4s; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  color: #fff;
  z-index: 100;
}

.brand {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 18px;
  display: block;
  line-height: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  transform-origin: left center;
  transition: transform 0.2s ease-out;
}

/* Centered page title sitting in the header band */
.page-heading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;                 /* matches the fixed header's height */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  margin: 0;
  pointer-events: none;         /* never intercept clicks on the logo/nav */
  /* Heavy condensed display sans (Anton) — CLARO-style chunky heading */
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 60px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #F5F5DC;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

/* Mascot that slides in on scroll and shoves the title off to the right */
.mascot {
  position: fixed;
  top: 0;
  left: 0;
  /* Scales with the heading (clamp(22px, 3.4vw, 48px)) — roughly 1.7x its height
     so the character reads as tall as the word it is shoving. */
  height: clamp(38px, 5.8vw, 82px);
  width: auto;
  margin-top: calc((88px - clamp(38px, 5.8vw, 82px)) / 2); /* vertically centre in the header band */
  z-index: 100;                 /* just under the heading (101) so the title stays on top */
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  transform: translateX(-160%); /* parked off-screen left until JS positions it */
}

@media (max-width: 720px) {
  .mascot { display: none; }
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Intro — top padding reserves the space where the video banner appears
   (the video itself is fixed, so this keeps the tagline positioned below it) */
.intro {
  padding: calc(108px + 70vh) 32px 12vh;
}

/* Hero video: fixed full-viewport layer, clipped to a banner at rest,
   grows to a full background as you scroll (driven by JS via clip-path). */
.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  clip-path: inset(108px 32px 42vh 32px round 6px);
  will-change: clip-path;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06); /* hides blurred edges */
  filter: blur(var(--hv-blur, 0px));
}

/* Darkening scrim that ramps up as the video becomes the background */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 6, var(--hv-scrim, 0));
  pointer-events: none;
}

.hero-video-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Persistent sound toggle — frosted pill fixed in the bottom-right corner,
   always visible so the sound can be muted from anywhere on the page. */
.sound-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F5F5DC;
  background: rgba(18, 20, 15, 0.5);
  border: 1px solid rgba(245, 245, 220, 0.4);
  border-radius: 50%;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.sound-toggle:hover {
  background: rgba(18, 20, 15, 0.72);
  border-color: rgba(245, 245, 220, 0.7);
  transform: scale(1.08);
}
.sound-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}
.sound-toggle .ic-on { display: none; }
.sound-toggle.is-on .ic-on { display: block; }
.sound-toggle.is-on .ic-muted { display: none; }

.tagline {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  max-width: 900px;
}

/* Circular highlight: a soft disc scales in behind a word when the cursor touches it.
   The white fill blends with whatever sits behind it (mix-blend difference), so it reads
   as the lavender badge over the green header — and a bright badge over the dark sections. */
.word {
  display: inline-block;
  position: relative;
  /* springy overshoot so each stepped scroll move lands with a satisfying snap */
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.2s ease;
}
.word:hover {
  color: #000;   /* word turns black to read against the lavender disc */
}
.word::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  /* hugs short words as a circle, stretches to a rounded badge on longer ones */
  width: max(2.15em, calc(100% + 0.6em));
  height: 2.15em;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 999px;
  background: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  z-index: -1;                   /* sits behind the letters */
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.22s ease;
}
.word:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.scroll-hint {
  display: block;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Scattered parallax gallery */
.scatter {
  position: relative;
  width: 100%;
  height: 358vh;              /* tall canvas the works are scattered across */
  margin-bottom: 6vh;
  overflow: hidden;          /* clip works that bleed past the edges */
}

.work {
  position: absolute;
  display: block;
  cursor: pointer;
  will-change: transform;
  z-index: 1;
}

.work:hover {
  z-index: 10;               /* overlapping work jumps to front on hover */
}

.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 13;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Glass */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
  /* Slow ambient float (staggered per tile below) */
  animation: floatY 8s ease-in-out infinite alternate;
}

/* Gentle bob — kept small so tiles never drift into each other */
@keyframes floatY {
  from { transform: translateY(-9px); }
  to   { transform: translateY(9px); }
}

/* Desync the tiles so they don't bob in unison (negative delay = no start jump) */
.work:nth-child(4n+1) .thumb { animation-duration: 8.5s; animation-delay: -1.2s; }
.work:nth-child(4n+2) .thumb { animation-duration: 7.2s; animation-delay: -3.5s; }
.work:nth-child(4n+3) .thumb { animation-duration: 9.4s; animation-delay: -5.1s; }
.work:nth-child(4n)   .thumb { animation-duration: 6.6s; animation-delay: -2.3s; }

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

/* Video fills the glass frame; the ::after gloss sheen paints over it */
.thumb-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Diagonal gloss sheen */
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 18%,
    rgba(255, 255, 255, 0) 40%
  );
  pointer-events: none;
}

.work:hover .thumb {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Zoom the video (not the frame) on hover, so the float keeps going */
.work:hover .thumb-media {
  transform: scale(1.05);
}

/* Big centered title revealed on hover */
.hover-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-family: var(--display);
}

.hover-title.show {
  opacity: 1;
}

.ht-name {
  display: block;
  font-size: clamp(44px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ht-credit {
  display: block;
  margin-top: 18px;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.04em;
}

/* Translucent placeholder gradients — swap these for your own stills.
   Using rgba so the background image shows through the frosted glass. */
.thumb-1 { background-image: linear-gradient(135deg, rgba(43,43,48,0.55), rgba(85,86,95,0.45)); }
.thumb-2 { background-image: linear-gradient(135deg, rgba(107,91,79,0.55), rgba(47,38,32,0.45)); }
.thumb-3 { background-image: linear-gradient(135deg, rgba(51,65,79,0.55), rgba(26,32,41,0.45)); }
.thumb-4 { background-image: linear-gradient(135deg, rgba(74,64,56,0.55), rgba(122,106,92,0.45)); }
.thumb-5 { background-image: linear-gradient(135deg, rgba(80,74,92,0.55), rgba(38,34,48,0.45)); }
.thumb-6 { background-image: linear-gradient(135deg, rgba(207,199,186,0.5), rgba(154,145,134,0.4)); }
.thumb-7 { background-image: linear-gradient(135deg, rgba(41,50,59,0.55), rgba(77,91,102,0.45)); }
.thumb-8 { background-image: linear-gradient(135deg, rgba(92,74,68,0.55), rgba(46,35,32,0.45)); }

.work-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 12px;
  font-size: 13px;
}

.num {
  color: var(--muted);
  min-width: 32px;
  letter-spacing: 0.05em;
}

.title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 15px;
}

.credit {
  color: var(--muted);
}

/* Text sections */
.text-section {
  border-top: 1px solid var(--line);
  padding: 90px 32px;
  max-width: 760px;
}

.text-section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #F5F5DC;
  margin-bottom: 24px;
}

.text-section p {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 400;
}

/* Showreel — framed video grows to full screen on scroll */
.showreel {
  position: relative;
  height: 230vh; /* scroll room for the grow */
}

.showreel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5vh;
  overflow: hidden;
}

.showreel-caption {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 60px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #F5F5DC;
  text-align: center;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.34, 1.7, 0.5, 1);
}

.showreel-caption.pop {
  opacity: 1;
  transform: scale(1);
}

.showreel-note {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
  transition: opacity 0.4s ease;
  animation: notePulse 2.4s ease-in-out infinite;
}

.showreel-note.hide {
  opacity: 0;
  pointer-events: none;
}

@keyframes notePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.showreel-frame {
  position: relative;
  width: 42vw;
  aspect-ratio: 614 / 427; /* matches the old-TV overlay */
  will-change: width;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

/* Video sits in the TV's transparent screen area */
.showreel-screen {
  position: absolute;
  left: 8.14%;
  top: 9.6%;
  width: 64.66%;
  height: 70.02%;
  overflow: hidden;
  z-index: 1;
  background: #000;
}

.showreel-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Old-TV overlay on top (screen area is transparent) */
.showreel-tv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.showreel-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

/* About — two columns, photo slides in from the left on scroll */
.about {
  max-width: none;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 auto;
  max-width: 620px;
}

.about-photo-wrap {
  flex: 0 0 36%;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateX(-460px);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.18s ease-out, opacity 0.4s ease;
}

.services-list {
  list-style: none;
}

.services-list li {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.services-list li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 40px 32px;
  font-size: 13px;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a:hover,
.footer-left a:hover {
  color: var(--text);
}

/* Scroll-reveal motion (only active when JS is on) */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}
.js .fade-in.is-in {
  opacity: 1;
}

/* Custom cursor */
body.custom-cursor,
body.custom-cursor * {
  cursor: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: difference;
  transition: width 0.28s ease, height 0.28s ease,
              background-color 0.28s ease, border-color 0.28s ease;
}

.cursor .cursor-label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.cursor.grow {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
}

.cursor.view {
  width: 84px;
  height: 84px;
  background-color: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}

.cursor.view .cursor-label {
  opacity: 1;
  transform: scale(1);
}

/* Click-to-watch player */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  transform: scale(0.97);
  transition: transform 0.35s ease;
}

.lightbox.open .lightbox-stage { transform: scale(1); }

/* Video keeps its own aspect ratio, capped to the viewport */
.lightbox-video {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--muted, #cfcfcf);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* Responsive */
@media (max-width: 720px) {
  /* Scatter collapses into a simple stacked column */
  .scatter {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 24px 8vh;
  }
  .scatter .work {
    position: static !important;
    width: 100% !important;
    transform: none !important;
  }
  .menu-toggle {
    display: block;
  }
  /* Hero video becomes a simple inline banner on mobile */
  .intro {
    padding: 96px 24px 12vh;
  }
  .hero-video {
    position: static;
    width: 100%;
    height: 42vh;
    margin-bottom: 8vh;
    z-index: auto;
    border-radius: 6px;
    clip-path: none !important;
  }
  .hero-video video {
    transform: none;
    filter: none !important;
  }
  .hero-video::after {
    display: none;
  }
  /* Showreel: simple static framed video on mobile (no scrub) */
  .showreel {
    height: auto;
  }
  .showreel-sticky {
    position: static;
    height: auto;
    padding: 8vh 24px;
  }
  .showreel-frame {
    width: 92vw;
    height: auto;
  }
  /* About stacks on mobile; photo just fades in */
  .about-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .about-photo-wrap {
    width: 100%;
    flex: none;
  }
  .about-photo {
    transform: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 32px;
    flex-direction: column;
    gap: 14px;
    text-align: right;
  }
  .nav.open {
    display: flex;
  }
  .intro {
    padding: 40vh 24px 12vh;
  }
}

/* Off-layout host for the motion-blur SVG filter */
.mb-svg { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* Cobalt "blue world" — extends the AI section's look through About/Services/footer */
.blue-zone {
  position: relative;
  background-color: #1a1aef;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
}
/* On cobalt, lift the borders and muted text so everything stays legible */
.blue-zone .text-section { border-top-color: rgba(255, 255, 255, 0.14); }
.blue-zone .site-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

/* Services — rolling wheel picker (iOS-style) with detent ticks */
.picker {
  position: relative;
  max-width: 620px;
  height: 190px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
  -webkit-user-select: none;
          user-select: none;
}
.picker-scroll {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 69px 0;                 /* fallback; JS recomputes to (height - item)/2 */
}
.picker-scroll::-webkit-scrollbar { display: none; }
.picker-list { list-style: none; margin: 0; padding: 0; }
.picker-item {
  height: 52px;
  display: flex;
  align-items: center;
  scroll-snap-align: center;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transform-origin: center center;
  transition: color 0.25s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.picker-item.is-selected { color: #F5F5DC; }
/* centre selection band */
.picker-window {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 52px;
  transform: translateY(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 2;
}
.picker-hint {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   AI graphic-design showcase — cobalt 3D ring (RINGS / SPIRAL)
   ============================================================ */
.ring-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #1a1aef;                 /* electric cobalt */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
  isolation: isolate;
  font-family: var(--body);
}
/* soft edge vignette for depth */
.ring-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(6, 6, 80, 0.55) 100%);
}

.ring-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  perspective-origin: 50% 48%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ring-stage.dragging { cursor: grabbing; }

.ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.ring-card {
  position: absolute;
  width: 190px;
  height: 258px;
  left: -95px;
  top: -129px;
  border-radius: 5px;
  overflow: hidden;
  background: #0a0a3c;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.ring-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ring-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 42%);
  pointer-events: none;
}

/* ---- Food-poster card: one ring slot holds a live poster you can open ---- */
.ring-card.poster-card { cursor: pointer; background: #e8380d; }
.poster-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.poster-thumb .food-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(0.2585); /* 190 / 735 = cover the card */
}
/* little "more inside" badge so it reads as openable */
.poster-card .poster-badge {
  position: absolute;
  z-index: 4;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 30, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}
.poster-card .poster-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: 2px 2px 0 -0.5px rgba(255, 255, 255, 0.55);
}

/* ---- The poster itself (native 735-wide, ported from the food-poster set) ---- */
.food-poster {
  width: 735px;
  height: 1040px;
  position: relative;
  overflow: hidden;
  font-family: 'Anton', 'Archivo Black', sans-serif;
}
.food-poster .eyebrow {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  z-index: 6;
  font-family: 'Archivo', var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.food-poster .eyebrow.top { top: 32px; }
.food-poster .eyebrow.bottom { bottom: 32px; }
.food-poster .eyebrow .pill {
  border: 1.5px solid currentColor;
  border-radius: 40px;
  padding: 6px 26px;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.food-poster .arrows { letter-spacing: -0.1em; font-size: 14px; }
.food-poster .dish {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.food-poster .dish.left { left: -10%; width: 42%; }
.food-poster .dish.right { left: auto; right: -10%; transform: translate(0, -50%); width: 42%; }
.food-poster .headline {
  position: absolute;
  z-index: 5;
  left: 34px;
  right: 34px;
  font-family: 'Anton', 'Archivo Black', sans-serif;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.food-poster .headline.up { top: 82px; }
.food-poster .headline.down { bottom: 82px; }
.food-poster .headline span { display: block; }
.food-poster .h-lg { font-size: 88px; }
.food-poster .sparkle { position: absolute; z-index: 4; line-height: 0; }

/* ---- Poster viewer overlay ---- */
.poster-lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 40px);
  padding: 24px;
  background: rgba(6, 6, 40, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}
.poster-lb.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s ease;
}
.poster-lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.poster-lb-frame {
  position: relative;
  /* width capped by viewport width AND by the height that keeps 735:1040 within 80vh */
  width: min(88vw, 500px, calc(80vh * 735 / 1040));
  aspect-ratio: 735 / 1040;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform: scale(0.94);
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1);
}
.poster-lb.open .poster-lb-frame { transform: scale(1); }
.poster-lb-frame .food-poster {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scale(var(--fit, 0.68));
}
.poster-lb-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--body);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.poster-lb-name { font-weight: 700; }
.poster-lb-count { opacity: 0.7; font-variant-numeric: tabular-nums; }
.poster-lb-dots { display: inline-flex; gap: 7px; }
.poster-lb-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.poster-lb-dots button.is-active { background: #fff; transform: scale(1.25); }
.poster-lb-nav {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.poster-lb-nav:hover { background: rgba(255, 255, 255, 0.22); }
.poster-lb-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.poster-lb-close:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 720px) {
  .poster-thumb .food-poster { transform: translate(-50%, -50%) scale(0.177); } /* 130 / 735 */
  .poster-lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .poster-lb { gap: 4px; padding: 12px; }
  .poster-lb-frame { width: min(80vw, 380px, calc(78vh * 735 / 1040)); }
}

/* chrome centerpiece — sits at the ring axis, kept facing the camera by JS */
.ring-core {
  position: absolute;
  width: 210px;
  height: 210px;
  left: -105px;
  top: -105px;
  transform-style: preserve-3d;
  will-change: transform;
}
.ring-core-inner {
  position: absolute;
  inset: 0;
  border-radius: 44% 56% 57% 43% / 51% 44% 56% 49%;
  background: conic-gradient(from 0deg,
    #eef2fb, #8f9dc4, #ffffff, #5f6f9e, #dbe3f4, #7c8bb6, #ffffff, #a7b3d6, #eef2fb);
  box-shadow:
    inset 0 8px 30px rgba(255, 255, 255, 0.75),
    inset 0 -26px 46px rgba(20, 26, 72, 0.65),
    0 30px 70px rgba(0, 0, 0, 0.45);
  filter: saturate(1.15) contrast(1.06);
  animation: ringCoreSpin 16s linear infinite, ringCoreMorph 9s ease-in-out infinite;
}
.ring-core-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(40% 32% at 34% 28%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(50% 40% at 70% 74%, rgba(120, 180, 255, 0.5), transparent 65%);
  mix-blend-mode: screen;
}
@keyframes ringCoreSpin { to { transform: rotate(360deg); } }
@keyframes ringCoreMorph {
  0%, 100% { border-radius: 44% 56% 57% 43% / 51% 44% 56% 49%; }
  50%      { border-radius: 58% 42% 45% 55% / 42% 57% 43% 58%; }
}

/* UI overlays */
.ring-ui {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 32px;
  pointer-events: none;
}
.ring-ui-top { top: 96px; justify-content: center; }
.ring-ui-bottom { bottom: 28px; justify-content: space-between; }
.ring-label {
  position: absolute;
  left: 32px;
  top: 96px;
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ring-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.rt-btn {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  opacity: 0.75;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.rt-btn.is-active { background: #fff; color: #1a1aef; opacity: 1; }
.ring-studio, .ring-count, .ring-copy {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ring-count { font-variant-numeric: tabular-nums; }
.ring-hint {
  position: absolute;
  left: 50%;
  bottom: 60px;
  z-index: 3;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  pointer-events: none;
  animation: bob 2s ease-in-out infinite;
}

@media (max-width: 720px) {
  .ring-card { width: 130px; height: 176px; left: -65px; top: -88px; }
  .ring-core { width: 148px; height: 148px; left: -74px; top: -74px; }
  .ring-ui-top { top: 78px; }
  .ring-label { display: none; }
  .ring-ui-bottom { flex-direction: column; gap: 6px; align-items: center; bottom: 20px; }
}
