
:root {
  --bg: #f2f2f0;
  --text: #111;
  --muted: #777;
  --line: #d9d9d6;
  --tile: #0a0a0b;
  --gap: 8px;
  --space: clamp(40px, 6vh, 64px);
  --pad: clamp(16px, 5vw, 76px);
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #000; --text: #eee; --muted: #8a8a8f; --line: #1d1d22; }
}
:root[data-theme="dark"] { --bg: #000; --text: #eee; --muted: #8a8a8f; --line: #1d1d22; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 90%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }


body::after {
  content: ""; position: fixed; inset: -60px; z-index: 100; pointer-events: none; opacity: .06; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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 .8s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate3d(-40px, 25px, 0); } 50% { transform: translate3d(25px, -40px, 0); } 75% { transform: translate3d(-25px, -25px, 0); } }


.nav {
  position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.nav__logo { font-weight: 500; margin-right: auto; }
.nav__logo span { color: var(--muted); font-weight: 400; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__actions { display: flex; gap: 4px; }
.icon-btn {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; background: none; color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.nav__burger { display: none; }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}


.intro { padding-top: calc(var(--nav-h) + clamp(80px, 14vh, 180px)); padding-bottom: clamp(64px, 10vh, 120px); }
.intro__text { font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1.15; max-width: 18em; }


.block { padding-bottom: clamp(80px, 12vh, 160px); }
.block__head {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 32px;
}
.block__head h2 { font-size: .95rem; font-weight: 500; letter-spacing: 0; }


.case { margin-bottom: 48px; }
.case__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.case__head h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.case__head { align-items: flex-start; margin-bottom: 32px; }
.case__logo { transform: none !important; position: relative; display: inline-block; }
.case__logo a { display: block; cursor: pointer; }
.case__logo canvas { position: absolute; pointer-events: none; z-index: 5; transition: filter 1.5s ease; }

.case__logo.is-lit canvas { filter: brightness(var(--logo-light, 1.6)) saturate(1.2) drop-shadow(0 0 4px rgba(255, 51, 71, .55)); }
.case__logo.is-dissolving img { opacity: 0; }
.case__logo img { height: 32px; width: auto; }

:root[data-theme="light"] .case__logo img { filter: drop-shadow(0 0 1px #0006); }
.case__about { max-width: 38em; display: grid; gap: 12px; color: var(--muted); }
.case__about p:first-child { color: var(--text); font-size: 1.1rem; line-height: 1.4; }
.case__meta { display: grid; grid-template-columns: auto 1fr 1.4fr; gap: 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; }
.case__meta dt { color: var(--muted); font-size: .8rem; }
.case__meta dd { color: var(--text); }
.case__hero { margin-bottom: var(--gap); }
.case__hero video { aspect-ratio: 2500 / 600; }


.wides { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.wides video { aspect-ratio: 5 / 1; }
.mosaic.mosaic--contain video { object-fit: contain; }
@media (max-width: 700px) { .wides { grid-template-columns: 1fr; } }


.mosaic { position: relative; border-radius: 6px; overflow: hidden; background: var(--tile); }
.mosaic video { width: 100%; object-fit: cover; }
.mosaic canvas, .promo canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; }
.tile__media { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--tile); }
.tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }


@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.tile { --c1: #ff3347; --c2: #7a0c18; --c3: #ff9a9a; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 3px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    conic-gradient(from var(--angle), var(--c1), var(--c2), var(--c3), var(--c1));
  background-blend-mode: overlay;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; animation: tile-spin 3s linear infinite, tile-noise .4s steps(3) infinite;
}
.tile:hover::after { opacity: 1; filter: url(#bloom); }
.tile:hover { z-index: 3; }
@keyframes tile-spin { to { --angle: 360deg; } }
@keyframes tile-noise { 33% { background-position: 30px 10px, 0 0; } 66% { background-position: -20px 40px, 0 0; } }
.tile__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


.promos { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: var(--gap); }
.promo { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--tile); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }

.promo--object img, .promo--object video {
  position: absolute; inset: 8% 6% 8% auto; width: 55%; height: 84%; object-fit: contain; object-position: right center;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.promo__num {
  position: absolute; left: 7%; top: 50%; translate: 0 -50%; z-index: 1; transform: skewX(-10deg);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1; font-weight: 500; letter-spacing: -.05em; color: #fff;
}
@media (max-width: 1100px) { .promos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .promos { grid-template-columns: repeat(3, 1fr); } }


.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); gap: var(--gap); }
.videos:empty, .banners:empty { display: none; }
.video { position: relative; border-radius: 6px; overflow: hidden; background: var(--tile); cursor: pointer; }
.video__media { aspect-ratio: 3 / 4; }
.video__media video, .video__media iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__title {
  position: absolute; inset: auto 0 0; padding: 24px 12px 10px; color: #fff; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .3s;
}
.video:hover .video__title { opacity: 1; }
.videos__empty { color: var(--muted); grid-column: 1 / -1; }
.banners { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.banner img { width: clamp(64px, 8vw, 110px); height: auto; }


.info { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.info__text p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; }
.info__text p + p { margin-top: 1em; }
.info__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info__list div:first-child { border-top: 1px solid var(--line); }
.info__list dt { color: var(--muted); }


.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact__lead { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 16px; }
.contact__mail { border-bottom: 1px solid currentColor; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.form input, .form textarea {
  font: inherit; color: var(--text); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--text); }
.form .is-invalid { border-bottom-color: #e5484d; }
.form button {
  justify-self: start; font: inherit; font-weight: 500; color: var(--bg); background: var(--text);
  border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: opacity .2s;
}
.form button:hover { opacity: .8; }
.form button:disabled { opacity: .5; cursor: wait; }
.form__status { min-height: 1.5em; font-size: .9rem; }
.form__status.ok { color: #22a06b; }
.form__status.err { color: #e5484d; }


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


.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


@media (max-width: 860px) {
  .nav__logo span { display: none; }
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__links.is-open { max-height: 300px; border-bottom: 1px solid var(--line); }
  .nav__links a { padding: 14px var(--pad); color: var(--text); }
  .info, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .case__hero video { aspect-ratio: 16 / 9; }
}


.nav__logo, .intro__text, .block__head h2, .case__head h3, .promo__num, .contact__lead {
  font-family: "Unbounded", "Inter", sans-serif;
}
.nav__logo b, .intro__text, .block__head h2, .case__head h3, .contact__lead { transform: skewX(-10deg); transform-origin: left bottom; }
.nav__logo b, .block__head h2, .case__head h3 { display: inline-block; }
.intro__text { font-weight: 500; letter-spacing: -.03em; }
.nav__logo span { font-family: "Inter", sans-serif; font-style: normal; }


:root { --accent: #ff3347; --nav-accent: #ff3347; }


.intro { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 0; }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(56vh, 480px); display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: clamp(28px, 6vw, 80px); border-radius: 16px; border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 86% 66%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), var(--tile);
}
.hero-card .intro__text { color: #fff; max-width: 22em; }
.eyebrow { margin: 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.hero-card__cta {
  align-self: flex-start; padding: 10px 22px; border-radius: 8px; font-weight: 500;
  background: #fff; color: #111; transition: opacity .2s;
}
.hero-card__cta:hover { opacity: .85; }


.tools {
  display: flex; overflow: hidden; margin: var(--space) 0; padding: 4px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tools__track {
  list-style: none; margin: 0; padding: 0; flex: none; display: flex; gap: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px);
  color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.3rem); white-space: nowrap; opacity: .75;
  animation: tools-scroll 28s linear infinite;
}

.tools__track li { line-height: 1; display: flex; align-items: center; gap: .45em; }
.tool-logo { width: 1.25em; height: 1.25em; flex: none; }
.t-ae  { font: 600 1.1em "Syne", sans-serif; letter-spacing: -.02em; }
.t-c4d { font: 700 .85em "Orbitron", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.t-hou { font: 700 1em "Syne", sans-serif; letter-spacing: .01em; }
.t-bl  { font: 800 1.05em "Nunito", sans-serif; text-transform: lowercase; letter-spacing: -.01em; }
.t-pr  { font: 300 1.05em "Sora", sans-serif; letter-spacing: .02em; }
.t-dv  { font: 700 .8em "Sora", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.t-ps  { font: 600 1.05em "Space Grotesk", sans-serif; letter-spacing: -.03em; }
.t-ai  { font: 1.15em "DM Serif Display", serif; }
.t-fg  { font: 600 1.05em "Inter", sans-serif; letter-spacing: -.04em; }
@keyframes tools-scroll { to { transform: translateX(-100%); } }


.block__head { flex-direction: column; align-items: center; text-align: center; gap: 10px; border-top: 0; padding-top: 0; margin-bottom: 48px; }
.block__head h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1; }


.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 80px 320px; gap: var(--gap);
  grid-template-areas: "timing tc" "curve tc" "curve edit"; }
.bento__card[data-fx="timeline"] { grid-area: timing; }
.bento__card[data-fx="curve"] { grid-area: curve; }
.bento__card[data-fx="edit"] { grid-area: edit; }
.bento__card[data-fx="timecode"] { grid-area: tc; }
.bento__card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px;
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(255, 51, 71, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 32px 32px,
    #0a0a10;
  color: #eee; cursor: pointer; transition: border-color .3s;
}
.bento__card:hover { border-color: rgba(255, 90, 105, .35); }

.bento__card--stat {
  border-color: rgba(255, 170, 175, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  background: #c8172b;
}

.bento__card[data-fx="curve"] { background: radial-gradient(55% 45% at 50% 0%, rgba(255, 51, 71, .16), transparent 70%), #0a0a10; }
.bento__card--stat:hover { border-color: rgba(255, 200, 205, .55); }
.bento__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 36px; }
.bento__foot h3 { font-size: 1.05rem; font-weight: 500; color: #fff; text-align: center; letter-spacing: -.01em; }
.bento__more { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, rotate .3s; }
.bento__more::before, .bento__more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 1px; background: currentColor; translate: -50% -50%; }
.bento__more::after { rotate: 90deg; }
.bento__card:hover .bento__more, .bento__more:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.bento__card.is-open .bento__more { rotate: 45deg; }

.bento__desc { position: absolute; inset: 0; z-index: 1; margin: 0; display: flex; align-items: center; justify-content: center; padding: 28px 32px 76px;
  text-align: center; font-size: 1rem; line-height: 1.6; color: #d6d6de; background: rgba(8, 8, 14, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.bento__card--stat .bento__desc { background: rgba(70, 8, 16, .85); color: #fee; }
.bento__card.is-open .bento__desc { opacity: 1; visibility: visible; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; } .bento__card[data-fx] { grid-area: auto; } }


#sound-toggle .icon-muted { display: none; }
#sound-toggle.is-muted .icon-sound { display: none; }
#sound-toggle.is-muted .icon-muted { display: block; }
#sound-toggle.is-muted { color: var(--muted); }


.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }


.promo { cursor: zoom-in; }
.promo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(16px, 5vw, 64px);
  background: rgba(8, 8, 10, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: zoom-out;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__frame { margin: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox__frame img, .lightbox__frame video {
  max-width: min(1100px, 100%); max-height: 82vh; width: auto; height: auto; object-fit: contain;
  border-radius: 10px; transform: scale(.92); transition: transform .3s cubic-bezier(.2, .7, .2, 1); cursor: default;
}
.lightbox.is-open .lightbox__frame img, .lightbox.is-open .lightbox__frame video { transform: none; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #aaa; font-size: .85rem; font-variant-numeric: tabular-nums; }


#perso, #gouts, #contact { content-visibility: auto; contain-intrinsic-size: auto 800px; }


.tile, .promo, .mosaic, .case__logo { -webkit-user-select: none; user-select: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tile video, .promo img, .promo video, .mosaic video { pointer-events: none; }



.bento__fx {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: 80%; pointer-events: none;
  -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent);
}
.bento__card[data-fx="curve"] .bento__fx { height: 86%; }
.bento__card[data-fx="timeline"] .bento__fx { height: 76%; }
.bento__card[data-fx="timecode"] .bento__fx { height: 100%; -webkit-mask: none; mask: none; }


@media (max-width: 700px) {
  :root { --nav-h: 56px; }

  .intro { padding-top: calc(var(--nav-h) + 12px); }
  .hero-card { min-height: 0; padding: 32px 22px 28px; gap: 18px; border-radius: 12px; }
  .hero-card .intro__text { font-size: clamp(1.15rem, 5.4vw, 1.4rem); line-height: 1.12; max-width: none; padding-right: 8px; }
  .tools { margin: 32px 0; }
  .tools__track { font-size: .95rem; animation-duration: 24s; }

  .block { padding-bottom: 72px; }
  .block__head { margin-bottom: 28px; }

  .case__head { margin-bottom: 20px; }
  .case__about p:first-child { font-size: 1rem; }
  .case__meta { grid-template-columns: 1fr 1fr; }
  .case__meta div:last-child { grid-column: 1 / -1; }
  .wides { gap: 6px; }
  .wides video, .case__hero video { aspect-ratio: 3 / 1; }

  .promo__num { font-size: 1.5rem; left: 8%; }

  .bento__card { min-height: 300px; padding: 20px; }
  .contact__lead { font-size: 1.6rem; }

  body::after { animation: none; }
}

@media (hover: none) {
  .promo { cursor: pointer; }
}


.has-px-cursor, .has-px-cursor * { cursor: none !important; }
.has-px-cursor input, .has-px-cursor textarea, .has-px-cursor select { cursor: text !important; }
.px-cursor { position: fixed; left: 0; top: 0; z-index: 10000; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none;
  background: #fff; mix-blend-mode: difference; opacity: 0; transition: width .18s cubic-bezier(.2,.7,.2,1), height .18s cubic-bezier(.2,.7,.2,1), margin .18s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.px-cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.px-cursor-on .px-cursor { opacity: 1; }
.px-cursor-text .px-cursor { opacity: 0; }


[data-videos="perso"] { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 700px) { [data-videos="perso"] { grid-template-columns: 1fr; } }
.yt-clip { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--tile); border: 1px solid var(--line); }
.yt-clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; filter: brightness(.8); }
.yt-clip:hover img { transform: scale(1.04); filter: brightness(1); }
.yt-clip__frame { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; pointer-events: none; }
.yt-clip img, .yt-clip__play, .yt-clip__meta { position: relative; z-index: 1; transition: opacity .35s, transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.yt-clip img { position: absolute; inset: 0; }
.yt-clip__meta { position: absolute; }
.yt-clip__play { position: absolute; }
.yt-clip__play { opacity: 0; }
.yt-clip:hover .yt-clip__play { opacity: .45; }
.yt-clip.is-playing img, .yt-clip.is-playing .yt-clip__play { opacity: 0; }

.yt-clip__play {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .15); border-top-color: #fff;
  animation: yt-spin .8s linear infinite;
}
.yt-clip__play::after { content: none; }
@keyframes yt-spin { to { transform: rotate(360deg); } }
.yt-clip__meta {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff;
}
.yt-clip__meta h3 { font: 500 .95rem "Inter", sans-serif; transform: none; }
.yt-clip__meta span { font-size: .78rem; color: #c9c9d0; font-variant-numeric: tabular-nums; white-space: nowrap; }


.tools__track .t-adobe { font: 600 1.05em "Source Sans 3", sans-serif; letter-spacing: -.01em; text-transform: none; }
.adobe-badge {
  display: inline-grid; place-items: center; width: 1.55em; height: 1.55em; border-radius: .32em;
  border: 1.5px solid currentColor; font: 700 .72em "Source Sans 3", sans-serif; letter-spacing: 0;
}


.swap { display: inline-grid; vertical-align: top; color: var(--accent); overflow: hidden; height: 1.2em; line-height: 1.2em; padding: 0 .15em 0 .05em; margin: 0 -.15em 0 -.05em; }
.swap__word { grid-area: 1 / 1; white-space: nowrap; justify-self: start; }
.swap { transition: width .8s cubic-bezier(.75, 0, .25, 1) .2s; }
.swap__word > span { display: inline-block; white-space: pre; }
.swap__word.is-in > span { animation: swap-in .55s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(180ms + var(--i) * 40ms); }
.swap__word.is-out > span { animation: swap-out .4s cubic-bezier(.55, 0, .75, .3) both; animation-delay: calc(var(--i) * 32ms); }
@keyframes swap-in { from { transform: translateY(150%); } }
@keyframes swap-out { to { transform: translateY(-150%); } }
@media (prefers-reduced-motion: reduce) { .swap__word > span { animation: none !important; } }

.hero-card__cta, .form button {
  position: relative; isolation: isolate; border-radius: 0; overflow: hidden; transition: color .2s;
  clip-path: polygon(0 6px, 3px 6px, 3px 3px, 6px 3px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px,
    100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px), calc(100% - 6px) 100%,
    6px 100%, 6px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px));
}
.hero-card__cta::before, .form button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; image-rendering: pixelated;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' shape-rendering='crispEdges'><defs><pattern id='p0' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/></pattern><pattern id='p1' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/></pattern><pattern id='p2' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/></pattern><pattern id='p3' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern><pattern id='p4' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='3' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='1' y='3' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern><pattern id='p5' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='1' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='3' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='3' y='2' width='1' height='1'/><rect x='1' y='3' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern><pattern id='p6' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='1' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='3' y='0' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='3' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='1' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='3' y='2' width='1' height='1'/><rect x='1' y='3' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern><pattern id='p7' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='1' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='3' y='0' width='1' height='1'/><rect x='0' y='1' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='3' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='1' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='3' y='2' width='1' height='1'/><rect x='1' y='3' width='1' height='1'/><rect x='2' y='3' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern><pattern id='p8' width='4' height='4' patternUnits='userSpaceOnUse' fill='%23ff3347'><rect x='0' y='0' width='1' height='1'/><rect x='1' y='0' width='1' height='1'/><rect x='2' y='0' width='1' height='1'/><rect x='3' y='0' width='1' height='1'/><rect x='0' y='1' width='1' height='1'/><rect x='1' y='1' width='1' height='1'/><rect x='2' y='1' width='1' height='1'/><rect x='3' y='1' width='1' height='1'/><rect x='0' y='2' width='1' height='1'/><rect x='1' y='2' width='1' height='1'/><rect x='2' y='2' width='1' height='1'/><rect x='3' y='2' width='1' height='1'/><rect x='0' y='3' width='1' height='1'/><rect x='1' y='3' width='1' height='1'/><rect x='2' y='3' width='1' height='1'/><rect x='3' y='3' width='1' height='1'/></pattern></defs><rect y='10%' height='10.5%' width='100%' fill='url(%23p0)'/><rect y='20%' height='10.5%' width='100%' fill='url(%23p1)'/><rect y='30%' height='10.5%' width='100%' fill='url(%23p2)'/><rect y='40%' height='10.5%' width='100%' fill='url(%23p3)'/><rect y='50%' height='10.5%' width='100%' fill='url(%23p4)'/><rect y='60%' height='10.5%' width='100%' fill='url(%23p5)'/><rect y='70%' height='10.5%' width='100%' fill='url(%23p6)'/><rect y='80%' height='10.5%' width='100%' fill='url(%23p7)'/><rect y='90%' height='10.5%' width='100%' fill='url(%23p8)'/></svg>") no-repeat; transform-origin: left;
  transform: translateY(100%); transition: transform .5s steps(8);
}
.hero-card__cta:hover, .form button:hover { opacity: 1; }
.hero-card__cta:hover::before, .form button:not(:disabled):hover::before { transform: none; }

.hero-card__cta, .form button { transition: color .2s, transform .18s steps(3), letter-spacing .3s steps(4); }
.hero-card__cta:hover, .form button:not(:disabled):hover { transform: translateY(-3px) scale(1.04); letter-spacing: .03em; }
.hero-card__cta:active, .form button:not(:disabled):active { transform: translateY(1px) scale(.94); transition-duration: .06s; }
.hero-card__cta:hover::before, .form button:not(:disabled):hover::before { animation: dither-shimmer .6s steps(4) .5s infinite; }
.hero-card__cta:active::before, .form button:not(:disabled):active::before { filter: brightness(1.35) saturate(1.3); }
@keyframes dither-shimmer { 50% { background-position: 2px 1px; } }
@media (prefers-reduced-motion: reduce) { .hero-card__cta::before, .form button::before { animation: none !important; } }

.case__side { display: flex; flex-direction: column; align-self: stretch; flex: 1 1 320px; max-width: 34em; }
.case__side .case__logo { margin: auto 0 24px; }
.case__cta { display: inline-block; width: fit-content; justify-self: start; margin: 0 0 24px; }
.case__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; margin: 0 0 24px; padding: 0; list-style: none; }
.case__stats li { display: flex; flex-direction: column; justify-content: flex-end; font-size: .85rem; opacity: .85;
  padding: 12px 12px 10px; min-height: calc(90px + var(--step, 0) * 36px);
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
  border-top: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.case__stats li:nth-child(2) { --step: 1; } .case__stats li:nth-child(3) { --step: 2; } .case__stats li:nth-child(4) { --step: 3; }
.case__stats strong { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; white-space: nowrap; }
@media (max-width: 640px) { .case__stats { grid-template-columns: repeat(2, 1fr); } .case__stats li { --step: 0; } }

.case__discord { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; color: inherit; text-decoration: none; }
.case__discord:hover strong { color: var(--accent); }
.case__dbanner { position: relative; display: block; width: 100%; aspect-ratio: 16/9; margin-bottom: 22px; border-radius: 8px; background: #1e1f22 center/cover no-repeat; }
.case__dbanner img { position: absolute; left: 10px; bottom: -16px; width: 36px; height: 36px; border-radius: 30%; border: 3px solid var(--bg, #111); background: #1e1f22; }
.case__online { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .8rem; }
.case__online i { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 0 #23a55a; animation: online-pulse 2s infinite; }
@keyframes online-pulse { 70% { box-shadow: 0 0 0 6px transparent; } }


.hero-card { --accent: #ff3347; --cx: 86%; --cy: 66%; }

.hero-card__radar { position: absolute; left: var(--cx); top: var(--cy); width: min(90vw, 820px); aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none;
  filter: brightness(calc(1 + var(--near, 0) * 1.2)) saturate(calc(1 + var(--near, 0))); transition: filter .3s; }
.hero-card__radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent); scale: .05; opacity: 0; animation: radar-ping 4.5s cubic-bezier(.2, .6, .3, 1) infinite; }
.hero-card__radar i:nth-child(2) { animation-delay: 1.5s; }
.hero-card__radar i:nth-child(3) { animation-delay: 3s; }
.hero-card__radar b { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 35%, transparent), transparent 22%); -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent); animation: radar-sweep 6s linear infinite; }
@keyframes radar-ping { 0% { scale: .05; opacity: .9; } 100% { scale: 1; opacity: 0; } }
@keyframes radar-sweep { to { rotate: 1turn; } }

.hero-3d { position: absolute; left: var(--cx); top: var(--cy); width: 50%; aspect-ratio: 1; translate: -50% -50%; z-index: 2; pointer-events: none; filter: drop-shadow(10px -12px 0 rgba(255, 51, 71, .9)) drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 45%, transparent)); }

.hero-card__crt { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55));
  mix-blend-mode: multiply; animation: crt-flicker 3.2s steps(1) infinite; }
.hero-card__crt::after { content: ""; position: absolute; left: 0; right: 0; height: 18%; top: -20%; background: linear-gradient(transparent, rgba(255,255,255,.05), transparent); animation: crt-roll 7s linear infinite; mix-blend-mode: screen; }
.hero-card h1 { text-shadow: calc(var(--near, 0) * 3px) 0 rgba(255,0,80,.55), calc(var(--near, 0) * -3px) 0 rgba(255,255,255,.45); transition: text-shadow .25s; }
@keyframes crt-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .85; } 48% { opacity: 1; } 82% { opacity: .92; } }
@keyframes crt-roll { to { top: 110%; } }

