/* Julian Duque — portfolio.
   Black stage, one brand green that glows, bold Outfit headlines with green words,
   rounded dark cards with soft borders, and Julián cut out in green light.
   Sections follow the portfolio: capabilities, branding, web, graphic, product, VR, games, profile, contact. */
@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/Outfit-var.woff2") format("woff2"); }

:root {
  --bg: #040604;
  --bg-2: #080c08;
  --card: rgba(255, 255, 255, 0.035);
  --card-hi: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(0, 207, 0, 0.45);
  --ink: #f3f6f2;
  --soft: #a9b2a8;
  --dim: #6f786e;
  --green: #00cf00;
  --lime: #6dff3a;
  --green-ink: #021402;
  --glow: rgba(0, 207, 0, 0.45);

  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4vw, 64px);
  --max: 1280px;
  --r: 24px;
  --r-sm: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--green); }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
svg path, svg circle, svg ellipse { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.3s, background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--green { background: linear-gradient(180deg, var(--lime), var(--green)); color: var(--green-ink); box-shadow: 0 0 0 1px rgba(109, 255, 58, 0.4) inset, 0 10px 40px -8px var(--glow); }
.btn--green:hover { box-shadow: 0 0 0 1px rgba(109, 255, 58, 0.6) inset, 0 14px 60px -6px rgba(0, 207, 0, 0.7); }
.btn--ghost { border: 1px solid var(--border); background: var(--card); }
.btn--ghost:hover { border-color: var(--border-hi); background: var(--card-hi); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--dark { background: var(--green-ink); color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--line { border: 1.5px solid rgba(2, 20, 2, 0.5); color: var(--green-ink); }
.btn--line:hover { background: rgba(2, 20, 2, 0.08); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--pad); transition: background-color 0.4s, padding 0.4s; }
.nav.isSolid { background: rgba(4, 6, 4, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brandMark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(160deg, var(--lime), var(--green)); color: var(--green-ink); font-weight: 800; font-size: 14px; box-shadow: 0 6px 24px -6px var(--glow); }
.navPill { display: flex; gap: 2px; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.navPill a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--soft); transition: color 0.2s, background-color 0.2s; }
.navPill a:hover, .navPill a.isActive { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.navPill a.isActive { color: var(--lime); }
.navRight { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--border); }
.lang button { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--soft); }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); }

