:root{--bg:#0b0c0e;--paper:#f1eee9;--muted:#96979c;--accent:#f22635;--line:#363638;--display:'Oxanium','Arial Black',sans-serif;--body:'Oxanium',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#f6f4f1;font-family:var(--body);overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}.container{max-width:1450px;margin:auto;padding:0 6vw}.noise{pointer-events:none;position:fixed;inset:0;z-index:50;opacity:.075;background-image:url('data:image/svg+xml,%3Csvg viewBox="0 0 180 180" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency=".77" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)" opacity=".5"/%3E%3C/svg%3E')}.site-header{position:absolute;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;min-height:103px;padding:14px 5.6vw;border-bottom:1px solid #ffffff22}.brand{width:162px;height:62px;display:flex;align-items:center}.brand img{width:100%;height:100%;object-fit:contain}.nav{display:flex;gap:33px}.nav a{font-size:12px;letter-spacing:.07em;font-weight:700;text-transform:uppercase;color:#d6d5d5;transition:color .25s}.nav a:hover{color:var(--accent)}.header-cta{font-size:11px;font-weight:800;letter-spacing:.09em;border:1px solid #777;padding:17px 21px;white-space:nowrap}.header-cta span,.button span{margin-left:22px}.header-cta:hover{border-color:var(--accent)}.menu-toggle{display:none;border:0;background:none;width:38px;height:38px}.menu-toggle span{display:block;height:2px;background:#fff;margin:8px 0}.hero{position:relative;min-height:780px;height:min(900px,100svh);overflow:hidden;isolation:isolate;background:#101113}.hero-video,.hero-video video{position:absolute;inset:0;width:100%;height:100%}.hero-video video{object-fit:cover;opacity:.65}.hero-video:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08090b 0%,#08090bef 22%,#08090ba8 51%,#08090b48 100%),linear-gradient(0deg,#090a0c 0%,transparent 25%,#0b0c0e66 100%)}.hero-shape{position:absolute;z-index:1;inset:0;clip-path:polygon(60% 0,81% 0,31% 100%,8% 100%);background:linear-gradient(130deg,#22232866,#08090a11);border-right:1px solid #fff}.hero-shape:after{content:'';position:absolute;width:100%;height:1px;background:#eee;top:20%;opacity:.15}.hero-stripes{position:absolute;z-index:1;right:-4%;top:38%;width:43%;height:160px;transform:skewY(-8deg);opacity:.62;background:repeating-linear-gradient(0deg,var(--accent) 0 2px,transparent 2px 9px);mask-image:linear-gradient(90deg,transparent,#000)}.hero-content{position:relative;z-index:5;padding-top:clamp(190px,24vh,268px)}.eyebrow,.kicker{font-family:var(--body);font-size:11px;letter-spacing:.20em;font-weight:800;color:var(--accent)}.eyebrow{display:flex;align-items:center;gap:14px;color:#eee}.dot{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%}.eyebrow-line{height:1px;width:45px;background:#aaa7}.hero h1,h2,h3{font-family:var(--display);font-weight:800;text-transform:uppercase}.hero h1{font-size:clamp(92px,12.7vw,211px);letter-spacing:-.045em;line-height:.745;margin:42px 0 32px;text-shadow:0 3px 20px #0005}.hero h1 em,.join h2 em,.statement h2 em{font-style:normal;color:var(--accent)}.hero h1 .period{color:var(--accent)}.hero-content>p{max-width:455px;line-height:1.8;font-size:12px;font-weight:700;letter-spacing:.12em;color:#b4b4b8}.hero-actions,.join-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:31px}.button{padding:18px 25px;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;font-weight:800;font-size:11px;letter-spacing:.11em;transition:transform .2s,background .2s,border-color .2s}.button:hover{transform:translateY(-3px)}.primary{background:var(--accent);color:#111}.primary:hover{background:#ff7669}.outline{border:1px solid #79797d;background:#0b0c0e66}.outline:hover{border-color:#f8f8f8}.hero-bottom{position:absolute;z-index:4;left:6vw;right:6vw;bottom:29px;display:flex;justify-content:space-between;color:#aaa;font-size:10px;letter-spacing:.16em;font-weight:800}.scroll-indicator span{padding-left:14px;color:var(--accent)}.ticker{overflow:hidden;background:var(--accent);color:#111;transform:skewY(-1.1deg);margin:-1px 0}.ticker>div{font-family:var(--display);font-weight:800;font-size:35px;line-height:1.5;white-space:nowrap;letter-spacing:.09em;animation:marquee 35s linear infinite}.ticker span{padding:0 34px}@keyframes marquee{to{transform:translateX(-40%)}}.section-pad{padding:125px 0}.intro-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:10vw;align-items:end}.kicker{margin-bottom:30px}.intro-grid h2,.section-heading h2{font-size:clamp(65px,7.7vw,125px);letter-spacing:-.025em;line-height:.85;margin:0}.accent{color:var(--accent)}.intro-side{padding-bottom:8px}.intro-side p{font-size:16px;line-height:1.95;color:#bcbabe}.text-link{font-size:11px;font-weight:800;letter-spacing:.15em;display:inline-flex;gap:40px;border-bottom:1px solid var(--accent);padding:20px 0 14px;margin-top:16px}.text-link span{color:var(--accent)}.wide-image{position:relative;margin:77px 2.5vw 0;height:clamp(320px,50vw,680px);overflow:hidden}.wide-image img{width:100%;height:100%;object-fit:cover}.wide-image:after{content:'';position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#0009)}.image-id{position:absolute;bottom:30px;left:4vw;z-index:1;font-size:10px;font-weight:800;letter-spacing:.17em}.features{background:#111214}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:58px}.section-heading p{font-size:11px;color:#bbb;max-width:230px;line-height:1.9;letter-spacing:.12em;font-weight:800}.features-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.feature-card{background:#191a1c;border:1px solid #292a2c;overflow:hidden}.feature-img{height:clamp(260px,29vw,395px);overflow:hidden}.feature-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.feature-card:hover img{transform:scale(1.05)}.feature-details{position:relative;padding:28px 30px 30px;min-height:224px}.feature-details span{color:var(--accent);font-size:10px;letter-spacing:.15em;font-weight:800}.feature-details h3{font-size:clamp(37px,4vw,61px);line-height:1;margin:15px 0}.feature-details p{font-size:13px;line-height:1.7;color:#aaa;max-width:400px}.feature-details b{position:absolute;right:30px;top:26px;font-size:24px;color:var(--accent);font-weight:400}.statement{height:680px;position:relative;display:flex;align-items:center;overflow:hidden}.statement-image{position:absolute;inset:0;background:linear-gradient(90deg,#09090cdd 0%,#09090c33 100%),url('assets/KC_Screen10.webp') center 48% /cover no-repeat;transform:scale(1.03)}.statement-overlay{position:relative;margin-left:6vw}.statement-overlay>span{font-size:11px;letter-spacing:.18em;font-weight:800;color:#ddd}.statement h2{font-size:clamp(100px,14vw,220px);line-height:.73;letter-spacing:-.035em;margin:55px 0 39px}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.gallery-item{position:relative;min-height:300px;aspect-ratio:16/10;border:0;padding:0;cursor:zoom-in;background:#212224;overflow:hidden;text-align:left;color:#fff}.gallery-item.large{grid-column:span 2;aspect-ratio:2.3}.gallery-item img{height:100%;width:100%;object-fit:cover;transition:transform .5s,filter .5s}.gallery-item:hover img{transform:scale(1.04);filter:brightness(.8)}.gallery-item span{position:absolute;bottom:26px;left:28px;font-size:10px;font-weight:800;letter-spacing:.16em;text-shadow:0 1px 5px #000}.join{position:relative;background:#171719;padding:125px 0 145px;text-align:center;overflow:hidden}.join:before{content:'';position:absolute;right:-20%;top:-80%;width:70%;height:200%;transform:rotate(45deg);border-left:1px solid #ffffff12;background:#ffffff03}.join-rule{height:3px;width:70px;background:var(--accent);margin:0 auto 60px}.join-content{position:relative}.join h2{font-size:clamp(80px,12vw,180px);line-height:.82;letter-spacing:-.035em;margin:0 0 28px}.join p{font-size:14px;color:#b6b6ba;line-height:1.8}.join-actions{justify-content:center;margin-top:35px}.footer{background:#090a0b}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:35px;min-height:240px;border-bottom:1px solid #292a2d}.footer-game img{width:280px}.footer-developer{display:flex;flex-direction:column;align-items:flex-end;gap:16px}.footer-developer span{font-size:9px;letter-spacing:.2em;color:#888;font-weight:800}.footer-developer img{width:170px}.footer-bottom{min-height:98px;display:flex;justify-content:space-between;align-items:center;gap:30px}.footer-bottom span,.footer-bottom a{font-size:10px;letter-spacing:.09em;font-weight:800;color:#97989b}.footer-bottom>div{display:flex;gap:26px}.footer-bottom a:hover{color:var(--accent)}.lightbox{max-width:min(94vw,1450px);max-height:94vh;padding:0;border:1px solid #4e4e51;background:#101012;box-shadow:0 10px 80px #000e}.lightbox::backdrop{background:#000e}.lightbox img{max-height:88vh;max-width:94vw}.lightbox button{position:absolute;z-index:3;right:6px;top:3px;border:0;background:#000c;color:#fff;font-size:36px;cursor:pointer;width:50px;height:50px}.reveal{opacity:0;transform:translateY(35px);transition:opacity .75s,transform .75s}.reveal.visible{opacity:1;transform:translateY(0)}@media(max-width:900px){.site-header{min-height:79px}.brand{width:128px}.nav{gap:15px}.nav a{font-size:10px}.header-cta{font-size:9px;padding:13px}.hero{min-height:700px}.hero-content{padding-top:200px}.hero h1{font-size:clamp(86px,13vw,140px)}.intro-grid{gap:5vw}.section-pad{padding:95px 0}}@media(max-width:650px){.container{padding:0 6vw}.site-header{padding:10px 6vw}.brand{width:120px}.header-cta{display:none}.menu-toggle{display:block;z-index:2}.nav{display:none;position:absolute;top:78px;left:0;right:0;background:#101113;flex-direction:column;padding:25px 6vw 32px;gap:25px;border-bottom:1px solid #555}.nav.open{display:flex}.nav a{font-size:13px}.hero{height:780px;min-height:680px;max-height:950px}.hero-video video{object-position:55% center}.hero-content{padding-top:220px}.hero h1{font-size:clamp(78px,17vw,132px);margin:37px 0}.hero-content>p{font-size:10px;max-width:320px}.eyebrow{font-size:9px;letter-spacing:.1em}.eyebrow-line{width:20px}.hero-bottom{font-size:8px}.hero-bottom>span:last-child{display:none}.hero-stripes{right:-10%;top:55%;width:60%;opacity:.25}.button{font-size:10px;padding:16px 18px}.hero-actions{gap:9px}.hero-actions .button{width:100%;max-width:340px}.ticker>div{font-size:27px}.section-pad{padding:75px 0}.intro-grid{display:block}.intro-grid h2,.section-heading h2{font-size:clamp(58px,12vw,90px)}.intro-side{margin-top:32px}.intro-side p{font-size:14px}.wide-image{margin:45px 0 0;height:370px}.section-heading{display:block}.section-heading p{margin-top:28px}.features-grid{grid-template-columns:1fr;gap:18px}.feature-img{height:280px}.feature-details{min-height:190px;padding:23px}.feature-details h3{font-size:48px}.statement{height:560px}.statement h2{font-size:clamp(91px,18vw,135px)}.gallery-grid{gap:10px;grid-template-columns:1fr}.gallery-item,.gallery-item.large{grid-column:auto;aspect-ratio:16/10;min-height:190px}.join{padding:95px 0}.join h2{font-size:clamp(68px,14vw,100px)}.footer-top{min-height:230px;flex-wrap:wrap;justify-content:flex-start;gap:5px;padding-top:30px;padding-bottom:30px}.footer-game img{width:230px}.footer-developer{align-items:flex-start}.footer-developer img{width:140px}.footer-bottom{padding-top:24px;padding-bottom:26px;display:block}.footer-bottom>div{margin-top:20px;gap:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker>div{animation:none}.reveal{opacity:1;transform:none}.feature-img img,.button{transition:none}}

/* === Karting Core design revision v2 — 20 Nov 2026 === */
/* Brand color: vivid racing red */
:root { --accent: #f22635; }
.site-header { padding-left: 5.6vw; padding-right: 5.6vw; min-height: 112px; }
.brand { width: 292px; height: 82px; flex: 0 1 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.header-cta { border: 2px solid #d8d8dc; padding: 16px 20px; font-size: 12px; letter-spacing: .045em; }
.header-cta:hover { border-color: var(--accent); background: #f2263519; }
.nav a { font-size: 12px; letter-spacing: .035em; }
.hero h1 { font-size: clamp(76px, 10.6vw, 170px); letter-spacing: -.075em; line-height: .85; font-weight: 800; }
.hero h1 em, .join h2 em, .statement h2 em { color: var(--accent); }
.hero h1 .period { color: var(--accent); }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: #ff3a49; }
.eyebrow, .kicker { letter-spacing: .13em; }
.hero-shape { border: 0; }
/* Large, translucent diagonal color panes: same descending angle as gray pane */
.hero-red-panel { position: absolute; z-index: 2; pointer-events: none; inset: 0; }
.hero-red-panel-left {
  clip-path: polygon(0 0, 12% 0, 0 23%);
  background: linear-gradient(125deg, #e7192e47, #de1d310c);
}
.hero-red-panel-right {
  clip-path: polygon(88% 0, 100% 0, 100% 90%, 61% 100%);
  background: linear-gradient(118deg, #bd0e2220 5%, #e81e3650 85%, #f2263529 100%);
}
/* No thin racing-line stripes or scrolling ticker in v2 */
.hero-stripes, .ticker { display: none !important; }
@media(max-width:1100px){
  .brand { width: 232px; height: 72px; }
  .site-header { min-height: 100px; }
  .nav { gap: 18px; }
  .header-cta { font-size: 10px; padding: 13px 13px; }
}
@media(max-width:900px){
  .brand { width: 195px; height: 63px; }
  .hero h1 { font-size: clamp(70px, 11vw, 130px); }
}
@media(max-width:650px){
  .site-header { min-height: 82px; }
  .brand { width: 180px; height: 62px; }
  .hero-content { padding-top: 215px; }
  .hero h1 { font-size: clamp(53px, 13.2vw, 88px); line-height: .92; letter-spacing: -.07em; }
  .hero-red-panel-left { clip-path: polygon(0 0, 20% 0, 0 19%); }
  .hero-red-panel-right { clip-path: polygon(92% 0, 100% 0, 100% 78%, 71% 100%); opacity: .7; }
}

/* === v3: wide techno typography, scale-correct logo and parallel red diagonals === */
:root { --accent: #f22635; --display: 'Orbitron', 'Arial Black', sans-serif; --body: 'Orbitron', Arial, sans-serif; }
/* Original source PNG has large transparent margins; the trimmed copy displays at its actual size. */
.site-header { min-height: 120px; padding-left: 4.6vw; padding-right: 5.6vw; }
.brand { width: 350px; height: 83px; flex: 0 0 350px; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.nav { gap: 24px; }
.nav a { font-family:'Orbitron',sans-serif; font-size: 10px; letter-spacing: .015em; }
.header-cta { font-size: 10px; border-width: 3px; }
.hero h1 { font-size: clamp(67px,9.2vw,148px); line-height: .94; letter-spacing: -.055em; font-weight:900; }
.hero-shape { clip-path: polygon(60% 0,81% 0,31% 100%,8% 100%); }
/* Fixed fields travel with the visitor throughout the whole page. Both have the
   exact same 43vw horizontal displacement from viewport top to bottom. */
.site-red-diagonals { position:fixed; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.site-red-diagonals .diagonal-left,
.site-red-diagonals .diagonal-right { position:absolute; inset:0; display:block; will-change:transform; }
.site-red-diagonals .diagonal-left {
  clip-path: polygon(9% 0,19% 0,-24% 100%,-34% 100%);
  background: linear-gradient(122deg,rgba(242,38,53,.28),rgba(242,38,53,.10));
}
.site-red-diagonals .diagonal-right {
  clip-path: polygon(89% 0,108% 0,65% 100%,46% 100%);
  background:linear-gradient(122deg,rgba(242,38,53,.12),rgba(242,38,53,.29));
}
/* Background fields live behind navigation and page content, but above section backgrounds. */
.site-header { z-index:40; }
.hero-content { z-index:8; }
.hero-bottom { z-index:8; }
main > section:not(.hero) { position:relative; }
main > section:not(.hero) .container,
main > section:not(.hero) .statement-overlay,
main > section:not(.hero) .wide-image { position:relative; z-index:5; }
.footer { position:relative; z-index:5; }
.noise { z-index:45; }
.hero-red-panel, .hero-stripes, .ticker { display:none!important; }
/* Keep cards readable above the diagonal fields. */
.hero-content > p { letter-spacing: .055em; }
.feature-details h3 { font-size:clamp(30px,3vw,48px); letter-spacing:-.045em; }
.intro-grid h2,.section-heading h2 { font-size:clamp(48px,6vw,98px); line-height:1.03; letter-spacing:-.055em; }
.statement h2 { font-size:clamp(72px,11vw,160px); line-height:1; }
.join h2 { font-size:clamp(58px,8vw,130px);line-height:1.08; }
@media (max-width:1180px) {
  .brand { width: 290px;flex-basis:290px;height:72px; }
  .site-header { min-height:107px; }
  .nav {gap:14px}
  .nav a {font-size:9px}
  .header-cta {font-size:9px;padding:14px 12px}
}
@media (max-width:900px) {
  .brand { width: 245px;flex-basis:245px;height:66px; }
  .hero h1 {font-size:clamp(65px,9.5vw,112px)}
}
@media (max-width:650px) {
  .site-header {min-height:82px;padding:10px 5vw}
  .brand {width:215px;flex-basis:215px;height:49px}
  .nav {top:82px}
  .hero-content {padding-top:210px}
  .hero h1 {font-size:clamp(42px,11.6vw,78px);letter-spacing:-.06em;line-height:1.07}
  .site-red-diagonals .diagonal-left {clip-path:polygon(9% 0,28% 0,-15% 100%,-34% 100%)}
  .site-red-diagonals .diagonal-right {clip-path:polygon(89% 0,120% 0,77% 100%,46% 100%);opacity:.7}
  .feature-details h3 {font-size:clamp(25px,8vw,42px)}
  .section-heading h2,.intro-grid h2 {font-size:clamp(35px,9vw,62px)}
  .statement h2 {font-size:clamp(61px,15vw,96px)}
  .join h2 {font-size:clamp(43px,10vw,75px)}
}

/* === v4: strict 45-degree diagonal system + subtle motion background === */
:root {
  --diag-angle: 45deg;
}

/* Replace polygon-based diagonals with one consistent 45-degree language. */
.site-red-diagonals {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.site-red-diagonals .diagonal-left,
.site-red-diagonals .diagonal-right,
.hero-shape {
  position: fixed;
  top: -22vh;
  bottom: -22vh;
  width: 20vw;
  min-width: 170px;
  transform: rotate(var(--diag-angle));
  transform-origin: center center;
  will-change: transform;
}

/* left red translucent plane */
.site-red-diagonals .diagonal-left {
  left: -4vw;
  width: 16vw;
  min-width: 120px;
  background: linear-gradient(180deg, rgba(242,38,53,.24), rgba(242,38,53,.10));
  opacity: .92;
  animation: diagLeftDrift 20s ease-in-out infinite alternate;
}

/* right red translucent plane spanning the whole page behind content */
.site-red-diagonals .diagonal-right {
  right: 4vw;
  width: 23vw;
  min-width: 240px;
  background: linear-gradient(180deg, rgba(242,38,53,.30), rgba(242,38,53,.12));
  opacity: .86;
  animation: diagRightDrift 28s ease-in-out infinite alternate;
}

/* central pale translucent plane uses the same exact angle */
.hero-shape {
  z-index: 2;
  left: 46vw;
  width: 20vw;
  min-width: 190px;
  inset: auto;
  height: 150vh;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border: 0;
  opacity: .78;
  animation: diagCenterDrift 24s ease-in-out infinite alternate;
}
.hero-shape::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -12vh;
  bottom: -12vh;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.24) 15%, rgba(255,255,255,.24) 85%, transparent);
}

/* ensure content stays above animated geometry */
.site-header { z-index: 40; }
.hero-content, .hero-bottom { z-index: 8; }

@keyframes diagLeftDrift {
  0% { transform: rotate(45deg) translate3d(0, 0, 0); }
  100% { transform: rotate(45deg) translate3d(-55px, 35px, 0); }
}
@keyframes diagCenterDrift {
  0% { transform: rotate(45deg) translate3d(0, 0, 0); }
  100% { transform: rotate(45deg) translate3d(24px, -28px, 0); }
}
@keyframes diagRightDrift {
  0% { transform: rotate(45deg) translate3d(0, 0, 0); }
  100% { transform: rotate(45deg) translate3d(62px, -38px, 0); }
}

@media (max-width: 1100px) {
  .site-red-diagonals .diagonal-left { left: -8vw; width: 18vw; }
  .hero-shape { left: 50vw; width: 23vw; }
  .site-red-diagonals .diagonal-right { right: 0; width: 28vw; }
}

@media (max-width: 650px) {
  .site-red-diagonals .diagonal-left,
  .site-red-diagonals .diagonal-right,
  .hero-shape {
    top: -18vh;
    bottom: -18vh;
  }
  .site-red-diagonals .diagonal-left {
    left: -14vw;
    width: 24vw;
    min-width: 88px;
    opacity: .7;
  }
  .hero-shape {
    left: 54vw;
    width: 26vw;
    min-width: 110px;
    opacity: .5;
  }
  .site-red-diagonals .diagonal-right {
    right: -8vw;
    width: 34vw;
    min-width: 150px;
    opacity: .72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-red-diagonals .diagonal-left,
  .site-red-diagonals .diagonal-right,
  .hero-shape {
    animation: none !important;
  }
}


/* === v5 / Constant-width straight 45-degree bars (no clipping) === */
/* The three independent bars use identical geometry. Their movement is a
   translation only: width never varies and all edges remain perfectly parallel. */
.hero-shape { display:none !important; }
.site-red-diagonals { position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:3; }
.site-red-diagonals .diagonal-left,
.site-red-diagonals .diagonal-center,
.site-red-diagonals .diagonal-right {
  position:absolute;
  display:block;
  inset:auto;
  top:50%;
  height:250vmax;
  min-height:2200px;
  box-sizing:border-box;
  clip-path:none !important;
  border:0;
  border-radius:0;
  background-clip:padding-box;
  transform-origin:center center;
  will-change:transform;
}
.site-red-diagonals .diagonal-left {
  left:-18%;
  right:auto;
  width:clamp(185px,22vw,365px);
  min-width:185px;
  background:rgba(242,38,53,.18);
  opacity:1;
  animation:diagV5Left 8s ease-in-out infinite alternate;
}
.site-red-diagonals .diagonal-center {
  left:58%;
  width:clamp(185px,19vw,340px);
  background:rgba(255,255,255,.045);
  opacity:1;
  animation:diagV5Center 11s ease-in-out infinite alternate;
}
.site-red-diagonals .diagonal-right {
  left:102%;
  right:auto;
  width:clamp(245px,31vw,530px);
  min-width:245px;
  background:rgba(242,38,53,.22);
  opacity:1;
  animation:diagV5Right 6.5s ease-in-out infinite alternate;
}
@keyframes diagV5Left {
  from {transform:translate(-50%,-50%) rotate(45deg) translateX(-110px);}
  to {transform:translate(-50%,-50%) rotate(45deg) translateX(125px);}
}
@keyframes diagV5Center {
  from {transform:translate(-50%,-50%) rotate(45deg) translateX(85px);}
  to {transform:translate(-50%,-50%) rotate(45deg) translateX(-90px);}
}
@keyframes diagV5Right {
  from {transform:translate(-50%,-50%) rotate(45deg) translateX(130px);}
  to {transform:translate(-50%,-50%) rotate(45deg) translateX(-145px);}
}
@media(max-width:650px) {
 .site-red-diagonals .diagonal-left {left:-34%; width:200px; min-width:200px; opacity:.65;}
 .site-red-diagonals .diagonal-center {left:63%; width:185px; min-width:185px; opacity:.8;}
 .site-red-diagonals .diagonal-right {left:123%; width:260px; min-width:260px; opacity:.8;}
}
@media(prefers-reduced-motion:reduce) {
 .site-red-diagonals .diagonal-left,
 .site-red-diagonals .diagonal-center,
 .site-red-diagonals .diagonal-right {animation:none !important;transform:translate(-50%,-50%) rotate(45deg);}
}

/* === v6 / Rounded media and feature cards === */
:root { --media-radius: 18px; }
/* Large full-width gameplay screenshot */
.wide-image {
  border-radius: var(--media-radius);
  overflow: hidden;
  isolation: isolate;
}
/* Feature cards: round image and its text panel as one unified surface */
.feature-card {
  border-radius: var(--media-radius);
  overflow: hidden;
  isolation: isolate;
}
/* Gallery cards get the same carefully clipped corners */
.gallery-item {
  border-radius: var(--media-radius);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width:650px) {
  :root { --media-radius: 14px; }
}

/* === v7 / Micro-parallax for individual headline lines ===
   Tiny bounded translations avoid overlapping adjacent content and do not
   affect document flow. Opposite phase on alternating lines. */
.kinetic-heading > .heading-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  animation: kcHeadingBreathe 6.4s ease-in-out infinite alternate;
  will-change: transform;
}
.kinetic-heading > .heading-line:nth-child(even) {
  animation-name: kcHeadingBreatheReverse;
  animation-duration: 7.8s;
  animation-delay: -2.7s;
}
.kinetic-heading > .heading-line:nth-child(3n) {
  animation-duration: 8.7s;
  animation-delay: -3.9s;
}
/* Long lines sit near the edge of their columns: keep even tighter travel. */
.kinetic-heading > .heading-line--long {
  animation-name: kcHeadingBreatheSmall !important;
  animation-duration: 7.3s;
}
@keyframes kcHeadingBreathe {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(13px,0,0); }
}
@keyframes kcHeadingBreatheReverse {
  from { transform: translate3d(9px,0,0); }
  to { transform: translate3d(0,0,0); }
}
@keyframes kcHeadingBreatheSmall {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(5px,0,0); }
}
@media (max-width: 650px) {
  .kinetic-heading > .heading-line { animation-name: kcHeadingBreatheSmall; }
  .kinetic-heading > .heading-line:nth-child(even) { animation-name: kcHeadingBreatheSmall; animation-direction: alternate-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic-heading > .heading-line { animation: none !important; will-change: auto; }
}

/* === v8 / Hero layout: prevent action buttons colliding with bottom metadata ===
   The metadata row now participates in normal document flow instead of being
   absolutely pinned to the bottom of a fixed-height hero. On shorter desktop
   displays, the section expands naturally rather than overlapping its content. */
.hero {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: max(900px, 100svh);
}
.hero-content {
  width: 100%;
  padding-top: clamp(155px, 18vh, 220px);
  flex: 0 0 auto;
}
.hero-bottom {
  position: relative;
  inset: auto;
  width: auto;
  flex: 0 0 auto;
  margin: auto 6vw 0;
  padding: 64px 0 29px;
  align-items: center;
  gap: 28px;
}
.hero-bottom > span {
  min-width: 0;
  white-space: nowrap;
}
/* Desktop screens with short viewport heights still get readable separation. */
@media (min-width: 901px) and (max-height: 850px) {
  .hero { min-height: max(850px, 100svh); }
  .hero-content { padding-top: 155px; }
  .hero-bottom { padding-top: 56px; }
}
@media (max-width: 900px) {
  .hero { min-height: max(780px, 100svh); height: auto; max-height: none; }
  .hero-content { padding-top: 185px; }
  .hero-bottom { padding-top: 48px; }
}
@media (max-width: 650px) {
  .hero { min-height: 780px; height: auto; max-height: none; }
  .hero-content { padding-top: 210px; }
  .hero-bottom { padding-top: 48px; padding-bottom: 26px; }
}

/* v10: developer link and compact safety footer */
.footer-developer .developer-link{display:inline-flex;align-items:center;transition:opacity .2s,transform .2s}
.footer-developer .developer-link:hover{opacity:.82;transform:translateY(-2px)}
.footer-developer .developer-link:focus-visible{outline:2px solid var(--accent);outline-offset:6px}
.footer-developer .developer-link img{width:170px}
@media(max-width:650px){.footer-developer .developer-link img{width:140px}.footer-bottom>div{flex-wrap:wrap;row-gap:14px}}

/* v11: legal link in navigation and responsive spacing */
.nav { gap: clamp(10px,1.5vw,24px); align-items:center; }
.nav .nav-legal { white-space:nowrap; }
.footer-bottom>div { flex-wrap:wrap; row-gap:14px; }
@media (min-width:901px) and (max-width:1250px) {
 .site-header { gap:12px; }
 .brand { width: min(26vw,280px); flex-basis:min(26vw,280px); }
 .nav { gap:10px; }
 .nav a { font-size:9px; }
 .header-cta {padding:12px; font-size:9px;}
}
@media (min-width:651px) and (max-width:900px){
 .site-header{padding-left:3vw;padding-right:3vw;gap:8px;}
 .brand{width:190px;flex-basis:190px;}
 .nav{gap:9px;}
 .nav a{font-size:8px;}
 .header-cta{font-size:8px;padding:10px 8px;}
 .header-cta span{margin-left:5px;}
}


/* === v12: scroll-driven signature logo on a dim translucent transition band === */
.brand-transition {
  position: relative;
  z-index: 6;
  width: 100%;
  height: clamp(125px, 15.333vw, 207px);
  overflow: hidden;
  isolation: isolate;
  background: rgba(5, 6, 9, .84);
  border-top: 1px solid rgba(255,255,255,.065);
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.brand-transition__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.20), rgba(255,255,255,.026) 50%, rgba(0,0,0,.20)),
    repeating-linear-gradient(115deg, transparent 0 180px, rgba(255,255,255,.013) 181px 182px, transparent 183px 280px);
}
.brand-transition__logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(49.6vw, 608px);
  height: auto;
  max-height: 75%;
  object-fit: contain;
  transform: translate3d(calc(-50% + var(--brand-slide-x, 0px)), -50%, 0);
  opacity: var(--brand-opacity, 0);
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.38));
}
@media (max-width:650px) {
  .brand-transition { height: 123px; }
  .brand-transition__logo { width: min(67.2vw, 456px); max-height: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-transition__logo {
    --brand-slide-x: 0px !important;
    --brand-opacity: 1 !important;
    will-change: auto;
  }
}

/* === v21 corrected: scanlines 30% more transparent than v20 === */
/* A single screen-anchored 12px rhythm avoids every section restarting its pattern.
   Backgrounds remain on their own sections so text/cards sit above the texture. */
:root {
  --scanline-pitch: 12px;
  --scanline-thickness: 3px;
  --scanline-pattern: repeating-linear-gradient(
    to bottom,
    rgba(39, 42, 48, .238) 0,
    rgba(39, 42, 48, .238) var(--scanline-thickness),
    transparent var(--scanline-thickness),
    transparent var(--scanline-pitch)
  );
}
.dot-grid { display: none !important; }
body,
.intro-section,
.features,
.gallery,
.join,
.footer,
.brand-transition {
  background-image: var(--scanline-pattern);
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: 0 0;
  background-size: auto var(--scanline-pitch);
}
.hero-video::after {
  background-image:
    var(--scanline-pattern),
    linear-gradient(90deg,#08090b 0%,#08090bef 22%,#08090ba8 51%,#08090b48 100%),
    linear-gradient(0deg,#090a0c 0%,transparent 25%,#0b0c0e66 100%);
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed, scroll, scroll;
  background-position: 0 0, 0 0, 0 0;
  background-size: auto var(--scanline-pitch), 100% 100%, 100% 100%;
}
/* No separate pseudo-element from old square-grid experiments. */
body::after { content: none !important; }