.blip { transition: opacity .12s ease; }
.blip.is-off { opacity: 0; }
.blip { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px; z-index: 2; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: blip 2.4s ease-out infinite; }
.blip::after { content: ""; position: absolute; inset: -14px; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 80%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.blip__card { position: absolute; left: 20px; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; white-space: nowrap; color: var(--text); font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 3px), rgba(12,10,20,.85); border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  clip-path: inset(50% 0 50% 0); opacity: 0; transition: clip-path .28s steps(5), opacity .1s; pointer-events: none; }
.blip__card em { font-style: normal; }
.blip__logo { height: 22px; width: auto; max-width: none; flex: none; display: block; }
.blip__yt { width: 28px; height: 20px; display: block; }
.blip:hover .blip__card, .blip:focus-visible .blip__card { clip-path: inset(0); opacity: 1; }

.reticle { position: absolute; left: var(--mx, -99px); top: var(--my, -99px); width: 44px; height: 44px; margin: -22px; z-index: 1; pointer-events: none; opacity: calc(var(--in, 0) * .7); transition: width .2s, height .2s, margin .2s, opacity .3s;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 10px 2px, linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 10px,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 10px 2px, linear-gradient(var(--accent), var(--accent)) 100% 0 / 2px 10px,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 10px 2px, linear-gradient(var(--accent), var(--accent)) 0 100% / 2px 10px,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 10px 2px, linear-gradient(var(--accent), var(--accent)) 100% 100% / 2px 10px; background-repeat: no-repeat; }
.hero-card.is-locked .reticle { width: 28px; height: 28px; margin: -14px; opacity: 1; }
@media (pointer: coarse) { .reticle { display: none; } .blip__card { clip-path: inset(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-card__radar i, .hero-card__radar b, .hero-card__crt, .hero-card__crt::after, .blip { animation: none; } }


.sub-head { margin: 0 0 16px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.sub-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic[data-title] { position: relative; }
.mosaic[data-title]::after { content: attr(data-title); position: absolute; left: clamp(20px, 4vw, 56px); top: 50%; z-index: 6; pointer-events: none;
  font: italic 800 clamp(1.4rem, 3.4vw, 3rem)/1 "Unbounded", "Inter", sans-serif; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.6);
  opacity: 0; transform: translate(-16px, -50%); transition: opacity .35s, transform .5s cubic-bezier(.2,.7,.2,1); }
.mosaic[data-title]:hover::after { opacity: 1; transform: translate(0, -50%); }


:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--text); color: var(--bg, #060607); border-radius: 6px; transition: top .2s; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


.hero-card__radar { z-index: 1; }
.hero-card .intro__text, .hero-card__cta { position: relative; z-index: 3; }


.hero-card__noise { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .13; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: tv-snow .5s steps(6) infinite; will-change: background-position; }
@keyframes tv-snow { 0% { background-position: 0 0; } 20% { background-position: -40px 25px; } 40% { background-position: 30px -45px; } 60% { background-position: -20px 60px; } 80% { background-position: 50px 15px; } 100% { background-position: -30px -20px; } }
.hero-card__crt::before { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 7%; pointer-events: none;
  background: linear-gradient(transparent, rgba(255,255,255,.12) 40%, rgba(255,51,71,.18) 60%, transparent);
  mix-blend-mode: screen; opacity: 0; animation: tv-band 5.3s steps(1) infinite; }
@keyframes tv-band { 0%, 86%, 100% { opacity: 0; } 87% { opacity: 1; top: 22%; transform: translateX(-3%); } 89% { opacity: 1; top: 61%; transform: translateX(4%); height: 3%; } 91% { opacity: 1; top: 44%; transform: translateX(-2%); height: 12%; } 93% { opacity: 0; } }
.hero-card .hero-3d { animation: tv-jolt 7s steps(1) infinite; }
.hero-card .intro__text { animation: tv-jolt-text 7s steps(1) infinite; }
@keyframes tv-jolt { 0%, 88%, 100% { transform: none; } 89% { transform: translate(-6px, 1px) skewX(-6deg); } 90% { transform: translate(5px, -2px); } 91% { transform: none; } 95% { transform: translateY(2px); } 96% { transform: none; } }
@keyframes tv-jolt-text { 0%, 88%, 100% { translate: none; filter: none; } 89% { translate: -6px 1px; filter: drop-shadow(4px 0 rgba(255,0,80,.7)) drop-shadow(-4px 0 rgba(255,255,255,.6)); } 90% { translate: 5px -2px; filter: none; } 91% { translate: none; } 95% { translate: 0 2px; } 96% { translate: none; } }
@media (prefers-reduced-motion: reduce) { .hero-card__noise, .hero-card__crt::before, .hero-card .intro__text, .hero-card .hero-3d { animation: none; } }


.is-loading { position: relative; background: var(--tile); overflow: hidden; }
.is-loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; z-index: 7; pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--accent) 80%, #fff); background: color-mix(in srgb, var(--accent) 25%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); animation: load-cube 1.6s cubic-bezier(.45,0,.55,1) infinite; }
.is-loading::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.07) 48%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.07) 52%, transparent 65%) -150% 0 / 200% 100% no-repeat;
  animation: load-sweep 1.4s ease-in-out infinite; }
