:root {
  color-scheme: dark;
  --black: #08080b;
  --panel: #121216;
  --paper: #f0e8de;
  --muted: #938b86;
  --red: #ee202c;
  --red-bright: #ff4050;
  --line: rgba(240, 232, 222, .13);
  --line-hot: rgba(238, 32, 44, .5);
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(22px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; min-width: 320px; background: var(--black); color: var(--paper); font: 400 14px/1.6 var(--body); overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid #ff5966; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 12px; padding: 10px 16px; color: #111; background: var(--paper); }
.skip-link:focus { top: 12px; }
.grain { position: fixed; z-index: 60; inset: 0; pointer-events: none; opacity: .035; 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='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: screen; }

/* Date-first opening */
.entry-gate { position: relative; z-index: 2; min-height: 100svh; padding: 24px var(--page-pad) 22px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 52%, rgba(115, 8, 18, .28), transparent 42%), radial-gradient(ellipse at 50% 110%, rgba(238, 32, 44, .12), transparent 45%), #08080b; transition: min-height .7s cubic-bezier(.2,.8,.2,1), opacity .6s ease, padding .7s ease; }
.entry-gate::before, .entry-gate::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.entry-gate::before { inset: 24px; border: 1px solid rgba(240, 232, 222, .055); }
.entry-gate::after { width: min(88vw, 1080px); aspect-ratio: 1; left: 50%; top: 49%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(238,32,44,.1); box-shadow: 0 0 0 44px rgba(238,32,44,.018), 0 0 0 110px rgba(238,32,44,.012), inset 0 0 85px rgba(238,32,44,.045); }
.entry-header, .entry-footer { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.brand-name { font: 800 20px/.92 var(--display); letter-spacing: .1em; }
.brand-name span { color: var(--red); }
.brand-caption { color: #aaa19a; font: 7px/1.1 var(--mono); letter-spacing: .17em; }
.entry-edition, .entry-index, .entry-footer, .gate-kicker, .gate-campus, .portal-coordinates, .dive-button-count { font: 8px/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.entry-edition { color: #c7bdb2; }
.entry-index { color: #8b8580; }
.entry-stage { position: relative; display: grid; place-items: center; min-height: 0; isolation: isolate; }
.portal-halo { position: absolute; z-index: -1; width: min(52vw, 700px); aspect-ratio: 1; border: 1px solid rgba(238,32,44,.2); border-radius: 50%; box-shadow: inset 0 0 80px rgba(238,32,44,.045), 0 0 100px rgba(172,8,18,.13); animation: halo-breathe 7s ease-in-out infinite; }
.portal-halo::before, .portal-halo::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(240,232,222,.08); border-radius: 50%; transform: rotateX(68deg) rotate(-20deg); }
.portal-halo::after { inset: 26%; border-color: rgba(238,32,44,.2); transform: rotateY(62deg) rotate(32deg); }
.portal-art { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(132vw, 1540px); max-width: none; height: auto; opacity: .95; transform: translate(calc(-50% + var(--gate-x, 0) * 28px), calc(-50% + var(--gate-y, 0) * 25px)) rotate(calc(var(--gate-x, 0) * 2deg)); filter: drop-shadow(0 0 45px rgba(206,11,27,.2)); mix-blend-mode: screen; animation: portal-float 9s ease-in-out infinite; transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .8s ease, filter .8s ease; }
.portal-core { position: absolute; z-index: -1; width: min(31vw, 420px); aspect-ratio: 1.15; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(ellipse, #08080b 0 25%, rgba(8,8,11,.91) 51%, transparent 74%); }
.gate-content { position: relative; z-index: 2; width: min(780px, 95vw); margin-top: -8px; text-align: center; text-shadow: 0 5px 38px rgba(0,0,0,.85); transition: transform .75s cubic-bezier(.16,1,.3,1), opacity .45s ease, filter .7s ease; }
.gate-kicker { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 clamp(14px,2.2vh,25px); color: #c5b9b0; font-size: 8px; }
.pulse-dot { width: 6px; height: 6px; display: inline-block; flex: 0 0 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: signal 2s ease-in-out infinite; }
.gate-date { display: flex; justify-content: center; align-items: baseline; gap: clamp(8px,2.1vw,34px); margin: 0; font: 900 clamp(112px,20vw,278px)/.7 var(--display); letter-spacing: -.055em; }
.gate-date i { color: var(--red); font: 300 .56em/.8 var(--body); font-style: normal; transform: translateY(-.04em); }
.gate-month { margin: clamp(17px,3.7vh,39px) 0 0; color: var(--paper); font: 700 clamp(19px,3vw,37px)/1 var(--display); letter-spacing: .33em; }
.gate-month span { display: inline-block; margin-left: 12px; color: var(--red); font: 500 .48em/1 var(--mono); letter-spacing: .18em; vertical-align: .24em; }
.gate-campus { margin: 20px 0 0; color: #a69c94; font-size: 7px; letter-spacing: .11em; }
.dive-button { position: relative; min-height: 62px; margin-top: clamp(27px,5vh,50px); padding: 8px 20px 8px 8px; display: inline-flex; align-items: center; gap: 15px; border: 1px solid rgba(240,232,222,.28); border-radius: 999px; background: linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.025) 42%,rgba(238,32,44,.11)); box-shadow: inset 0 1px rgba(255,255,255,.17), 0 15px 55px rgba(0,0,0,.34), 0 0 35px rgba(238,32,44,.12); backdrop-filter: blur(16px); cursor: pointer; letter-spacing: .08em; font: 700 10px var(--mono); transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.dive-button:hover { transform: translateY(-3px) scale(1.025); border-color: rgba(255,64,80,.8); box-shadow: inset 0 1px rgba(255,255,255,.25), 0 18px 60px rgba(0,0,0,.44), 0 0 46px rgba(238,32,44,.24); }
.dive-button-ring { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.31); border-radius: 50%; background: linear-gradient(140deg,rgba(255,255,255,.26),rgba(238,32,44,.36)); box-shadow: inset 0 1px 6px rgba(255,255,255,.2), 0 0 25px rgba(238,32,44,.36); color: white; font: 21px var(--body); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.dive-button:hover .dive-button-ring { transform: rotate(-45deg) scale(1.08); }
.dive-button-count { margin-left: 9px; padding-left: 15px; border-left: 1px solid rgba(255,255,255,.2); color: #aaa19a; font-size: 7px; }
.portal-coordinates { position: absolute; z-index: 2; bottom: 32px; left: 0; right: 0; display: flex; justify-content: space-between; color: #8d8580; font-size: 7px; }
.entry-edge { position: absolute; z-index: 3; top: 50%; width: clamp(36px,8vw,130px); height: 1px; background: linear-gradient(90deg,transparent,var(--red)); opacity: .55; }
.entry-edge-left { left: 0; }
.entry-edge-right { right: 0; transform: rotate(180deg); }
.entry-footer { padding-top: 13px; border-top: 1px solid var(--line); color: #89827c; font-size: 7px; }
.entry-footer-line { width: min(20vw,230px); height: 1px; background: linear-gradient(90deg,transparent,var(--red),transparent); }
.is-diving .portal-art { transform: translate(-50%,-50%) scale(3.65) rotate(16deg); opacity: 0; filter: blur(17px) brightness(1.7); }
.is-diving .portal-halo { transform: scale(2.5); opacity: .15; transition: transform .95s cubic-bezier(.16,1,.3,1), opacity .8s; }
.is-diving .gate-content { transform: scale(.7); opacity: 0; filter: blur(10px); }
.is-diving .entry-header, .is-diving .entry-footer, .is-diving .portal-coordinates { opacity: 0; transition: opacity .35s; }
body.entered .entry-gate { min-height: 0; height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; pointer-events: none; }

/* Immersive event world */
.festival-world { display: none; min-height: 100svh; position: relative; overflow: hidden; background: radial-gradient(ellipse at 78% 12%,rgba(146,8,20,.22),transparent 34%), radial-gradient(ellipse at 15% 66%,rgba(122,12,20,.12),transparent 38%), #09090c; }
body.entered .festival-world { display: block; animation: world-arrive .85s cubic-bezier(.16,1,.3,1) both; }
.festival-world::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: linear-gradient(90deg,transparent 49.9%,rgba(255,255,255,.045) 50%,transparent 50.1%), linear-gradient(0deg,transparent 49.9%,rgba(255,255,255,.03) 50%,transparent 50.1%); background-size: 140px 140px; mask-image: linear-gradient(180deg,black,transparent 83%); }
.world-header { min-height: 76px; padding: 13px var(--page-pad); position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(8,8,11,.72); backdrop-filter: blur(18px); }
.world-header-center, .portal-return, .world-kicker, .explorer-hint, .filter-chip, .tile-topline, .tile-fee, .tile-bottomline, .tile-art-badge, .carousel-footer, .world-footer, .dialog-kicker, .dialog-category, .dialog-fact small, .dialog-list-block h3, .registration-note, .dialog-art small { font-family: var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.world-header-center { display: flex; align-items: center; gap: 9px; color: #bdb3aa; font-size: 8px; }
.portal-return { padding: 10px 0 10px 14px; border: 0; border-left: 1px solid var(--line); background: none; color: #b4aaa1; font-size: 8px; cursor: pointer; transition: color .2s; }
.portal-return:hover { color: white; }
.portal-return span { margin-right: 7px; color: var(--red); font-size: 15px; vertical-align: -1px; }
.world-opening { min-height: 450px; padding: clamp(57px,9vw,120px) var(--page-pad) 64px; position: relative; display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 32px; overflow: hidden; border-bottom: 1px solid var(--line); }
.world-opening-copy { position: relative; z-index: 2; }
.world-kicker { margin: 0 0 18px; color: #a69c95; font-size: 8px; }
.world-kicker span { margin-right: 10px; color: var(--red); }
.world-opening h2 { margin: 0; font: 800 clamp(66px,10.3vw,138px)/.82 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.world-opening h2 em { color: var(--red); font-style: normal; }
.world-opening-copy>p:last-child { margin: 22px 0 0; color: #afa69e; font-size: 13px; }
.world-opening-art { position: absolute; width: 55%; height: 100%; top: 0; right: 1%; opacity: .66; pointer-events: none; }
.world-opening-art img { position: absolute; width: min(100%,760px); max-width: none; top: 49%; left: 50%; transform: translate(-50%,-50%); mix-blend-mode: screen; }
.world-ring { position: absolute; width: 390px; max-width: 70%; aspect-ratio: 1; border: 1px solid rgba(238,32,44,.29); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(63deg) rotate(-22deg); }
.ring-b { width: 290px; border-color: rgba(240,232,222,.13); transform: translate(-50%,-50%) rotateY(61deg) rotate(18deg); }
.world-art-label { position: absolute; right: 6%; bottom: 14%; color: rgba(240,232,222,.55); font: 7px var(--mono); letter-spacing: .16em; }

.event-explorer { position: relative; z-index: 1; padding: 64px var(--page-pad) 50px; }
.explorer-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.explorer-heading h2 { margin: 0; font: 700 clamp(36px,5vw,62px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.explorer-heading .world-kicker { margin-bottom: 12px; }
.explorer-hint { margin: 0 0 5px; display: flex; align-items: center; gap: 12px; color: #8d8580; font-size: 7px; }
.explorer-hint span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); font: 12px var(--body); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0 4px; }
.filter-chip { padding: 9px 13px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #aaa19a; cursor: pointer; font-size: 7px; transition: color .2s,border-color .2s,background .2s,transform .2s; }
.filter-chip span { color: var(--red); font-size: 7px; }
.filter-chip:hover { transform: translateY(-2px); color: var(--paper); }
.filter-chip.is-active { color: #130b0c; border-color: var(--red); background: var(--red); box-shadow: 0 0 28px rgba(238,32,44,.18); }
.filter-chip.is-active span { color: #f5d9d8; }
.carousel-shell { position: relative; margin: 13px calc(var(--page-pad) * -1) 0; padding: 11px var(--page-pad) 20px; }
.event-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 38px) / 3)); gap: 19px; padding: 13px 4px 26px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 4px; perspective: 1300px; scrollbar-width: none; overscroll-behavior-inline: contain; }
.event-track::-webkit-scrollbar { display: none; }
.event-tile-wrap { min-width: 0; scroll-snap-align: center; }
.event-tile { width: 100%; min-height: 412px; height: 100%; padding: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035) 22%,rgba(14,12,15,.94) 67%), #141216; text-align: left; cursor: pointer; transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transform-style: preserve-3d; box-shadow: inset 0 1px rgba(255,255,255,.16), inset 0 -1px rgba(0,0,0,.75), 0 23px 55px rgba(0,0,0,.36); transition: transform .3s ease, border-color .3s, box-shadow .3s; }
.event-tile::before { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(138deg,rgba(255,255,255,.12),transparent 20% 77%,rgba(238,32,44,.1)); opacity: .65; }
.event-tile:hover, .event-tile.is-pointed { z-index: 4; border-color: rgba(255,75,89,.65); transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-5px) scale(1.015); box-shadow: inset 0 1px rgba(255,255,255,.24), 0 32px 70px rgba(0,0,0,.55), 0 0 42px rgba(238,32,44,.12); }
.tile-edge-light { position: absolute; z-index: 1; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg,transparent,var(--red-bright),transparent); opacity: .8; }
.tile-topline { position: relative; z-index: 4; padding: 17px 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #aaa19a; font-size: 7px; }
.tile-topline i { color: var(--red); font-style: normal; }
.tile-open { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--paper); font: 12px var(--body); transition: background .2s,transform .2s; }
.event-tile:hover .tile-open { background: var(--red); transform: rotate(45deg); }
.tile-art { position: relative; z-index: 2; height: 214px; margin: 1px 8px 0; display: grid; place-items: center; overflow: hidden; border-radius: 17px; background: radial-gradient(ellipse at 50% 68%,rgba(238,32,44,.19),transparent 61%); transform: translateZ(24px); }
.tile-art::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg,rgba(10,9,12,.02),transparent 67%,rgba(10,9,12,.35)); }
.tile-art-sprite { background-image: var(--sprite-file); background-size: 300% 200%; background-position: var(--sprite-position); background-repeat: no-repeat; }
.tile-art-sprite.sprite-play { background-size: 400% 200%; }
.tile-art-portal { background: radial-gradient(ellipse,rgba(238,32,44,.14),transparent 67%); }
.tile-art-portal img { position: absolute; width: 150%; max-width: none; mix-blend-mode: screen; transform: rotate(-8deg); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.event-tile:hover .tile-art-portal img { transform: rotate(3deg) scale(1.1); }
.tile-art-poster { background: #120b0c; }
.tile-art-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; opacity: .9; transform: scale(1.05); transition: transform .5s; }
.event-tile:hover .tile-art-poster img { transform: scale(1.13); }
.tile-art-badge { position: absolute; z-index: 3; right: 10px; bottom: 9px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(7,7,10,.62); color: #d1c8c0; font-size: 6px; backdrop-filter: blur(9px); }
.tile-copy { position: relative; z-index: 4; min-height: 164px; padding: 10px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; transform: translateZ(32px); }
.tile-fee { display: inline-flex; align-items: center; gap: 7px; color: var(--red-bright); font-size: 7px; }
.tile-fee::before { content: ""; width: 13px; height: 1px; background: var(--red); }
.tile-copy>strong { max-width: 100%; margin: 8px 0 16px; color: #f0e9e0; font: 700 clamp(25px,2.5vw,34px)/.93 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.tile-bottomline { width: 100%; margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); color: #9f9791; font-size: 7px; }
.tile-bottomline b { color: #d4cbc2; font-size: 6px; font-weight: 400; white-space: nowrap; }
.tile-glare { position: absolute; z-index: 5; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--glare-x,50%) var(--glare-y,50%),rgba(255,255,255,.2),transparent 36%); mix-blend-mode: screen; transition: opacity .2s; }
.event-tile.is-pointed .tile-glare { opacity: .55; }
.carousel-arrow { position: absolute; z-index: 6; top: 47%; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(13,12,15,.8); color: white; font: 19px var(--body); cursor: pointer; backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: background .2s,transform .2s; }
.carousel-arrow:hover { background: var(--red); transform: scale(1.08); }
.carousel-prev { left: max(6px, calc(var(--page-pad) - 15px)); }
.carousel-next { right: max(6px, calc(var(--page-pad) - 15px)); }
.carousel-progress { height: 1px; margin-top: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.carousel-progress-bar { width: 100%; height: 100%; display: block; transform: scaleX(.08); transform-origin: left; background: linear-gradient(90deg,var(--red),#ff7780); transition: transform .16s ease; }
.carousel-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 13px; color: #8f8781; font-size: 7px; }
.carousel-footer b, .world-footer b { color: var(--red); font-weight: 400; }
.world-footer { min-height: 86px; padding: 20px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #9c938c; font-size: 7px; }
.world-footer>div { display: flex; align-items: center; gap: 15px; line-height: 1.7; }
.world-footer-mark { color: var(--red); font: 700 22px var(--display); }
.world-footer>a { color: var(--paper); }

/* Event detail opens into the selected tile */
.event-details-backdrop { position:fixed; z-index:999; inset:0; display:block; background:rgba(2,2,4,.82); backdrop-filter:blur(12px); }
.event-details-backdrop[hidden],.event-dialog[hidden] { display:none; }
.event-dialog { position:fixed; z-index:1000; left:50%; top:50%; transform:translate(-50%,-50%); margin:0; width: min(1040px, calc(100vw - 36px)); max-width: 1040px; max-height: min(88svh, 900px); padding: 20px; overflow: auto; border: 1px solid rgba(255,255,255,.19); border-radius: 25px; background: radial-gradient(ellipse at 22% 15%,rgba(146,8,20,.24),transparent 47%), #0e0d11; color: var(--paper); box-shadow: 0 50px 150px rgba(0,0,0,.82), 0 0 60px rgba(238,32,44,.12); }
.event-dialog:not([hidden]) { display:block; animation: dialog-arrive .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes dialog-arrive { from { opacity:0; transform:translate(-50%,-50%) scale(.92); filter:blur(10px); } to { opacity:1; transform:translate(-50%,-50%) scale(1); filter:blur(0); } }
.dialog-topline { position: sticky; z-index: 5; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 0 0 14px; background: linear-gradient(#0e0d11 77%,transparent); }
.dialog-category { color: var(--red-bright); font-size: 7px; }
.dialog-close { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--paper); font-size: 23px; cursor: pointer; transition: transform .2s,background .2s; }
.dialog-close:hover { background: var(--red); transform: rotate(90deg); }
.dialog-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(23px,5vw,65px); align-items: start; padding: 3px 10px 15px; }
.dialog-art { min-height: 340px; position: sticky; top: 45px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: radial-gradient(ellipse at 50% 55%,rgba(238,32,44,.21),transparent 61%),linear-gradient(145deg,rgba(255,255,255,.08),rgba(9,8,11,.68)); }
.dialog-art-image { width: 100%; height: 100%; min-height: 340px; position: absolute; inset: 0; background-position: var(--sprite-position); background-repeat: no-repeat; }
.dialog-art-technical { background-image: var(--sprite-file); background-size: 300% 200%; }
.dialog-art-play, .dialog-art-camp { background-image: var(--sprite-file); background-size: 400% 200%; }
.dialog-art-portal { background-image: url('assets/inward-portal.png'); background-size: 170% auto; mix-blend-mode: screen; }
.dialog-art-robotron { background-image: url('assets/robotron-poster.png'); background-size: cover; background-position: 52% center; }
.dialog-art-glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 66%,rgba(8,8,11,.75)); }
.dialog-art small { position: absolute; z-index: 2; left: 14px; bottom: 13px; color: #d0c5bb; font-size: 6px; }
.dialog-copy { min-width: 0; }
.dialog-kicker { margin: 0 0 12px; color: #9b928a; font-size: 7px; }
.dialog-kicker span { color: var(--red); }
.dialog-copy h2 { margin: 0 0 15px; font: 700 clamp(42px,6vw,70px)/.88 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.dialog-copy .dialog-title-poster { width: 100%; aspect-ratio: 9/1; height: auto; margin: 10px 0 20px; position: relative; overflow: hidden; }
.poster-title-crop { position: absolute; inset: 0; display: block; overflow: hidden; }
.poster-title-crop img { position: absolute; top: 0; left: 0; width: auto; height: 900%; max-width: none; transform: translate(-15.9%,-27%); }
.dialog-description { margin: 0; color: #bbb1a8; font-size: 12px; line-height: 1.8; }
.dialog-facts { margin: 23px 0 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); }
.dialog-fact { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.dialog-fact small { display: block; color: #8e8580; font-size: 6px; }
.dialog-fact strong { display: block; margin-top: 5px; color: var(--paper); font-size: 10px; font-weight: 600; line-height: 1.5; }
.dialog-list-block { margin-top: 18px; }
.dialog-list-block h3 { margin: 0 0 8px; color: var(--red-bright); font-size: 7px; }
.dialog-list-block ul { margin: 0; padding-left: 15px; color: #b6ada4; font-size: 10px; line-height: 1.8; }
.dialog-list-block li+li { margin-top: 5px; }
.dialog-list-block li strong { color: var(--paper); font-weight: 600; }
.registration-note { margin-top: 20px; padding-top: 14px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); color: #9e958e; font-size: 6px; }
.registration-note .pulse-dot { width: 5px; height: 5px; flex-basis: 5px; }
.registration-note .is-muted { opacity: .38; box-shadow: none; animation: none; }
.registration-note a { color: var(--paper); }
.event-track.island-view { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0,1fr); gap: 18px; overflow: visible; padding: 13px 0 26px; }
.event-track.island-view .event-island { position: relative; padding: clamp(18px,3vw,30px); overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; background: radial-gradient(ellipse at 10% 0%,rgba(226,32,47,.13),transparent 50%),linear-gradient(145deg,rgba(255,255,255,.055),rgba(12,11,14,.35)); box-shadow: inset 0 1px rgba(255,255,255,.08),0 22px 60px #0005; }
.event-track.island-view .event-island::before { content:""; position:absolute; width:390px; height:390px; top:-290px; right:-60px; border:1px solid #fb33401c; border-radius:50%; box-shadow:0 0 0 23px #fb33400b,0 0 0 46px #fb334008; pointer-events:none; }
.island-heading { position:relative; display:flex; align-items:center; gap:14px; margin:0 0 20px; }
.island-orbit { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border:1px solid #f247563e; border-radius:50%; color:#ff6772; background:radial-gradient(circle,#ed25382a,#211015); box-shadow:0 0 22px #ed253825,inset 0 1px #fff3; }
.island-heading small { color:#a39891; font:7px var(--mono); letter-spacing:.16em; }
.island-heading h3 { margin:5px 0 0; color:#f2eae3; font:700 clamp(17px,2vw,24px) var(--display); letter-spacing:.03em; }
.island-arrow { margin-left:auto; color:#ff5c69; font:22px var(--body); }
.island-events { position:relative; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),360px)); gap:16px; perspective:1300px; }
.island-events .event-tile-wrap { min-width:0; max-width:360px; }
.island-events .event-tile { min-height:365px; }
.island-events .tile-art { height:180px; }
.event-island[data-island="hackathon"] .island-orbit { color:#fc8790; }
.event-island[data-island="workshop"] { background:radial-gradient(ellipse at 90% 0%,rgba(54,143,164,.1),transparent 53%),linear-gradient(145deg,rgba(255,255,255,.055),rgba(12,11,14,.35)); }
.event-island[data-island="camp"] { background:radial-gradient(ellipse at 75% 0%,rgba(122,76,165,.15),transparent 53%),linear-gradient(145deg,rgba(255,255,255,.055),rgba(12,11,14,.35)); }
.event-track.island-view~.carousel-footer { margin-top:0; }
.carousel-shell:has(.event-track.island-view) { padding-bottom:5px; }
.carousel-footer:has(+ .world-footer) { margin-bottom:0; }

.portal-flash { position: fixed; z-index: 100; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle,rgba(255,65,78,.8),rgba(238,32,44,.28) 26%,transparent 68%); }
.is-diving .portal-flash { animation: portal-flash .9s ease-out both; }
.is-returning .festival-world { animation: world-return .58s cubic-bezier(.5,0,.7,.3) both; }

@keyframes portal-float { 0%,100% { transform: translate(calc(-50% + var(--gate-x,0) * 28px),calc(-50% + var(--gate-y,0) * 25px)) rotate(-1.5deg); } 50% { transform: translate(calc(-50% + var(--gate-x,0) * 28px),calc(-50% + var(--gate-y,0) * 25px)) rotate(1.5deg) scale(1.025); } }
@keyframes halo-breathe { 0%,100% { opacity: .65; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.025); } }
@keyframes signal { 0%,100% { opacity: .55; box-shadow: 0 0 5px var(--red); } 50% { opacity: 1; box-shadow: 0 0 14px var(--red); } }
@keyframes world-arrive { from { opacity: 0; transform: scale(.94) translateY(44px); filter: blur(12px); } to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } }
@keyframes world-return { to { opacity: 0; transform: scale(.94) translateY(35px); filter: blur(12px); } }
@keyframes detail-arrive { from { opacity: 0; transform: scale(.84) translateY(36px); filter: blur(12px); } to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } }
@keyframes portal-flash { 0% { opacity: 0; } 38% { opacity: .85; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .entry-gate { padding-top: 20px; padding-bottom: 18px; }
  .portal-art { width: 150vw; }
  .portal-halo { width: 72vw; }
  .world-opening { min-height: 380px; grid-template-columns: 1fr; }
  .world-opening-art { width: 77%; opacity: .47; }
  .world-opening h2 { font-size: clamp(70px,13vw,112px); }
  .event-track { grid-auto-columns: minmax(260px, calc((100% - 17px) / 2)); gap: 16px; }
  .island-events { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),360px)); }
  .world-footer { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --page-pad: 18px; }
  .entry-gate { padding-left: 18px; padding-right: 18px; }
  .entry-gate::before { inset: 11px; }
  .entry-header { gap: 9px; }
  .brand-name { font-size: 18px; }
  .brand-caption { font-size: 6px; }
  .entry-edition { max-width: 95px; text-align: center; font-size: 6px; }
  .entry-index { font-size: 6px; text-align: right; }
  .portal-art { width: 190vw; max-width: none; }
  .portal-core { width: 62vw; }
  .portal-halo { width: 92vw; }
  .gate-content { margin-top: -4px; }
  .gate-kicker { font-size: 7px; }
  .gate-date { gap: 8px; font-size: clamp(100px,28vw,162px); }
  .gate-month { margin-top: 22px; font-size: 20px; letter-spacing: .24em; }
  .gate-campus { max-width: 240px; margin: 17px auto 0; font-size: 6px; line-height: 1.7; }
  .dive-button { min-height: 57px; margin-top: 30px; padding-right: 14px; gap: 10px; font-size: 8px; }
  .dive-button-ring { width: 39px; height: 39px; }
  .dive-button-count { margin-left: 3px; padding-left: 10px; font-size: 6px; }
  .portal-coordinates { bottom: 16px; font-size: 6px; }
  .entry-footer { font-size: 6px; }
  .entry-footer-line { width: 12vw; }
  .world-header { min-height: 64px; padding: 10px var(--page-pad); }
  .world-header-center { display: none; }
  .portal-return { font-size: 6px; padding-left: 9px; }
  .world-opening { min-height: 340px; padding-top: 60px; padding-bottom: 50px; }
  .world-opening-art { right: -22%; width: 100%; opacity: .38; }
  .world-opening h2 { font-size: clamp(62px,16vw,98px); }
  .world-opening-copy>p:last-child { max-width: 270px; font-size: 11px; }
  .event-explorer { padding: 45px var(--page-pad) 38px; }
  .explorer-heading { align-items: flex-start; }
  .explorer-heading h2 { font-size: 39px; }
  .explorer-hint { display: none; }
  .filter-row { flex-wrap: nowrap; margin-right: calc(var(--page-pad) * -1); padding: 0 var(--page-pad) 8px 0; overflow-x: auto; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; padding: 8px 10px; font-size: 6px; }
  .carousel-shell { margin-top: 5px; padding: 8px 0 14px; }
  .event-track { grid-auto-columns: minmax(270px, 83vw); gap: 12px; padding: 12px 4px 20px; }
  .event-track.island-view { gap:12px; padding-top:8px; }
  .event-track.island-view .event-island { padding:14px 12px 16px; border-radius:18px; }
  .island-heading { margin-bottom:14px; }
  .island-orbit { width:32px;height:32px;flex-basis:32px; }
  .island-heading small { font-size:6px; }
  .island-events { grid-template-columns:1fr; gap:11px; }
  .island-events .event-tile-wrap { max-width:none; }
  .island-events .event-tile { min-height:350px; }
  .island-events .tile-art { height:190px; }
  .event-tile { min-height: 390px; border-radius: 20px; }
  .tile-art { height: 205px; }
  .carousel-arrow { top: auto; bottom: -19px; width: 37px; height: 37px; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-footer { padding: 0 43px; font-size: 6px; }
  .world-footer { padding: 20px var(--page-pad); font-size: 6px; }
  .world-footer .footer-dates { width: 100%; }
  .event-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 18px); padding: 12px; border-radius: 20px; }
  .dialog-topline { padding-bottom: 8px; }
  .dialog-layout { grid-template-columns: 1fr; gap: 18px; padding: 0 4px 12px; }
  .dialog-art { min-height: 210px; position: relative; top: auto; }
  .dialog-art-image { min-height: 210px; }
  .dialog-copy h2 { font-size: 48px; }
  .dialog-copy .dialog-title-poster { max-width: 420px; }
  .dialog-description { font-size: 11px; }
  .dialog-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .portal-art, .portal-halo { animation: none; }
}

/* Rounded, editorial display system inspired by the new references */
:root {
  --display: "Avenir Next", "SF Pro Display", Inter, "Segoe UI", Arial, sans-serif;
  --body: "Avenir Next", Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: var(--body);
  --paper: #f5f1ed;
  --muted: #a39a95;
}
body { font-weight: 450; letter-spacing: -.012em; }
.brand-name { font-family: var(--body); font-weight: 760; letter-spacing: .035em; }
.brand-caption { font: 600 7px/1.1 var(--body); letter-spacing: .18em; }
.entry-edition,.entry-index,.entry-footer,.gate-kicker,.gate-campus,.portal-coordinates,.dive-button-count { font-family: var(--body); font-weight: 600; letter-spacing: .13em; }
.gate-date { font-family: var(--display); font-weight: 750; letter-spacing: -.075em; }
.gate-month { font-family: var(--display); font-weight: 650; letter-spacing: .23em; }
.dive-button { font-family: var(--body); letter-spacing: .1em; font-weight: 700; }
.world-header-center,.portal-return,.world-kicker,.explorer-hint,.filter-chip,.tile-topline,.tile-fee,.tile-bottomline,.tile-art-badge,.carousel-footer,.world-footer,.dialog-kicker,.dialog-category,.dialog-fact small,.dialog-list-block h3,.registration-note,.dialog-art small { font-family:var(--body); letter-spacing:.105em; }
.world-opening h2 { font-weight:650; letter-spacing:-.06em; text-transform:none; }
.world-opening h2 em { font-weight:560; }
.explorer-heading h2 { font-weight:650; letter-spacing:-.05em; text-transform:none; }
.event-tile { border-radius:26px; background:linear-gradient(150deg,rgba(255,255,255,.105),rgba(255,255,255,.025) 28%,rgba(14,12,15,.96) 72%),#141216; }
.event-tile-wrap { filter:drop-shadow(0 14px 18px #0005); }
.event-tile .tile-art { border:1px solid rgba(255,255,255,.15); border-radius:19px; background:radial-gradient(ellipse at 50% 60%,rgba(255,38,61,.22),transparent 65%),linear-gradient(145deg,#ffffff12,#08080b55); box-shadow:inset 0 1px #fff3,0 12px 24px #0006; }
.tile-art-sprite { filter:saturate(1.13) drop-shadow(0 10px 13px #0008); transition:transform .55s cubic-bezier(.16,1,.3,1),filter .4s; }
.event-tile:hover .tile-art-sprite { transform:translateZ(35px) scale(1.045); filter:saturate(1.3) drop-shadow(0 15px 18px #0009); }
.tile-art-portal img { filter:drop-shadow(0 0 22px #ef253c55); }
.tile-copy strong { font-family:var(--display); font-weight:700; letter-spacing:-.035em; }
.island-heading h3 { font-family:var(--display); font-weight:650; letter-spacing:-.025em; text-transform:none; }
.island-heading small { font-family:var(--body); font-weight:600; letter-spacing:.16em; }
.filter-chip { font-weight:650; }
.dialog-copy h2 { font-family:var(--display); font-weight:650; letter-spacing:-.05em; text-transform:none; }
.dialog-list-block h3 { font-family:var(--body); }
.registration-note { font-size:9px; font-weight:600; }
.event-track.island-view .event-island { border-radius:29px; background:radial-gradient(ellipse at 10% 0%,rgba(226,32,47,.13),transparent 50%),linear-gradient(145deg,rgba(255,255,255,.07),rgba(12,11,14,.35)); box-shadow:inset 0 1px rgba(255,255,255,.1),0 22px 60px #0005; }
.event-track.island-view .event-island::after { content:""; position:absolute; width:220px; height:220px; top:-155px; right:8%; border:1px solid #f6384824; border-radius:50%; box-shadow:0 0 0 18px #f6384808,0 0 0 36px #f6384805; pointer-events:none; }
.island-orbit { box-shadow:inset 0 2px 8px #fff3,0 8px 22px #0008,0 0 20px #ed25382a; }
.tile-open { background:linear-gradient(145deg,#ffffff15,#0007); box-shadow:inset 0 1px #fff3,0 5px 13px #0008; }

/* Five immersive event islands, followed by a focused category collection */
.event-explorer { padding-top:clamp(48px,7vw,86px); }
.carousel-shell { display:none; }
.carousel-arrow { display:none !important; }
.explorer-heading { margin-bottom:27px; }
.explorer-heading h2 { font-size:clamp(40px,5vw,68px); }
.explorer-hint { font-size:10px; color:#b3aaa5; letter-spacing:.08em; }
.category-islands { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; padding:8px 0 22px; perspective:1500px; }
.island-card { min-height:clamp(250px,28vw,360px); grid-column:span 2; position:relative; isolation:isolate; overflow:hidden; padding:0; border:1px solid #ffffff2a; border-radius:21px; background:#111; color:var(--paper); text-align:left; cursor:pointer; transform:perspective(1200px) rotateX(var(--card-x,0deg)) rotateY(var(--card-y,0deg)); transform-style:preserve-3d; box-shadow:inset 0 1px #ffffff35,0 22px 55px #0008; transition:transform .45s cubic-bezier(.16,1,.3,1),border-color .3s,box-shadow .3s; }
.island-card:nth-child(4),.island-card:nth-child(5) { grid-column:span 3; min-height:clamp(240px,24vw,315px); }
.island-card:hover,.island-card:focus-visible { z-index:2; transform:perspective(1200px) rotateX(var(--card-x,0deg)) rotateY(var(--card-y,0deg)) translateY(-7px) scale(1.015); border-color:#ff5669b8; box-shadow:inset 0 1px #ffffff55,0 35px 80px #000b,0 0 45px #e8213828; outline:none; }
.island-card-image,.island-card-shade,.island-card-gloss { position:absolute; inset:0; pointer-events:none; }
.island-card-image { z-index:-2; background-image:var(--island-image); background-size:cover; background-position:center 38%; transform:scale(1.03); transition:transform .9s cubic-bezier(.16,1,.3,1),filter .5s; filter:saturate(.9); }
.island-card:hover .island-card-image { transform:scale(1.11); filter:saturate(1.17); }
.island-technical .island-card-image { background-position:center 31%; }
.island-workshop .island-card-image { background-position:center 25%; }
.island-camp .island-card-image { background-position:center 29%; }
.island-card-shade { z-index:-1; background:linear-gradient(180deg,#08080b77 0%,#08080b0a 29%,#08080b28 48%,#08080bf0 100%),linear-gradient(115deg,#7c101b73,transparent 60%); }
.island-steel .island-card-shade { background:linear-gradient(180deg,#08080b66,#08080b04 34%,#08080bf2),linear-gradient(115deg,#16333b88,transparent 60%); }
.island-electric .island-card-shade { background:linear-gradient(180deg,#08080b66,#08080b00 30%,#08080bf0),linear-gradient(115deg,#1018579c,transparent 70%); }
.island-ember .island-card-shade { background:linear-gradient(180deg,#08080b55,#08080b00 35%,#08080bf2),linear-gradient(115deg,#7f270c88,transparent 68%); }
.island-violet .island-card-shade { background:linear-gradient(180deg,#08080b88,#08080b08 33%,#08080bf2),linear-gradient(115deg,#46134288,transparent 69%); }
.island-card-top,.island-card-bottom { position:absolute; left:20px; right:20px; display:flex; }
.island-card-top { top:18px; align-items:center; justify-content:space-between; gap:10px; color:#fff; font:650 10px/1.3 var(--body); letter-spacing:.13em; text-shadow:0 2px 15px #000; }
.island-card-top b { width:33px; height:33px; display:grid; place-items:center; border:1px solid #ffffff55; border-radius:50%; background:#0b090b66; font:16px var(--body); backdrop-filter:blur(12px); transition:transform .3s,background .3s; }
.island-card:hover .island-card-top b { transform:rotate(45deg); background:#e51e34; }
.island-card-bottom { bottom:19px; flex-direction:column; align-items:flex-start; }
.island-card-count { color:#ff8a92; font:650 9px var(--body); letter-spacing:.16em; }
.island-card-bottom strong { max-width:95%; margin:8px 0 16px; color:#fff; font:700 clamp(25px,3vw,42px)/.98 var(--display); letter-spacing:-.045em; text-shadow:0 3px 24px #000; }
.island-card-cta { padding-top:11px; width:100%; display:flex; justify-content:space-between; border-top:1px solid #ffffff52; color:#ede7e2; font:650 10px var(--body); letter-spacing:.08em; }
.island-card-cta i { color:#ff5262; font-style:normal; font-size:14px; }
.island-card-gloss { z-index:1; opacity:.35; background:linear-gradient(125deg,#ffffff20 0%,transparent 19% 75%,#f12d3a12); mix-blend-mode:screen; }
.category-detail { padding:16px 0 25px; scroll-margin-top:28px; animation:detail-arrive .55s cubic-bezier(.16,1,.3,1) both; }
.category-detail[hidden],.category-islands[hidden] { display:none; }
.category-back { padding:10px 15px; border:1px solid #ffffff30; border-radius:999px; background:#ffffff09; color:#f5eeea; font:650 10px var(--body); letter-spacing:.11em; cursor:pointer; transition:background .2s,transform .2s; }
.category-back:hover { transform:translateX(-3px); background:#e31d32; }
.category-detail-heading { display:flex; align-items:end; justify-content:space-between; gap:25px; margin:27px 0 24px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.category-detail-heading h3 { margin:0; color:#f8f3ef; font:650 clamp(42px,7vw,82px)/.95 var(--display); letter-spacing:-.06em; }
.category-detail-heading #category-description { max-width:650px; margin:14px 0 0; color:#bdb3ad; font-size:clamp(14px,1.45vw,17px); line-height:1.65; }
.category-count { flex:0 0 auto; padding:12px 16px; border:1px solid #ffffff27; border-radius:999px; color:#ff7780; font:650 10px var(--body); letter-spacing:.12em; }
.category-event-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:19px; perspective:1300px; }
.category-event-grid .event-tile-wrap { max-width:430px; }
.category-event-grid .event-tile { min-height:385px; }
.category-event-grid .tile-art { height:205px; }
.dialog-layout { grid-template-columns:.82fr 1.18fr; gap:clamp(25px,5vw,70px); }
.dialog-art { min-height:430px; border-radius:23px; box-shadow:inset 0 1px #ffffff2c,0 24px 60px #0007; }
.dialog-art-image { min-height:430px; }
.dialog-art-technical { background-size:300% 200%; }
.dialog-art-play,.dialog-art-camp { background-size:400% 200%; }
.dialog-art-robotron { background-size:auto 115%; }
.dialog-art-boxcricket { background-image:url('assets/box-cricket-poster.png'); background-size:auto 118%; background-position:center 28%; }
.dialog-art-period { background-image:url('assets/period-cramps-simulator.png'); background-size:cover; background-position:center 61%; }
.tile-art-period img { object-position:center 61%; }
.dialog-copy { padding-top:12px; }
.dialog-kicker,.dialog-category,.dialog-list-block h3,.registration-note { font-size:10px; }
.dialog-description { font-size:15px; line-height:1.75; }
.dialog-fact small { font-size:9px; }
.dialog-fact strong { font-size:13px; }
.dialog-list-block ul { font-size:13px; line-height:1.75; }
.registration-note { font-size:10px; }

@media(max-width:860px) {
  .category-islands { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
  .island-card,.island-card:nth-child(4),.island-card:nth-child(5) { min-height:280px; grid-column:span 1; }
  .island-card:nth-child(5) { grid-column:1/-1; }
}
@media(max-width:620px) {
  .explorer-heading { margin-bottom:18px; }
  .explorer-hint { max-width:130px; font-size:9px; text-align:right; line-height:1.45; }
  .category-islands { grid-template-columns:1fr; gap:13px; padding-top:2px; }
  .island-card,.island-card:nth-child(4),.island-card:nth-child(5) { min-height:245px; grid-column:1; border-radius:19px; }
  .island-card-top { left:16px; right:16px; top:15px; font-size:9px; }
  .island-card-bottom { left:17px; right:17px; bottom:16px; }
  .island-card-bottom strong { font-size:34px; }
  .category-detail-heading { align-items:flex-start; flex-direction:column; gap:12px; margin:23px 0 19px; }
  .category-detail-heading h3 { font-size:48px; }
  .category-detail-heading #category-description { font-size:14px; }
  .category-count { padding:9px 12px; }
  .category-event-grid { grid-template-columns:1fr; gap:13px; }
  .category-event-grid .event-tile-wrap { max-width:none; }
  .category-event-grid .event-tile { min-height:355px; }
  .category-event-grid .tile-art { height:185px; }
  .dialog-layout { grid-template-columns:1fr; gap:16px; }
  .dialog-art,.dialog-art-image { min-height:235px; }
  .dialog-copy { padding-top:0; }
  .dialog-description { font-size:14px; }
  .dialog-fact strong { font-size:12px; }
}

/* Event field notes: editorial copy card paired with a framed event image */
.dialog-layout { position:relative; display:block; min-height:485px; padding:3px 10px 15px; }
.dialog-copy { position:relative; z-index:2; width:64%; padding:clamp(18px,3vw,32px); border:1px solid rgba(255,89,102,.47); border-radius:22px; background:radial-gradient(ellipse at 0 0,rgba(239,32,49,.34),transparent 64%),linear-gradient(145deg,rgba(134,15,28,.48),rgba(31,13,17,.9)); box-shadow:inset 0 1px rgba(255,255,255,.16),0 24px 70px #0008; }
.dialog-copy h2 { font-size:clamp(40px,5.3vw,66px); }
.dialog-copy .dialog-title-poster { height:clamp(44px,6vw,68px); aspect-ratio:auto; }
.dialog-art { position:absolute; top:22px; right:26px; width:29%; min-height:440px; margin:17px 8px 8px; overflow:visible; border:0; border-radius:5px; background:#171316; transform:rotate(1.2deg); box-shadow:0 24px 50px #000b,0 0 0 9px #272327,0 0 0 10px #ffffff34,0 0 0 15px #121014; }
.dialog-art-image { min-height:440px; overflow:hidden; border-radius:5px; background-color:#141114; background-position:var(--sprite-position); }
.dialog-art::before { content:""; position:absolute; z-index:4; width:1px; height:52px; left:50%; top:-57px; background:linear-gradient(#ffffff08,#ded5ccaa); box-shadow:0 0 9px #fff4; }
.dialog-art::after { content:""; position:absolute; z-index:5; top:-4px; left:calc(50% - 5px); width:11px; height:11px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#fff,#8e8581 43%,#252124 75%); box-shadow:0 2px 7px #000b; }
.dialog-art-glow { border-radius:5px; }
.dialog-art small { left:12px; bottom:10px; padding:6px 8px; border:1px solid #ffffff2a; border-radius:4px; background:#09080ca8; color:#fff; font-size:8px; letter-spacing:.13em; backdrop-filter:blur(8px); }
.tile-art-sprite { background-image:none; }
.event-art-crop { position:absolute; z-index:1; display:block; max-width:none; object-fit:fill; }
.dialog-art-aarohan { background-image:url('assets/aarohan-poster.png'); background-size:auto 125%; background-position:center 43%; }
.dialog-art-technical { background-image:var(--sprite-file); background-size:auto 200%; }
.dialog-art-play,.dialog-art-camp { background-image:var(--sprite-file); background-size:auto 200%; }
.dialog-art-boxcricket { background-image:url('assets/box-cricket-poster.png'); background-size:auto 118%; background-position:center 28%; }
.dialog-art-robotron { background-size:auto 118%; background-position:center 25%; }
.dialog-category { padding:7px 10px; border:1px solid #ff788055; border-radius:999px; background:#a71c2a35; }
.dialog-facts { margin-top:20px; }
.dialog-fact { padding:11px 9px 11px 0; }
.dialog-list-block { padding-top:14px; border-top:1px solid #ffffff1d; }
.dialog-list-block ul { color:#eee3df; }
.registration-note { color:#f0d6d5; }
@media(max-width:700px) {
  .dialog-layout { display:flex; flex-direction:column; min-height:0; gap:22px; }
  .dialog-copy { order:1; width:100%; padding:18px; }
  .dialog-art { order:2; position:relative; top:auto; right:auto; width:calc(100% - 16px); min-height:260px; margin:12px 8px 20px; }
  .dialog-art-image { min-height:260px; }
  .dialog-art::before { height:30px; top:-34px; }
}

/* PRAGNYA identity hero: event logo, cinematic mascot, and glass entry */
.brand-lockup { flex-direction:row; align-items:center; gap:10px; }
.brand-logo { width:54px; height:58px; padding:5px; border:1px solid rgba(255,255,255,.1); border-radius:50%; background:radial-gradient(circle,#180e11,#08080b); object-fit:contain; mix-blend-mode:lighten; filter:drop-shadow(0 0 12px #e2183655); }
.brand-caption { max-width:150px; font-size:7px; line-height:1.45; }
.entry-stage { cursor:pointer; }
.portal-art { opacity:.27; filter:drop-shadow(0 0 50px rgba(206,11,27,.3)); }
.portal-core { left:74%; width:min(40vw,610px); background:radial-gradient(ellipse,#08080b00 18%,rgba(8,8,11,.22) 65%,transparent 78%); }
.mascot-art { position:absolute; z-index:1; right:-16vw; top:50%; width:auto; height:min(112svh,1020px); max-width:none; transform:translateY(-50%); object-fit:contain; object-position:right center; filter:drop-shadow(0 0 48px #e6163152) drop-shadow(0 34px 35px #0008); transition:transform .9s cubic-bezier(.16,1,.3,1),filter .7s,opacity .55s; pointer-events:none; }
.entry-stage::after { content:""; position:absolute; z-index:0; right:4%; top:50%; width:min(49vw,690px); aspect-ratio:1; transform:translateY(-47%); border-radius:50%; background:radial-gradient(circle,#e5203c44 0,rgba(146,6,20,.24) 32%,transparent 69%); filter:blur(22px); pointer-events:none; }
.gate-content { width:min(660px,52vw); margin:0 auto 0 3.3vw; text-align:left; text-shadow:0 5px 40px #000e; }
.gate-kicker { justify-content:flex-start; margin:0 0 clamp(17px,3vh,29px); color:#e7d9d5; font-size:9px; letter-spacing:.17em; }
.gate-title { margin:0; color:#fbf8f4; font:750 clamp(68px,8vw,132px)/.86 var(--display); letter-spacing:-.085em; white-space:nowrap; }
.gate-title span { color:#ff3549; }
.gate-date-line { margin:24px 0 0; color:#e3d9d5; font:600 clamp(15px,1.55vw,22px)/1.2 var(--body); letter-spacing:.045em; }
.gate-date-line strong { margin-left:7px; font-weight:760; }
.gate-date-line span { margin-left:10px; color:#ff5865; font:600 11px var(--body); letter-spacing:.18em; vertical-align:2px; }
.gate-campus { max-width:430px; margin:14px 0 0; color:#bcb1ad; font:600 8px/1.7 var(--body); letter-spacing:.13em; }
.dive-button { margin-top:29px; cursor:pointer; }
.entry-footer { z-index:5; }
.portal-coordinates { z-index:5; }
.is-diving .mascot-art { transform:translate(18vw,-50%) scale(1.12); opacity:0; filter:blur(18px) drop-shadow(0 0 60px #fa2445); }
.is-diving .gate-content { transform:translateX(-4vw) scale(.94); opacity:0; filter:blur(9px); }
.glass-break { position:fixed; z-index:120; inset:0; display:none; overflow:hidden; pointer-events:none; perspective:900px; }
.is-diving .glass-break { display:block; }
.glass-cracks { position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:rgba(255,245,239,.88);stroke-width:.16;stroke-linecap:round;stroke-linejoin:bevel;filter:drop-shadow(0 0 3px #ff5266) drop-shadow(0 0 12px #ff1a38);opacity:0; }
.is-diving .glass-cracks { animation:crack-flash .48s ease-out both; }
.glass-shard { position:absolute; display:block; border:1px solid rgba(255,255,255,.44); background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(226,31,49,.13) 42%,rgba(4,4,7,.32)); box-shadow:inset 1px 1px 0 rgba(255,255,255,.35),inset -1px -1px 0 rgba(247,39,58,.2),0 0 22px rgba(244,26,49,.15); backdrop-filter:blur(2px) saturate(1.3); transform:translate3d(0,0,0) rotate(0) scale(1); opacity:.9; transition:transform .82s cubic-bezier(.2,.72,.12,1),opacity .7s ease,filter .78s; }
.is-diving .glass-shard { transform:translate3d(var(--dx),var(--dy),110px) rotate(var(--rot)) scale(.18); opacity:0; filter:blur(8px) brightness(1.8); }
.is-diving .glass-shard:nth-child(3n) { transition-duration:.95s; }
.is-diving .glass-shard:nth-child(4n) { transition-duration:.7s; }
.portal-flash { z-index:115; }
@keyframes crack-flash {0%{opacity:0}10%{opacity:1}28%{opacity:.82}100%{opacity:0}}

@media(max-width:860px) {
  .entry-gate { padding:18px 24px 18px; }
  .entry-stage { align-items:start; }
  .mascot-art { right:-16vw; top:auto; bottom:-8svh; height:min(78svh,700px); transform:none; opacity:.88; }
  .entry-stage::after { top:auto; right:-2%; bottom:1%; width:80vw; transform:none; }
  .portal-core { top:60%; left:72%; width:78vw; }
  .gate-content { width:min(690px,85vw); margin:clamp(65px,15vh,140px) 0 0; }
  .gate-title { font-size:clamp(62px,11vw,105px); }
  .is-diving .mascot-art { transform:translate(20vw,12vh) scale(1.15); }
}
@media(max-width:620px) {
  .brand-logo { width:42px;height:45px; }
  .brand-lockup { gap:7px; }
  .brand-caption { max-width:108px;font-size:6px; }
  .entry-header { align-items:center; }
  .entry-stage { align-items:start; }
  .gate-content { width:100%; margin:clamp(65px,12vh,100px) 0 0; text-align:center; }
  .gate-kicker { justify-content:center; font-size:7px; }
  .gate-title { font-size:clamp(54px,14.8vw,88px); letter-spacing:-.09em; }
  .gate-date-line { margin-top:18px;font-size:15px; }
  .gate-campus { max-width:270px;margin:11px auto 0;font-size:6px; }
  .dive-button { margin-top:21px; }
  .mascot-art { right:-27vw; bottom:-7svh; height:64svh; opacity:.82; }
  .entry-stage::after { right:-23%; bottom:3%; width:110vw; }
  .portal-coordinates { bottom:20px; }
  .entry-footer { font-size:6px; }
  .is-diving .gate-content { transform:scale(.88) translateY(-20px); }
  .is-diving .mascot-art { transform:translate(23vw,8vh) scale(1.2); }
}

/* Larger supporting labels for comfortable reading on phones and laptops */
.brand-caption { font-size:9px; letter-spacing:.12em; }
.entry-edition,.entry-index,.entry-footer,.portal-coordinates { font-size:9px; }
.gate-kicker { font-size:10px; }
.gate-campus { font-size:10px; line-height:1.55; }
.dive-button-count { font-size:9px; }
.world-header-center,.portal-return { font-size:10px; }
.world-kicker { font-size:10px; }
.explorer-hint { font-size:9px; }
.filter-chip,.filter-chip span { font-size:9px; }
.tile-topline { font-size:9px; }
.tile-art-badge { font-size:8px; }
.tile-fee { font-size:9px; }
.tile-bottomline { font-size:9px; }
.tile-bottomline b { font-size:8px; }
.carousel-footer,.world-footer { font-size:9px; }
.dialog-category,.dialog-kicker { font-size:9px; }
.dialog-art small,.dialog-fact small { font-size:8px; }
.dialog-list-block h3 { font-size:9px; }
.registration-note { font-size:10px; }
.island-heading small { font-size:9px; }
.world-footer-logo { width:48px; height:50px; padding:4px; border:1px solid #ffffff18; border-radius:50%; background:radial-gradient(circle,#1a0d11,#08080b); object-fit:contain; mix-blend-mode:lighten; filter:drop-shadow(0 0 10px #ed243044); }
@media(max-width:620px) {
  .brand-caption { max-width:112px; font-size:8px; }
  .entry-edition,.entry-index,.entry-footer,.portal-coordinates { font-size:8px; }
  .gate-kicker { font-size:9px; }
  .gate-campus { font-size:9px; }
  .dive-button-count { font-size:8px; }
  .world-header-center,.portal-return,.world-kicker { font-size:9px; }
  .filter-chip,.filter-chip span { font-size:8px; }
  .tile-topline,.tile-fee,.tile-bottomline,.carousel-footer,.world-footer { font-size:8px; }
  .tile-bottomline b,.tile-art-badge,.dialog-art small,.dialog-fact small { font-size:8px; }
  .dialog-category,.dialog-kicker,.dialog-list-block h3 { font-size:8px; }
  .registration-note { font-size:9px; }
  .island-heading small { font-size:8px; }
  .world-footer-logo { width:42px;height:44px; }
}
