:root{
  --bg:#070503;
  --bg-soft:#0e0906;
  --text:#f4eee6;
  --muted:#b1a69a;
  --orange:#ff6a00;
  --red:#ff2b00;
  --gold:#ffb000;
  --line:rgba(255,255,255,.11);
  --shell:min(1320px,calc(100vw - 72px));
  --ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-width:320px;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-weight:400;line-height:1.5}
body.menu-open{overflow:hidden}
::selection{background:var(--orange);color:#0a0502}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
img,video{display:block;max-width:100%}
main{position:relative;z-index:2;overflow:clip}
.section-shell{width:var(--shell);margin-inline:auto;position:relative;min-width:0}

/* background atmosphere */
.embers-video{position:fixed;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;mix-blend-mode:screen;pointer-events:none;filter:saturate(1.18) contrast(1.12)}
.embers-canvas{position:fixed;z-index:1;inset:0;width:100%;height:100%;pointer-events:none}
.noise{position:fixed;z-index:96;inset:0;pointer-events:none;opacity:.045;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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");mix-blend-mode:soft-light}
.cursor-flare{position:fixed;z-index:1;left:-999px;top:-999px;width:420px;height:420px;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;background:radial-gradient(circle,rgba(255,80,0,.09),rgba(255,80,0,0) 68%)}

/* loader — works on desktop and mobile */
.loading-screen{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;min-height:100dvh;background:#050302;transition:opacity .55s ease,visibility .55s ease}
.loading-screen.done{opacity:0;visibility:hidden}
.loading-mark{font-size:clamp(52px,9vw,116px);font-weight:760;letter-spacing:-.045em;transform:skewX(-4deg);text-shadow:0 0 34px rgba(255,75,0,.42)}
.loading-line{position:absolute;left:50%;bottom:max(13%,58px);width:min(400px,70vw);height:2px;transform:translateX(-50%);overflow:hidden;background:rgba(255,255,255,.13)}
.loading-line i{display:block;width:34%;height:100%;background:linear-gradient(90deg,var(--red),var(--gold));animation:loader 1.05s infinite var(--ease)}
@keyframes loader{from{transform:translateX(-120%)}to{transform:translateX(340%)}}

/* burger only, no classic header */
.burger{position:fixed;z-index:120;left:max(22px,calc((100vw - 1320px)/2));top:22px;width:116px;height:54px;padding:0 15px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(7,5,3,.64);backdrop-filter:blur(14px);color:#fff;cursor:pointer;box-shadow:0 12px 36px rgba(0,0,0,.32);transition:border-color .25s ease,transform .25s ease}
.burger:hover{border-color:rgba(255,106,0,.7);transform:translateY(-2px)}
.burger span{position:absolute;left:16px;width:23px;height:2px;background:#fff;transition:.32s var(--ease);transform-origin:center}
.burger span:nth-child(1){transform:translateY(-7px)}
.burger span:nth-child(2){transform:translateY(0)}
.burger span:nth-child(3){transform:translateY(7px)}
.burger b{display:block;margin-left:34px;font-size:11px;letter-spacing:.14em;font-weight:650}
.burger.active span:nth-child(1){transform:rotate(45deg)}
.burger.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.burger.active span:nth-child(3){transform:rotate(-45deg)}
.menu{position:fixed;z-index:110;inset:0;display:flex;flex-direction:column;justify-content:center;padding:96px max(24px,calc((100vw - 1320px)/2));background:rgba(5,3,2,.965);backdrop-filter:blur(20px);opacity:0;visibility:hidden;clip-path:inset(0 100% 0 0);transition:opacity .2s ease,visibility .2s ease,clip-path .6s var(--ease)}
.menu.open{opacity:1;visibility:visible;clip-path:inset(0)}
.menu-fire{position:absolute;right:-12vw;bottom:-28vh;width:70vw;height:70vw;border-radius:50%;background:radial-gradient(circle,rgba(255,73,0,.18),transparent 65%);filter:blur(16px)}
.menu-nav{position:relative;z-index:2;display:flex;flex-direction:column;gap:9px}
.menu-nav a{width:max-content;max-width:100%;font-size:clamp(42px,5.5vw,82px);line-height:1;text-transform:uppercase;letter-spacing:-.035em;font-weight:700;transition:color .25s ease,transform .25s ease}
.menu-nav a:hover{color:var(--orange);transform:translateX(14px)}
.menu-meta{position:absolute;right:max(24px,calc((100vw - 1320px)/2));bottom:34px;display:flex;gap:22px;color:var(--muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase}

/* HERO VIDEO */
.hero{position:relative;isolation:isolate;min-height:720px;height:100svh;max-height:1060px;overflow:hidden;background:#030201;display:flex;align-items:flex-end}
.hero-media-wrap{position:absolute;z-index:0;inset:0;overflow:hidden;background:#050302 url('/assets/img/hero-poster.jpg?v=20260830-final3') center/cover no-repeat}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1;background:#050302;filter:saturate(1.08) contrast(1.03) brightness(.96)}
.hero-vignette{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.37) 34%,rgba(0,0,0,.08) 66%,rgba(0,0,0,.30) 100%),linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.06) 45%,rgba(0,0,0,.42) 82%,rgba(7,5,3,.86) 100%)}
.hero-bottom-gradient{position:absolute;z-index:2;left:0;right:0;bottom:-2px;height:34vh;pointer-events:none;background:linear-gradient(to bottom,rgba(7,5,3,0),rgba(7,5,3,.2) 36%,rgba(7,5,3,.72) 74%,var(--bg) 100%)}
.hero-content{position:relative;z-index:5;width:var(--shell);margin-inline:auto;padding:0 0 clamp(58px,8vh,96px);min-width:0}
.hero-kicker{margin-bottom:10px;color:#ffc178;font-size:11px;line-height:1.4;letter-spacing:.27em;font-weight:600;text-shadow:0 0 18px rgba(255,86,0,.48)}
.hero-title{position:relative;width:max-content;max-width:100%;margin:0;font-size:clamp(82px,10vw,162px);line-height:.86;letter-spacing:-.055em;font-weight:800;text-transform:uppercase;white-space:nowrap;transform:skewX(-2deg)}
.hero-title-main{position:relative;display:block;color:transparent;background:linear-gradient(180deg,#fff6d3 0%,#ffc05a 19%,#ff6300 63%,#771900 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:1px rgba(255,214,131,.22);filter:drop-shadow(0 7px 0 #2d0900) drop-shadow(0 0 28px rgba(255,74,0,.2))}
.hero-title-shadow{position:absolute;left:6px;top:8px;color:#190600;-webkit-text-stroke:1px rgba(255,90,0,.55)}
.hero-subtitle{max-width:900px;margin-top:18px;font-size:clamp(24px,2.15vw,36px);line-height:1.12;letter-spacing:.005em;font-weight:650;text-transform:uppercase;text-shadow:0 3px 22px rgba(0,0,0,.72)}
.hero-description{max-width:650px;margin:16px 0 0;color:#ded6cd;font-size:clamp(15px,1vw,17px);line-height:1.62;font-weight:400;text-shadow:0 2px 14px rgba(0,0,0,.75)}
.hero-facts{display:flex;flex-wrap:wrap;gap:34px;margin-top:24px}
.hero-facts>div{min-width:190px;display:flex;flex-direction:column;gap:4px;padding-left:13px;border-left:2px solid var(--orange)}
.hero-facts b{font-size:13px;line-height:1.35;letter-spacing:.035em;font-weight:650;text-transform:uppercase}
.hero-facts span{color:#bdb2a6;font-size:12px;line-height:1.4}
.hero-scroll{position:absolute;z-index:6;right:max(24px,calc((100vw - 1320px)/2));bottom:34px;display:flex;align-items:center;gap:12px;color:#b7aea4;font-size:9px;letter-spacing:.22em;writing-mode:vertical-rl}
.hero-scroll i{width:1px;height:62px;background:linear-gradient(var(--orange),transparent);animation:scrollLine 1.5s infinite}
@keyframes scrollLine{0%{transform:scaleY(.2);transform-origin:top}70%{transform:scaleY(1);transform-origin:top}100%{transform:scaleY(.2);transform-origin:bottom}}
.hero-stamp{position:absolute;z-index:4;right:max(5vw,32px);top:17%;width:104px;height:104px;border:1px solid rgba(255,176,0,.42);border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.13);backdrop-filter:blur(5px);transform:rotate(7deg);box-shadow:inset 0 0 28px rgba(255,93,0,.10)}
.hero-stamp span{font-size:44px;line-height:.75;color:var(--gold);font-weight:760;letter-spacing:-.05em}
.hero-stamp small{position:absolute;bottom:15px;font-size:7px;letter-spacing:.12em}

/* truly seamless ticker: JS fills each half wider than viewport */
.ticker{position:relative;z-index:5;width:100%;margin:0 0 88px;padding:12px 0;overflow:hidden;border-block:1px solid rgba(255,117,0,.2);background:#0b0603;transform:rotate(-.35deg) scale(1.004);box-shadow:0 0 42px rgba(255,62,0,.04)}
.ticker-track{display:flex;width:max-content;align-items:center;will-change:transform;animation:tickerLoop 38s linear infinite}
.ticker-group{display:flex;flex:none;align-items:center;gap:25px;padding-right:25px;white-space:nowrap;font-size:11px;line-height:1;letter-spacing:.145em;font-weight:600}
.ticker-group span,.ticker-group i{flex:none;white-space:nowrap}
.ticker-group i{font-style:normal;color:var(--orange)}
@keyframes tickerLoop{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* shared text system — moderate weight and safe line heights */
.section-index{padding-top:5px;color:#746a61;font-family:Consolas,monospace;font-size:10px;line-height:1.4;letter-spacing:.16em}
.eyebrow{margin-bottom:12px;color:#ff9146;font-size:10px;line-height:1.45;letter-spacing:.21em;text-transform:uppercase;font-weight:600}
.display-title{max-width:100%;margin:0;font-size:clamp(46px,5.25vw,82px);line-height:1.02;letter-spacing:-.035em;text-transform:uppercase;font-weight:650;overflow-wrap:normal;word-break:normal}

.intro{padding:36px 0 104px}
.intro-grid{display:grid;grid-template-columns:62px minmax(0,1.12fr) minmax(300px,.88fr);align-items:center;gap:42px}
.intro-grid>*{min-width:0}
.intro-copy{max-width:560px;color:#c8beb2;font-size:16px;line-height:1.72;font-weight:400}
.intro-copy p{margin:0}
.discipline-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.discipline-pills span{padding:8px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.025);font-size:9px;line-height:1;letter-spacing:.1em;font-weight:600}

.dynamic-blocks{display:grid;gap:76px;padding-bottom:112px}
.story-block{position:relative;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:58px;padding-top:38px;border-top:1px solid var(--line);min-width:0}
.story-block>*{min-width:0}
.story-block.right{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.story-block.right .story-copy{order:2}
.story-block.right .story-art{order:1}
.story-copy{max-width:610px}
.story-copy h3{max-width:100%;margin:0 0 18px;font-size:clamp(34px,3.25vw,54px);line-height:1.04;letter-spacing:-.028em;text-transform:uppercase;font-weight:650;overflow-wrap:break-word;hyphens:auto}
.story-copy p{max-width:590px;margin:0;color:#c4b8aa;font-size:16px;line-height:1.7;font-weight:400}
.story-art{position:relative;isolation:isolate;aspect-ratio:4/3;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.09);background:linear-gradient(145deg,#130704,#080503 55%,#130804);box-shadow:0 24px 70px rgba(0,0,0,.25)}
.story-art::before{content:"";position:absolute;right:-55px;bottom:-50px;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(255,72,0,.28),rgba(255,72,0,0) 70%)}
.story-art::after{content:"TOTEM";position:absolute;z-index:3;left:24px;bottom:18px;color:rgba(255,255,255,.045);font-size:68px;line-height:1;letter-spacing:-.035em;font-weight:700}
.story-photo{position:absolute;z-index:0;left:-14%;top:-14%;width:128%;height:128%;max-width:none;object-fit:cover;transform:translate3d(0,var(--glass-y,0px),0) scale(1.01);will-change:transform;filter:saturate(.94) contrast(1.04) brightness(.92)}
.story-art.has-image::before{display:none}
.story-glass{position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.10),rgba(255,255,255,0) 24%,rgba(255,104,0,.018) 73%,rgba(255,255,255,.04));box-shadow:inset 0 0 46px rgba(255,255,255,.025),inset 0 -70px 100px rgba(0,0,0,.2);backdrop-filter:blur(.35px)}
.story-grid-lines{position:absolute;z-index:3;inset:0;pointer-events:none;opacity:.55;background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,transparent,black)}
.story-number{position:absolute;z-index:4;right:20px;top:16px;color:#78695e;font-family:Consolas,monospace;font-size:9px;line-height:1.3}

/* trophy */
.impact-section{position:relative;min-height:900px;padding-top:64px;overflow:hidden;background:radial-gradient(ellipse at 50% 68%,rgba(103,22,0,.28),rgba(7,5,3,0) 57%)}
.impact-copy{position:relative;z-index:4;max-width:900px;text-align:center}
.impact-copy .display-title{font-size:clamp(50px,5.8vw,90px)}
.impact-copy p{max-width:560px;margin:20px auto 0;color:#bcb0a3;font-size:15px;line-height:1.65}
.impact-stage{position:relative;height:610px;margin-top:0;display:grid;place-items:end center;perspective:1000px}
.impact-trigger{position:absolute;z-index:-1;left:50%;top:72%;width:2px;height:2px;pointer-events:none}
.trophy{position:absolute;z-index:6;bottom:48px;width:min(570px,68vw);opacity:0;transform:translateY(-95vh) scale(.45) rotate(-8deg);transform-origin:50% 100%;filter:drop-shadow(0 40px 25px rgba(0,0,0,.65)) drop-shadow(0 0 30px rgba(255,107,0,.18))}
.impact-section.impact .trophy{animation:trophyDrop 1.25s cubic-bezier(.2,.8,.2,1.05) forwards}
@keyframes trophyDrop{0%{opacity:0;transform:translateY(-95vh) scale(.42) rotate(-8deg)}58%{opacity:1;transform:translateY(20px) scale(1.03) rotate(2deg)}72%{transform:translateY(-24px) scale(.985) rotate(-1deg)}86%{transform:translateY(8px) scale(1.005) rotate(.5deg)}100%{opacity:1;transform:translateY(0) scale(1) rotate(0)}}
.impact-ground{position:absolute;z-index:2;bottom:62px;width:min(760px,90vw);height:86px;border-radius:50%;opacity:0;background:radial-gradient(ellipse,rgba(255,113,0,.40),rgba(255,54,0,.07) 45%,transparent 72%);filter:blur(13px)}
.impact-section.impact .impact-ground{animation:groundHit .75s .62s both}
@keyframes groundHit{0%{opacity:0;transform:scale(.25)}45%{opacity:1;transform:scale(1.45)}100%{opacity:.38;transform:scale(1)}}
.impact-ring{position:absolute;z-index:3;bottom:69px;width:220px;height:55px;border:2px solid rgba(255,128,0,.72);border-radius:50%;opacity:0}
.impact-section.impact .ring-a{animation:ringOut 1.15s .65s both}.impact-section.impact .ring-b{animation:ringOut 1.35s .77s both}
@keyframes ringOut{0%{opacity:1;transform:scale(.2)}100%{opacity:0;transform:scale(5)}}
.impact-flash{position:absolute;z-index:1;bottom:0;width:500px;height:300px;border-radius:50%;opacity:0;background:radial-gradient(circle,rgba(255,203,99,.74),rgba(255,71,0,.16) 30%,transparent 70%);filter:blur(16px)}
.impact-section.impact .impact-flash{animation:flash .65s .62s both}
@keyframes flash{0%{opacity:0;transform:scale(.2)}25%{opacity:1}100%{opacity:0;transform:scale(1.7)}}
.impact-particles{position:absolute;z-index:8;left:50%;bottom:96px;width:1px;height:1px}
.impact-chip{position:absolute;width:var(--s);height:var(--s);border-radius:50%;opacity:0;background:linear-gradient(#ffd28a,#ff4100);box-shadow:0 0 10px #ff5700}
.impact-section.impact .impact-chip{animation:chipFly var(--d) var(--delay) cubic-bezier(.1,.55,.24,1) both}
@keyframes chipFly{0%{opacity:1;transform:translate(0,0) scale(.6)}60%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.1)}}

/* cards */
.cards-section{padding:96px 0 42px}
.section-head{display:grid;grid-template-columns:62px minmax(0,1fr);gap:42px;margin-bottom:34px}
.section-head>*{min-width:0}
.section-head .display-title{font-size:clamp(48px,5.8vw,88px);line-height:1.02}
.section-lead{max-width:650px;margin:16px 0 0;color:#b7ab9d;font-size:15px;line-height:1.62;font-weight:400}
.category-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 30px 104px}
.category-tabs button{padding:11px 17px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:#0d0906;color:#aaa093;font-size:9px;line-height:1;letter-spacing:.12em;font-weight:600;cursor:pointer;transition:.25s ease}
.category-tabs button:hover,.category-tabs button.active{border-color:#fff;background:#fff;color:#070503;transform:translateY(-2px)}
.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.event-card{--glow:#ffb000;position:relative;min-height:0;overflow:hidden;isolation:isolate;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(4,3,2,.95));transition:transform .35s var(--ease),border-color .3s ease,box-shadow .3s ease;transform-style:preserve-3d}
.event-card::after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid color-mix(in srgb,var(--glow) 32%,transparent);opacity:.7}
.event-card:hover{transform:translateY(-7px);border-color:color-mix(in srgb,var(--glow) 60%,white 8%);box-shadow:0 20px 58px color-mix(in srgb,var(--glow) 16%,transparent)}
.card-glow{position:absolute;z-index:-1;left:7%;top:-26%;width:86%;aspect-ratio:1;border-radius:50%;opacity:.7;background:radial-gradient(circle,color-mix(in srgb,var(--glow) 42%,transparent),transparent 68%);filter:blur(22px)}
.card-image-wrap{position:relative;isolation:isolate;height:320px;overflow:hidden;background:#090706;border-bottom:1px solid rgba(255,255,255,.07)}
.card-image{position:absolute;z-index:0;left:-13%;top:-13%;width:126%;height:126%;max-width:none;object-fit:cover;transform:translate3d(0,var(--glass-y,0px),0);will-change:transform;filter:saturate(.86) contrast(1.05) brightness(.94)}
.card-image-wrap::before{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.09),rgba(255,255,255,0) 24%,rgba(255,255,255,.02) 68%,rgba(255,255,255,.055));box-shadow:inset 0 0 38px rgba(255,255,255,.025);backdrop-filter:blur(.3px)}
.card-image-wrap::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 58%,rgba(5,3,2,.97))}
.card-scan{display:none}
.card-number{position:absolute;z-index:3;right:14px;top:13px;padding:5px 7px;border:1px solid rgba(255,255,255,.09);background:rgba(0,0,0,.40);color:rgba(255,255,255,.62);font-family:Consolas,monospace;font-size:9px;line-height:1}
.card-body{position:relative;z-index:3;padding:17px 22px 24px}
.card-label{display:inline-block;margin-bottom:9px;color:var(--glow);font-size:9px;line-height:1;letter-spacing:.14em;font-weight:600;text-shadow:0 0 14px color-mix(in srgb,var(--glow) 45%,transparent)}
.card-name{margin:0 0 10px;font-size:21px;line-height:1.18;letter-spacing:-.015em;text-transform:uppercase;font-weight:650;overflow-wrap:break-word}
.card-description{margin:0;color:#a79b8f;font-size:13px;line-height:1.6;font-weight:400}
.cards-empty{grid-column:1/-1;padding:28px 0;color:#7c7268;font-size:12px;letter-spacing:.07em}
.judges-section,.sponsor-section{margin-top:20px}
.sponsor-grid .card-image-wrap{height:260px}


/* sponsor wall — all logos visible at once */
.sponsor-showcase{
  position:relative;
  overflow:hidden;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right,rgba(255,106,0,.08),transparent 32%),
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01)),
    rgba(9,6,4,.78);
  box-shadow:0 28px 90px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.02);
}
.sponsor-showcase::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.05),transparent 28%,transparent 72%,rgba(255,255,255,.03));
}
.sponsor-showcase-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
  color:#83776b;
  font-size:9px;
  line-height:1.2;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
}
.sponsor-showcase-head b{
  color:#f4eee5;
  font-size:10px;
  font-weight:700;
}
.sponsor-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:16px;
}
.sponsor-grid .cards-empty{grid-column:1/-1}
.sponsor-logo-card{
  --glow:#ffffff;
  position:relative;
  grid-column:span 2;
  min-height:175px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
  padding:18px 18px 16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.01));
  clip-path:polygon(0 0,94% 0,100% 14%,100% 100%,6% 100%,0 86%);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease;
  isolation:isolate;
}
.sponsor-logo-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--glow) 12%,transparent),transparent 58%);
  opacity:.9;
}
.sponsor-logo-card::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--glow) 70%,transparent),transparent);
  opacity:.55;
}
.sponsor-logo-card:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--glow) 38%,rgba(255,255,255,.08));
  box-shadow:0 20px 60px rgba(0,0,0,.22),0 0 0 1px color-mix(in srgb,var(--glow) 12%,transparent),inset 0 0 28px color-mix(in srgb,var(--glow) 5%,transparent);
  background:linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.015));
}
.sponsor-logo-card.featured{
  grid-column:span 5;
  min-height:226px;
  padding:22px 22px 18px;
}
.sponsor-order{
  position:absolute;
  right:16px;
  top:14px;
  z-index:3;
  color:rgba(255,255,255,.4);
  font-family:Consolas,monospace;
  font-size:10px;
  line-height:1;
  letter-spacing:.06em;
}
.sponsor-logo-stage{
  position:relative;
  z-index:2;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  border-radius:22px;
  background:radial-gradient(circle at center,rgba(255,255,255,.035),rgba(255,255,255,0) 72%);
}
.sponsor-logo-card.featured .sponsor-logo-stage{min-height:150px;padding:16px}
.sponsor-logo-image{
  width:auto;
  max-width:100%;
  max-height:102px;
  object-fit:contain;
  filter:
    drop-shadow(0 0 2px color-mix(in srgb,var(--glow) 70%,transparent))
    drop-shadow(0 0 12px color-mix(in srgb,var(--glow) 68%,transparent))
    drop-shadow(0 0 28px color-mix(in srgb,var(--glow) 34%,transparent));
}
.sponsor-logo-card.featured .sponsor-logo-image{max-height:136px}
.sponsor-card-meta{position:relative;z-index:2;display:flex;flex-direction:column;gap:5px}
.sponsor-card-kicker{
  color:color-mix(in srgb,var(--glow) 78%,#ffffff);
  font-size:8px;
  line-height:1.2;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
}
.sponsor-card-name{
  margin:0;
  color:#f4eee5;
  font-size:14px;
  line-height:1.16;
  letter-spacing:-.02em;
  text-transform:uppercase;
  font-weight:650;
  text-wrap:balance;
}
.sponsor-logo-card.featured .sponsor-card-name{font-size:18px}

/* location */
.location-section{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);align-items:center;gap:58px;padding:130px 0 108px}
.location-section>*{min-width:0}
.location-copy .display-title{font-size:clamp(46px,5.2vw,80px);line-height:1.03}
.location-copy p{margin:20px 0;color:#b8ada0;font-size:15px;line-height:1.68}
.location-address{display:flex;flex-direction:column;gap:6px;margin-top:24px;padding-left:16px;border-left:2px solid var(--orange)}
.location-address strong{font-size:16px;line-height:1.35;text-transform:uppercase;font-weight:650}
.location-address span{color:#aaa093;font-size:13px;line-height:1.4}
.map-open-link{display:inline-flex;width:max-content;max-width:100%;margin-top:11px;padding:10px 13px;border:1px solid rgba(255,122,0,.36);border-radius:999px;color:#f1e7da;font-size:9px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;font-weight:600;transition:.25s ease}
.map-open-link:hover{border-color:var(--orange);background:var(--orange);color:#080402}
.map-wrap{position:relative;height:500px;overflow:hidden;border:1px solid rgba(255,122,0,.22);background:#0a0705;box-shadow:0 30px 70px rgba(0,0,0,.45);clip-path:polygon(4% 0,100% 0,100% 94%,96% 100%,0 100%,0 6%)}
.map-wrap iframe{width:100%;height:100%;border:0;opacity:.9;filter:grayscale(.82) sepia(.16) saturate(1.35) contrast(1.08)}
.map-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 80px rgba(255,67,0,.09);mix-blend-mode:screen}
.map-corner{position:absolute;z-index:3;width:28px;height:28px;pointer-events:none;border-color:var(--orange)}
.map-corner.tl{left:14px;top:14px;border-left:2px solid;border-top:2px solid}.map-corner.tr{right:14px;top:14px;border-right:2px solid;border-top:2px solid}.map-corner.bl{left:14px;bottom:14px;border-left:2px solid;border-bottom:2px solid}.map-corner.br{right:14px;bottom:14px;border-right:2px solid;border-bottom:2px solid}

.footer{padding:88px 0 42px}
.footer-mark{text-align:center;color:#110a06;font-size:clamp(82px,16vw,220px);line-height:.78;letter-spacing:-.055em;font-weight:760;-webkit-text-stroke:1px rgba(255,112,0,.28);text-shadow:0 0 70px rgba(255,57,0,.05)}
.footer-line{height:1px;margin:36px 0 20px;background:linear-gradient(90deg,transparent,rgba(255,109,0,.62),transparent)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;color:#776d63;font-size:9px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}.footer-bottom a{color:#d6cabb}

/* Explicitly no reveal/fly-in animation on text or content elements. */
[data-reveal],[data-reveal].revealed{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;will-change:auto!important}

@media (max-width:1100px){
  :root{--shell:min(100% - 44px,980px)}
  .burger{left:22px}
  .intro-grid{grid-template-columns:52px minmax(0,1fr);align-items:start;gap:26px}
  .intro-copy{grid-column:2;max-width:720px}
  .story-block,.story-block.right{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px}
  .story-copy h3{font-size:clamp(32px,4.2vw,48px)}
  .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-tabs{margin-left:78px}
  .location-section{grid-template-columns:1fr;gap:38px}.map-wrap{height:470px}
}

@media (max-width:760px){
  :root{--shell:calc(100vw - 28px)}
  .cursor-flare{display:none}.noise{opacity:.04}.embers-video{opacity:.14}
  .loading-mark{font-size:clamp(54px,18vw,84px);font-weight:720}.loading-line{width:min(320px,72vw);bottom:18%}
  .burger{left:14px;top:14px;width:50px;height:50px;padding:0;border-radius:50%}.burger b{display:none}.burger span{left:13px;width:22px}
  .menu{padding:90px 20px 40px}.menu-nav a{font-size:clamp(38px,13vw,62px);line-height:1.02}.menu-meta{left:20px;right:auto;bottom:26px;flex-direction:column;gap:5px}

  .hero{min-height:680px;height:100svh;max-height:none}
  .hero-media-wrap{background-image:url('/assets/img/hero-poster-mobile.jpg?v=20260830-final3')}
  .hero-video{object-position:center center;filter:saturate(1.06) contrast(1.02) brightness(.98)}
  .hero-vignette{background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.03) 36%,rgba(0,0,0,.34) 67%,rgba(7,5,3,.86) 100%),linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.04) 72%)}
  .hero-bottom-gradient{height:29vh}
  .hero-content{padding-bottom:42px}
  .hero-kicker{font-size:8px;letter-spacing:.18em;margin-bottom:8px}
  .hero-title{font-size:clamp(62px,20vw,94px);line-height:.88;letter-spacing:-.05em}
  .hero-title-shadow{left:4px;top:5px}
  .hero-subtitle{max-width:350px;margin-top:12px;font-size:clamp(19px,6.2vw,26px);line-height:1.13;font-weight:650}
  .hero-description{max-width:390px;margin-top:12px;font-size:13.5px;line-height:1.5}
  .hero-facts{flex-direction:column;gap:10px;margin-top:17px}.hero-facts>div{min-width:0;gap:2px}.hero-facts b{font-size:11px}.hero-facts span{font-size:10.5px}
  .hero-stamp{display:none}.hero-scroll{display:none}

  .ticker{margin-bottom:62px;padding:10px 0;transform:rotate(-.25deg) scale(1.004)}
  .ticker-track{animation-duration:29s}
  .ticker-group{gap:16px;padding-right:16px;font-size:8px;letter-spacing:.1em}

  .intro{padding:6px 0 72px}
  .intro-grid{grid-template-columns:1fr;gap:18px}.section-index{display:none}.intro-copy{grid-column:auto;max-width:none;font-size:14px;line-height:1.64}
  .eyebrow{margin-bottom:9px;font-size:8.5px;letter-spacing:.17em}
  .display-title{font-size:clamp(38px,11vw,52px);line-height:1.04;letter-spacing:-.028em;font-weight:650}

  .dynamic-blocks{gap:48px;padding-bottom:64px}
  .story-block,.story-block.right{grid-template-columns:1fr;gap:20px;padding-top:23px}
  .story-block.right .story-copy,.story-block.right .story-art{order:initial}
  .story-copy h3{margin-bottom:14px;font-size:clamp(29px,8.6vw,40px);line-height:1.07;letter-spacing:-.02em;font-weight:650}
  .story-copy p{font-size:14px;line-height:1.64}
  .story-art{aspect-ratio:1.18/1}.story-art::after{left:16px;bottom:12px;font-size:48px}.story-photo{left:-16%;top:-16%;width:132%;height:132%}

  .impact-section{min-height:720px;padding-top:30px}.impact-copy .display-title{font-size:clamp(40px,11vw,54px)}.impact-copy p{padding-inline:8px;font-size:13.5px;line-height:1.58;margin-top:14px}.impact-stage{height:510px}.impact-trigger{top:76%}.trophy{bottom:40px;width:min(480px,98vw)}.impact-ground{bottom:53px}

  .cards-section{padding:72px 0 14px}.section-head{grid-template-columns:1fr;gap:0;margin-bottom:22px}.section-head .display-title{font-size:clamp(40px,11.5vw,56px);line-height:1.04}.section-lead{margin-top:12px;font-size:13.5px;line-height:1.56}
  .category-tabs{margin:0 0 20px;gap:7px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{flex:none;padding:10px 13px;font-size:8px}
  .cards-grid{grid-template-columns:1fr;gap:16px}.card-image-wrap{height:300px}.card-image{left:-15%;top:-15%;width:130%;height:130%}.card-body{padding:15px 18px 21px}.card-name{font-size:19px;line-height:1.2}.card-description{font-size:12.5px}.sponsor-grid .card-image-wrap{height:250px}

  .location-section{padding:88px 0 64px;gap:26px}.location-copy .display-title{font-size:clamp(38px,10.8vw,52px)}.location-copy p{margin:15px 0;font-size:13.5px;line-height:1.6}.location-address{margin-top:18px}.location-address strong{font-size:14px}.location-address span{font-size:12px}.map-open-link{font-size:8px;padding:9px 12px}.map-wrap{height:360px;clip-path:polygon(6% 0,100% 0,100% 94%,94% 100%,0 100%,0 6%)}
  .footer{padding-top:62px}.footer-mark{font-size:24vw}.footer-bottom{flex-direction:column;align-items:flex-start}.footer-line{margin-top:26px}
}

@media (max-width:380px){
  .hero{min-height:650px}.hero-title{font-size:19.5vw}.hero-subtitle{font-size:18px}.hero-description{font-size:12.5px}.hero-content{padding-bottom:32px}
  .display-title{font-size:10.7vw}.story-copy h3{font-size:8.3vw}.section-head .display-title{font-size:11vw}
  .card-image-wrap{height:280px}.map-wrap{height:325px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.ticker-track{animation:none}.embers-canvas{display:none}.glass-parallax{transform:none!important}
}

/* ======================================================================
   2026-08-30 — FINAL LAYOUT / VIDEO / MARQUEE / CAROUSEL PASS
   ====================================================================== */

/* Keep all text blocks in normal document flow and give them safe metrics. */
.display-title,
.story-copy h3,
.section-head .display-title,
.impact-copy .display-title,
.location-copy .display-title{
  line-height:1.08;
  font-weight:600;
  letter-spacing:-.026em;
  text-wrap:balance;
}
.display-title{font-size:clamp(44px,4.6vw,76px)}
.section-head .display-title{font-size:clamp(46px,5vw,80px)}
.section-lead{max-width:720px;line-height:1.7}

/* HERO: one full-bleed cinematic surface. The desktop media itself is a
   feathered composition of the supplied portrait clip, so no hard vertical
   seams remain visible. */
.hero{
  min-height:720px;
  height:100svh;
  max-height:none;
  align-items:flex-end;
  background:#050302;
}
.hero-media-wrap{inset:-2px;background-position:center}
.hero-video{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
  opacity:1;
  filter:saturate(1.08) contrast(1.04) brightness(.92);
}
.hero-vignette{
  background:
    linear-gradient(90deg,rgba(3,2,1,.42) 0%,rgba(3,2,1,.24) 29%,rgba(3,2,1,.07) 56%,rgba(3,2,1,.11) 76%,rgba(3,2,1,.20) 100%),
    linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.02) 48%,rgba(5,3,2,.28) 70%,rgba(7,5,3,.78) 90%,var(--bg) 100%);
}
.hero-bottom-gradient{
  height:43vh;
  background:linear-gradient(to bottom,rgba(7,5,3,0) 0%,rgba(7,5,3,.08) 22%,rgba(7,5,3,.38) 54%,rgba(7,5,3,.82) 82%,var(--bg) 100%);
}
.hero-content{
  width:var(--shell);
  padding-bottom:clamp(68px,8vh,112px);
}
.hero-content>*{max-width:min(760px,72vw)}
.hero-kicker{font-size:10px;line-height:1.5;font-weight:550;letter-spacing:.23em}
.hero-title{
  max-width:min(760px,72vw);
  font-size:clamp(92px,8.5vw,158px);
  line-height:.89;
  font-weight:760;
  letter-spacing:-.05em;
}
.hero-subtitle{
  max-width:760px;
  margin-top:17px;
  font-size:clamp(25px,2vw,34px);
  line-height:1.18;
  font-weight:600;
  letter-spacing:.002em;
}
.hero-description{max-width:620px;margin-top:15px;line-height:1.68}
.hero-facts{margin-top:23px;gap:30px 38px}
.hero-facts b{font-weight:600}
.hero-scroll{bottom:50px}
.hero-stamp{right:max(40px,calc((100vw - 1320px)/2 + 12px));top:18%}

/* Seamless city marquee. Exact travel distance is measured in JS. */
.ticker{
  margin:0 0 94px;
  padding:13px 0;
  transform:none;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 34px,#000 calc(100% - 34px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 34px,#000 calc(100% - 34px),transparent 100%);
}
.ticker-track{
  --ticker-distance:1600px;
  display:flex;
  width:max-content;
  align-items:center;
  transform:translate3d(0,0,0);
  animation:none;
}
.ticker-track.ticker-running{animation:tickerLoop 34s linear infinite}
.ticker-group{gap:28px;padding-right:28px;font-size:11px;line-height:1.2;font-weight:550;letter-spacing:.135em}
@keyframes tickerLoop{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-1 * var(--ticker-distance)),0,0)}}