@keyframes load-cube { 0%, 100% { transform: translateY(4px) rotate(45deg) scale(.9); } 50% { transform: translateY(-6px) rotate(225deg) scale(1); } }
@keyframes load-sweep { to { background-position: 250% 0; } }
@media (prefers-reduced-motion: reduce) { .is-loading::before, .is-loading::after { animation: none; } }


.nav { background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.icon-btn { border-radius: 8px; transition: background .2s, color .2s; }
.icon-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
@media (max-width: 860px) { .nav__links a::after { display: none; } }


.hero-card__dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: url("img/hero-signal.jpg") center / cover; mix-blend-mode: screen; opacity: .2; }


.testi { position: relative; margin: var(--space) 0 0; border: 1px solid var(--line); border-radius: 16px; background: var(--tile); }
.testi__head { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: 30px clamp(20px, 4vw, 48px) 18px; }
.testi__stage { position: relative; flex: 0 1 520px; }
.testi__banner { width: 100%; aspect-ratio: 960 / 338; border-radius: 12px; background: #000002 url("img/noxuu-banner.png") center / cover no-repeat;
  box-shadow: 0 14px 40px rgba(0,0,0,.45); animation: pfp-float 5s ease-in-out -1.5s infinite; }
.testi__pfp { position: relative; z-index: 2; display: block; flex: none; width: 96px; height: 96px;
  border-radius: 50%; border: 4px solid var(--tile); background: #000; object-fit: cover; box-shadow: 0 12px 40px rgba(255, 51, 71, .25); animation: pfp-float 4.5s ease-in-out infinite; }
@keyframes pfp-float { 50% { translate: 0 -8px; } }
.testi__quote { margin: 0; padding: 18px clamp(20px, 4vw, 48px) 12px; }
.testi__quote p { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.45; max-width: 46em; }
.testi__by { display: flex; gap: 10px; align-items: baseline; padding: 0 clamp(20px, 4vw, 48px) 28px; }
.testi__by span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .testi__pfp, .testi__banner, .testi__social .social { animation: none; } }