/* ---------- Shared bits ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--soft); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 207, 0, 0.18), 0 0 12px var(--green); }
.num { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); }
.num--dark { color: rgba(2, 20, 2, 0.7); }
.card { position: relative; border: 1px solid var(--border); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); transition: border-color 0.3s, translate 0.4s var(--ease); }
.tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(0, 207, 0, 0.12); color: var(--lime); box-shadow: 0 0 0 1px rgba(0, 207, 0, 0.2) inset; flex: none; }
.tile svg { width: 26px; height: 26px; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; padding: 18px 0; border-block: 1px solid var(--border); }
.meta dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); }
.meta dd { margin-top: 4px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.sw { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset; }
.lead { max-width: 60ch; color: var(--soft); margin-bottom: 28px; }
.link { font-weight: 600; color: var(--green); }
.link:hover { color: var(--lime); }
.tag { display: inline-flex; align-self: start; justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(0, 207, 0, 0.12); color: var(--lime); font-size: 13px; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; color: var(--soft); transition: all 0.2s; }
.pills button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); }
.pills button[aria-selected="true"] { background: linear-gradient(180deg, var(--lime), var(--green)); border-color: transparent; color: var(--green-ink); font-weight: 600; box-shadow: 0 8px 30px -8px var(--glow); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; max-width: var(--max); min-height: 100svh; margin: 0 auto; padding: 110px var(--pad) 40px; }
.heroTitle { margin-top: 24px; font-weight: 700; font-size: clamp(38px, 4.3vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
.heroTitle em { text-shadow: 0 0 40px rgba(0, 207, 0, 0.35); }
.hl { background: linear-gradient(90deg, var(--ink), #c9ffb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--soft); }
.heroActions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.heroMeta { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.heroMeta div { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--card); }
.heroMeta dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.heroMeta dd { margin-top: 2px; font-weight: 600; font-size: 15px; line-height: 1.3; }

.heroStage { position: relative; align-self: stretch; min-height: 560px; max-height: 780px; }
.glow { position: absolute; left: 50%; top: 50%; width: min(620px, 92%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 207, 0, 0.55) 0%, rgba(0, 207, 0, 0.22) 38%, rgba(0, 207, 0, 0) 70%); filter: blur(10px); pointer-events: none; }
.glow::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(109, 255, 58, 0.35); box-shadow: 0 0 60px rgba(0, 207, 0, 0.35) inset; }
.orbit { position: absolute; left: 50%; top: 52%; width: 108%; translate: -50% -50%; pointer-events: none; }
.orbit ellipse { stroke: rgba(109, 255, 58, 0.45); stroke-width: 1.2; }
.orbit circle { fill: var(--lime); stroke: none; filter: drop-shadow(0 0 6px var(--lime)); }
.heroCut { position: absolute; left: 50%; bottom: 0; width: min(640px, 104%); translate: -50% 0; filter: drop-shadow(0 0 30px rgba(0, 207, 0, 0.25)); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 97%), linear-gradient(90deg, transparent 2%, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 70%, transparent 97%), linear-gradient(90deg, transparent 2%, #000 16%); mask-composite: intersect; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--border); border-radius: 16px; background: rgba(10, 16, 10, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); white-space: nowrap; }
.float b { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; }
.float small { display: block; font-size: 13px; color: var(--soft); }
.float > img { width: 64px; height: 44px; border-radius: 9px; object-fit: cover; }
.floatIcon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(0, 207, 0, 0.14); color: var(--lime); }
.floatIcon svg { width: 20px; height: 20px; }
.float--a { right: 0; top: 14%; }
.float--b { left: -2%; top: 46%; }
.float--c { right: 4%; bottom: 12%; }

/* ---------- Logos ---------- */
.logos { padding: 26px 0 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marqueeTrack { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marqueeTrack span { font-weight: 600; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: rgba(243, 246, 242, 0.3); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 11vw, 160px) var(--pad) 0; scroll-margin-top: 40px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.head > div { display: grid; gap: 12px; }
.head h2, .about h2, .cta h2 { font-weight: 700; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.035em; max-width: 18ch; }
.head > p { max-width: 42ch; color: var(--soft); }
.sub { margin-top: clamp(64px, 7vw, 100px); }
.subTitle { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 24px; font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.025em; }
.subTitle small { font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--soft); }

/* 01 Capabilities */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { display: grid; gap: 14px; align-content: start; padding: 28px 26px 30px; }
.service:hover, .softCard:hover, .game:hover, .flowStep:hover, .contactCard:hover, .stage:hover { border-color: var(--border-hi); translate: 0 -4px; }
.service h3, .game h3 { font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; }
.service p, .game p, .softCard p, .flowStep p { font-size: 15.5px; color: var(--soft); }
.softCard { display: grid; gap: 8px; padding: 24px; overflow: hidden; }
.softNum { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(0, 207, 0, 0.55); }
.softCard h4 { font-weight: 600; font-size: 20px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tool { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); transition: border-color 0.3s, translate 0.3s var(--ease); }
.tool:hover { border-color: rgba(255, 255, 255, 0.22); translate: 0 -3px; }
.tool b { font-weight: 600; font-size: 16px; line-height: 1.2; }
.tool small { grid-column: 2; font-size: 13px; color: var(--soft); }
.appIcon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--b); color: var(--a); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--a) 60%, transparent) inset, 0 8px 24px -10px var(--a); }