/* Intro and editorial blocks: no squeezed columns, no text collisions. */
.intro{padding:34px 0 112px}
.intro-grid{grid-template-columns:56px minmax(0,1.08fr) minmax(330px,.92fr);gap:44px;align-items:center}
.intro-copy{font-size:15.5px;line-height:1.76}
.dynamic-blocks{gap:92px;padding-bottom:132px}
.story-block,.story-block.right{gap:70px;padding-top:48px;align-items:center}
.story-copy{max-width:590px}
.story-copy h3{margin-bottom:20px;font-size:clamp(34px,3vw,50px);line-height:1.1;font-weight:590;hyphens:none}
.story-copy p{font-size:15.5px;line-height:1.75}
.story-art{min-width:0;aspect-ratio:4/3}

/* Trophy is a separate scene. Copy ends first, then an actual clear stage
   begins. The image can never occupy the copy's vertical area. */
.impact-section{
  min-height:1040px;
  padding-top:92px;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 74%,rgba(103,22,0,.30),rgba(7,5,3,0) 58%);
}
.impact-copy{max-width:820px}
.impact-copy .display-title{font-size:clamp(48px,5.2vw,82px);line-height:1.07}
.impact-copy p{max-width:620px;margin:22px auto 0;font-size:15px;line-height:1.72}
.impact-stage{
  height:690px;
  margin-top:92px;
  place-items:end center;
}
.impact-trigger{top:56%}
.trophy{bottom:58px;width:min(525px,55vw)}
.impact-ground{bottom:70px}
.impact-ring{bottom:77px}
.impact-particles{bottom:105px}