.testi__social { position: absolute; inset: 0; pointer-events: none; }
.testi__social .social { position: absolute; pointer-events: auto; background: color-mix(in srgb, var(--tile) 85%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: pfp-float 4.2s ease-in-out infinite; }
.testi__social .social:nth-child(1) { left: -6%; top: -4%; animation-delay: -.6s; }
.testi__social .social:nth-child(2) { right: -12%; top: 8%; animation-delay: -2.1s; }
.testi__social .social:nth-child(3) { right: 6%; bottom: -14%; animation-delay: -3.3s; }
.testi__social .social:nth-child(4) { left: 4%; bottom: -10%; animation-delay: -1.4s; }
.social { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s; }
.social:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--tile)); transform: scale(1.06); }
.social svg { width: 18px; height: 18px; flex: none; }
.social__tip { position: absolute; right: calc(100% + 8px); top: 50%; translate: 0 -50%; font-style: normal; font-size: .75rem; color: var(--accent); white-space: nowrap; }
@media (max-width: 760px) { .testi__head { flex-wrap: wrap; } .testi__stage { flex-basis: 100%; } .testi__social { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .testi__social .social { position: static; animation: none; } }


@media (hover: hover) and (pointer: fine) {
  .nav { transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s; }
  .nav.is-shown, .nav:focus-within { transform: none; }
}


.splash { position: fixed; inset: 0; z-index: 20000; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg, #060607);
  transition: opacity .6s ease, visibility .6s; }
.splash.is-done { opacity: 0; visibility: hidden; }
.splash__bar { font: 500 .95rem "Space Grotesk", sans-serif; letter-spacing: .02em; color: var(--text, #eee); animation: splash-blink 1.2s ease-in-out infinite; }
@keyframes splash-blink { 50% { opacity: .35; } }
html.is-loading-site { overflow: hidden; }




.testi { isolation: isolate; }
.testi::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: url("img/bg-earth.jpg") center / cover no-repeat; filter: blur(3px); opacity: .07; clip-path: inset(0 round 16px); }


.stagger { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--sd, 0ms); }
.stagger.is-in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .stagger { opacity: 1; translate: none; transition: none; } }