/* 02 Branding */
.brandCase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage copy" "steps steps"; gap: 32px 40px; padding: 18px; overflow: hidden; }
.brandCase + .brandCase { margin-top: 24px; }
.brandCase--flip { grid-template-areas: "copy stage" "steps steps"; }
.brandCase::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); pointer-events: none; }
.brandStage { grid-area: stage; position: relative; display: grid; place-items: center; min-height: 380px; border-radius: 18px; overflow: hidden; }
.brandStage img { width: 62%; height: auto; position: relative; z-index: 1; }
.brandStage--now { background: radial-gradient(80% 80% at 70% 30%, #2a2400, #0b0b0b 70%); }
.brandStage--now::before { content: ""; position: absolute; right: -12%; top: -18%; width: 60%; aspect-ratio: 1; background: #ffd400; clip-path: polygon(20% 0, 100% 50%, 20% 100%); opacity: 0.16; }
.brandStage--durgical { background: linear-gradient(160deg, #f1fbfb, #d3f1f1); }
.brandStage--durgical::before { content: ""; position: absolute; left: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 40px solid rgba(32, 196, 196, 0.14); }
.brandCopy { grid-area: copy; display: grid; gap: 14px; align-content: center; padding: 10px 10px 10px 0; }
.brandCase--flip .brandCopy { padding: 10px 0 10px 10px; }
.brandCopy h3 { font-weight: 800; font-size: clamp(48px, 6vw, 92px); line-height: 0.95; letter-spacing: -0.05em; color: var(--brand); text-shadow: 0 0 50px color-mix(in srgb, var(--brand) 35%, transparent); }
.brandLead { font-weight: 600; font-size: 20px; line-height: 1.35; }
.brandCopy p:not(.brandLead) { color: var(--soft); }
.brandCopy .num { color: var(--brand); }
.brandSteps { grid-area: steps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.brandSteps li { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); counter-increment: s; }
.brandSteps li::before { content: "0" counter(s); font-weight: 700; font-size: 13px; color: var(--brand); }
.brandSteps b { font-weight: 600; }
.brandSteps span { font-size: 14.5px; color: var(--soft); }

/* 03 Web design */
.site { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.site + .site { margin-top: clamp(80px, 9vw, 130px); }
.site--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.site--flip .device { order: 2; }
.device { position: relative; padding: 0 0 60px; }
.device::before { content: ""; position: absolute; inset: 10% 10% 0; border-radius: 50%; background: radial-gradient(circle, rgba(0, 207, 0, 0.3), transparent 65%); filter: blur(30px); z-index: -1; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: #0e130e; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 1); }
.browserBar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #151b15; border-bottom: 1px solid var(--border); }
.browserBar i { width: 11px; height: 11px; border-radius: 50%; background: #3a423a; }
.browserBar i:nth-child(1) { background: #ff5f57; } .browserBar i:nth-child(2) { background: #febc2e; } .browserBar i:nth-child(3) { background: #28c840; }
.browserBar span { margin-left: 14px; padding: 3px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); font-size: 12.5px; color: var(--soft); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: -4%; bottom: 0; width: 26%; padding: 7px; border-radius: 30px; background: #111; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 40px -10px var(--glow); }
.phone img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; border-radius: 24px; }
.site--flip .phone { right: auto; left: -4%; }
.siteCopy { display: grid; gap: 16px; justify-items: start; }
.siteCopy h3 { font-weight: 700; font-size: clamp(32px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.035em; }
.siteCopy p { color: var(--soft); }
.siteCopy .meta { width: 100%; }

/* 04 Graphic design */
.campaign { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.campaign[hidden] { display: none; }
.piece { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: #0d120d; }
.piece img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s var(--ease); }
.piece--big { grid-column: span 2; grid-row: span 2; }
.piece--wide { grid-column: span 2; }
.piece--wide img { aspect-ratio: 2 / 1; }
.piece figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(8px); font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.piece:hover img { transform: scale(1.05); }
.piece:hover figcaption { opacity: 1; transform: none; }

/* 05 Product & 3D */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { display: grid; gap: 10px; align-content: start; padding: 10px 10px 22px; }
.stage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.dot { justify-self: start; margin: -26px 0 0 14px; position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, var(--lime), var(--green)); color: var(--green-ink); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 5px var(--bg), 0 0 24px var(--glow); }
.stage h3, .stage p { padding: 0 10px; }
.stage h3 { font-weight: 600; font-size: 19px; }
.stage p { font-size: 15px; color: var(--soft); }

/* 06 VR & spatial */
.immersive { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.immersiveMedia { position: relative; min-height: 520px; }
.imBig { position: absolute; left: 0; top: 0; width: 70%; height: 92%; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); }
.imSmall { position: absolute; width: 44%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95); }
.imSmall--a { right: 0; top: 8%; }
.imSmall--b { right: 8%; bottom: 0; }
.hud { position: absolute; left: 14px; bottom: 12%; padding: 6px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); font-size: 11.5px; letter-spacing: 0.06em; color: var(--lime); }
.immersiveCopy { display: grid; gap: 18px; justify-items: start; }
.immersiveCopy h3 { font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.immersiveCopy > p { color: var(--soft); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-size: 15.5px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 207, 0, 0.16); color: var(--lime); font-size: 12px; font-weight: 700; }
.flow { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 12px var(--glow); }
.flowStep { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: linear-gradient(180deg, #0b110b, #070a07); }
.flowStep b { display: block; font-weight: 600; margin-bottom: 4px; }

/* 07 Games */
.featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: 14px; overflow: visible; }
.featuredMedia { position: relative; overflow: hidden; border-radius: 18px; min-height: 400px; }
.featuredMedia video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); font-size: 13px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.featuredCopy { display: grid; gap: 18px; align-content: center; justify-items: start; padding: 24px 24px 24px 0; }
.featuredCopy h3 { font-weight: 700; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.featuredCopy p { color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; padding: 16px 0; border-block: 1px solid var(--border); width: 100%; }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.pop { position: absolute; z-index: 3; pointer-events: none; }
.pop--forklift { left: 36%; top: -24%; width: min(320px, 24%); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 46% 50% at 52% 45%, #000 64%, transparent 100%); mask-image: radial-gradient(ellipse 46% 50% at 52% 45%, #000 64%, transparent 100%); }
.perks { margin-top: 90px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: grid; gap: 12px; align-content: start; padding: 0 24px 26px; }
.perkImg { width: 100%; aspect-ratio: 16 / 10; margin-top: -54px; border-radius: 18px; object-fit: cover; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border); transition: transform 0.6s var(--ease); }
.perk:hover { border-color: var(--border-hi); }
.perk:hover .perkImg { transform: translateY(-8px) rotate(-1deg); }
.perk h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.perk p { font-size: 15.5px; color: var(--soft); }
.games { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.game { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.game div { display: grid; gap: 6px; }
.game small { font-size: 13px; color: var(--dim); }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r); background: radial-gradient(120% 160% at 90% 0%, var(--lime), var(--green) 50%, #009a00); color: var(--green-ink); box-shadow: 0 20px 80px -30px var(--glow); transition: translate 0.4s var(--ease); }
.banner:hover { translate: 0 -3px; }
.bannerKicker { display: block; font-size: 14px; font-weight: 600; opacity: 0.75; }
.banner strong { display: block; font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }

/* 08 Profile */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.aboutCopy { display: grid; gap: 18px; }
.about h2 { max-width: 22ch; font-size: clamp(30px, 3.4vw, 48px); }
.aboutCopy > p { color: var(--soft); max-width: 56ch; }
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.profile .card { padding: 16px 18px; border-radius: var(--r-sm); }
.profile dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.profile dd { margin-top: 4px; font-weight: 500; font-size: 15.5px; }
.aboutVisual { position: relative; min-height: 560px; }
.glow--soft { width: 90%; opacity: 0.8; }
.aboutPhoto { position: absolute; left: 0; top: 4%; width: 66%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.aboutStack { position: absolute; right: 0; top: 0; bottom: 0; width: 32%; display: grid; gap: 12px; align-content: center; }
.aboutStack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); filter: grayscale(0.5); transition: filter 0.3s, transform 0.4s var(--ease); }
.aboutStack img:hover { filter: none; transform: translateX(-6px); }

/* 09 Contact */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; min-height: 400px; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: radial-gradient(120% 140% at 85% 0%, var(--lime), var(--green) 45%, #009a00 100%); color: var(--green-ink); box-shadow: 0 30px 120px -30px var(--glow); }
.cta h2 { color: var(--green-ink); max-width: 14ch; }
.cta h2 em { color: #fff; }
.ctaCopy { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; align-self: center; }
.ctaCopy p { font-size: 18px; color: rgba(2, 20, 2, 0.8); max-width: 44ch; }
.ctaActions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ctaCut { position: absolute; right: 2%; bottom: 0; width: min(500px, 44%); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.contactCards { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contactCard { display: flex; gap: 16px; align-items: center; padding: 20px; }
.contactCard small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.contactCard b { display: block; font-weight: 600; font-size: 18px; }
.contactCard em { display: block; font-size: 14px; color: var(--soft); }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: clamp(90px, 10vw, 140px) auto 0; padding: 32px var(--pad) 28px; border-top: 1px solid var(--border); }
.footTop { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footLinks, .footSocial { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; color: var(--soft); }
.footLinks a:hover, .footSocial a:hover { color: var(--green); }
.footLegal { margin-top: 24px; font-size: 13px; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .navPill { display: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float--b { left: 0; }
}
@media (max-width: 900px) {
  .brandName { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; }
  .heroStage { order: -1; min-height: 0; height: 84vw; max-height: 520px; overflow: hidden; border-radius: 0 0 28px 28px; }
  .heroCut { width: 80%; }
  .orbit { width: 100%; }
  .float--a { top: 6%; right: 2%; } .float--b { display: none; } .float--c { bottom: 6%; right: 2%; }
  .heroMeta { max-width: none; }
  .grid3, .perks, .games, .contactCards { grid-template-columns: 1fr; }
  .brandCase, .brandCase--flip { grid-template-columns: 1fr; grid-template-areas: "stage" "copy" "steps"; padding: 12px; }
  .brandCopy, .brandCase--flip .brandCopy { padding: 6px; }
  .brandStage { min-height: 240px; }
  .brandSteps { grid-template-columns: 1fr 1fr; }
  .site, .site--flip { grid-template-columns: 1fr; gap: 28px; }
  .site--flip .device { order: 0; }
  .phone { right: 0; width: 30%; } .site--flip .phone { left: auto; right: 0; }
  .campaign { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .immersive { grid-template-columns: 1fr; }
  .immersiveMedia { min-height: 0; height: 100vw; max-height: 520px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .featured { grid-template-columns: 1fr; }
  .featuredMedia { min-height: 0; aspect-ratio: 16 / 10; }
  .featuredCopy { padding: 6px 10px 18px; }
  .pop--forklift { display: none; }
  .perks { margin-top: 70px; gap: 70px; }
  .banner { flex-direction: column; align-items: flex-start; }
  .about { grid-template-columns: 1fr; }
  .aboutVisual { min-height: 0; display: grid; gap: 12px; }
  .aboutPhoto { position: relative; width: 100%; top: 0; }
  .aboutStack { position: static; width: auto; grid-template-columns: repeat(3, 1fr); }
  .glow--soft { display: none; }
  .cta { grid-template-columns: 1fr; padding-bottom: 0; }
  .ctaCut { position: relative; right: auto; width: 80%; margin: 20px auto 0; }
}
@media (max-width: 560px) {
  .grid4, .flow, .profile, .brandSteps { grid-template-columns: 1fr; }
  .heroMeta { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tool { grid-template-columns: 1fr; row-gap: 10px; }
  .appIcon { grid-row: auto; }
  .tool small { grid-column: auto; }
  .facts { gap: 16px; }
  .lang button { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ===================== Alignment and reference details ===================== */

/* Thin vertical guides behind the page (RAZE) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, 0.035) calc(25% - 1px) 25%); }

/* Section heads centered, as in the references */
.head { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.head > div { justify-items: center; }
.head h2 { max-width: 20ch; }
.head > p { max-width: 56ch; }
.lead { margin-inline: auto; text-align: center; }
.subTitle { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 28px; }

/* Capabilities centered like service cards (marketme) */
.service { justify-items: center; text-align: center; padding: 34px 26px; }
.grid4, .grid3, .contactCards, .perks, .games { align-items: stretch; }
.softCard { text-align: left; }

/* Programs grouped by category */
.stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.stackCol { padding: 22px; }
.stackCol h4 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.stackCol ul { display: grid; gap: 12px; }
.stackCol li { display: flex; align-items: center; gap: 12px; }
.stackCol li b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.2; }
.stackCol li small { display: block; font-size: 13px; color: var(--soft); }
.stackCol .appIcon { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; flex: none; }

/* Big statement with green words (AgentAI) */
.statementWrap { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 140px) var(--pad) 0; }
.statement { max-width: 22ch; margin: 0 auto; text-align: center; font-weight: 600; font-size: clamp(30px, 4vw, 58px); line-height: 1.12; letter-spacing: -0.03em; }

/* Rotating seal (RAZE) */
.seal { position: absolute; left: 4%; bottom: 8%; z-index: 3; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: rgba(4, 6, 4, 0.6); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { fill: var(--soft); font-family: var(--font); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; }
.seal span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, var(--lime), var(--green)); color: var(--green-ink); font-weight: 700; box-shadow: 0 0 24px var(--glow); }
@keyframes spin { to { rotate: 1turn; } }

/* Brands as slanted tiles (Reality Racing) */
.logos { padding-top: 34px; }
.marqueeTrack { gap: 14px; }
.marqueeTrack span { padding: 14px 34px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); transform: skewX(-14deg); font-size: clamp(16px, 1.5vw, 20px); color: rgba(243, 246, 242, 0.55); }

/* VR flow as a zigzag with connectors (Página de Vendas) */
.flow { grid-template-columns: 1fr; max-width: 820px; margin: 56px auto 0; gap: 40px; }
.flow::before { display: none; }
.flowStep { width: 72%; position: relative; }
.flowStep:nth-child(even) { margin-left: auto; }
.flowStep:not(:last-child)::after { content: ""; position: absolute; top: 50%; width: 22%; height: calc(100% + 40px); border: 2px solid var(--green); border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; filter: drop-shadow(0 0 6px var(--glow)); pointer-events: none; }
.flowStep:nth-child(odd):not(:last-child)::after { left: 100%; }
.flowStep:nth-child(even):not(:last-child)::after { right: 100%; border-right: 0; border-left: 2px solid var(--green); border-radius: 16px 0 0 0; }

@media (max-width: 900px) {
  .stack { grid-template-columns: 1fr 1fr; }
  .flowStep { width: 100%; }
  .flowStep:not(:last-child)::after { display: none; }
  .seal { width: 92px; height: 92px; left: 3%; bottom: 4%; }
}
@media (max-width: 560px) {
  .stack { grid-template-columns: 1fr; }
}
.head > .pills { display: flex; justify-content: center; }

/* Entrances: a quiet fade with a short rise */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.9s var(--ease), translate 0.4s var(--ease), border-color 0.3s; }
.reveal.isIn { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===================== Living background, contrast and new sections ===================== */

/* Slow green lights drifting behind the page */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: 0.22; background: radial-gradient(circle, var(--green), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -20vmax; top: -10vmax; }
.aurora i:nth-child(2) { right: -25vmax; top: 30vh; opacity: 0.14; animation-duration: 34s; background: radial-gradient(circle, #1fd6a0, transparent 65%); }
.aurora i:nth-child(3) { left: 20vw; bottom: -35vmax; opacity: 0.12; animation-duration: 40s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, 6vh) scale(1.15); } 100% { transform: translate(-6vw, 10vh) scale(0.95); } }
/* Perspective grid floor under the hero */
.hero { isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -10%; z-index: -1; width: 160vw; height: 46%; translate: -50% 0; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(0, 207, 0, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 207, 0, 0.22) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%); mask-image: linear-gradient(0deg, #000 10%, transparent 90%); animation: floor 6s linear infinite; pointer-events: none; }
@keyframes floor { to { background-position: 0 64px; } }

/* Light sections for contrast */
.section--light { position: relative; isolation: isolate; color: #0b100b; padding-bottom: clamp(100px, 11vw, 160px); margin-top: clamp(100px, 11vw, 160px); }
.section--light::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; background: radial-gradient(120% 80% at 50% 0%, #ffffff, #eef3ec 60%, #e3ebe1); border-radius: 48px; }
.section--light em { color: #00a300; }
.section--light .num { color: #00a300; }
.section--light .head > p, .section--light .siteCopy p, .section--light .stage p { color: #4b5a4b; }
.section--light .card { background: #ffffff; border-color: rgba(10, 30, 10, 0.08); box-shadow: 0 20px 50px -30px rgba(10, 40, 10, 0.35); }
.section--light .meta { border-color: rgba(10, 30, 10, 0.1); }
.section--light .meta dt { color: #7a8a7a; }
.section--light .btn--ghost { border-color: rgba(10, 30, 10, 0.15); background: #fff; color: #0b100b; }
.section--light .btn--ghost:hover { border-color: #00a300; }
.section--light .device::before { background: radial-gradient(circle, rgba(0, 207, 0, 0.25), transparent 65%); }
.section--light .dot { box-shadow: 0 0 0 5px #fff, 0 0 24px var(--glow); }

/* 07 Augmented reality */
.arCase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.arStage { position: relative; min-height: 600px; display: grid; place-items: center; }
.arRing { position: absolute; width: min(520px, 90%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(109, 255, 58, 0.35); box-shadow: 0 0 120px rgba(0, 207, 0, 0.25) inset; animation: spin 40s linear infinite; }
.arRing::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(109, 255, 58, 0.18); }
.phone--ar { position: relative; right: auto; bottom: auto; width: min(270px, 56%); z-index: 2; transform: rotate(-6deg); }
.phone--ar img { aspect-ratio: 9 / 18; object-position: 30% 50%; }
.arScan { position: absolute; left: 7px; right: 7px; top: 7px; height: 30%; border-radius: 24px 24px 0 0; background: linear-gradient(180deg, transparent, rgba(109, 255, 58, 0.35)); border-bottom: 2px solid var(--lime); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0.2; } 50% { transform: translateY(200%); opacity: 1; } }
.arFloat { position: absolute; z-index: 3; width: 42%; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); animation: bob 6s ease-in-out infinite; }
.arFloat--a { left: 0; top: 12%; }
.arFloat--b { right: 0; bottom: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(1deg); } }
.arCopy { display: grid; gap: 18px; justify-items: start; }
.arCopy h3 { font-weight: 800; font-size: clamp(44px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.045em; }
.arCopy > p { color: var(--soft); }

/* 08 Games: head with a turning forklift */
.gamesHead { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; margin-bottom: 64px; }
.gamesHeadCopy { display: grid; gap: 16px; justify-items: start; }
.gamesHeadCopy h2 { font-weight: 700; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.035em; }
.gamesHeadCopy > p { color: var(--soft); max-width: 46ch; }
.turntable { position: relative; aspect-ratio: 16 / 10; }
.turntable canvas, .turntableFallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%); }
.turntable.isLive .turntableFallback { display: none; }
.turntableGlow { position: absolute; left: 15%; right: 15%; bottom: 6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 207, 0, 0.55), transparent); filter: blur(14px); }
.turntableTag { left: 4%; bottom: 4%; }
.perks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Character roster: animated characters that take turns */
.roster { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rosterCard { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; gap: 8px; padding: 14px; overflow: hidden; }
.rosterStage { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: radial-gradient(70% 55% at 50% 60%, rgba(0, 207, 0, 0.28), transparent 70%), linear-gradient(180deg, #0c140c, #050805); overflow: hidden; }
.rosterFloor { position: absolute; left: -20%; right: -20%; bottom: -12%; height: 40%; transform: perspective(300px) rotateX(60deg); background-image: linear-gradient(rgba(0, 207, 0, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 207, 0, 0.3) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.sprite { position: absolute; inset: 4% 0 0; background-repeat: no-repeat; background-size: 1600% 100%; animation: sprite 1.1s steps(15) infinite; transition: opacity 0.35s ease; }
.sprite.isSwap { opacity: 0; }
@keyframes sprite { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.rosterName { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: var(--lime); }
.rosterDots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.rosterDots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: background-color 0.3s, width 0.3s; }
.rosterDots i.isOn { width: 18px; border-radius: 4px; background: var(--lime); }
.rosterCopy { display: grid; gap: 12px; justify-items: start; padding: 10px 14px; }
.rosterCopy h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -0.03em; }
.rosterCopy p { font-size: 15.5px; color: var(--soft); }
.game--wide { grid-column: 1 / -1; }

/* Profile photo alone, larger */
.aboutPhoto { left: 8%; width: 84%; }

@media (max-width: 900px) {
  .arCase, .gamesHead { grid-template-columns: 1fr; }
  .arStage { min-height: 0; height: 110vw; max-height: 560px; }
  .perks--two, .roster { grid-template-columns: 1fr; }
  .rosterCard { grid-template-columns: 1fr; }
  .rosterStage { aspect-ratio: 1; }
  .section--light::before { border-radius: 28px; }
  .aboutPhoto { left: 0; width: 100%; }
}

/* ===================== Julián in 3D ===================== */
.avatarCanvas { position: absolute; z-index: 1; left: 50%; bottom: 0; width: min(640px, 110%); height: 100%; translate: -50% 0; display: block; opacity: 0; transition: opacity 0.8s ease; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%); mask-image: linear-gradient(180deg, #000 78%, transparent 99%); }
[data-avatar].isLive .avatarCanvas { opacity: 1; }
[data-avatar].isLive .heroCut, [data-avatar].isLive .ctaCut { opacity: 0; transition: opacity 0.6s ease; }
.avatarCanvas--cta { left: auto; right: 0; width: min(520px, 46%); height: 128%; translate: 0 0; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.cta { overflow: visible; }
@media (max-width: 900px) {
  .avatarCanvas { width: 100%; }
  .avatarCanvas--cta { position: relative; display: block; width: 100%; height: 360px; margin-top: 10px; }
  [data-avatar].isLive .ctaCut { display: none; }
}

/* ===================== Round 3: collage, headset, reels, depth, soft light ===================== */

/* VR collage: one big photo, a tidy column of three, the HUD line underneath */
.immersiveMedia { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.imBig { position: static; width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: var(--r); }
.imCol { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.imCol > img, .imQuest { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); }
.imQuest { display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 70% at 50% 55%, rgba(0, 207, 0, 0.35), transparent 70%), #0a100a; }
.imQuest img { width: 78%; height: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6)); animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-8px) rotate(-2deg); } }
.hud { position: static; grid-column: 1 / -1; justify-self: start; }

/* Moon and lathe: the headset floats over the scene, lower on the card */
.perkMedia { position: relative; margin-top: -54px; }
.perkMedia .perkImg { margin-top: 0; }
.perkQuest { position: absolute; right: -6%; bottom: -16%; width: 40%; z-index: 2; pointer-events: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.7)); animation: hover 5.5s ease-in-out infinite; }
.perkQuest--flip { right: auto; left: -6%; transform: scaleX(-1); animation-name: hoverFlip; }
@keyframes hoverFlip { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateY(-8px) rotate(2deg); } }
.perk h3 { margin-top: 24px; }

/* Reels of real work instead of a name ticker */
.reels { display: grid; gap: 14px; padding: 34px 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); transform: rotate(-2deg); }
.reel { overflow: hidden; }
.reelTrack { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.reel--rev .reelTrack { animation-direction: reverse; animation-duration: 70s; }
.reelTrack img { width: clamp(180px, 18vw, 280px); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--border); filter: saturate(0.9) brightness(0.85); transition: filter 0.3s; }
.reels:hover .reelTrack { animation-play-state: paused; }

/* Depth on the dark sections: a spotlight from above and a faint dot grid */
.section { position: relative; isolation: isolate; }
.section:not(.section--light)::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: -80px; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none; background: radial-gradient(55% 380px at 50% 60px, rgba(0, 207, 0, 0.13), transparent 70%), radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 1.6px) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent); }
/* Film grain over the whole page */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay; 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='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Light sections: arrive through a long gradient instead of a hard panel */
.section--light { padding-top: 240px; padding-bottom: 240px; margin-top: 40px; }
.section--light::before { border-radius: 0; background: linear-gradient(180deg, rgba(232, 239, 230, 0) 0, #e8efe6 230px, #e8efe6 calc(100% - 230px), rgba(232, 239, 230, 0) 100%), radial-gradient(60% 40% at 50% 30%, rgba(255, 255, 255, 0.9), transparent 70%); }
.section--light + .section--light, .section--light + .section { margin-top: 0; }

@media (max-width: 900px) {
  .immersiveMedia { grid-template-columns: 1fr; height: auto; max-height: none; }
  .imBig { min-height: 320px; }
  .imCol { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .imCol > img, .imQuest { aspect-ratio: 1; }
  .section--light { padding-top: 170px; padding-bottom: 170px; }
  .section--light::before { background: linear-gradient(180deg, rgba(232, 239, 230, 0) 0, #e8efe6 150px, #e8efe6 calc(100% - 150px), rgba(232, 239, 230, 0) 100%); }
}

/* VR collage, overlapped: the three small pictures sit over the edge of the big one, the HUD line below */
.immersiveMedia { display: block; position: relative; min-height: 0; padding-bottom: 52px; }
.imBig { position: relative; display: block; width: 68%; height: 600px; min-height: 0; object-fit: cover; border-radius: var(--r); }
.imCol { position: absolute; right: 0; top: 28px; bottom: 80px; width: 40%; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; }
.imCol > img, .imQuest { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95); border: 1px solid rgba(255, 255, 255, 0.16); }
.imCol > img:first-child { translate: -6% 0; }
.imCol > img:last-child { translate: -10% 0; }
.hud { position: absolute; left: 0; bottom: 0; }
@media (max-width: 900px) {
  .immersiveMedia { padding-bottom: 48px; }
  .imBig { width: 100%; height: 340px; }
  .imCol { position: static; width: auto; margin-top: 12px; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .imCol > img:first-child, .imCol > img:last-child { translate: none; }
}
.perkQuest { right: 3%; bottom: 4%; width: 34%; } .perkQuest--flip { right: auto; left: 3%; } .perkMedia + .tag { margin-top: 14px; }
[data-avatar].isLive .heroCut, [data-avatar].isLive .ctaCut { display: none !important; }

/* ===================== Elemental Brawl: Marina's combo with water effects ===================== */
.brawl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 16px; padding: 14px; overflow: hidden; }
.brawlStage { position: relative; aspect-ratio: 7 / 8; border-radius: 18px; overflow: hidden; background: radial-gradient(60% 50% at 50% 62%, rgba(51, 198, 255, 0.35), transparent 70%), linear-gradient(180deg, #06111a, #03070b); }
.brawlStage.isHit { animation: shake 0.28s ease-out; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 45% { transform: translate(5px, -3px); } 70% { transform: translate(-3px, 1px); } }
.brawlRing { position: absolute; left: 50%; bottom: 7%; width: 70%; aspect-ratio: 4 / 1; translate: -50% 0; border-radius: 50%; border: 2px solid rgba(51, 198, 255, 0.6); box-shadow: 0 0 30px rgba(51, 198, 255, 0.5), inset 0 0 30px rgba(51, 198, 255, 0.3); }
.brawlSprite { position: absolute; inset: 2% 0 0; z-index: 2; background: url(/assets/img/chars/Marina.webp) no-repeat 0 0 / 4200% 100%; animation: brawl 2.6s steps(41) infinite; }
@keyframes brawl { to { background-position: 100% 0; } }
.brawlFx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.brawlHit { position: absolute; right: 14px; top: 14px; z-index: 4; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; color: #fff; text-shadow: 0 0 18px #33c6ff, 0 0 4px #33c6ff; font-style: italic; }
.brawlHit b { color: #33c6ff; font-size: 30px; display: inline-block; }
.brawlHit.isPop b { animation: pop 0.35s ease-out; }
@keyframes pop { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }
.brawlCopy { display: grid; gap: 16px; justify-items: start; padding: 10px 18px; }
.brawlCopy h3 { font-weight: 800; font-size: clamp(34px, 3.8vw, 58px); line-height: 0.95; letter-spacing: -0.04em; background: linear-gradient(90deg, #33c6ff, #b8ffcf 40%, #ffe14a 70%, #ff6a2b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brawlCopy p { color: var(--soft); }
.elements { display: flex; flex-wrap: wrap; gap: 8px; }
.elements li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); font-size: 13.5px; }
.elements li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
@media (max-width: 900px) {
  .brawl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .brawlSprite { animation: none; } }
#vr .gamesHead { margin-top: clamp(110px, 11vw, 170px); padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--border); }
@media (max-width: 900px) { .perks--two .perk:first-child { order: 2; } }

/* ===================== Light sections: diagonal cut with neon edges ===================== */
.section--light { --slope: 90px; margin-top: 60px; }
.section--light::before { border-radius: 0; background: radial-gradient(60% 40% at 50% 30%, #ffffff, transparent 70%), #eef3ec; clip-path: polygon(0 var(--slope), 100% 0, 100% calc(100% - var(--slope)), 0 100%); }
.section--light + .section { margin-top: 0; }
.edge { position: absolute; z-index: 1; left: 50%; width: 100vw; height: calc(var(--slope) + 10px); translate: -50% 0; pointer-events: none; filter: drop-shadow(0 0 6px var(--green)) drop-shadow(0 0 18px var(--green)); }
.edge::before { content: ""; position: absolute; inset: 0; background: var(--lime); }
.edge--top { top: 0; }
.edge--top::before { clip-path: polygon(0 var(--slope), 100% 0, 100% 3px, 0 calc(var(--slope) + 3px)); }
.edge--bottom { bottom: 0; }
.edge--bottom::before { clip-path: polygon(0 calc(100% - 3px), 100% 7px, 100% 10px, 0 100%); }
@media (max-width: 900px) {
  .section--light { --slope: 46px; }
}
.steamLink { display: grid; gap: 8px; justify-items: start; margin-top: 4px; } .soon, .wip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: linear-gradient(90deg, #1b2838, #2a475e); color: #c7d5e0; border: 1px solid #66c0f4; } .soon i { width: 8px; height: 8px; border-radius: 50%; background: #66c0f4; box-shadow: 0 0 10px #66c0f4; } .steamLink .go { font-weight: 600; color: var(--green); transition: color 0.2s, translate 0.3s var(--ease); } .steamLink:hover .go { color: var(--lime); translate: 4px 0; } .wip { background: rgba(255, 196, 0, 0.12); color: #ffd23f; border-color: rgba(255, 196, 0, 0.5); } .wip i { width: 8px; height: 8px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 10px #ffd23f; animation: blink 1.6s infinite; }
.brandLogo { display: block; height: 40px; width: auto; } @media (max-width: 900px) { .brandLogo { height: 32px; } }
.turntable canvas, .turntableFallback { mix-blend-mode: lighten; }
.perks--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 900px) { .perks--three { grid-template-columns: 1fr; } .perks--three .perk:first-child { order: 3; } }

/* The photo is only a fallback now: hidden while the 3D model loads, shown if WebGL or the model fails */
[data-avatar] .heroCut, [data-avatar] .ctaCut { opacity: 0; transition: opacity 0.6s ease; }
[data-avatar].isFallback .heroCut, [data-avatar].isFallback .ctaCut { opacity: 1; }