/* Horizontal card carousels for participants, judges and sponsors. */
.cards-section{padding:98px 0 52px;overflow:visible}
.section-head{grid-template-columns:56px minmax(0,1fr);gap:44px;margin-bottom:30px}
.category-tabs{margin:0 0 24px 100px}
.cards-carousel-shell{position:relative;min-width:0}
.carousel-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  min-height:38px;
  margin:0 0 12px;
  color:#756a60;
  font-size:8px;
  line-height:1;
  letter-spacing:.15em;
  text-transform:uppercase;
  user-select:none;
}
.carousel-toolbar>div{display:flex;gap:7px}
.carousel-btn{
  width:38px;height:38px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  background:#0d0906;
  color:#e9dfd3;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.carousel-btn:hover{border-color:var(--orange);background:var(--orange);color:#090402;transform:translateY(-1px)}
.cards-carousel{
  display:flex;
  gap:22px;
  width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:7px 2px 16px;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:2px;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,105,0,.72) rgba(255,255,255,.06);
  cursor:grab;
  touch-action:pan-x pan-y;
}
.cards-carousel.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.cards-carousel::-webkit-scrollbar{height:5px}
.cards-carousel::-webkit-scrollbar-track{background:rgba(255,255,255,.055);border-radius:999px}
.cards-carousel::-webkit-scrollbar-thumb{background:linear-gradient(90deg,var(--orange),#ff9b34);border-radius:999px}
.cards-carousel .event-card{
  flex:0 0 clamp(300px,30.3vw,398px);
  max-width:398px;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
}
.cards-carousel .cards-empty{flex:0 0 100%;padding:34px 0}
.event-card{min-height:495px}
.card-image-wrap{height:322px}
.card-name{font-size:20px;line-height:1.25;font-weight:600}
.card-description{line-height:1.65}
.sponsor-carousel .event-card{flex-basis:clamp(300px,30.3vw,398px)}
.sponsor-carousel .card-image-wrap{height:270px}
.judges-section,.sponsor-section{margin-top:34px}

/* Location / footer safe rhythm. */
.location-section{gap:70px;padding:140px 0 116px}
.location-copy .display-title{font-size:clamp(44px,4.8vw,76px);line-height:1.08}
.location-copy p{line-height:1.72}
.footer-mark{font-weight:700}

@media (max-width:1100px){
  .hero-content>*{max-width:min(690px,76vw)}
  .hero-title{max-width:min(690px,76vw);font-size:clamp(82px,10vw,126px)}
  .intro-grid{grid-template-columns:48px minmax(0,1fr);gap:28px}
  .intro-copy{grid-column:2;max-width:700px}
  .story-block,.story-block.right{gap:40px}
  .cards-carousel .event-card{flex-basis:min(44vw,390px)}
  .category-tabs{margin-left:76px}
}

@media (max-width:900px){
  .story-block,.story-block.right{grid-template-columns:1fr;gap:26px}
  .story-block.right .story-copy,.story-block.right .story-art{order:initial}
  .story-copy{max-width:720px}
  .story-art{max-width:720px;width:100%}
}

@media (max-width:760px){
  .hero{min-height:700px;height:100svh}
  .hero-video{object-fit:cover;object-position:center center;filter:saturate(1.07) contrast(1.03) brightness(.91)}
  .hero-vignette{
    background:
      linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.02) 43%,rgba(4,2,1,.30) 66%,rgba(7,5,3,.82) 90%,var(--bg) 100%),
      linear-gradient(90deg,rgba(0,0,0,.22),rgba(0,0,0,.02) 74%);
  }
  .hero-bottom-gradient{height:38vh}
  .hero-content{padding-bottom:40px}
  .hero-content>*{max-width:100%}
  .hero-title{max-width:100%;font-size:clamp(60px,20vw,92px);line-height:.9}
  .hero-subtitle{font-size:clamp(19px,6vw,25px);line-height:1.2}
  .hero-description{font-size:13px;line-height:1.58}
  .hero-facts{margin-top:16px;gap:9px}

  .ticker{margin-bottom:64px;padding:10px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent)}
  .ticker-track.ticker-running{animation-duration:25s}
  .ticker-group{gap:18px;padding-right:18px;font-size:8px;line-height:1.2;letter-spacing:.105em}

  .display-title,.section-head .display-title,.impact-copy .display-title,.location-copy .display-title{font-size:clamp(36px,10vw,50px);line-height:1.1;font-weight:600}
  .intro{padding:8px 0 74px}
  .intro-grid{grid-template-columns:1fr;gap:20px}.intro-copy{grid-column:auto}
  .dynamic-blocks{gap:52px;padding-bottom:76px}
  .story-block,.story-block.right{gap:21px;padding-top:26px}
  .story-copy h3{font-size:clamp(28px,8vw,38px);line-height:1.12;font-weight:590}
  .story-copy p{font-size:14px;line-height:1.68}

  .impact-section{min-height:820px;padding-top:56px}
  .impact-copy p{max-width:520px;padding-inline:4px;margin-top:16px;font-size:13.5px;line-height:1.64}
  .impact-stage{height:520px;margin-top:72px}
  .trophy{bottom:44px;width:min(420px,92vw)}
  .impact-ground{bottom:55px}.impact-ring{bottom:63px}.impact-particles{bottom:89px}

  .cards-section{padding:76px 0 20px}
  .section-head{grid-template-columns:1fr;gap:0;margin-bottom:22px}
  .category-tabs{margin:0 0 18px}
  .carousel-toolbar{justify-content:space-between;margin-bottom:8px;font-size:7.5px}
  .carousel-btn{width:34px;height:34px}
  .cards-carousel{gap:14px;padding:6px 1px 13px}
  .cards-carousel .event-card,.sponsor-carousel .event-card{flex:0 0 min(84vw,340px);max-width:340px;min-height:0}
  .card-image-wrap{height:292px}
  .sponsor-carousel .card-image-wrap{height:244px}
  .card-body{padding:15px 18px 21px}
  .card-name{font-size:19px;line-height:1.25}

  .location-section{padding:92px 0 66px;gap:28px}
}