.hero-3d--fx { opacity: 1; }
.hero-3d:not(.hero-3d--fx) { opacity: 0; }


html.lite .hero-card__noise, html.lite .hero-card__crt::before, html.lite .hero-card__crt::after, html.lite .hero-card__dots { display: none; }
html.lite .hero-card__crt { animation: none; mix-blend-mode: normal; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
html.lite .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg) 94%, transparent); }
html.lite .stagger { filter: none; }
html.lite .hero-card .intro__text, html.lite .hero-card .hero-3d { animation: none; }
html.lite .hero-3d--fx { display: none; }
html.lite .hero-3d:not(.hero-3d--fx) { opacity: 1; }


.tv-loader { position: absolute; left: var(--cx); top: var(--cy); translate: -50% -50%; z-index: 2; display: grid; justify-items: center; gap: 14px; pointer-events: none; transition: opacity .4s; }
.tv-loader.is-done { opacity: 0; }
.tv-loader { grid-template-columns: repeat(3, auto); column-gap: 10px; }
.tv-loader i { width: 14px; height: 14px; border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 25%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 50%, transparent); animation: load-cube 1.4s cubic-bezier(.45,0,.55,1) infinite; }
.tv-loader i:nth-child(2) { animation-delay: .18s; } .tv-loader i:nth-child(3) { animation-delay: .36s; }
.tv-loader__bar { grid-column: 1 / -1; width: 110px; height: 2px; background: color-mix(in srgb, var(--text) 15%, transparent); overflow: hidden; }
.tv-loader__bar b { display: block; height: 100%; width: calc(var(--p, .05) * 100%); background: var(--accent); transition: width .2s; }

  background: color-mix(in srgb, var(--bg) 92%, transparent); font: 12px/1.3 ui-monospace, Consolas, monospace; color: var(--text); }

