/* =========================================================
   SIMBA FILMS — futurist cinema theme (black & gold)
   Colours and type follow the Simba Film brand guide.
   ========================================================= */
:root {
  --black: #000;
  --surface: #0b0906;
  --raised: #17130d;
  --ink: #f6efdd;
  --muted: #b5aa92;
  --line: #3a3122;
  --gold: #d4a23a;
  --gold-light: #f3d57e;
  --amber: #f0b232;
  --bronze: #8a6222;
  --gold-text: #e2b551;
  --display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-scene: cubic-bezier(.65, .05, .25, 1);
  --scene-time: 1.45s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font: 400 17px/1.6 var(--text); overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* ---------- ambient layers ---------- */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: .7; }
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 60; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(212,162,58,.13), rgba(212,162,58,0) 60%);
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- cinema intro ---------- */
.intro { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.intro__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; transition: transform 1.4s var(--ease) .25s; }
.intro__bar--top { top: 0; } .intro__bar--bottom { bottom: 0; }
body.is-ready .intro__bar--top { transform: translateY(-100%); }
body.is-ready .intro__bar--bottom { transform: translateY(100%); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(212,162,58,.18); }
.header__row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__seal { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(212,162,58,.35)); }
.brand__word { font: 800 15px/1 var(--display); letter-spacing: .32em; color: var(--ink); }
.brand__word span { color: var(--gold-text); margin-left: .5em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); position: relative; padding: 8px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav .nav__cta { color: #000; background: var(--gold); padding: 12px 18px; border-radius: 2px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { color: #000; background: var(--gold-light); }

/* language switcher */
.lang { position: relative; }
.lang__current {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); font: 700 12px/1 var(--display); letter-spacing: .12em; cursor: pointer;
}
.lang__current:hover { border-color: var(--gold); }
.lang__chev { width: 10px; transition: transform .3s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: rgba(11,9,6,.96); border: 1px solid var(--line); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px;
  background: none; border: 0; color: var(--muted); font: 600 15px/1 var(--text); cursor: pointer; text-align: left;
}
.lang__list button:hover, .lang__list button[aria-current="true"] { color: var(--ink); background: rgba(212,162,58,.1); }
.lang__list button[aria-current="true"]::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.flag { display: inline-flex; width: 24px; height: 16px; flex: none; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag svg { width: 100%; height: 100%; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn svg { width: 16px; height: 16px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--amber)); color: #000; box-shadow: 0 10px 30px -10px rgba(212,162,58,.7); }
.btn--gold::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn--gold:hover::before { left: 130%; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(240,178,50,.9); }
.btn--ghost { color: var(--ink); border-color: rgba(246,239,221,.35); background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero__media video, .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide { opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease, transform 9s linear; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.35) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 30%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 130px 0 120px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 700 12px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero__title { font-size: clamp(44px, 7vw, 96px); line-height: .98; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.hero__title em {
  font-style: normal; color: transparent;
  background: linear-gradient(100deg, var(--bronze), var(--gold-light) 30%, var(--gold) 50%, var(--gold-light) 70%, var(--bronze));
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: shine 6s linear infinite; filter: drop-shadow(0 0 22px rgba(212,162,58,.35));
}
@keyframes shine { to { background-position: -250% 0; } }
.hero__lede { max-width: 560px; margin: 26px 0 36px; font-size: clamp(17px, 1.6vw, 20px); color: #e2d9c4; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* seal with marquee bulbs */
.seal { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; }
.seal__ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.seal__ring i {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%;
  background: var(--bronze); animation: bulb 2.4s ease-in-out infinite;
}
@keyframes bulb { 0%,100% { background: #5a4116; box-shadow: none; } 50% { background: var(--gold-light); box-shadow: 0 0 10px var(--gold), 0 0 22px var(--amber); } }
@keyframes spin { to { transform: rotate(360deg); } }
.seal::before, .seal::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(212,162,58,.25); }
.seal::before { inset: 9%; border-style: dashed; animation: spin 40s linear infinite reverse; }
.seal::after { inset: -4%; border-color: rgba(212,162,58,.12); }
.seal__halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(212,162,58,.35), rgba(212,162,58,0) 68%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.seal__logo { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }


.scroll-cue { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; width: 1px; height: 14px; background: var(--gold-light); animation: drop 2s var(--ease) infinite; }
@keyframes drop { from { top: -14px; } to { top: 46px; } }

/* marquee bulb divider (brand ornament) */
.bulbs { height: 18px; position: relative; z-index: 3; background: radial-gradient(circle, var(--gold) 2.5px, transparent 3.5px) 0 50% / 18px 18px repeat-x; opacity: .55; }
.bulbs::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, var(--gold-light) 3px, transparent 4px) 0 50% / 18px 18px repeat-x; filter: drop-shadow(0 0 6px var(--amber)); mask: linear-gradient(90deg, transparent, #000 10%, transparent 20%) 0 0 / 200% 100%; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, transparent 20%) 0 0 / 200% 100%; animation: chase 6s linear infinite; }
@keyframes chase { from { mask-position: 100% 0; -webkit-mask-position: 100% 0; } to { mask-position: -100% 0; -webkit-mask-position: -100% 0; } }
.bulbs--thin { opacity: .35; }

/* ---------- sections ---------- */
.scene { position: relative; z-index: 3; padding: clamp(80px, 11vw, 150px) 0; background: var(--black); }
.scene.hero { padding: 0; }
.scene--dark { background: var(--surface); }
.section__head { margin-bottom: 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.title { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.scene p { color: #d9cfb8; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__visual { position: relative; }
.about__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: var(--raised); }
.about__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform 6s linear; transform: scale(1.06); filter: contrast(1.05) saturate(.9); }
.about__frame img.is-on { opacity: 1; transform: scale(1); }
.about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.about__visual::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); z-index: -1; }
.about__tag { position: absolute; left: 22px; bottom: 20px; z-index: 2; font: 800 13px/1 var(--display); letter-spacing: .35em; color: var(--gold-light); }
.services { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; gap: 12px; }
.services li { display: flex; align-items: center; gap: 14px; font: 600 16px/1.3 var(--display); letter-spacing: .02em; }
.services li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 30px; }
.stat { background: var(--black); padding: 22px 18px; }
.stat__num { display: block; font: 900 clamp(34px, 4vw, 48px)/1 var(--display); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.link-arrow { font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; display: inline-flex; gap: 8px; padding: 12px 0; }
.link-arrow:hover { color: var(--ink); }

/* projects: film posters */
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 26px; }
.projects.is-many { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 56px 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease); }
.card__media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.card:hover .card__media { border-color: rgba(212,162,58,.7); box-shadow: 0 30px 60px -30px rgba(212,162,58,.5); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.card:hover .card__media img { transform: scale(1.06); filter: saturate(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(243,213,126,.22) 50%, transparent 70%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.card:hover .card__media::after { transform: translateX(100%); }
.card__play {
  position: absolute; left: 50%; top: 42%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; background: rgba(0,0,0,.55); border: 1px solid var(--gold); color: var(--gold-light);
  opacity: 0; transform: scale(.8); transition: .4s var(--ease); backdrop-filter: blur(4px);
}
.card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.card:hover .card__play { opacity: 1; transform: scale(1); }
.card__dev { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 50% 45%, rgba(212,162,58,.2), transparent 62%), #050403; }
.card__dev span { font: 800 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); padding: 12px 14px; border: 1px dashed rgba(212,162,58,.5); text-align: center; }
/* title + story: slides up over the poster on hover, back down when the mouse leaves */
.card__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 18px 18px; display: grid; gap: 8px;
  background: linear-gradient(0deg, rgba(5,4,3,.96) 0%, rgba(5,4,3,.85) 55%, transparent);
  transform: translateY(101%); transition: transform .6s var(--ease); }
.card:hover .card__info, .card:focus-within .card__info { transform: translateY(0); }
.card:not(.has-poster) .card__info { transform: translateY(0); }   /* no poster: always show the title */
.card:not(.has-poster) .card__info p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.card:not(.has-poster):hover .card__info p { max-height: 8em; opacity: 1; }
.card__title { font-size: clamp(16px, 1.5vw, 20px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; color: #f4ecd8; }
.card__info p { margin: 0; font-size: 14px; line-height: 1.5; color: #cfc4ab; }
.card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.card__tags li { font: 700 11px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__tags li:not(:last-child)::after { content: "·"; margin: 0 9px; color: var(--gold); }
.card__tags li:first-child { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; list-style: none; padding-left: 0; }
.tags li { font: 600 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); color: var(--ink); }
.card__link { position: absolute; inset: 0; z-index: 4; background: none; border: 0; padding: 0; cursor: pointer; }
.card__link:focus-visible { outline-offset: -3px; }

/* news */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.post { display: flex; flex-direction: column; background: var(--black); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, transform .4s var(--ease); }
a.post:hover { border-color: var(--gold); transform: translateY(-4px); }
.post__media { aspect-ratio: 16 / 9; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post time { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.post h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.post p { margin: 0; color: var(--muted); font-size: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { margin: 30px 0; display: grid; gap: 18px; }
.contact__list div { display: grid; gap: 4px; }
.contact__list dt { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.contact__list dd { margin: 0; font-size: 18px; }
.contact__list a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: .3s; border-radius: 2px; }
.socials a:hover { border-color: var(--gold); color: #000; background: var(--gold); box-shadow: 0 0 24px rgba(212,162,58,.5); }
.socials svg { width: 20px; height: 20px; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); position: relative; }
.form::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.field { display: grid; gap: 8px; }
.field span { font: 700 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: #000; border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); font: 400 17px/1.4 var(--text); transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #7d745f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,162,58,.2); }
.form__hint { margin: 0; font-size: 14px; color: var(--muted) !important; }
.form .btn { justify-self: start; }

/* footer */
.footer { position: relative; z-index: 3; background: #000; padding-bottom: 34px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; }
.footer p { margin: 0; font-size: 14px; color: var(--muted); }
.brand--small .brand__seal { width: 36px; height: 36px; }
.brand--small { margin-right: 0; }


/* ---------- project filters & status ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--line); color: var(--muted); font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: .3s; }
.chip:hover { color: var(--ink); border-color: var(--gold); }
.chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #000; }
.chip b { font-weight: 800; opacity: .6; margin-left: 6px; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 7px 10px; font: 800 10px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; background: rgba(0,0,0,.7); color: var(--gold-light); border: 1px solid rgba(212,162,58,.6); backdrop-filter: blur(4px); }
.badge--src { left: auto; right: 14px; color: var(--ink); border-color: rgba(246,239,221,.3); }
.card.is-hidden { display: none; }

/* ---------- showreel cards ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.rcard { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #000; color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; aspect-ratio: 16 / 10; transition: border-color .4s, box-shadow .4s, transform .5s var(--ease); }
.reels.is-featured .rcard:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; max-height: 52vh; width: 100%; }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1.4s var(--ease), opacity .5s; }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.1) 55%); }
.rcard:hover { border-color: var(--gold); box-shadow: 0 30px 70px -30px rgba(212,162,58,.5); }
.rcard:hover img { transform: scale(1.06); opacity: .95; }
.rcard__fallback { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(212,162,58,.25), transparent 60%), #0b0906; }
.rcard__play { position: absolute; left: 50%; top: 45%; z-index: 2; width: 72px; height: 72px; margin: -36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #000; box-shadow: 0 0 0 10px rgba(212,162,58,.18), 0 0 50px rgba(212,162,58,.55); transition: transform .4s var(--ease); }
.reels.is-featured .rcard:first-child .rcard__play { width: 92px; height: 92px; margin: -46px; }
.rcard__play svg { width: 26px; height: 26px; margin-left: 4px; }
.rcard:hover .rcard__play { transform: scale(1.1); }
.rcard__text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: grid; gap: 6px; }
.rcard__text small { font: 700 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.rcard__text strong { font: 800 clamp(18px, 2vw, 26px)/1.15 var(--display); text-transform: uppercase; }

/* ---------- video pop-up ---------- */
.player { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; }
.player[hidden] { display: none; }
.player__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(10px); animation: fade .4s ease both; }
.player__box { position: relative; width: min(1100px, 100%); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 120px -20px rgba(212,162,58,.35); animation: pop .5s var(--ease) both; max-height: calc(100vh - 40px); overflow: auto; }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; }
.player__bar h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.player__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 2px; }
.player__close:hover { border-color: var(--gold); color: var(--gold-light); }
.player__close svg { width: 18px; }
.player__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player__screen iframe, .player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__info { padding: 16px 20px 20px; }
.player__info:empty { display: none; }
.player__info p { margin: 0 0 10px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- scene dots ---------- */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 45; display: none; flex-direction: column; gap: 6px; }
html.scenes .dots { display: flex; }
.dots button { position: relative; width: 44px; height: 30px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.dots button i { width: 8px; height: 8px; border-radius: 50%; background: #5a4116; transition: .4s var(--ease); }
.dots button[aria-current="true"] i { background: var(--gold-light); box-shadow: 0 0 10px var(--gold), 0 0 22px var(--amber); transform: scale(1.4); }
.dots button span { position: absolute; right: 44px; white-space: nowrap; font: 700 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateX(8px); transition: .3s var(--ease); pointer-events: none; }
.dots button:hover span, .dots button:focus-visible span { opacity: 1; transform: none; }

/* =========================================================
   SCENE MODE — the page changes instead of scrolling
   ========================================================= */
html.scenes, html.scenes body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.scenes body { position: fixed; inset: 0; width: 100%; touch-action: pan-y; }
html.scenes.is-phone { --scene-time: 1.15s; }
html.scenes .scene__inner { -webkit-overflow-scrolling: touch; }
html.scenes .scene { position: fixed; inset: 0; padding: 0; visibility: hidden; z-index: 4; overflow: hidden; }
html.scenes .scene__inner {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; padding: 108px 0 56px;
  scrollbar-width: thin; scrollbar-color: var(--bronze) transparent;
}
html.scenes .scene__inner > .wrap { margin-block: auto; }
html.scenes .hero .scene__inner { padding: 0; }
html.scenes #contact .scene__inner { padding-bottom: 0; }
html.scenes .footer { margin-top: 48px; }
html.scenes .scene.is-active { visibility: visible; z-index: 6; }
html.scenes .scene.is-leaving { visibility: visible; z-index: 5; }

.scene.enter-down { animation: enterDown var(--scene-time) var(--ease-scene) both; }
.scene.enter-up { animation: enterUp var(--scene-time) var(--ease-scene) both; }
.scene.leave-down { animation: leaveDown var(--scene-time) var(--ease-scene) both; }
.scene.leave-up { animation: leaveUp var(--scene-time) var(--ease-scene) both; }
@keyframes enterDown { from { clip-path: inset(100% 0 0 0); transform: translateY(5%) scale(1.03); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes enterUp { from { clip-path: inset(0 0 100% 0); transform: translateY(-5%) scale(1.03); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes leaveDown { to { transform: translateY(-6%) scale(.94); filter: brightness(.3) blur(3px); } }
@keyframes leaveUp { to { transform: translateY(6%) scale(.94); filter: brightness(.3) blur(3px); } }

/* building layers: gold grid flash + scan line on the moving edge */
.build { position: fixed; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
.build__grid {
  position: absolute; inset: 0; opacity: 0;
  background:
    linear-gradient(rgba(212,162,58,.22) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(212,162,58,.22) 1px, transparent 1px) 0 0 / 64px 64px;
}
.build__line { position: absolute; left: 0; right: 0; height: 2px; top: 100%; opacity: 0; background: linear-gradient(90deg, transparent, var(--gold-light) 20%, #fff 50%, var(--gold-light) 80%, transparent); box-shadow: 0 0 18px var(--amber), 0 0 40px var(--gold); }
.build.go-down .build__line { animation: lineUp var(--scene-time) var(--ease-scene) both; }
.build.go-up .build__line { animation: lineDown var(--scene-time) var(--ease-scene) both; }
.build.go-down .build__grid, .build.go-up .build__grid { animation: gridFlash var(--scene-time) ease-in-out both; }
@keyframes lineUp { 0% { top: 100%; opacity: 1; } 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes lineDown { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes gridFlash { 0% { opacity: 0; transform: scale(1.04); } 45% { opacity: .35; } 100% { opacity: 0; transform: none; } }

/* elements build in one by one each time a scene opens */
html.scenes .reveal { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transform: translateY(22px); filter: blur(4px); }
html.scenes .reveal.is-in { transform: none; filter: none; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* thank-you page */
.thank { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; text-align: center; position: relative; z-index: 3; }
.thank__card { max-width: 560px; display: grid; gap: 18px; justify-items: center; }
.thank__card img { width: 140px; }
.thank__card h1 { font-size: clamp(30px, 5vw, 46px); text-transform: uppercase; font-weight: 900; }
.thank__card p { color: #d9cfb8; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 120px; text-align: left; }
  .seal { width: min(60vw, 320px); grid-row: 1; justify-self: start; }
  .projects, .projects.is-many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; }
}
@media (max-width: 860px) {
  html.scenes .dots { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    background: rgba(0,0,0,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav__cta { margin-top: 16px; text-align: center; border: 0; }
  .header__row { gap: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .brand__word { font-size: 12px; letter-spacing: .24em; }
  .brand__seal { width: 38px; height: 38px; }
  .lang__code { display: none; }
  .projects, .projects.is-many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card__play { width: 52px; height: 52px; margin: -26px; }
  .card__title { font-size: 14px; overflow-wrap: anywhere; }
  .card__info { padding: 40px 12px 12px; }
  .card__tags li { font-size: 10px; letter-spacing: .1em; }
  .card__tags li:not(:last-child)::after { margin: 0 6px; }
  .reels.is-featured .rcard:first-child { aspect-ratio: 16 / 10; }
  .chip { padding: 0 14px; }
  html.scenes .scene__inner { padding: 92px 0 40px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 16px 12px; }
  .stat__label { font-size: 13px; }
  .hero__grid { padding: 92px 0 96px; gap: 18px; }
  .seal { width: 150px; }
  .hero__lede { margin: 18px 0 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .about__visual::before { inset: 14px -14px -14px 14px; }
  .scroll-cue { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .intro, .build { display: none; }
  .dust, .grain { display: none; }
}

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.person { position: relative; display: block; width: 100%; padding: 0; text-align: left; color: var(--ink); background: var(--raised); border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: border-color .4s, box-shadow .4s, transform .5s var(--ease); }
.person:hover { border-color: rgba(212,162,58,.8); box-shadow: 0 30px 60px -30px rgba(212,162,58,.45); }
.person__photo { display: block; width: 100%; aspect-ratio: 4 / 5; background: #050403 center/cover no-repeat; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) contrast(1.05); }
.person:hover .person__photo { transform: scale(1.05); filter: saturate(1); }
.person__photo--none { display: grid !important; place-items: center; font: 900 64px/1 var(--display); color: var(--gold-text); background: radial-gradient(circle, rgba(212,162,58,.18), transparent 65%), #050403; }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,0) 55%); pointer-events: none; }
.person__text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: grid; gap: 6px; }
.person__name { font: 800 22px/1.1 var(--display); text-transform: uppercase; }
.person__role { font: 700 11px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.person__more { font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: .75; margin-top: 6px; }
.person:hover .person__more { opacity: 1; color: var(--gold-light); }
.bio__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); width: min(980px, 100%); overflow: auto; }
.bio__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(0,0,0,.6); }
.bio__photo { min-height: 420px; background: #050403 center/cover no-repeat; }
.bio__text { padding: clamp(24px, 4vw, 48px); display: grid; align-content: center; gap: 14px; }
.bio__name { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.bio__body p { margin: 0 0 12px; color: #d9cfb8; }
.bio__links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .bio__box { grid-template-columns: 1fr; max-height: calc(100svh - 24px); }
  .bio__photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* =========================================================
   PHONES & TABLETS — same cinematic animations, but normal
   steady scrolling (no screen-by-screen swiping, no bounce)
   ========================================================= */
html.is-phone { overflow-x: hidden; overscroll-behavior-y: none; scroll-padding-top: 72px; }
html.is-phone body { overflow-x: hidden; overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
html.is-phone .cursor-glow { display: none; }
html.is-phone .grain { animation: none; }                      /* keep the film texture, without the heavy jitter */
html.is-phone .reveal { filter: none; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.is-phone .reveal.is-in { transform: none; }
html.is-phone .card:hover { transform: none; }
html.is-phone .header { background: rgba(0,0,0,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(212,162,58,.18); }
html.is-phone .hero { min-height: 100svh; }
html.scenes.is-phone .scene__inner { padding-top: 84px; padding-bottom: 40px; }
html.scenes.is-phone .hero .scene__inner { padding: 0; }

/* Safari (Mac/iPhone) can drop cards that are blurred or 3D inside the moving scenes:
   cards and showreels appear with a simple fade + slide, no blur */
.card.reveal, .rcard.reveal, .person.reveal, .post.reveal { filter: none !important; }
html.scenes .scene__inner { -webkit-overflow-scrolling: auto; }
.scene:not(.is-leaving) { filter: none; }

/* elements sliding in must not make a scene scroll "empty" */
html.scenes .scene__inner:not(.is-long) { overflow-y: hidden; }
html.measuring .reveal { transform: none !important; transition: none !important; }

@media (min-width: 981px) and (max-width: 1280px) { .projects.is-many { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