@media (max-width:380px){
  .hero{min-height:660px}
  .hero-title{font-size:19vw}
  .cards-carousel .event-card,.sponsor-carousel .event-card{flex-basis:86vw}
  .card-image-wrap{height:270px}
  .impact-stage{height:480px;margin-top:62px}
}

@media (prefers-reduced-motion:reduce){
  .ticker-track.ticker-running{animation:none}
}

@media (min-width:1101px){
  .hero-content{width:min(1500px,calc(100vw - 80px))}
  .burger{left:max(24px,calc((100vw - 1500px)/2))}
  .menu{padding-left:max(40px,calc((100vw - 1500px)/2));padding-right:max(40px,calc((100vw - 1500px)/2))}
  .menu-meta,.hero-scroll{right:max(40px,calc((100vw - 1500px)/2))}
  .hero-stamp{right:max(52px,calc((100vw - 1500px)/2 + 10px))}
}

/* ======================================================================
   2026-08-30 — TYPOGRAPHY / BURGER / MOBILE HERO RESTORE
   Restores the original TOTEM display treatment without the old heavy
   weight, puts the burger back on the original 1440px guide, and restores
   the mobile hero framing from the previous approved build.
   ====================================================================== */

/* Original display treatment, reduced from the old 800 weight to 700. */
.menu-nav a{
  font-family:inherit;
  font-size:clamp(42px,6vw,94px);
  line-height:.94;
  letter-spacing:-.045em;
  font-weight:700;
  transform:skewX(-2deg);
}
.menu-nav a:hover{transform:translateX(20px) skewX(-2deg)}

.display-title,
.section-head .display-title,
.impact-copy .display-title,
.location-copy .display-title{
  font-family:inherit;
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:700;
  transform:skewX(-1.4deg);
  transform-origin:left center;
}
.story-copy h3{
  font-family:inherit;
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:700;
  transform:skewX(-1.2deg);
  transform-origin:left center;
}

/* Restore the burger to its original desktop guide and dimensions. */
@media (min-width:1101px){
  .burger{
    left:max(20px,calc((100vw - 1440px)/2));
    top:24px;
    width:122px;
    height:56px;
    padding:0 16px;
  }
  .burger span{left:17px;width:23px}
  .burger b{margin-left:36px;font-size:12px;letter-spacing:.16em;font-weight:700}
}
@media (min-width:761px) and (max-width:1100px){
  .burger{left:24px;top:24px;width:122px;height:56px;padding:0 16px}
  .burger span{left:17px;width:23px}
  .burger b{margin-left:36px;font-size:12px;letter-spacing:.16em;font-weight:700}
}

/* Mobile hero: exact framing/grade from the previous approved build. */
@media (max-width:760px){
  .hero{min-height:680px;height:100svh;max-height:none}
  .hero-media-wrap{
    inset:0;
    background-image:url('/assets/img/hero-poster-mobile.jpg?v=20260830-mobile-restore1');
    background-position:center center;
    background-size:cover;
  }
  .hero-video{
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:none;
    filter:saturate(1.06) contrast(1.02) brightness(.98);
  }
  .hero-vignette{
    background:
      linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.03) 36%,rgba(0,0,0,.34) 67%,rgba(7,5,3,.86) 100%),
      linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.04) 72%);
  }
  .hero-bottom-gradient{height:29vh}
  .hero-content{padding-bottom:42px}

  /* Keep the restored typography, but use safe mobile sizes. */
  .menu-nav a{font-size:clamp(38px,13vw,62px);line-height:.98;letter-spacing:-.045em;font-weight:700;transform:skewX(-2deg)}
  .display-title,
  .section-head .display-title,
  .impact-copy .display-title,
  .location-copy .display-title{
    line-height:1.02;
    letter-spacing:-.04em;
    font-weight:700;
    transform:skewX(-1.2deg);
  }
  .story-copy h3{line-height:1.04;letter-spacing:-.035em;font-weight:700;transform:skewX(-1deg)}
}


/* 2026-08-30 — restore the burger's exact original desktop geometry. */
@media (min-width:1101px){
  .burger{
    left:max(22px,calc((100vw - 1320px)/2));
    top:22px;
    width:116px;
    height:54px;
    padding:0 15px;
  }
  .burger span{left:16px;width:23px}
  .burger b{margin-left:34px;font-size:11px;letter-spacing:.14em;font-weight:650}
}
@media (min-width:761px) and (max-width:1100px){
  .burger{
    left:22px;
    top:22px;
    width:116px;
    height:54px;
    padding:0 15px;
  }
  .burger span{left:16px;width:23px}
  .burger b{margin-left:34px;font-size:11px;letter-spacing:.14em;font-weight:650}
}