.load-fade :is(video, img, canvas) { transition: opacity .5s ease; }
.is-loading :is(video, img, canvas) { opacity: 0; }

.lang-btn { width: auto; min-width: 36px; padding: 0 8px; font-family: inherit; font-size: .72rem; font-weight: 600; line-height: 1; letter-spacing: .08em; }

@media (max-width: 700px) { html[lang="en"] .hero-card .intro__text { max-width: 62%; } }

.lang-pop { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 14px 44px 14px 18px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: color-mix(in srgb, var(--tile) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
  color: var(--text); font-size: .85rem; line-height: 1.4; opacity: 0; translate: 0 16px; transition: opacity .35s, translate .35s cubic-bezier(.2, .7, .2, 1); }
.lang-pop.is-in { opacity: 1; translate: none; }
.lang-pop p { margin: 0; color: #c8c8d0; }
.lang-pop__go { flex: none; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.lang-pop__go:hover { opacity: .85; }
.lang-pop__close { position: absolute; top: 50%; right: 10px; translate: 0 -50%; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted, #999); cursor: pointer; }
.lang-pop__close:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.lang-pop__close::before, .lang-pop__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; rotate: 45deg; }
.lang-pop__close::after { rotate: -45deg; }
@media (max-width: 560px) { .lang-pop { left: 16px; right: 16px; bottom: 16px; max-width: none; flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .lang-pop { transition: none; translate: none; } }


:root { --nav-h: 72px; }
.nav__inner { gap: 6px; }
.nav__logo { margin-right: 0; }
.nav__ticker { display: flex; align-items: stretch; height: 30px; margin: 0 auto; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  font: 500 .68rem/1 var(--mono); letter-spacing: .04em; color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.nav__ticker-win { width: clamp(160px, 22vw, 300px); overflow: hidden; display: flex; align-items: center;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nav__ticker-track { display: flex; gap: 12px; padding-right: 12px; white-space: nowrap; animation: ticker 16s linear infinite; }
.nav__ticker-track i { font-style: normal; color: var(--accent); }
.nav__ticker:hover .nav__ticker-track { animation-play-state: paused; }
.nav__ticker-go { display: grid; place-items: center; width: 30px; border-left: 1px solid var(--line); transition: background .2s, color .2s; }
.nav__ticker-go svg { width: 13px; height: 13px; }
.nav__ticker:hover .nav__ticker-go { background: var(--accent); color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nav__ticker-track { animation: none; } }

.nav__links { gap: 6px; }
.nav__links a { position: relative; display: flex; align-items: flex-end; min-width: 88px; height: 40px; padding: 0 22px 7px 9px;
  border: 1px solid var(--line); border-radius: 0; color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent);
  font: 400 .78rem/1 var(--mono); transition: border-color .2s, background .2s, color .2s; }
.nav__links a::after { content: ""; position: absolute; top: 5px; right: 5px; left: auto; bottom: auto; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; transform: none; transition: background .2s, transform .2s; }
.nav__links a:hover { border-color: color-mix(in srgb, var(--text) 45%, transparent); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scale(1.5); }
.nav__links a.is-active:not(.nav__cta) { color: var(--accent); }
.nav__links a.is-active:not(.nav__cta)::after { background: var(--accent); }
.nav__links .nav__cta { min-width: 110px; border-color: var(--accent); background: var(--accent); color: #fff; }
.nav__links .nav__cta:hover { background: color-mix(in srgb, var(--accent) 80%, #fff); }
.nav__actions { align-items: center; gap: 6px; margin-left: 6px; }
.nav .icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 0; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.nav .lang-btn { font-family: var(--mono); }
@media (max-width: 1100px) { .nav__ticker { display: none; } .nav__logo { margin-right: auto; } }
@media (max-width: 860px) {
  .nav__links { top: var(--nav-h); height: calc(100dvh - var(--nav-h)); max-height: none; gap: 0; border-top: 1px solid var(--line);
    background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .4s cubic-bezier(.2,.7,.2,1); }
  .nav__links.is-open { max-height: none; clip-path: inset(0); }
  .nav__links a { min-width: 0; height: auto; padding: 14px var(--pad); border: 0; border-bottom: 1px solid var(--line); background: none;
    font-size: 1.6rem; align-items: center; }
  .nav__links a::after { display: none; }
  .nav__links .nav__cta { margin: auto var(--pad) calc(var(--pad) + env(safe-area-inset-bottom)); padding: 16px; border: 1px solid var(--accent);
    font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
}


.hero-card__cta, .form button { clip-path: none; display: inline-flex; align-items: flex-end; min-width: 150px; min-height: 44px; padding: 0 30px 9px 11px;
  border: 1px solid var(--nav-accent); border-radius: 0; background: var(--nav-accent); color: #fff; font: 500 .82rem/1 var(--mono); letter-spacing: .02em; }
.hero-card__cta::before, .form button::before { display: none; }
.hero-card__cta::after, .form button::after { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .2s; }
.hero-card__cta:hover, .form button:not(:disabled):hover { transform: none; letter-spacing: .02em; background: color-mix(in srgb, var(--nav-accent) 80%, #fff); }
.hero-card__cta:hover::after, .form button:not(:disabled):hover::after { transform: scale(1.6); }
.hero-card__cta:active, .form button:not(:disabled):active { transform: translateY(1px); }


.footer { position: relative; overflow: hidden; margin-top: 40px; color: var(--text); border-top: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.footer__top { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding-block: 48px 0; font: 400 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.footer__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; }
.footer__label { color: var(--muted); }
.footer a { color: var(--text); transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__word { position: relative; z-index: 1; margin-top: 8px; text-align: center; white-space: nowrap; line-height: .78;
  font: 800 21.5vw/.78 "Unbounded", "Inter", sans-serif; letter-spacing: -.04em; color: var(--text); transform: translateY(6%); -webkit-user-select: none; user-select: none; }
.footer__floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.footer__floats img { position: absolute; height: auto; rotate: var(--r, 0deg); filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
  animation: float-bob var(--t, 6s) ease-in-out var(--d, 0s) infinite; }
@keyframes float-bob { 50% { translate: 0 -12px; rotate: calc(var(--r, 0deg) + 4deg); } }
@media (prefers-reduced-motion: reduce) { .footer__floats img { animation: none; } }
.float--k1 { left: 5%; bottom: 10%; width: clamp(64px, 8vw, 140px); --r: -14deg; --t: 6.5s; }
.float--k2 { right: 3%; bottom: 3%; width: clamp(90px, 13vw, 220px); --r: 10deg; --t: 7s; --d: -2s; }
.float--k3 { left: 33%; bottom: -2%; width: clamp(70px, 9vw, 150px); --r: 8deg; --t: 5.5s; --d: -1s; }
.float--k4 { right: 20%; top: 10%; width: clamp(70px, 9vw, 160px); --r: -10deg; --t: 6s; --d: -3s; }
.float--k6 { right: 4%; top: 40%; width: clamp(90px, 12vw, 200px); --r: -4deg; --t: 6.8s; --d: -4s; }
@media (max-width: 700px) { .float--k6 { display: none; } .float--k4 { top: 4%; right: 6%; } }
@media (max-width: 700px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; margin-top: 32px; }
}


.case__sub { margin: 40px 0 14px; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.giftcards { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.promo.shot { aspect-ratio: 8 / 7; cursor: zoom-in; }
.promo.shot img { object-fit: cover; }
.promo.shot:hover img { transform: scale(1.04); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.shots .promo.shot { aspect-ratio: 1; background: radial-gradient(70% 70% at 50% 45%, color-mix(in srgb, var(--accent) 14%, var(--tile)), var(--tile)); }
.shots .promo.shot img { inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.shots .promo.shot:first-child img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .giftcards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.commission { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(20px, 4vw, 56px);
  margin: 40px 0 0; padding: clamp(20px, 4vw, 48px); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); overflow: hidden;
  background: radial-gradient(80% 90% at 85% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--accent) 5%, transparent) 14px 15px), var(--tile); }
.commission::before { content: ""; position: absolute; top: 10px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); }
.commission__tag { display: inline-block; margin-bottom: 18px; padding: 6px 10px; border: 1px solid var(--accent); color: var(--accent);
  font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.commission h4 { margin: 0 0 16px; font: 700 clamp(1.8rem, 4.2vw, 3.4rem)/.95 "Unbounded", "Inter", sans-serif; transform: skewX(-10deg); transform-origin: left bottom; }
.commission p { margin: 0; max-width: 34em; color: color-mix(in srgb, var(--text) 80%, transparent); line-height: 1.6; }
.commission .commission__art { aspect-ratio: 896 / 889; rotate: 2deg; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: rotate .4s cubic-bezier(.2,.7,.2,1); }
.commission .commission__art:hover { rotate: 0deg; }
.commission .commission__art img { object-fit: cover; }
@media (max-width: 760px) { .commission { grid-template-columns: 1fr; } }

.case--buff { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--line); }
.case--buff .case__logo img { height: 40px; }
.case--buff .case__stats li:first-child { grid-column: 3; }
@media (max-width: 640px) { .case--buff .case__stats li:first-child { grid-column: auto; } }
.case--buff .tiles { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
.case--buff { scroll-margin-top: calc(var(--nav-h) + 16px); }


.proj { position: relative; margin-bottom: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.proj::before { content: ""; position: absolute; top: -1px; left: 0; width: 72px; height: 2px; background: var(--accent); }
.proj__head { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 12px 28px; margin-bottom: 22px; }
.proj__num { font: 700 clamp(2.6rem, 6vw, 4.6rem)/.8 "Unbounded", "Inter", sans-serif; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 70%, transparent); }
.proj__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.proj__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: online-pulse 2s infinite; }
.proj h3 { margin: 0; font: 700 clamp(1.6rem, 3.4vw, 2.6rem)/1 "Unbounded", "Inter", sans-serif; transform: skewX(-10deg); transform-origin: left bottom; }
.proj__head p { margin: 0; max-width: 36em; justify-self: end; text-align: right; color: var(--muted); line-height: 1.5; }
.proj--paused .videos { filter: saturate(.75); }
@media (max-width: 760px) { .proj__head { grid-template-columns: auto 1fr; } .proj__head p { grid-column: 1 / -1; justify-self: start; text-align: left; } }
.yt-clip__meta { display: none !important; }


.videos { position: relative; transition: padding-bottom .35s cubic-bezier(.2, .8, .2, 1); }
.videos:has(.yt-clip.is-playing) { padding-bottom: calc(var(--w, 100%) * 9 / 16 + 14px); }
.yt-clip.is-playing { z-index: 20; overflow: visible; border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.yt-clip.is-playing img { opacity: 1; }
.yt-clip.is-playing .yt-clip__frame {
  inset: auto; top: calc(100% + 14px); left: var(--dx, 0); width: var(--w, 100%); max-width: none; height: auto; aspect-ratio: 16 / 9;
  border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  pointer-events: auto; box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: clip-pop .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes clip-pop { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .yt-clip.is-playing .yt-clip__frame { animation: none; } }

.ytc { display: block; margin: 0 0 48px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--tile); color: inherit; text-decoration: none; transition: border-color .3s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.ytc:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px); }
.ytc__banner { display: block; width: 100%; aspect-ratio: 5 / 1; object-fit: cover; background: #000; }
.ytc__body { display: flex; align-items: center; gap: 18px; padding: 0 22px 20px; }
.ytc__pfp { width: 96px; height: 96px; margin-top: -34px; border-radius: 50%; border: 4px solid var(--tile); background: #000; flex: none; }
.ytc__info { flex: 1; min-width: 0; padding-top: 12px; }
.ytc__info h3 { margin: 0; font: 700 1.5rem "Inter", sans-serif; }
.ytc__info p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.ytc__sub { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 .9rem "Inter", sans-serif; transition: filter .2s, transform .2s; }
.ytc__sub svg { width: 18px; height: 18px; }
.ytc:hover .ytc__sub { filter: brightness(1.12); }
.ytc__sub:active { transform: scale(.96); }
@media (max-width: 600px) {
  .ytc__body { flex-wrap: wrap; gap: 10px 14px; padding: 0 16px 16px; }
  .ytc__pfp { width: 72px; height: 72px; margin-top: -26px; }
  .ytc__sub { width: 100%; justify-content: center; margin-top: 4px; }
}

@media (max-width: 600px) {
  .hero-card { --cx: 50%; --cy: calc(100% - 165px); padding-bottom: 340px; }
  .hero-card .intro__text { max-width: none !important; }
  .hero-card__radar { width: 330px; }
  .hero-3d { width: 170px; }
  .blip { margin: -5px; width: 10px; height: 10px; }
  .blip[href="#pro"]   { left: 14%; top: calc(100% - 290px); }
  .blip[href="#buff"]  { left: 70%; top: calc(100% - 270px); }
  .blip[href="#moi"]   { left: 12%; top: calc(100% - 120px); }
  .blip[href="#perso"] { left: 74%; top: calc(100% - 70px); }
  .blip__card { padding: 5px 7px; font-size: .68rem; }
  .blip__logo { height: 15px; }
  .blip__yt { width: 22px; height: 16px; }
  .blip[href="#buff"] .blip__card, .blip[href="#perso"] .blip__card { left: auto; right: 16px; }
}

@media (max-width: 600px) {
  .tiles, .promos, .giftcards, .shots, .banners, .wides {
    display: grid !important; grid-template-columns: none !important; grid-template-rows: none !important;
    grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 0 16px 10px; scroll-padding-inline: 16px; scrollbar-width: none; gap: 10px;
  }
  .tiles::-webkit-scrollbar, .promos::-webkit-scrollbar, .giftcards::-webkit-scrollbar, .shots::-webkit-scrollbar, .banners::-webkit-scrollbar, .wides::-webkit-scrollbar { display: none; }
  .tiles > *, .promos > *, .giftcards > *, .shots > *, .banners > *, .wides > * { scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
  .tiles { grid-auto-columns: 42%; }
  .promos, .giftcards { grid-auto-columns: 44%; }
  .shots, .banners, .wides { grid-auto-columns: 86%; }
  .bento__card { min-height: 230px; }
}

.yt-sheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(8, 8, 10, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.yt-sheet.is-open { opacity: 1; }
.yt-sheet__frame { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: #000; transform: scale(.94); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.yt-sheet.is-open .yt-sheet__frame { transform: none; }
.yt-sheet__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-sheet__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: 1rem; }
@media (pointer: coarse) { .yt-clip.is-playing .yt-clip__frame { display: none; } .videos:has(.yt-clip.is-playing) { padding-bottom: 0; } }

.cube { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; --mx: -999px; --my: -999px; }
.cube > .shots, .cube > .tiles { display: contents !important; }
.cube .promo.shot, .cube .tile { position: relative; z-index: 1; margin: 0; border-radius: 10px; overflow: hidden; }
.cube .promo.shot { aspect-ratio: 1 !important; }
.cube .tile { aspect-ratio: 3 / 4 !important; }
.cube .promo.shot:first-child, .cube .tile:first-child { grid-column: span 2; grid-row: span 2; }
.cube .tile:first-child, .cube .promo.shot:first-child, .cube .promo.shot:last-child { aspect-ratio: auto !important; }
.cube__hex { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: screen;
  --hex-mask: radial-gradient(circle 170px at calc(var(--mx) + 40px) calc(var(--my) + 40px), #000 0, rgba(0,0,0,.55) 35%, rgba(0,0,0,.15) 70%, transparent 100%);
  -webkit-mask: var(--hex-mask); mask: var(--hex-mask); }
.cube.is-near .cube__hex { opacity: 1; }
.hex-base { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1.4; }
.cube__neon path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--accent)); }
@media (max-width: 700px) { .cube { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce), (pointer: coarse) { .cube__hex { display: none; } }

.block__head { align-items: flex-start; text-align: left; }
.footer__totop { display: inline-flex; align-items: center; gap: 12px; width: max-content; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.footer__totop b { display: grid; place-items: center; width: 28px; height: 28px; background: var(--accent); font-size: .9rem; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.footer__totop:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.footer__totop:hover b { transform: translateY(-4px); }

/* Typo : Unbounded pour les gros titres, Space Grotesk partout ailleurs, Inter seulement dans la partie pro */
:root { --mono: "Space Grotesk", "Inter", sans-serif; }
body, .yt-clip__meta h3 { font-family: "Space Grotesk", "Inter", sans-serif; }
.ytc__info h3 { font-family: "Unbounded", "Inter", sans-serif; letter-spacing: -.03em; }
#pro .case__about, #pro .case__meta, #pro .case__stats, #pro .commission p { font-family: "Inter", sans-serif; }
.yt-dim { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; border-radius: 12px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(.4, 0, .2, 1), visibility 0s .6s; will-change: transform, opacity; }
.yt-dim.is-on { opacity: 1; visibility: visible; transition: opacity .6s cubic-bezier(.4, 0, .2, 1); }
.yt-clip { isolation: isolate; }
.yt-clip img { border-radius: inherit; }
@media (pointer: coarse) { .yt-dim { display: none; } }

/* CRTV : on peut l'appuyer et le tirer un tout petit peu */
.hero-card { --tv-dx: 0px; --tv-dy: 0px; --tv-s: 1; }
.hero-3d { pointer-events: auto; cursor: grab; touch-action: none; translate: calc(-50% + var(--tv-dx)) calc(-50% + var(--tv-dy)); scale: var(--tv-s); transition: translate .5s cubic-bezier(.25, 1.6, .4, 1), scale .35s cubic-bezier(.25, 1.6, .4, 1); }
.hero-card.tv-held .hero-3d { cursor: grabbing; transition: translate .08s linear, scale .12s ease-out; }
.hero-card.tv-zap .hero-3d { animation: tv-zap .45s steps(4) 1; }
@keyframes tv-zap { 0% { filter: brightness(2.2) saturate(.2) drop-shadow(0 0 30px #ff3347); } 50% { filter: brightness(.7) hue-rotate(-20deg); } 100% { filter: none; } }
.hero-card .blip { z-index: 4; }
/* Safari / WebKit : pas de filtres SVG sur du HTML (texte invisible ou cassé) */
.is-webkit .tile:hover::after { filter: none; }

/* ---------- Mac / Safari ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Barre de navigation sous l'encoche / la barre d'état (iPhone, iPad, Safari plein écran) */
.nav { height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
/* Safari calcule les filtres SVG animés sur le processeur : on garde le dégradé sans la distorsion pour rester fluide */
html.safari .tile:hover::after { filter: none; }
@media (max-width: 860px) { .nav__links { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) !important; } }

/* Présentation perso (section Moi) */
.about { max-width: 46rem; margin: clamp(40px, 6vw, 72px) 0; }
.about p { margin: 0 0 1em; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -.015em; color: var(--muted); }
.about p:first-child { color: var(--text); }
.about a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 2px; }
.about a:hover { color: var(--accent); }
.about p:nth-child(2) { color: var(--text); }
