/* ==========================================================
   153 FILMES — Direção & Produção Audiovisual
   ========================================================== */

:root {
  --bg: #070b14;
  --bg-2: #0b111c;
  --bg-3: #0e1624;
  --panel: #111a2a;
  --line: rgba(148, 170, 205, 0.14);
  --line-strong: rgba(148, 170, 205, 0.26);
  --text: #eef2f8;
  --text-2: #b4bfd1;
  --muted: #8f9cb3;
  --dim: #5f6b80;
  --accent: #4fb3f6;
  --accent-2: #2f7ff0;
  --accent-glow: rgba(79, 179, 246, 0.35);

  --f-display: "Manrope", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-logo: "Michroma", "Manrope", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
strong { color: var(--text); font-weight: 500; }
::selection { background: var(--accent); color: var(--bg); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.muted { color: #a7b3c8; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.lead {
  font-family: var(--f-display);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---------- Ambient ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,179,246,.07), transparent 65%);
  transform: translate3d(-999px, -999px, 0); transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.header__inner {
  max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line); transition: height .4s var(--ease);
}
.header.is-scrolled { background: rgba(7, 11, 20, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.header.is-scrolled .header__inner { height: 68px; }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand__num { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: -0.04em; }
.brand__word { font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .26em; }

.nav { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: 14px; color: var(--text-2); transition: color .3s; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link--mobile { display: none; }

.header__cta {
  font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); padding: 10px 0; transition: color .3s;
}
.header__cta:hover { color: var(--accent); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; padding: 15px 22px; border-radius: 2px;
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, color .3s, border-color .3s;
}
.btn--primary { background: var(--accent); color: #04121f; box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(79,179,246,.6); background: #6cc1fa; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-underline { position: relative; font-size: 14px; padding: 6px 0; color: var(--text); }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line-strong);
}
.link-underline::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); z-index: 1;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-underline:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 150px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; pointer-events: none;
  background: radial-gradient(circle, rgba(47,127,240,.12), transparent 60%);
}
.hero__grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(50px, 6.6vw, 98px); line-height: 0.98; letter-spacing: -0.055em;
  margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-ready .hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.hero__lead { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Film frame */
.hero__visual { perspective: 1400px; }
.frame {
  position: relative; display: grid; grid-template-columns: 26px 1fr 26px;
  background: linear-gradient(180deg, #0d121b, #080b11);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px; padding: 10px 0;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.6), 0 0 120px -40px rgba(79,179,246,.25);
  transform-style: preserve-3d; transition: transform .8s var(--ease);
  aspect-ratio: 16 / 9.6;
}
.frame__perfs {
  background-image: linear-gradient(180deg, transparent 0 6px, #1e2532 6px 18px, transparent 18px 26px);
  background-size: 12px 26px; background-repeat: repeat-y; background-position: center 0;
  animation: perfs 1.4s linear infinite;
}
.frame__perfs--l { margin: 0 6px 0 8px; } .frame__perfs--r { margin: 0 8px 0 6px; }
@keyframes perfs { to { background-position: center 26px; } }

.frame__screen {
  position: relative; overflow: hidden; border-radius: 10px;
  background: radial-gradient(ellipse at 50% 40%, #1a2130 0%, #0a0e15 70%);
  border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.frame__pattern {
  position: absolute; inset: -10%;
  background-image: url("../assets/pattern-fish.svg");
  background-size: 120px 140px; opacity: .35;
  animation: drift 40s linear infinite;
}
@keyframes drift { to { background-position: 120px -140px; } }
.frame__spot {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 30%, rgba(170,200,255,.13), transparent 70%),
              linear-gradient(90deg, rgba(0,0,0,.55), transparent 22%, transparent 78%, rgba(0,0,0,.55));
}
.frame__flicker { position: absolute; inset: 0; background: rgba(255,255,255,.02); animation: flicker 4s infinite steps(1); }
@keyframes flicker { 0%, 100% { opacity: 1; } 7% { opacity: .2; } 8% { opacity: 1; } 53% { opacity: .5; } 54% { opacity: 1; } }

.logo-lockup { position: relative; z-index: 2; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; row-gap: 22px; }
.logo-lockup__fish {
  width: clamp(60px, 7vw, 96px); height: clamp(102px, 11.9vw, 163px);
  color: #3b8ff5; grid-row: 1;
  filter: drop-shadow(0 0 6px rgba(79,170,255,.9)) drop-shadow(0 0 22px rgba(47,127,240,.6));
}
.logo-lockup__fish .fish-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.is-ready .logo-lockup__fish .fish-line { stroke-dashoffset: 0; }
.is-ready .logo-lockup__fish .fish-line:nth-child(2) { transition-delay: .5s; }
.is-ready .logo-lockup__fish .fish-line:nth-child(3) { transition-delay: .7s; }
.is-ready .logo-lockup__fish .fish-line:nth-child(4) { transition-delay: .8s; }
.logo-lockup__word {
  font-family: var(--f-logo); font-size: clamp(22px, 2.9vw, 42px); letter-spacing: .12em; white-space: nowrap;
  color: #5fb4ff; margin-left: -18px;
  text-shadow: 0 0 8px rgba(79,170,255,.7), 0 0 30px rgba(47,127,240,.55), 0 2px 0 #0b2a55;
  animation: neon 6s infinite;
}
.logo-lockup__word b { font-weight: 400; color: #4a7ff0; }
.logo-lockup__tag {
  grid-column: 1 / -1; justify-self: center;
  font-family: var(--f-display); font-size: clamp(9px, .9vw, 13px); letter-spacing: .16em; text-transform: uppercase;
  color: #3f74c9;
}
@keyframes neon { 0%, 18%, 22%, 100% { opacity: 1; } 20% { opacity: .65; } }

.hud { position: absolute; z-index: 3; font-family: var(--f-display); font-size: 10px; font-weight: 600; letter-spacing: .18em; color: rgba(200,215,240,.55); display: flex; align-items: center; gap: 8px; }
.hud--tl { top: 18px; left: 22px; } .hud--tr { top: 18px; right: 22px; }
.hud--bl { bottom: 18px; left: 22px; font-variant-numeric: tabular-nums; } .hud--br { bottom: 18px; right: 22px; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.corner { position: absolute; z-index: 3; width: 18px; height: 18px; border: 1px solid rgba(200,215,240,.35); }
.corner--tl { top: 44px; left: 22px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 44px; right: 22px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 44px; left: 22px; border-right: 0; border-top: 0; }
.corner--br { bottom: 44px; right: 22px; border-left: 0; border-top: 0; }

.hero__caption { display: flex; justify-content: space-between; padding: 22px 12% 0; font-family: var(--f-display); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.hero__foot {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 64px; padding-top: 26px; padding-bottom: 26px;
  font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2);
}
.hero__foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .12em; text-transform: none; font-size: 12px; transition: color .3s; }
.hero__scroll:hover { color: var(--accent); }
.scroll-dot { width: 16px; height: 26px; border: 1px solid var(--line-strong); border-radius: 10px; position: relative; }
.scroll-dot::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--accent); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(180,200,230,.35); transition: color .4s;
}
.marquee__track span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__track i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 14px var(--accent-glow); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section--panel { background: var(--bg-2); }
.section--deep { background: var(--bg); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; }
.section__aside { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 300px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.partner {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 210px; padding: 32px 20px 26px; overflow: hidden;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); transition: background .5s;
}
.partner--feature { background: #101a2c; }
.partner:nth-child(4n) { border-right: 0; }
.partner:nth-last-child(-n+4) { border-bottom: 0; }
.partner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(79,179,246,.14), transparent 60%);
}
.partner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.partner:hover::before { opacity: 1; }
.partner:hover::after { transform: scaleX(1); }
.partner__logo { height: 88px; display: grid; place-items: center; margin-bottom: 18px; transition: transform .6s var(--ease); }
.partner:hover .partner__logo { transform: translateY(-4px) scale(1.04); }
.partner__logo img { max-height: 88px; max-width: 170px; width: auto; height: auto; object-fit: contain; filter: saturate(.85); transition: filter .5s; border-radius: 2px; }
.partner:hover .partner__logo img { filter: none; }
.partner__name { font-family: var(--f-display); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.partner__kind { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* Wordmarks tipográficos (parceiros sem arquivo de logo) */
.partner__word { font-family: var(--f-display); color: var(--text); line-height: 1; white-space: nowrap; }
.partner__word--wec { font-family: var(--f-logo); font-size: 18px; letter-spacing: .08em; color: var(--muted); }
.partner__word--wec b { font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: 42px; letter-spacing: -0.03em; color: var(--text); margin-left: 8px; }
.partner__word--script { font-family: "Manrope", sans-serif; font-weight: 300; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(90deg, #f4d7a1, #eef2f8 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partner__word--way { font-weight: 700; font-size: 38px; letter-spacing: -0.05em; color: var(--text); }
.partner__word--way b { font-weight: 300; color: var(--accent); margin-left: 4px; }
.partner__word--aguia { font-weight: 700; font-size: 30px; letter-spacing: -0.03em; display: flex; flex-direction: column; align-items: center; }
.partner__word--aguia b { font-weight: 500; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.split__body { display: flex; flex-direction: column; gap: 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.75; padding-top: 44px; }
.split__body .lead { margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tags li { font-size: 13px; color: var(--text-2); border: 1px solid var(--line-strong); padding: 9px 14px; border-radius: 2px; transition: border-color .3s, color .3s, background .3s; }
.tags li:hover { border-color: var(--accent); color: var(--text); background: rgba(79,179,246,.06); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--line); counter-reset: step; }
.process__step { position: relative; padding: 36px 32px 0 0; }
.process__step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent);
  transition: width 1.2s var(--ease);
}
.process__step.is-in::before { width: 100%; }
.process__num { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.process__step h3 { font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; margin: 18px 0 10px; }
.process__step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 260px; }

/* Person */
.person__role { font-size: 14px; color: var(--muted); margin-top: 22px; }
.stat { display: flex; align-items: center; gap: 28px; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--f-display); font-weight: 400; font-size: clamp(76px, 8vw, 110px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.stat__num sup { color: var(--accent); font-size: .42em; font-weight: 300; vertical-align: top; position: relative; top: -.1em; margin-left: 2px; }
.stat__label { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

.timeline { margin-top: 56px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 0 0 22px 30px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); }
.timeline li.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(79,179,246,.15), 0 0 16px var(--accent-glow); }
.timeline__place { font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); padding-top: 2px; }
.timeline__what { color: var(--muted); }
.is-now .timeline__place { color: var(--accent); }

.quote { margin: 24px 0 0; padding: 34px 0 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; }
.quote__fish { width: 26px; height: 44px; color: var(--accent); flex: none; opacity: .9; }
.quote p { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; color: var(--text); line-height: 1.25; }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter { font-size: 14px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); transition: all .35s var(--ease); }
.filter:hover { border-color: var(--accent); color: var(--text); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #04121f; box-shadow: 0 8px 24px -10px var(--accent-glow); }

.projects { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); transition: opacity .4s, background .4s; }
.project.is-hidden { display: none; }
.project.is-fading { opacity: 0; }
.project__head {
  width: 100%; display: grid; grid-template-columns: 66px 1fr auto 40px; align-items: center; gap: 20px;
  padding: 34px 0; text-align: left; position: relative;
}
.project__num { font-family: var(--f-display); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.project__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.04em; line-height: 1.1; display: flex; flex-direction: column; transition: transform .6s var(--ease), color .3s; }
.project__title small { font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.project__role { font-size: 14px; color: var(--text-2); }
.project__toggle { position: relative; width: 14px; height: 14px; justify-self: center; }
.project__toggle::before, .project__toggle::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: var(--accent); transition: transform .5s var(--ease); }
.project__toggle::after { transform: rotate(90deg); }
.project.is-open .project__toggle::after { transform: rotate(0); }
.project__head:hover .project__title { transform: translateX(10px); color: #fff; }
.project__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.project__body > div { overflow: hidden; padding-left: 86px; }
.project.is-open .project__body { grid-template-rows: 1fr; }
.project__body p { max-width: 620px; color: var(--text-2); font-size: 15.5px; padding-bottom: 14px; }
.project__meta { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 36px; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; background: radial-gradient(ellipse at 50% 120%, rgba(47,127,240,.25), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cta__fish { width: min(46vw, 520px); height: auto; aspect-ratio: 200 / 340; color: rgba(79,179,246,.06); transform: translateX(28%); }
.cta__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -0.055em; }
.cta__lead { color: var(--text-2); font-size: 17px; margin: 30px 0 44px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0 34px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.footer__fish { width: 30px; height: 51px; color: var(--accent); }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: var(--text-2); transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__mega {
  font-family: var(--f-logo); font-size: clamp(30px, 8.6vw, 136px); letter-spacing: .04em; line-height: 1; white-space: nowrap;
  text-align: center; margin: 70px 0 40px;
  color: transparent; -webkit-text-stroke: 1px rgba(148,170,205,.16);
  background: linear-gradient(180deg, rgba(79,179,246,.16), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.to-top { transition: color .3s; } .to-top:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { transform: none; }
.reveal-stagger > * { transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-stagger.is-in > * { transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .49s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero__visual { max-width: 760px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner:nth-child(4n) { border-right: 1px solid var(--line); }
  .partner:nth-child(2n) { border-right: 0; }
  .partner:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .partner:nth-last-child(-n+2) { border-bottom: 0; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
    padding: 0 var(--gutter); background: rgba(7,11,20,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav__link { font-family: var(--f-display); font-size: 40px; font-weight: 500; letter-spacing: -0.04em; color: var(--text); transform: translateY(20px); transition: transform .6s var(--ease), color .3s; }
  .nav__link--mobile { display: block; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav__link { transform: none; }
  .menu-open { overflow: hidden; }
  .header__cta { display: none; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr; }
  .split__body { padding-top: 0; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .project__head { grid-template-columns: 40px 1fr 30px; }
  .project__role { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .project__body > div { padding-left: 60px; }
  .hud--br, .hud--tr { display: none; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  .frame { grid-template-columns: 16px 1fr 16px; aspect-ratio: 4 / 3.4; }
  .frame__perfs { background-size: 8px 22px; background-image: linear-gradient(180deg, transparent 0 5px, #1e2532 5px 15px, transparent 15px 22px); }
  .frame__perfs--l { margin: 0 4px 0 4px; } .frame__perfs--r { margin: 0 4px 0 4px; }
  .logo-lockup__word { font-size: 20px; }
  .logo-lockup__tag { font-size: 8px; letter-spacing: .1em; }
  .hero__caption { padding: 18px 4px 0; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .partners { grid-template-columns: 1fr 1fr; }
  .partner { min-height: 170px; padding: 24px 10px 20px; }
  .partner__logo { height: 64px; }
  .partner__logo img { max-height: 64px; max-width: 120px; }
  .partner__word--way { font-size: 28px; } .partner__word--script { font-size: 20px; } .partner__word--aguia { font-size: 24px; }
  .partner__word--wec { font-size: 13px; } .partner__word--wec b { font-size: 30px; }
  .partner__name { font-size: 15px; }
  .process { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .stat { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