/* 2026-08-30 — official VK / organizer / merch section. */
.community-section{
  padding:118px 0 78px;
  border-top:1px solid rgba(255,112,0,.13);
}
.community-head{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:44px;
  align-items:start;
  margin-bottom:38px;
}
.community-head .display-title{
  font-size:clamp(44px,4.8vw,76px);
  line-height:1.04;
}
.community-head .section-lead{
  max-width:720px;
}
.community-grid{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:24px;
  align-items:stretch;
}
.vk-links{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:16px;
  min-width:0;
}
.vk-link-card{
  position:relative;
  min-height:190px;
  padding:28px 64px 28px 28px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(135deg,rgba(255,103,0,.13),transparent 45%),
    rgba(12,8,6,.78);
  box-shadow:inset 0 0 0 1px rgba(255,107,0,.025),0 20px 70px rgba(0,0,0,.2);
  clip-path:polygon(0 0,95% 0,100% 14%,100% 100%,5% 100%,0 86%);
  transition:border-color .25s ease,background .25s ease,transform .25s ease;
}
.vk-link-card::before{
  content:"VK";
  position:absolute;
  right:24px;
  top:18px;
  color:rgba(255,255,255,.035);
  font-size:76px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.08em;
}
.vk-link-card.organizer{
  background:
    linear-gradient(135deg,rgba(255,45,0,.1),transparent 48%),
    rgba(12,8,6,.78);
}
.vk-link-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,111,0,.6);
  background:
    linear-gradient(135deg,rgba(255,103,0,.2),transparent 52%),
    rgba(15,9,6,.92);
}
.vk-link-kicker{
  position:relative;
  z-index:1;
  margin-bottom:10px;
  color:var(--orange);
  font-size:9px;
  line-height:1.4;
  letter-spacing:.16em;
  font-weight:700;
}
.vk-link-card strong{
  position:relative;
  z-index:1;
  max-width:440px;
  color:#f3ede5;
  font-size:clamp(20px,2vw,29px);
  line-height:1.08;
  letter-spacing:-.025em;
  font-weight:650;
}
.vk-link-url{
  position:relative;
  z-index:1;
  margin-top:13px;
  color:#81766d;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.04em;
}
.vk-link-card>i{
  position:absolute;
  right:26px;
  bottom:26px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
  color:var(--orange);
  font-size:18px;
  font-style:normal;
}
.merch-card{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);
  min-height:396px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(145deg,rgba(255,86,0,.08),rgba(9,6,4,.91) 48%);
  box-shadow:0 24px 90px rgba(0,0,0,.32),inset 0 0 70px rgba(255,82,0,.035);
}
.merch-media{
  position:relative;
  min-height:396px;
  overflow:hidden;
  background:#0a0705;
  isolation:isolate;
}
.merch-image{
  position:absolute;
  inset:-7%;
  width:114%;
  height:114%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  transform:translate3d(0,var(--glass-y,0px),0) scale(1.02);
  will-change:transform;
}
.merch-glass{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(120deg,rgba(255,255,255,.065),transparent 26%,transparent 70%,rgba(255,106,0,.035)),
    linear-gradient(180deg,transparent 60%,rgba(4,2,1,.45));
  box-shadow:inset 0 0 70px rgba(0,0,0,.27);
}
.merch-badge{
  position:absolute;
  z-index:2;
  left:20px;
  bottom:18px;
  padding:9px 14px;
  border:1px solid rgba(255,145,50,.62);
  background:rgba(8,4,2,.78);
  backdrop-filter:blur(8px);
  color:#ffd2a7;
  font-size:14px;
  line-height:1;
  letter-spacing:.06em;
  font-weight:700;
}
.merch-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:34px;
}
.merch-copy .eyebrow{margin-bottom:12px}
.merch-copy h3{
  margin:0;
  color:#f1e9df;
  font-size:clamp(28px,3vw,44px);
  line-height:1.03;
  letter-spacing:-.035em;
  font-weight:650;
}
.merch-copy p{
  margin:18px 0 24px;
  color:#aaa097;
  font-size:13.5px;
  line-height:1.68;
}
.merch-buy{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:14px 17px;
  border:1px solid var(--orange);
  color:#f9eee4;
  background:rgba(255,91,0,.07);
  font-size:10px;
  line-height:1.1;
  letter-spacing:.12em;
  font-weight:700;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.merch-buy:hover{background:var(--orange);color:#090402;transform:translateY(-2px)}
.merch-buy span{font-size:17px;line-height:1}

@media (max-width:1100px){
  .community-grid{grid-template-columns:1fr}
  .vk-links{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .vk-link-card{min-height:170px}
}
@media (max-width:760px){
  .community-section{padding:82px 0 54px}
  .community-head{grid-template-columns:1fr;gap:0;margin-bottom:24px}
  .community-head .display-title{font-size:clamp(36px,10vw,50px);line-height:1.03}
  .community-head .section-lead{font-size:13.5px;line-height:1.58}
  .community-grid{gap:16px}
  .vk-links{grid-template-columns:1fr;gap:12px}
  .vk-link-card{min-height:150px;padding:22px 56px 22px 20px;clip-path:polygon(0 0,94% 0,100% 14%,100% 100%,6% 100%,0 86%)}
  .vk-link-card::before{font-size:60px;right:18px}
  .vk-link-card strong{font-size:20px;line-height:1.12}
  .vk-link-card>i{right:18px;bottom:18px;width:31px;height:31px}
  .merch-card{grid-template-columns:1fr;min-height:0}
  .merch-media{min-height:280px;aspect-ratio:3/2}
  .merch-copy{padding:25px 20px 27px}
  .merch-copy h3{font-size:clamp(27px,8vw,38px);line-height:1.06}
  .merch-copy p{margin:14px 0 20px;font-size:13px;line-height:1.62}
  .merch-buy{width:100%;font-size:9px}
}

/* ======================================================================
   2026-08-31 — merch text overflow + burger alignment hotfix
   Fixes the two regressions visible in the latest screenshots without
   touching hero/video/carousels/content logic.
   ====================================================================== */

/* Give the merch copy a real desktop column so long Russian words never
   get cropped. Keep the image dominant, but not at the expense of text. */
@media (min-width:1101px){
  .community-grid{
    grid-template-columns:minmax(300px,.70fr) minmax(0,1.30fr);
  }
  .merch-card{
    grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);
  }
  .merch-copy{
    padding:34px 30px;
  }
  .merch-copy h3{
    max-width:100%;
    font-size:clamp(30px,2.35vw,38px);
    line-height:1.06;
    letter-spacing:-.03em;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
}

/* At compact desktop/tablet widths, stack the merch image and copy instead
   of squeezing the title into an unusably narrow side column. */
@media (min-width:761px) and (max-width:1100px){
  .merch-card{
    grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  }
  .merch-copy{padding:30px 28px}
  .merch-copy h3{
    font-size:clamp(29px,3.7vw,36px);
    line-height:1.06;
    letter-spacing:-.03em;
    white-space:normal;
  }
}

@media (min-width:761px) and (max-width:900px){
  .merch-card{grid-template-columns:1fr}
  .merch-media{min-height:360px;aspect-ratio:16/9}
  .merch-copy{padding:28px 26px 30px}
  .merch-copy h3{font-size:34px;max-width:620px}
  .merch-copy p{max-width:650px}
}

/* Burger: return the visual offset shown in the earlier approved version.
   Keep its dimensions/internal geometry unchanged, only restore breathing
   room from the viewport edges. */
@media (min-width:1101px){
  .burger{
    left:max(26px,calc((100vw - 1320px)/2 + 4px));
    top:24px;
  }
}
@media (min-width:761px) and (max-width:1100px){
  .burger{left:26px;top:24px}
}

/* Keep full labelled burger on landscape/tablet widths, but never let it
   kiss a safe-area edge on devices with cutouts. */
@media (max-width:760px){
  .burger{
    left:max(14px,env(safe-area-inset-left));
    top:max(14px,env(safe-area-inset-top));
  }
}

/* ======================================================================
   2026-08-31 — burger true vertical centering
   Center the icon and label geometrically inside the pill. Previous rules
   relied on the absolute elements' static position, which could shift the
   visual group upward depending on browser/font metrics.
   ====================================================================== */
.burger{
  display:block;
}
.burger span{
  top:50%;
  margin-top:-1px;
}
.burger b{
  position:absolute;
  left:50px;
  top:50%;
  margin:0;
  transform:translateY(-50%);
  line-height:1;
  white-space:nowrap;
}

@media (max-width:760px){
  .burger b{display:none}
  .burger span{top:50%;margin-top:-1px}
}

/* 2026-08-31 — sponsor wall responsive layout */
@media (max-width:1200px){
  .sponsor-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .sponsor-logo-card{grid-column:span 2}
  .sponsor-logo-card.featured{grid-column:span 3}
}
@media (max-width:900px){
  .sponsor-showcase{padding:18px}
  .sponsor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .sponsor-logo-card{grid-column:span 2;min-height:168px;padding:16px 16px 14px}
  .sponsor-logo-card.featured{grid-column:span 2;min-height:190px}
  .sponsor-logo-image{max-height:92px}
  .sponsor-logo-card.featured .sponsor-logo-image{max-height:118px}
}
@media (max-width:760px){
  .sponsor-showcase{padding:14px}
  .sponsor-showcase-head{margin-bottom:14px;font-size:8px;gap:10px;flex-wrap:wrap}
  .sponsor-showcase-head b{font-size:9px}
  .sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .sponsor-logo-card{grid-column:span 1;min-height:150px;padding:14px 14px 12px;clip-path:polygon(0 0,93% 0,100% 13%,100% 100%,7% 100%,0 87%)}
  .sponsor-logo-card.featured{grid-column:span 2;min-height:184px}
  .sponsor-logo-stage{min-height:92px;padding:10px}
  .sponsor-logo-card.featured .sponsor-logo-stage{min-height:124px}
  .sponsor-logo-image{max-height:78px}
  .sponsor-logo-card.featured .sponsor-logo-image{max-height:106px}
  .sponsor-card-name{font-size:12px;line-height:1.18}
  .sponsor-logo-card.featured .sponsor-card-name{font-size:16px}
}
@media (max-width:420px){
  .sponsor-grid{grid-template-columns:1fr}
  .sponsor-logo-card,.sponsor-logo-card.featured{grid-column:span 1}
  .sponsor-logo-card.featured{min-height:176px}
}

/* ======================================================================
   2026-08-31 — PREMIUM SPONSOR LOGO WALL
   No cards, no labels, no names on the public site. Logos float directly
   in the section with contour glow only. xFame + Dima Poroh stay featured.
   ====================================================================== */
.sponsor-section{
  position:relative;
  overflow:hidden;
  padding-bottom:86px;
}
.sponsor-section::before{
  content:"";
  position:absolute;
  left:50%;
  top:26%;
  width:min(1400px,96vw);
  height:720px;
  transform:translateX(-50%);
  pointer-events:none;
  background:
    radial-gradient(ellipse at 28% 12%,rgba(202,255,0,.045),transparent 30%),
    radial-gradient(ellipse at 72% 12%,rgba(255,255,255,.04),transparent 28%),
    radial-gradient(ellipse at 50% 72%,rgba(255,89,0,.04),transparent 50%);
  filter:blur(14px);
}
.sponsor-showcase{
  position:relative;
  overflow:visible;
  padding:32px 0 20px;
  border:0;
  background:none;
  box-shadow:none;
}
.sponsor-showcase::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12) 18%,rgba(255,106,0,.22) 50%,rgba(255,255,255,.12) 82%,transparent);
}
.sponsor-showcase::after{
  content:"";
  position:absolute;
  left:6%;
  right:6%;
  bottom:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);
}
.sponsor-ambient{
  position:absolute;
  inset:-120px -6vw;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 8%,rgba(194,255,0,.035),transparent 20%),
    radial-gradient(circle at 79% 10%,rgba(255,255,255,.03),transparent 20%);
  filter:blur(12px);
}
.sponsor-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:34px;
  row-gap:44px;
  align-items:center;
  width:100%;
  padding:18px 0 26px;
}
.sponsor-logo-item{
  --glow:#fff;
  grid-column:span 3;
  min-width:0;
  min-height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  position:relative;
  isolation:isolate;
}
.sponsor-logo-item.featured{
  grid-column:span 6;
  min-height:205px;
  padding:10px 32px 18px;
}
.sponsor-logo-item::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:78%;
  height:70%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  opacity:.26;
  background:radial-gradient(ellipse,color-mix(in srgb,var(--glow) 16%,transparent),transparent 67%);
  filter:blur(24px);
}
.sponsor-logo-image{
  position:relative;
  z-index:2;
  display:block;
  width:auto;
  max-width:92%;
  max-height:96px;
  object-fit:contain;
  transform:translateZ(0);
  filter:
    drop-shadow(0 0 1px color-mix(in srgb,var(--glow) 90%,transparent))
    drop-shadow(0 0 7px color-mix(in srgb,var(--glow) 58%,transparent))
    drop-shadow(0 0 18px color-mix(in srgb,var(--glow) 28%,transparent));
  transition:transform .28s var(--ease),filter .28s ease,opacity .28s ease;
}
.sponsor-logo-item.featured .sponsor-logo-image{
  max-width:88%;
  max-height:155px;
  filter:
    drop-shadow(0 0 1px color-mix(in srgb,var(--glow) 95%,transparent))
    drop-shadow(0 0 9px color-mix(in srgb,var(--glow) 67%,transparent))
    drop-shadow(0 0 26px color-mix(in srgb,var(--glow) 34%,transparent));
}
.sponsor-logo-item:hover .sponsor-logo-image{
  transform:translateY(-4px) scale(1.035);
  filter:
    drop-shadow(0 0 2px color-mix(in srgb,var(--glow) 95%,transparent))
    drop-shadow(0 0 10px color-mix(in srgb,var(--glow) 70%,transparent))
    drop-shadow(0 0 30px color-mix(in srgb,var(--glow) 42%,transparent));
}
/* Slightly irregular premium rhythm so the wall does not feel like boxes. */
.sponsor-logo-item:nth-child(4n+3){transform:translateY(7px)}
.sponsor-logo-item:nth-child(4n+4){transform:translateY(-6px)}
.sponsor-logo-item:nth-child(4n+5){transform:translateY(3px)}
.sponsor-logo-item:nth-child(4n+6){transform:translateY(-2px)}
.sponsor-logo-item.featured{transform:none}

@media (max-width:1100px){
  .sponsor-grid{grid-template-columns:repeat(8,minmax(0,1fr));column-gap:26px;row-gap:36px}
  .sponsor-logo-item{grid-column:span 2;min-height:122px}
  .sponsor-logo-item.featured{grid-column:span 4;min-height:185px}
  .sponsor-logo-image{max-height:88px}
  .sponsor-logo-item.featured .sponsor-logo-image{max-height:136px}
}
@media (max-width:760px){
  .sponsor-section{padding-bottom:58px}
  .sponsor-showcase{padding:24px 0 12px}
  .sponsor-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:16px;row-gap:28px;padding:14px 0 20px}
  .sponsor-logo-item{grid-column:span 2;min-height:106px;padding:6px}
  .sponsor-logo-item.featured{grid-column:span 4;min-height:150px;padding:8px 10px 14px}
  .sponsor-logo-image{max-width:94%;max-height:76px}
  .sponsor-logo-item.featured .sponsor-logo-image{max-width:90%;max-height:112px}
  .sponsor-logo-item:nth-child(n){transform:none}
}
@media (max-width:420px){
  .sponsor-grid{column-gap:12px;row-gap:24px}
  .sponsor-logo-item{min-height:92px}
  .sponsor-logo-image{max-height:64px}
  .sponsor-logo-item.featured{min-height:138px}
  .sponsor-logo-item.featured .sponsor-logo-image{max-height:100px}
}


/* 2026-08-31 — footer xFame Studio credit */
.footer-bottom{align-items:center}
.footer-powered{
  color:#7f756c;
  font-size:9px;
  line-height:1.4;
  letter-spacing:.08em;
  text-transform:none;
  white-space:nowrap;
}
.footer-powered strong{
  color:#d9ff28;
  font-weight:700;
  letter-spacing:.04em;
  text-shadow:0 0 10px rgba(190,255,40,.28);
}
@media (max-width:760px){
  .footer-bottom{align-items:flex-start}
  .footer-powered{order:2}
  .footer-bottom>a{order:3}
}


/* ===== TOTEM CARD DETAILS 20260901 ===== */


/* ---------------------------------------
   АВТОПОДГОНКА ФОТОГРАФИЙ
--------------------------------------- */

.event-card .card-image-wrap {
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: #070605;
}


.event-card .card-image {
  position: absolute;

  left: -4%;
  top: -4%;

  width: 108%;
  height: 108%;

  max-width: none;

  object-fit: cover;
  object-position: center center;

  transform:
    translate3d(
      0,
      var(--glass-y, 0px),
      0
    );

  will-change: transform;

  filter:
    saturate(.92)
    contrast(1.04)
    brightness(.96);
}


/* Фото не растягивается.
   Любое вертикальное/горизонтальное фото
   автоматически заполняет рамку */

.event-card .card-image-wrap::after {
  background:
    linear-gradient(
      180deg,
      transparent 68%,
      rgba(5,3,2,.90) 100%
    );
}


/* ---------------------------------------
   СВЕРНУТАЯ КАРТОЧКА
   только:
   - фото
   - категория
   - имя
--------------------------------------- */

#participantsGrid .event-card,
#judgesGrid .event-card {

  min-height: 0;
  height: auto;

  cursor: pointer;
}


#participantsGrid .card-number,
#judgesGrid .card-number {

  display: none;
}


#participantsGrid .card-description,
#judgesGrid .card-description {

  display: none;
}


#participantsGrid .card-body,
#judgesGrid .card-body {

  min-height: 108px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding:
    18px
    22px
    22px;
}


#participantsGrid .card-label,
#judgesGrid .card-label {

  margin-bottom: 10px;

  font-size: 9px;

  line-height: 1;

  letter-spacing: .15em;

  font-weight: 700;
}


#participantsGrid .card-name,
#judgesGrid .card-name {

  margin: 0;

  font-size:
    clamp(
      25px,
      2vw,
      32px
    );

  line-height: 1.02;

  letter-spacing: -.025em;

  font-weight: 650;

  text-transform: uppercase;
}


/* чуть более премиальный hover */

#participantsGrid .event-card:hover,
#judgesGrid .event-card:hover {

  transform:
    translateY(-5px);

  box-shadow:
    0 24px 70px
    color-mix(
      in srgb,
      var(--glow) 15%,
      transparent
    );
}


/* ---------------------------------------
   МОДАЛЬНАЯ ПОДРОБНАЯ КАРТОЧКА
--------------------------------------- */

body.card-detail-open {

  overflow: hidden;
}


.card-detail-modal[hidden] {

  display: none !important;
}


.card-detail-modal {

  --detail-glow: #ff6a00;

  position: fixed;

  z-index: 10050;

  inset: 0;

  display: grid;

  place-items: center;

  padding:
    clamp(
      14px,
      3vw,
      42px
    );

  opacity: 0;

  transition:
    opacity .22s ease;
}


.card-detail-modal.open {

  opacity: 1;
}


.card-detail-backdrop {

  position: absolute;

  inset: 0;

  background:
    rgba(
      1,
      1,
      1,
      .86
    );

  backdrop-filter:
    blur(12px);
}


.card-detail-panel {

  position: relative;

  z-index: 1;

  width:
    min(
      1080px,
      100%
    );

  max-height:
    min(
      840px,
      calc(100svh - 36px)
    );

  display: grid;

  grid-template-columns:
    minmax(340px, .95fr)
    minmax(390px, 1.05fr);

  overflow: hidden;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--detail-glow) 36%,
      rgba(255,255,255,.12)
    );

  background:
    radial-gradient(
      circle at 20% 20%,
      color-mix(
        in srgb,
        var(--detail-glow) 7%,
        transparent
      ),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #0d0b09,
      #050403 64%
    );

  box-shadow:
    0 35px 120px
    rgba(0,0,0,.75),

    0 0 80px
    color-mix(
      in srgb,
      var(--detail-glow) 14%,
      transparent
    );

  transform:
    translateY(18px)
    scale(.985);

  transition:
    transform
    .24s
    var(--ease);
}


.card-detail-modal.open
.card-detail-panel {

  transform:
    translateY(0)
    scale(1);
}


.card-detail-panel::before {

  content: "";

  position: absolute;

  z-index: 4;

  inset: 0;

  pointer-events: none;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--detail-glow) 16%,
      transparent
    );
}


/* кнопка закрытия */

.card-detail-close {

  position: absolute;

  z-index: 10;

  right: 16px;

  top: 16px;

  width: 44px;

  height: 44px;

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(255,255,255,.20);

  border-radius: 50%;

  background:
    rgba(
      0,
      0,
      0,
      .68
    );

  color: #fff;

  font-size: 28px;

  line-height: 1;

  cursor: pointer;

  transition:
    .2s ease;
}


.card-detail-close:hover {

  border-color:
    var(--detail-glow);

  box-shadow:
    0 0 20px
    color-mix(
      in srgb,
      var(--detail-glow) 38%,
      transparent
    );
}


/* ---------------------------------------
   ФОТО В РАСКРЫТОЙ КАРТОЧКЕ
--------------------------------------- */

.card-detail-media {

  position: relative;

  min-height: 590px;

  overflow: hidden;

  background: #070605;
}


.card-detail-media::after {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:

    linear-gradient(
      90deg,
      transparent 70%,
      rgba(5,4,3,.85)
    ),

    linear-gradient(
      180deg,
      transparent 65%,
      rgba(5,4,3,.60)
    );
}


.card-detail-media img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center center;
}


/* ---------------------------------------
   ТЕКСТ ПОДРОБНОЙ КАРТОЧКИ
--------------------------------------- */

.card-detail-copy {

  min-width: 0;

  overflow: auto;

  align-self: stretch;

  padding:

    clamp(
      42px,
      5vw,
      76px
    )

    clamp(
      30px,
      5vw,
      70px
    )

    45px;
}


.card-detail-label {

  display: inline-block;

  margin-bottom: 16px;

  color:
    var(--detail-glow);

  font-size: 11px;

  line-height: 1;

  letter-spacing: .16em;

  font-weight: 700;

  text-transform: uppercase;

  text-shadow:

    0 0 20px

    color-mix(
      in srgb,
      var(--detail-glow) 48%,
      transparent
    );
}


.card-detail-copy h3 {

  margin: 0;

  color: #f6f0e9;

  font-size:

    clamp(
      44px,
      5vw,
      78px
    );

  line-height: .96;

  letter-spacing: -.045em;

  font-weight: 650;

  text-transform: uppercase;

  overflow-wrap: anywhere;
}


.card-detail-line {

  width: 100%;

  height: 1px;

  margin:
    30px
    0
    26px;

  background:

    linear-gradient(
      90deg,
      var(--detail-glow),
      rgba(255,255,255,.10),
      transparent
    );
}


.card-detail-copy p {

  margin: 0;

  color: #b9afa4;

  font-size: 15px;

  line-height: 1.75;

  font-weight: 400;

  white-space: pre-line;
}


/* ---------------------------------------
   MOBILE
--------------------------------------- */

@media (max-width: 760px) {

  .event-card .card-image-wrap {

    aspect-ratio:
      4 / 5;
  }


  .event-card .card-image {

    left: -3%;

    top: -3%;

    width: 106%;

    height: 106%;
  }


  #participantsGrid .card-body,
  #judgesGrid .card-body {

    min-height: 92px;

    padding:
      15px
      17px
      18px;
  }


  #participantsGrid .card-name,
  #judgesGrid .card-name {

    font-size: 24px;
  }


  .card-detail-modal {

    padding: 10px;
  }


  .card-detail-panel {

    width: 100%;

    max-height:
      calc(
        100svh - 20px
      );

    grid-template-columns:
      1fr;

    overflow: auto;
  }


  .card-detail-media {

    min-height: 0;

    height:
      min(
        52svh,
        520px
      );

    aspect-ratio:
      4 / 5;
  }


  .card-detail-media::after {

    background:

      linear-gradient(
        180deg,
        transparent 65%,
        #060403 100%
      );
  }


  .card-detail-copy {

    overflow: visible;

    padding:
      26px
      21px
      32px;
  }


  .card-detail-copy h3 {

    font-size:

      clamp(
        38px,
        12vw,
        56px
      );
  }


  .card-detail-copy p {

    font-size: 14px;

    line-height: 1.66;
  }


  .card-detail-close {

    right: 12px;

    top: 12px;
  }

}


/* ===== END TOTEM CARD DETAILS ===== */



/* =========================================================
   TOTEM MOBILE GLOW + CARD FIT + DETAILS V3
   2026-09-01
========================================================= */


/* ---------------------------------------------------------
   1. СПОНСОРЫ
   Убираем мобильный Chromium bug с прямоугольным filter.
--------------------------------------------------------- */

.sponsor-logo-item {
  overflow: visible !important;
  isolation: isolate !important;
}


/* старое большое радиальное пятно не нужно */
.sponsor-logo-item::before {
  display: none !important;
}


/*
 * Основной логотип рисуется БЕЗ filter.
 * Благодаря этому браузер не создаёт прямоугольный
 * compositing layer вокруг прозрачного PNG.
 */
.sponsor-logo-image {
  position: relative !important;
  z-index: 3 !important;

  filter: none !important;
  -webkit-filter: none !important;

  transform: none !important;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  image-rendering: auto;
}


/*
 * Свечение строится отдельной CSS-маской.
 * Маска повторяет именно alpha-контур PNG.
 */
.sponsor-logo-mask-glow {
  --logo-mask: none;

  position: absolute;

  z-index: 1;

  inset: -20px;

  pointer-events: none;

  background:
    var(--glow);

  opacity: .55;

  -webkit-mask-image:
    var(--logo-mask);

  mask-image:
    var(--logo-mask);

  -webkit-mask-repeat:
    no-repeat;

  mask-repeat:
    no-repeat;

  -webkit-mask-position:
    center;

  mask-position:
    center;

  -webkit-mask-size:
    contain;

  mask-size:
    contain;

  filter:
    blur(11px);

  -webkit-filter:
    blur(11px);

  transform:
    translate3d(
      0,
      0,
      0
    );
}


.sponsor-logo-item.featured
.sponsor-logo-mask-glow {

  inset: -28px;

  opacity: .62;

  filter:
    blur(14px);

  -webkit-filter:
    blur(14px);
}


/* hover оставляем, но без filter */
.sponsor-logo-item:hover
.sponsor-logo-image {

  transform:
    translateY(-3px)
    scale(1.025)
    !important;

  filter: none !important;
}


@media (max-width:760px) {

  .sponsor-logo-mask-glow {

    /*
     * Увеличенный слой предотвращает
     * клип свечения на Android.
     */
    inset: -26px;

    opacity: .48;

    filter:
      blur(9px);

    -webkit-filter:
      blur(9px);

    transform:
      translate3d(
        0,
        0,
        0
      );

    will-change:
      transform;
  }


  .sponsor-logo-item.featured
  .sponsor-logo-mask-glow {

    inset: -34px;

    opacity: .58;

    filter:
      blur(12px);

    -webkit-filter:
      blur(12px);
  }

}


/* ---------------------------------------------------------
   2. ФОТО УЧАСТНИКОВ И СУДЕЙ
   НИЧЕГО НЕ ОБРЕЗАЕМ.
--------------------------------------------------------- */

#participantsGrid .card-image-wrap,
#judgesGrid .card-image-wrap {

  position: relative !important;

  height: auto !important;

  aspect-ratio:
    4 / 5;

  overflow: hidden !important;

  background:
    #080604 !important;
}


/*
 * Размытый фон заполняет рамку,
 * если пропорции фотографии отличаются.
 */
#participantsGrid .card-image-backdrop,
#judgesGrid .card-image-backdrop {

  position: absolute;

  z-index: 0;

  inset: -8%;

  width: 116%;
  height: 116%;

  max-width: none;

  object-fit: cover;

  object-position: center;

  filter:
    blur(22px)
    brightness(.42)
    saturate(.8);

  transform:
    scale(1.08);

  opacity: .72;

  pointer-events: none;
}


/*
 * А ЭТО — исходная фотография.
 * contain = показываем её ЦЕЛИКОМ,
 * без отрезанных головы, ног, текста постера и т.п.
 */
#participantsGrid .card-image,
#judgesGrid .card-image {

  position: absolute !important;

  z-index: 1 !important;

  inset: 0 !important;

  left: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;

  object-fit:
    contain !important;

  object-position:
    center center !important;

  transform:
    none !important;

  filter:
    none !important;

  padding:
    0 !important;
}


/*
 * Старый сильный нижний градиент тоже
 * мог визуально "съедать" фото.
 */
#participantsGrid
.card-image-wrap::after,

#judgesGrid
.card-image-wrap::after {

  z-index: 2;

  background:

    linear-gradient(
      180deg,
      transparent 76%,
      rgba(5,3,2,.35)
    ) !important;
}


/* стеклянный слой остается */
#participantsGrid
.card-image-wrap::before,

#judgesGrid
.card-image-wrap::before {

  z-index: 3;
}


/* ---------------------------------------------------------
   3. СВЁРНУТАЯ КАРТОЧКА
--------------------------------------------------------- */

#participantsGrid
.event-card,

#judgesGrid
.event-card {

  height: auto !important;

  min-height: 0 !important;

  cursor: pointer;

  touch-action:
    pan-x;

  user-select: none;

  -webkit-tap-highlight-color:
    transparent;
}


#participantsGrid
.event-card.is-expandable,

#judgesGrid
.event-card.is-expandable {

  cursor: zoom-in;
}


#participantsGrid
.card-number,

#judgesGrid
.card-number {

  display:
    none !important;
}


#participantsGrid
.card-description,

#judgesGrid
.card-description {

  display:
    none !important;
}


#participantsGrid
.card-body,

#judgesGrid
.card-body {

  min-height:
    110px !important;

  padding:
    17px
    21px
    22px
    !important;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;
}


#participantsGrid
.card-label,

#judgesGrid
.card-label {

  margin:
    0
    0
    10px;

  font-size:
    9px;

  line-height:
    1;

  letter-spacing:
    .15em;

  font-weight:
    700;
}


#participantsGrid
.card-name,

#judgesGrid
.card-name {

  margin: 0;

  font-size:
    clamp(
      25px,
      2.1vw,
      34px
    );

  line-height:
    .98;

  letter-spacing:
    -.035em;

  font-weight:
    650;

  text-transform:
    uppercase;
}


/* ---------------------------------------------------------
   4. РАСКРЫВАЮЩАЯСЯ ПОДРОБНАЯ КАРТОЧКА V3
--------------------------------------------------------- */

body.details-v3-open {

  overflow:
    hidden;
}


.card-details-v3[hidden] {

  display:
    none !important;
}


.card-details-v3 {

  --detail-glow:
    #ff6a00;

  position:
    fixed;

  z-index:
    30000;

  inset:
    0;

  display:
    grid;

  place-items:
    center;

  padding:
    30px;

  opacity:
    0;

  transition:
    opacity
    .22s
    ease;
}


.card-details-v3.is-open {

  opacity:
    1;
}


.card-details-v3-backdrop {

  position:
    absolute;

  inset:
    0;

  background:
    rgba(
      0,
      0,
      0,
      .90
    );

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


.card-details-v3-panel {

  position:
    relative;

  z-index:
    2;

  width:
    min(
      1100px,
      100%
    );

  max-height:
    calc(
      100svh - 60px
    );

  display:
    grid;

  grid-template-columns:
    minmax(360px,.92fr)
    minmax(380px,1.08fr);

  overflow:
    hidden;

  border:
    1px
    solid
    color-mix(
      in srgb,
      var(--detail-glow) 45%,
      rgba(255,255,255,.12)
    );

  background:

    radial-gradient(
      circle at 15% 18%,
      color-mix(
        in srgb,
        var(--detail-glow) 9%,
        transparent
      ),
      transparent 38%
    ),

    linear-gradient(
      135deg,
      #0c0907,
      #040302
    );

  box-shadow:

    0 35px 140px
    rgba(0,0,0,.82),

    0 0 70px
    color-mix(
      in srgb,
      var(--detail-glow) 17%,
      transparent
    );

  transform:
    translateY(15px)
    scale(.985);

  transition:
    transform
    .24s
    cubic-bezier(.2,.8,.2,1);
}


.card-details-v3.is-open
.card-details-v3-panel {

  transform:
    translateY(0)
    scale(1);
}


.card-details-v3-close {

  position:
    absolute;

  z-index:
    20;

  right:
    16px;

  top:
    16px;

  width:
    46px;

  height:
    46px;

  display:
    grid;

  place-items:
    center;

  border:
    1px
    solid
    rgba(255,255,255,.25);

  border-radius:
    50%;

  background:
    rgba(0,0,0,.72);

  color:
    #fff;

  font-size:
    29px;

  line-height:
    1;

  cursor:
    pointer;
}


/* media */

.card-details-v3-media {

  position:
    relative;

  min-height:
    610px;

  overflow:
    hidden;

  display:
    grid;

  place-items:
    center;

  background:
    #060403;
}


.card-details-v3-bg {

  position:
    absolute;

  z-index:
    0;

  inset:
    -9%;

  width:
    118%;

  height:
    118%;

  object-fit:
    cover;

  filter:
    blur(30px)
    brightness(.36);

  transform:
    scale(1.08);
}


.card-details-v3-image {

  position:
    relative;

  z-index:
    2;

  width:
    100%;

  height:
    100%;

  object-fit:
    contain;

  object-position:
    center;

  display:
    block;
}


/* copy */

.card-details-v3-content {

  min-width:
    0;

  overflow:
    auto;

  padding:

    clamp(
      52px,
      6vw,
      82px
    )

    clamp(
      30px,
      5vw,
      70px
    )

    50px;
}


.card-details-v3-label {

  display:
    block;

  margin-bottom:
    17px;

  color:
    var(--detail-glow);

  font-size:
    11px;

  line-height:
    1;

  letter-spacing:
    .18em;

  font-weight:
    700;

  text-transform:
    uppercase;
}


.card-details-v3-content h3 {

  margin:
    0;

  color:
    #f6f1eb;

  font-size:

    clamp(
      45px,
      5.5vw,
      80px
    );

  line-height:
    .94;

  letter-spacing:
    -.045em;

  font-weight:
    650;

  text-transform:
    uppercase;

  overflow-wrap:
    anywhere;
}


.card-details-v3-rule {

  height:
    1px;

  margin:
    30px
    0
    27px;

  background:

    linear-gradient(
      90deg,
      var(--detail-glow),
      rgba(255,255,255,.12),
      transparent
    );
}


.card-details-v3-content p {

  margin:
    0;

  color:
    #bdb2a7;

  font-size:
    15px;

  line-height:
    1.72;

  white-space:
    pre-line;
}


/* ---------------------------------------------------------
   MOBILE DETAILS
--------------------------------------------------------- */

@media (max-width:760px) {

  #participantsGrid
  .card-image-wrap,

  #judgesGrid
  .card-image-wrap {

    aspect-ratio:
      4 / 5;
  }


  #participantsGrid
  .card-body,

  #judgesGrid
  .card-body {

    min-height:
      94px !important;

    padding:
      15px
      17px
      18px
      !important;
  }


  #participantsGrid
  .card-name,

  #judgesGrid
  .card-name {

    font-size:
      24px;
  }


  .card-details-v3 {

    padding:
      8px;
  }


  .card-details-v3-panel {

    width:
      100%;

    max-height:
      calc(
        100svh - 16px
      );

    grid-template-columns:
      1fr;

    overflow:
      auto;
  }


  .card-details-v3-media {

    min-height:
      0;

    height:
      min(
        55svh,
        540px
      );
  }


  .card-details-v3-image {

    object-fit:
      contain;
  }


  .card-details-v3-content {

    overflow:
      visible;

    padding:
      25px
      20px
      34px;
  }


  .card-details-v3-content h3 {

    font-size:

      clamp(
        39px,
        12vw,
        58px
      );
  }


  .card-details-v3-content p {

    font-size:
      14px;

    line-height:
      1.65;
  }


  .card-details-v3-close {

    position:
      fixed;

    right:
      18px;

    top:
      18px;
  }

}


/* ===== END V3 ===== */



/* =========================================================
   TOTEM MOBILE GLOW + CARD FIT + DETAILS V3
   2026-09-01
========================================================= */


/* ---------------------------------------------------------
   1. СПОНСОРЫ
   Убираем мобильный Chromium bug с прямоугольным filter.
--------------------------------------------------------- */

.sponsor-logo-item {
  overflow: visible !important;
  isolation: isolate !important;
}


/* старое большое радиальное пятно не нужно */
.sponsor-logo-item::before {
  display: none !important;
}


/*
 * Основной логотип рисуется БЕЗ filter.
 * Благодаря этому браузер не создаёт прямоугольный
 * compositing layer вокруг прозрачного PNG.
 */
.sponsor-logo-image {
  position: relative !important;
  z-index: 3 !important;

  filter: none !important;
  -webkit-filter: none !important;

  transform: none !important;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  image-rendering: auto;
}


/*
 * Свечение строится отдельной CSS-маской.
 * Маска повторяет именно alpha-контур PNG.
 */
.sponsor-logo-mask-glow {
  --logo-mask: none;

  position: absolute;

  z-index: 1;

  inset: -20px;

  pointer-events: none;

  background:
    var(--glow);

  opacity: .55;

  -webkit-mask-image:
    var(--logo-mask);

  mask-image:
    var(--logo-mask);

  -webkit-mask-repeat:
    no-repeat;

  mask-repeat:
    no-repeat;

  -webkit-mask-position:
    center;

  mask-position:
    center;

  -webkit-mask-size:
    contain;

  mask-size:
    contain;

  filter:
    blur(11px);

  -webkit-filter:
    blur(11px);

  transform:
    translate3d(
      0,
      0,
      0
    );
}


.sponsor-logo-item.featured
.sponsor-logo-mask-glow {

  inset: -28px;

  opacity: .62;

  filter:
    blur(14px);

  -webkit-filter:
    blur(14px);
}


/* hover оставляем, но без filter */
.sponsor-logo-item:hover
.sponsor-logo-image {

  transform:
    translateY(-3px)
    scale(1.025)
    !important;

  filter: none !important;
}


@media (max-width:760px) {

  .sponsor-logo-mask-glow {

    /*
     * Увеличенный слой предотвращает
     * клип свечения на Android.
     */
    inset: -26px;

    opacity: .48;

    filter:
      blur(9px);

    -webkit-filter:
      blur(9px);

    transform:
      translate3d(
        0,
        0,
        0
      );

    will-change:
      transform;
  }


  .sponsor-logo-item.featured
  .sponsor-logo-mask-glow {

    inset: -34px;

    opacity: .58;

    filter:
      blur(12px);

    -webkit-filter:
      blur(12px);
  }

}


/* ---------------------------------------------------------
   2. ФОТО УЧАСТНИКОВ И СУДЕЙ
   НИЧЕГО НЕ ОБРЕЗАЕМ.
--------------------------------------------------------- */

#participantsGrid .card-image-wrap,
#judgesGrid .card-image-wrap {

  position: relative !important;

  height: auto !important;

  aspect-ratio:
    4 / 5;

  overflow: hidden !important;

  background:
    #080604 !important;
}


/*
 * Размытый фон заполняет рамку,
 * если пропорции фотографии отличаются.
 */
#participantsGrid .card-image-backdrop,
#judgesGrid .card-image-backdrop {

  position: absolute;

  z-index: 0;

  inset: -8%;

  width: 116%;
  height: 116%;

  max-width: none;

  object-fit: cover;

  object-position: center;

  filter:
    blur(22px)
    brightness(.42)
    saturate(.8);

  transform:
    scale(1.08);

  opacity: .72;

  pointer-events: none;
}


/*
 * А ЭТО — исходная фотография.
 * contain = показываем её ЦЕЛИКОМ,
 * без отрезанных головы, ног, текста постера и т.п.
 */
#participantsGrid .card-image,
#judgesGrid .card-image {

  position: absolute !important;

  z-index: 1 !important;

  inset: 0 !important;

  left: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;

  object-fit:
    contain !important;

  object-position:
    center center !important;

  transform:
    none !important;

  filter:
    none !important;

  padding:
    0 !important;
}


/*
 * Старый сильный нижний градиент тоже
 * мог визуально "съедать" фото.
 */
#participantsGrid
.card-image-wrap::after,

#judgesGrid
.card-image-wrap::after {

  z-index: 2;

  background:

    linear-gradient(
      180deg,
      transparent 76%,
      rgba(5,3,2,.35)
    ) !important;
}


/* стеклянный слой остается */
#participantsGrid
.card-image-wrap::before,

#judgesGrid
.card-image-wrap::before {

  z-index: 3;
}


/* ---------------------------------------------------------
   3. СВЁРНУТАЯ КАРТОЧКА
--------------------------------------------------------- */

#participantsGrid
.event-card,

#judgesGrid
.event-card {

  height: auto !important;

  min-height: 0 !important;

  cursor: pointer;

  touch-action:
    pan-x;

  user-select: none;

  -webkit-tap-highlight-color:
    transparent;
}


#participantsGrid
.event-card.is-expandable,

#judgesGrid
.event-card.is-expandable {

  cursor: zoom-in;
}


#participantsGrid
.card-number,

#judgesGrid
.card-number {

  display:
    none !important;
}


#participantsGrid
.card-description,

#judgesGrid
.card-description {

  display:
    none !important;
}


#participantsGrid
.card-body,

#judgesGrid
.card-body {

  min-height:
    110px !important;

  padding:
    17px
    21px
    22px
    !important;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;
}


#participantsGrid
.card-label,

#judgesGrid
.card-label {

  margin:
    0
    0
    10px;

  font-size:
    9px;

  line-height:
    1;

  letter-spacing:
    .15em;

  font-weight:
    700;
}


#participantsGrid
.card-name,

#judgesGrid
.card-name {

  margin: 0;

  font-size:
    clamp(
      25px,
      2.1vw,
      34px
    );

  line-height:
    .98;

  letter-spacing:
    -.035em;

  font-weight:
    650;

  text-transform:
    uppercase;
}


/* ---------------------------------------------------------
   4. РАСКРЫВАЮЩАЯСЯ ПОДРОБНАЯ КАРТОЧКА V3
--------------------------------------------------------- */

body.details-v3-open {

  overflow:
    hidden;
}


.card-details-v3[hidden] {

  display:
    none !important;
}


.card-details-v3 {

  --detail-glow:
    #ff6a00;

  position:
    fixed;

  z-index:
    30000;

  inset:
    0;

  display:
    grid;

  place-items:
    center;

  padding:
    30px;

  opacity:
    0;

  transition:
    opacity
    .22s
    ease;
}


.card-details-v3.is-open {

  opacity:
    1;
}


.card-details-v3-backdrop {

  position:
    absolute;

  inset:
    0;

  background:
    rgba(
      0,
      0,
      0,
      .90
    );

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


.card-details-v3-panel {

  position:
    relative;

  z-index:
    2;

  width:
    min(
      1100px,
      100%
    );

  max-height:
    calc(
      100svh - 60px
    );

  display:
    grid;

  grid-template-columns:
    minmax(360px,.92fr)
    minmax(380px,1.08fr);

  overflow:
    hidden;

  border:
    1px
    solid
    color-mix(
      in srgb,
      var(--detail-glow) 45%,
      rgba(255,255,255,.12)
    );

  background:

    radial-gradient(
      circle at 15% 18%,
      color-mix(
        in srgb,
        var(--detail-glow) 9%,
        transparent
      ),
      transparent 38%
    ),

    linear-gradient(
      135deg,
      #0c0907,
      #040302
    );

  box-shadow:

    0 35px 140px
    rgba(0,0,0,.82),

    0 0 70px
    color-mix(
      in srgb,
      var(--detail-glow) 17%,
      transparent
    );

  transform:
    translateY(15px)
    scale(.985);

  transition:
    transform
    .24s
    cubic-bezier(.2,.8,.2,1);
}


.card-details-v3.is-open
.card-details-v3-panel {

  transform:
    translateY(0)
    scale(1);
}


.card-details-v3-close {

  position:
    absolute;

  z-index:
    20;

  right:
    16px;

  top:
    16px;

  width:
    46px;

  height:
    46px;

  display:
    grid;

  place-items:
    center;

  border:
    1px
    solid
    rgba(255,255,255,.25);

  border-radius:
    50%;

  background:
    rgba(0,0,0,.72);

  color:
    #fff;

  font-size:
    29px;

  line-height:
    1;

  cursor:
    pointer;
}


/* media */

.card-details-v3-media {

  position:
    relative;

  min-height:
    610px;

  overflow:
    hidden;

  display:
    grid;

  place-items:
    center;

  background:
    #060403;
}


.card-details-v3-bg {

  position:
    absolute;

  z-index:
    0;

  inset:
    -9%;

  width:
    118%;

  height:
    118%;

  object-fit:
    cover;

  filter:
    blur(30px)
    brightness(.36);

  transform:
    scale(1.08);
}


.card-details-v3-image {

  position:
    relative;

  z-index:
    2;

  width:
    100%;

  height:
    100%;

  object-fit:
    contain;

  object-position:
    center;

  display:
    block;
}


/* copy */

.card-details-v3-content {

  min-width:
    0;

  overflow:
    auto;

  padding:

    clamp(
      52px,
      6vw,
      82px
    )

    clamp(
      30px,
      5vw,
      70px
    )

    50px;
}


.card-details-v3-label {

  display:
    block;

  margin-bottom:
    17px;

  color:
    var(--detail-glow);

  font-size:
    11px;

  line-height:
    1;

  letter-spacing:
    .18em;

  font-weight:
    700;

  text-transform:
    uppercase;
}


.card-details-v3-content h3 {

  margin:
    0;

  color:
    #f6f1eb;

  font-size:

    clamp(
      45px,
      5.5vw,
      80px
    );

  line-height:
    .94;

  letter-spacing:
    -.045em;

  font-weight:
    650;

  text-transform:
    uppercase;

  overflow-wrap:
    anywhere;
}


.card-details-v3-rule {

  height:
    1px;

  margin:
    30px
    0
    27px;

  background:

    linear-gradient(
      90deg,
      var(--detail-glow),
      rgba(255,255,255,.12),
      transparent
    );
}


.card-details-v3-content p {

  margin:
    0;

  color:
    #bdb2a7;

  font-size:
    15px;

  line-height:
    1.72;

  white-space:
    pre-line;
}


/* ---------------------------------------------------------
   MOBILE DETAILS
--------------------------------------------------------- */

@media (max-width:760px) {

  #participantsGrid
  .card-image-wrap,

  #judgesGrid
  .card-image-wrap {

    aspect-ratio:
      4 / 5;
  }


  #participantsGrid
  .card-body,

  #judgesGrid
  .card-body {

    min-height:
      94px !important;

    padding:
      15px
      17px
      18px
      !important;
  }


  #participantsGrid
  .card-name,

  #judgesGrid
  .card-name {

    font-size:
      24px;
  }


  .card-details-v3 {

    padding:
      8px;
  }


  .card-details-v3-panel {

    width:
      100%;

    max-height:
      calc(
        100svh - 16px
      );

    grid-template-columns:
      1fr;

    overflow:
      auto;
  }


  .card-details-v3-media {

    min-height:
      0;

    height:
      min(
        55svh,
        540px
      );
  }


  .card-details-v3-image {

    object-fit:
      contain;
  }


  .card-details-v3-content {

    overflow:
      visible;

    padding:
      25px
      20px
      34px;
  }


  .card-details-v3-content h3 {

    font-size:

      clamp(
        39px,
        12vw,
        58px
      );
  }


  .card-details-v3-content p {

    font-size:
      14px;

    line-height:
      1.65;
  }


  .card-details-v3-close {

    position:
      fixed;

    right:
      18px;

    top:
      18px;
  }

}


/* ===== END V3 ===== */



/* =========================================================
   TOTEM GLASS DEPTH V4
========================================================= */


/*
 * Окошко карточки является стеклом.
 * Само фото физически больше этого окна.
 */

#participantsGrid .card-image-wrap,
#judgesGrid .card-image-wrap {

  --glass-depth-y: 0px;

  position: relative !important;

  overflow: hidden !important;

  isolation: isolate;

  background:
    #060504 !important;

  perspective:
    900px;
}


/*
 * Размытая копия остаётся глубже
 * и заполняет края.
 */

#participantsGrid .card-image-backdrop,
#judgesGrid .card-image-backdrop {

  position: absolute !important;

  z-index: 0 !important;

  inset: -16% !important;

  width: 132% !important;

  height: 132% !important;

  max-width: none !important;

  object-fit:
    cover !important;

  object-position:
    center !important;

  transform:

    translate3d(
      0,
      calc(
        var(--glass-depth-y) * .28
      ),
      -20px
    )

    scale(1.12)

    !important;

  filter:

    blur(26px)
    brightness(.30)
    saturate(.85)

    !important;

  opacity:
    .72 !important;

  pointer-events:
    none;
}


/*
 * ГЛАВНАЯ ФОТОГРАФИЯ.
 *
 * Она крупнее окна и двигается
 * относительно окна при прокрутке.
 */

#participantsGrid .card-image,
#judgesGrid .card-image {

  position: absolute !important;

  z-index: 1 !important;

  left: -8% !important;

  top: -8% !important;

  width: 116% !important;

  height: 116% !important;

  max-width: none !important;

  object-fit:
    cover !important;

  object-position:
    center center !important;

  padding:
    0 !important;

  transform:

    translate3d(
      0,
      var(--glass-depth-y),
      0
    )

    scale(1.04)

    !important;

  transform-origin:
    center center !important;

  will-change:
    transform;

  backface-visibility:
    hidden;

  -webkit-backface-visibility:
    hidden;

  transition:
    filter .25s ease;

  filter:

    saturate(.96)
    contrast(1.03)
    brightness(.96)

    !important;

}


/*
 * Стекло поверх фотографии.
 */

#participantsGrid
.card-image-wrap::before,

#judgesGrid
.card-image-wrap::before {

  content: "" !important;

  position:
    absolute !important;

  z-index:
    5 !important;

  inset:
    0 !important;

  pointer-events:
    none !important;

  opacity:
    1 !important;

  background:

    linear-gradient(
      115deg,
      rgba(255,255,255,.105) 0%,
      rgba(255,255,255,.018) 20%,
      transparent 41%,
      transparent 72%,
      rgba(255,255,255,.038) 100%
    ),

    radial-gradient(
      circle at 20% 4%,
      rgba(255,255,255,.09),
      transparent 26%
    )

    !important;

  border:

    1px solid
    rgba(255,255,255,.055)

    !important;

  box-shadow:

    inset 0 1px 0
    rgba(255,255,255,.07),

    inset 0 -30px 55px
    rgba(0,0,0,.11)

    !important;

}


/*
 * Нижнее затемнение очень мягкое,
 * чтобы не съедало изображение.
 */

#participantsGrid
.card-image-wrap::after,

#judgesGrid
.card-image-wrap::after {

  content: "" !important;

  position:
    absolute !important;

  z-index:
    4 !important;

  inset:
    0 !important;

  pointer-events:
    none !important;

  background:

    linear-gradient(
      180deg,
      transparent 72%,
      rgba(3,2,1,.22) 100%
    )

    !important;

}


/*
 * При наведении создаём ощущение,
 * что стекло приближается.
 */

#participantsGrid
.event-card:hover
.card-image,

#judgesGrid
.event-card:hover
.card-image {

  filter:

    saturate(1.03)
    contrast(1.05)
    brightness(1)

    !important;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:760px) {

  /*
   * На телефоне немного меньше масштаб,
   * чтобы лица не резались слишком сильно.
   */

  #participantsGrid .card-image,
  #judgesGrid .card-image {

    left:
      -7% !important;

    top:
      -7% !important;

    width:
      114% !important;

    height:
      114% !important;

    transform:

      translate3d(
        0,
        var(--glass-depth-y),
        0
      )

      scale(1.025)

      !important;

  }


  #participantsGrid
  .card-image-backdrop,

  #judgesGrid
  .card-image-backdrop {

    inset:
      -14% !important;

    width:
      128% !important;

    height:
      128% !important;

    filter:

      blur(22px)
      brightness(.32)

      !important;

  }

}


/* ===== END TOTEM GLASS DEPTH V4 ===== */



/* =========================================================
   TOTEM TRUE FIXED GLASS V5
========================================================= */


#participantsGrid .card-image-wrap,
#judgesGrid .card-image-wrap {

  --true-glass-y: 0px;

  position:
    relative !important;

  overflow:
    hidden !important;

  isolation:
    isolate;

  /*
   * Это именно окошко/маска.
   */
  contain:
    paint;

  background:
    #070504 !important;
}


/* ---------------------------------------------------------
   ГЛУБОКИЙ РАЗМЫТЫЙ СЛОЙ
--------------------------------------------------------- */

#participantsGrid .card-image-backdrop,
#judgesGrid .card-image-backdrop {

  position:
    absolute !important;

  z-index:
    0 !important;

  left:
    -30% !important;

  top:
    -45% !important;

  width:
    160% !important;

  height:
    190% !important;

  max-width:
    none !important;

  object-fit:
    cover !important;

  object-position:
    center center !important;

  transform:

    translate3d(
      0,
      calc(
        var(--true-glass-y) * .92
      ),
      0
    )

    scale(1.14)

    !important;

  filter:

    blur(28px)
    brightness(.34)
    saturate(.88)

    !important;

  opacity:
    .82 !important;

  will-change:
    transform;

  pointer-events:
    none;
}


/* ---------------------------------------------------------
   ОСНОВНОЕ ФОТО
--------------------------------------------------------- */

#participantsGrid .card-image,
#judgesGrid .card-image {

  /*
   * Фото НАМЕРЕННО крупнее окна.
   */
  position:
    absolute !important;

  z-index:
    1 !important;

  left:
    -24% !important;

  top:
    -30% !important;

  width:
    148% !important;

  height:
    160% !important;

  max-width:
    none !important;

  object-fit:
    cover !important;

  object-position:
    center center !important;

  padding:
    0 !important;


  /*
   * ВАЖНО:
   *
   * компенсация ровно 1:1.
   * Никаких 0.2 / 0.3 / 0.5.
   *
   * Поэтому изображение визуально
   * стоит на месте.
   */
  transform:

    translate3d(
      0,
      var(--true-glass-y),
      0
    )

    !important;


  transform-origin:
    center center !important;

  will-change:
    transform;

  backface-visibility:
    hidden;

  -webkit-backface-visibility:
    hidden;

  filter:

    saturate(.97)
    contrast(1.035)
    brightness(.96)

    !important;
}


/* ---------------------------------------------------------
   САМО "СТЕКЛО"
--------------------------------------------------------- */

#participantsGrid
.card-image-wrap::before,

#judgesGrid
.card-image-wrap::before {

  content:
    "" !important;

  position:
    absolute !important;

  z-index:
    5 !important;

  inset:
    0 !important;

  pointer-events:
    none !important;

  opacity:
    1 !important;

  background:

    linear-gradient(
      118deg,

      rgba(255,255,255,.13)
      0%,

      rgba(255,255,255,.035)
      17%,

      transparent
      37%,

      transparent
      70%,

      rgba(255,255,255,.045)
      100%
    ),

    radial-gradient(
      circle at 18% 2%,
      rgba(255,255,255,.10),
      transparent 24%
    )

    !important;


  border:

    1px solid
    rgba(255,255,255,.075)

    !important;


  box-shadow:

    inset 0 1px 0
    rgba(255,255,255,.11),

    inset 0 -1px 0
    rgba(255,255,255,.03),

    inset 0 0 35px
    rgba(255,255,255,.015)

    !important;
}


/*
 * Лёгкое затемнение снизу,
 * но фото не съедаем.
 */

#participantsGrid
.card-image-wrap::after,

#judgesGrid
.card-image-wrap::after {

  content:
    "" !important;

  position:
    absolute !important;

  z-index:
    4 !important;

  inset:
    0 !important;

  pointer-events:
    none !important;

  background:

    linear-gradient(
      180deg,

      transparent
      78%,

      rgba(3,2,1,.20)
      100%
    )

    !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:760px) {


  /*
   * На телефоне оставляем достаточно большой запас
   * изображения сверху/снизу для неподвижного эффекта.
   */

  #participantsGrid .card-image,
  #judgesGrid .card-image {

    left:
      -22% !important;

    top:
      -32% !important;

    width:
      144% !important;

    height:
      164% !important;

    transform:

      translate3d(
        0,
        var(--true-glass-y),
        0
      )

      !important;
  }


  #participantsGrid .card-image-backdrop,
  #judgesGrid .card-image-backdrop {

    left:
      -32% !important;

    top:
      -48% !important;

    width:
      164% !important;

    height:
      196% !important;

    transform:

      translate3d(
        0,
        calc(
          var(--true-glass-y) * .94
        ),
        0
      )

      scale(1.12)

      !important;
  }

}


/* ===== END TRUE FIXED GLASS V5 ===== */

