@property --rg-pos-x {
  syntax: "<percentage>";
  initial-value: 40%;
  inherits: false;
}

@property --rg-pos-y {
  syntax: "<percentage>";
  initial-value: 140%;
  inherits: false;
}

@property --rg-spread-x {
  syntax: "<percentage>";
  initial-value: 130%;
  inherits: false;
}

@property --rg-spread-y {
  syntax: "<percentage>";
  initial-value: 170%;
  inherits: false;
}

@property --rg-color-1 {
  syntax: "<color>";
  initial-value: #00adb5;
  inherits: false;
}

@property --rg-color-2 {
  syntax: "<color>";
  initial-value: #32c7ce;
  inherits: false;
}

@property --rg-color-3 {
  syntax: "<color>";
  initial-value: #a9dde0;
  inherits: false;
}

@property --rg-color-4 {
  syntax: "<color>";
  initial-value: #007a80;
  inherits: false;
}

@property --rg-color-5 {
  syntax: "<color>";
  initial-value: #00adb5;
  inherits: false;
}

@property --rg-border-angle {
  syntax: "<angle>";
  initial-value: 180deg;
  inherits: true;
}

@property --rg-border-color-1 {
  syntax: "<color>";
  initial-value: rgba(238, 238, 238, 0.72);
  inherits: true;
}

@property --rg-border-color-2 {
  syntax: "<color>";
  initial-value: rgba(0, 173, 181, 0.42);
  inherits: true;
}

@property --rg-stop-1 {
  syntax: "<percentage>";
  initial-value: 37.35%;
  inherits: false;
}

@property --rg-stop-2 {
  syntax: "<percentage>";
  initial-value: 61.36%;
  inherits: false;
}

@property --rg-stop-3 {
  syntax: "<percentage>";
  initial-value: 78.42%;
  inherits: false;
}

@property --rg-stop-4 {
  syntax: "<percentage>";
  initial-value: 93.52%;
  inherits: false;
}

@property --rg-stop-5 {
  syntax: "<percentage>";
  initial-value: 100%;
  inherits: false;
}

@property --nav-ambience-x {
  syntax: "<length>";
  initial-value: 0px;
  inherits: true;
}

:root {
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --shell: min(1180px, calc(100% - 40px));
  --pad-y: clamp(5rem, 9vw, 9rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-background: 0;
  --z-content: 1;
  --z-raised: 2;
  --z-sticky: 10;
  --z-skip: 20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, color-mix(in oklch, var(--support) 18%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 10%, color-mix(in oklch, var(--accent) 20%, transparent), transparent 26rem),
    radial-gradient(circle at 50% 100%, color-mix(in oklch, var(--accent-strong) 8%, transparent), transparent 30rem),
    linear-gradient(180deg, color-mix(in oklch, var(--bg) 92%, black), var(--bg) 42%, color-mix(in oklch, var(--bg) 82%, black)),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  z-index: var(--z-skip);
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 860;
  padding: 0.7rem 1rem;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 180ms var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

.brand,
.footer-logo,
.hero h1,
.events-intro h1 {
  font-family: var(--font-pixel);
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.45rem, 3.4vw, 3.45rem);
  line-height: 1.18;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  text-wrap: pretty;
}

p {
  max-width: 64ch;
  color: var(--muted);
}

.site-header {
  --nav-spotlight-x: 50%;
  --nav-ambience-x: 0px;
  --nav-surface: color-mix(in oklch, var(--surface) 88%, black);
  position: fixed;
  z-index: var(--z-sticky);
  top: 16px;
  left: 50%;
  isolation: isolate;
  display: flex;
  width: min(1040px, calc(100% - 32px));
  min-height: 58px;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--ink) 10%, var(--line));
  border-radius: 999px;
  background: var(--nav-surface);
  box-shadow: inset 0 1px 0 color-mix(in oklch, white 10%, transparent);
  padding: 0.45rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: --nav-ambience-x 480ms var(--ease);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  z-index: var(--z-background);
  pointer-events: none;
}

.site-header::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120px circle at var(--nav-spotlight-x) 100%,
    color-mix(in oklch, var(--accent-strong) 18%, transparent) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.site-header::after {
  bottom: 0;
  left: 0;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: radial-gradient(
    60px circle at 50% 0%,
    var(--accent-strong) 0%,
    transparent 100%
  );
  transform: translate3d(calc(var(--nav-ambience-x) - 60px), 0, 0);
  will-change: transform;
}

.site-header.is-spotlight-active::before {
  opacity: 1;
}

.brand {
  position: relative;
  z-index: var(--z-content);
  display: inline-flex;
  overflow: visible;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  font-size: 0.64rem;
  isolation: isolate;
  padding: 0 1rem;
  transition: filter 180ms var(--ease), transform 180ms var(--ease);
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.brand:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.brand.creepy-brand {
  min-width: 9em;
  min-height: 44px;
  overflow: visible;
  border-radius: 999px;
  background: var(--nav-surface);
  color: white;
  font-size: 1rem;
  padding: 0;
  user-select: none;
  transition: none;
}

.brand.creepy-brand:hover,
.brand.creepy-brand:focus-visible {
  filter: none;
  transform: none;
}

.creepy-brand__eyes {
  position: absolute;
  z-index: var(--z-background);
  right: 1em;
  bottom: 0.5em;
  display: flex;
  height: 0.75em;
  align-items: center;
  gap: 0.375em;
  pointer-events: none;
}

.creepy-brand__eye {
  position: relative;
  display: block;
  width: 0.75em;
  height: 0.75em;
  overflow: hidden;
  border-radius: 999px;
  background: white;
  transform-origin: center;
  animation: creepy-brand-blink 3s linear infinite;
}

.creepy-brand__pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.375em;
  height: 0.375em;
  border-radius: 999px;
  background: black;
  transform: translate(
    calc(-50% + var(--creepy-eye-x, 0%)),
    calc(-50% + var(--creepy-eye-y, 0%))
  );
  transition: transform 75ms ease-out;
}

.creepy-brand__cover,
.creepy-brand__placeholder {
  min-width: 9em;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  font-family: var(--font-pixel);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  padding: 0.5em 1em;
  white-space: nowrap;
}

.creepy-brand__cover {
  position: absolute;
  z-index: var(--z-content);
  inset: 0;
  display: flex;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--accent) 30%, var(--line));
  pointer-events: none;
  transform: rotate(0deg);
  transform-origin: 1.25em 50%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.creepy-brand__placeholder {
  display: flex;
  opacity: 0;
}

.creepy-brand:hover .creepy-brand__cover,
.creepy-brand:focus-visible .creepy-brand__cover {
  transform: rotate(-12deg);
}

@keyframes creepy-brand-blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  96% {
    transform: scaleY(0);
  }
}

.nav {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex: 1;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  border-radius: 999px;
  padding: 0 0.2rem;
}

.nav a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
  padding: 0 0.9rem;
  transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.nav a.is-nav-active {
  background: transparent;
  color: var(--ink);
}

.nav a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.nav .nav-apply {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  font-weight: 760;
}

.nav a.nav-apply:hover,
.nav a.nav-apply:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--accent-ink);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 14%, var(--surface-soft));
  color: var(--ink);
  cursor: pointer;
  padding: 0 0.85rem;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--accent-strong);
  color: var(--accent-ink);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: oklch(0.13 0.06 265);
}

.hero-bg,
.hero-bg .dither-container {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: var(--z-background);
  background:
    radial-gradient(circle at 12% 24%, color-mix(in oklch, var(--support) 28%, transparent), transparent 24rem),
    radial-gradient(circle at 78% 16%, color-mix(in oklch, var(--accent) 40%, transparent), transparent 25rem),
    radial-gradient(circle at 58% 74%, color-mix(in oklch, var(--accent-strong) 18%, transparent), transparent 28rem),
    linear-gradient(150deg, color-mix(in oklch, var(--bg) 76%, var(--surface-soft)), color-mix(in oklch, var(--bg) 84%, var(--accent) 16%) 48%, color-mix(in oklch, var(--bg) 86%, black));
}

.hero-bg canvas {
  opacity: 0.5;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: var(--z-content);
  height: 36%;
  background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--bg) 68%, transparent));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: var(--z-raised);
  display: grid;
  min-height: 100dvh;
  width: var(--shell);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: 7rem 0 4rem;
}

.hero-copy {
  color: var(--ink);
}

.hero-sub {
  max-width: 610px;
  margin-bottom: 2rem;
  color: color-mix(in oklch, var(--ink) 78%, transparent);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
}

.terminal-label,
.section-kicker {
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.8;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklch, var(--accent) 42%, transparent);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  padding: 0 1.3rem;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 10px 22px color-mix(in oklch, var(--accent) 24%, transparent);
}

.button.ghost {
  background: color-mix(in oklch, var(--surface) 55%, transparent);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--accent-ink);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: var(--accent-strong);
  background: color-mix(in oklch, var(--accent) 12%, var(--surface));
}

.button:active {
  transform: translateY(1px) scale(0.97);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.radial-glow-wrap {
  position: relative;
  display: inline-block;
}

.rg-button {
  --transition: 0.25s;
  --spark: 1.8s;
  --speed: 1.2s;
  --cut: 1px;
  --rg-color-1: var(--accent);
  --rg-color-2: var(--accent-glow-2);
  --rg-color-3: var(--accent-glow-3);
  --rg-color-4: var(--accent-glow-4);
  --rg-color-5: var(--accent);
  --rg-border-color-1: color-mix(in oklch, var(--solid-ink) 72%, transparent);
  --rg-border-color-2: color-mix(in oklch, var(--accent) 42%, transparent);
  --bg: radial-gradient(
    var(--rg-spread-x) var(--rg-spread-y) at var(--rg-pos-x) var(--rg-pos-y),
    var(--rg-color-1) var(--rg-stop-1),
    var(--rg-color-2) var(--rg-stop-2),
    var(--rg-color-3) var(--rg-stop-3),
    var(--rg-color-4) var(--rg-stop-4),
    var(--rg-color-5) var(--rg-stop-5)
  );
  position: relative;
  display: inline-flex;
  min-width: 160px;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  border-radius: 11px;
  background: var(--bg);
  color: var(--accent-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 16px 24px;
  text-shadow: 0 1px 0 color-mix(in oklch, var(--solid-ink) 72%, transparent);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition:
    --rg-pos-x 0.75s,
    --rg-pos-y 0.75s,
    --rg-spread-x 0.75s,
    --rg-spread-y 0.75s,
    --rg-color-1 0.75s,
    --rg-color-2 0.75s,
    --rg-color-3 0.75s,
    --rg-color-4 0.75s,
    --rg-color-5 0.75s,
    --rg-border-angle 0.75s,
    --rg-border-color-1 0.75s,
    --rg-border-color-2 0.75s,
    --rg-stop-1 0.75s,
    --rg-stop-2 0.75s,
    --rg-stop-3 0.75s,
    --rg-stop-4 0.75s,
    --rg-stop-5 0.75s;
}

.rg-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(var(--rg-border-angle), var(--rg-border-color-1), var(--rg-border-color-2));
  padding: 1px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.rg-button:hover,
.rg-button:focus-visible {
  --rg-pos-x: 0%;
  --rg-pos-y: 120%;
  --rg-spread-x: 110.24%;
  --rg-spread-y: 110.2%;
  --rg-color-1: var(--accent-glow-4);
  --rg-color-2: var(--accent-glow-3);
  --rg-color-3: var(--accent-glow-2);
  --rg-color-4: var(--accent);
  --rg-color-5: var(--accent-glow-4);
  --rg-stop-1: 0%;
  --rg-stop-2: 10%;
  --rg-stop-3: 35.44%;
  --rg-stop-4: 71.34%;
  --rg-stop-5: 150%;
  --rg-border-angle: 190deg;
  --rg-border-color-1: color-mix(in oklch, var(--solid-ink) 14%, transparent);
  --rg-border-color-2: color-mix(in oklch, var(--accent) 54%, transparent);
  --button-line-opacity: 1;
  outline: none;
}

.rg-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.rg-label {
  position: relative;
  z-index: var(--z-content);
}

.rg-bg {
  position: absolute;
  inset: var(--cut);
  border-radius: inherit;
  background: var(--bg);
  transition: background var(--transition), opacity var(--transition);
}

.rg-shine {
  position: absolute;
  inset: 0;
  overflow: visible;
  border-radius: inherit;
  container-type: size;
  mix-blend-mode: soft-light;
  opacity: var(--button-line-opacity, 0);
  transition: opacity 0.3s;
}

.rg-shine span {
  position: absolute;
  inset: 0;
  height: 100cqh;
  overflow: visible;
  aspect-ratio: 1;
  animation: rg-slide var(--speed) ease-in-out infinite alternate;
}

.rg-shine span::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from calc(270deg - (90deg * 0.5)),
    transparent 0,
    #fff 90deg,
    transparent 90deg
  );
  animation: rg-spin calc(var(--speed) * 2) infinite linear;
}

@keyframes rg-spin {
  0% {
    rotate: 0deg;
  }

  15%,
  35% {
    rotate: 90deg;
  }

  65%,
  85% {
    rotate: 270deg;
  }

  100% {
    rotate: 360deg;
  }
}

@keyframes rg-slide {
  to {
    transform: translate(calc(100cqw - 100%), 0);
  }
}

.schedule-panel {
  border: 1px solid color-mix(in oklch, var(--accent) 48%, transparent);
  border-radius: var(--radius);
  background:
    radial-gradient(circle 180px at var(--spotlight-x, 84%) var(--spotlight-y, 8%), color-mix(in oklch, var(--accent) 24%, transparent), transparent 72%),
    linear-gradient(180deg, color-mix(in oklch, var(--support) 10%, transparent), transparent),
    color-mix(in oklch, var(--surface) 76%, transparent);
  box-shadow:
    0 24px 46px color-mix(in oklch, black 32%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 10%, transparent);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 28%, var(--line));
  padding: 1rem;
}

.panel-head span {
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 22%, var(--line));
  padding: 1rem;
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline-index {
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
}

.timeline strong {
  display: block;
  font-weight: 760;
  line-height: 1.25;
}

.timeline p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent-strong);
  font-weight: 760;
  white-space: nowrap;
}

.text-link:hover,
.text-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: var(--pad-y) 0;
}

.rules-layout,
.apply-layout,
.faq-layout,
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.rules-layout > *,
.apply-layout > *,
.faq-layout > *,
.location-layout > *,
.prize-layout > * {
  min-width: 0;
}

.about {
  width: min(1320px, calc(100% - 40px));
  min-height: 130dvh;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1px minmax(320px, 1.1fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 7rem;
  display: grid;
  min-height: 62dvh;
  align-content: start;
  padding-top: clamp(1rem, 6vw, 4rem);
}

.about-copy h2 {
  max-width: min(13ch, 100%);
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
  color: var(--ink);
  font-size: clamp(1.3rem, 2.25vw, 2.55rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-copy p:not(.section-kicker) {
  max-width: 36ch;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.about-divider {
  position: sticky;
  top: 0;
  width: 1px;
  min-height: 100dvh;
  background: linear-gradient(180deg, transparent, var(--accent), var(--support), transparent);
}

.section-heading {
  position: sticky;
  top: 7rem;
}

.section-heading h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.apply .section-heading h2 {
  max-width: 11ch;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

address {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.section-heading p {
  font-size: 1.05rem;
}

.value-stack {
  display: grid;
  gap: clamp(2.4rem, 8vw, 7rem);
  padding: clamp(1rem, 5vw, 4rem) 0;
}

.value-card {
  min-height: clamp(210px, 24vw, 310px);
  border: 1px solid color-mix(in oklch, var(--accent) 24%, var(--line));
  border-radius: var(--radius);
  background:
    radial-gradient(circle 170px at var(--spotlight-x, 88%) var(--spotlight-y, 10%), color-mix(in oklch, var(--card-accent, var(--accent)) 22%, transparent), transparent 72%),
    radial-gradient(circle at 100% 0, color-mix(in oklch, var(--card-accent, var(--accent)) 18%, transparent), transparent 16rem),
    linear-gradient(180deg, color-mix(in oklch, var(--card-accent, var(--accent)) 7%, var(--surface)), var(--surface));
  box-shadow:
    0 18px 36px color-mix(in oklch, black 24%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 8%, transparent);
  padding: clamp(1.5rem, 3.8vw, 3rem);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.value-card:hover {
  border-color: var(--card-accent, var(--accent-strong));
  background:
    radial-gradient(circle 190px at var(--spotlight-x, 88%) var(--spotlight-y, 10%), color-mix(in oklch, var(--card-accent, var(--accent)) 34%, transparent), transparent 72%),
    radial-gradient(circle at 100% 0, color-mix(in oklch, var(--card-accent, var(--accent)) 28%, transparent), transparent 16rem),
    color-mix(in oklch, var(--card-accent, var(--accent)) 14%, var(--surface));
}

.value-card:nth-child(1) {
  --card-accent: var(--accent);
}

.value-card:nth-child(2) {
  --card-accent: var(--accent-strong);
}

.value-card:nth-child(3) {
  --card-accent: var(--support);
}

.about-card {
  opacity: 0.68;
  transform: translateY(12px) scale(0.99);
}

.about-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow:
    0 18px 40px color-mix(in oklch, black 32%, transparent),
    0 0 32px color-mix(in oklch, var(--card-accent, var(--accent)) 18%, transparent);
}

.value-card span,
.prize-eyebrow,
.rule-group h3 {
  color: color-mix(in oklch, var(--card-accent, var(--accent)) 72%, var(--ink));
  font-size: 0.88rem;
  font-weight: 760;
}

.value-card h3 {
  margin-top: 1rem;
}

.prizes {
  border-top: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line));
  border-bottom: 1px solid color-mix(in oklch, var(--support) 28%, var(--line));
}

.prize-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.prize-lead {
  position: sticky;
  top: 7rem;
  max-width: 480px;
  color: var(--ink);
}

.prize-lead h2 {
  max-width: 11ch;
  margin: 1.1rem 0 1.25rem;
}

.prize-lead p {
  max-width: 40ch;
  margin-bottom: 0;
}

.prize-board {
  display: grid;
  margin: 0;
  border-top: 1px solid color-mix(in oklch, var(--accent) 40%, var(--line));
  padding: 0;
  list-style: none;
}

.prize-tier {
  --tier-accent: var(--accent);
  --tier-accent-soft: var(--support);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(154px, 15vw, 204px);
  grid-template-columns: clamp(76px, 9vw, 128px) minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.6vw, 2.2rem);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in oklch, var(--tier-accent) 38%, var(--line));
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--tier-accent) 9%, var(--surface)), var(--surface) 58%, color-mix(in oklch, var(--surface) 88%, black));
  padding: clamp(1.25rem, 2.8vw, 2.15rem);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.prize-tier::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    circle 190px at var(--spotlight-x, 82%) var(--spotlight-y, 18%),
    color-mix(in oklch, var(--tier-accent) 24%, transparent),
    transparent 72%
  );
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.prize-tier-first {
  --tier-accent: var(--award);
  --tier-accent-soft: var(--accent);
  min-height: clamp(190px, 18vw, 248px);
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--award) 15%, var(--surface)), var(--surface) 56%, color-mix(in oklch, var(--accent) 7%, var(--surface)));
}

.prize-tier-second {
  --tier-accent: var(--accent);
  --tier-accent-soft: var(--accent-strong);
}

.prize-tier-third {
  --tier-accent: var(--support);
  --tier-accent-soft: var(--accent);
}

.prize-rank {
  color: color-mix(in oklch, var(--tier-accent) 78%, var(--ink));
  font-family: var(--font-pixel);
  font-size: clamp(2.15rem, 5.2vw, 4.8rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 12px 28px color-mix(in oklch, var(--tier-accent) 24%, transparent);
}

.prize-name {
  display: grid;
  gap: 0.5rem;
}

.prize-name h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.85rem);
  font-weight: 850;
  line-height: 1.12;
}

.prize-eyebrow {
  color: color-mix(in oklch, var(--tier-accent-soft) 72%, var(--ink));
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prize-amount {
  position: relative;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.2vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.prize-amount span {
  color: color-mix(in oklch, var(--tier-accent) 72%, var(--ink));
  font-size: 0.62em;
  letter-spacing: 0;
}

@media (hover: hover) and (pointer: fine) {
  .prize-tier:hover {
    border-color: color-mix(in oklch, var(--tier-accent) 76%, var(--line));
  }

  .prize-tier:hover::before {
    opacity: 1;
  }
}

.prize-board strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.rule-groups {
  display: grid;
  gap: 1rem;
}

.rule-group {
  border: 1px solid color-mix(in oklch, var(--card-accent, var(--accent)) 32%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--card-accent, var(--accent)) 11%, var(--surface)), var(--surface));
  padding: 1.25rem;
}

.rule-group:nth-child(1) {
  --card-accent: var(--accent);
}

.rule-group:nth-child(2) {
  --card-accent: var(--support);
}

.rule-group:nth-child(3) {
  --card-accent: var(--accent-strong);
}

.rule-group h3 {
  margin-bottom: 1rem;
}

.rule-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.65rem;
  list-style: none;
}

.rule-group li {
  position: relative;
  padding-left: 1.2rem;
}

.rule-group li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--card-accent, var(--accent-strong));
  font-weight: 900;
}

.location {
  border-top: 1px solid color-mix(in oklch, var(--support) 30%, var(--line));
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line));
  background:
    radial-gradient(circle at 12% 12%, color-mix(in oklch, var(--support) 12%, transparent), transparent 24rem),
    radial-gradient(circle at 92% 80%, color-mix(in oklch, var(--accent) 10%, transparent), transparent 26rem);
}

address {
  max-width: 42ch;
  margin: 1.4rem 0;
  color: var(--muted);
  font-style: normal;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--accent) 32%, var(--line));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 20%, color-mix(in oklch, var(--accent-strong) 14%, transparent), transparent 16rem),
    var(--surface-soft);
  box-shadow: 0 20px 36px color-mix(in oklch, black 24%, transparent);
}

.map-frame::before {
  content: "Google Haritalar Üzerinden Görünüm";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  font-weight: 760;
  text-align: center;
}

.map-frame iframe {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  height: 100%;
  border: 0;
}

.application-form {
  display: grid;
  gap: 1rem;
  border: 1px solid color-mix(in oklch, var(--support) 28%, var(--line));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, color-mix(in oklch, var(--support) 14%, transparent), transparent 16rem),
    color-mix(in oklch, var(--surface) 92%, black);
  box-shadow:
    0 22px 40px color-mix(in oklch, black 24%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 8%, transparent);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.application-card {
  align-content: center;
  min-height: clamp(260px, 28vw, 360px);
}

.application-card h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 860;
}

.application-card p {
  margin-bottom: 0;
}

.application-card .button {
  width: fit-content;
}

.application-card .form-status {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 760;
}

label small {
  min-height: 1.2em;
  color: var(--award);
  font-size: 0.8rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid color-mix(in oklch, var(--accent) 24%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--bg) 82%, black);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent-strong);
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--success);
  font-weight: 760;
}

.form-progress {
  max-width: 360px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--accent) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 72%, black);
  margin-top: 2rem;
}

.form-progress span {
  display: block;
  padding: 0.65rem 0.9rem 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-progress i {
  display: block;
  inline-size: 0;
  block-size: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: inline-size 260ms var(--ease);
}

.faq {
  border-top: 1px solid color-mix(in oklch, var(--support) 26%, var(--line));
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid color-mix(in oklch, var(--accent) 28%, var(--line));
}

.faq-list details {
  position: relative;
  width: 100%;
  overflow: clip;
  border: 0;
  border-bottom: 2px solid color-mix(in oklch, var(--accent) 18%, var(--line));
  border-radius: 0;
  background: transparent;
  transition: background-color 300ms ease-in;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list details[open]:not(.is-closing) {
  background: color-mix(in oklch, var(--accent) 9%, var(--surface));
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  color: color-mix(in oklch, var(--muted) 90%, var(--ink));
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 650;
  list-style: none;
  padding: 1rem 3.5rem 1rem 3.8rem;
  text-align: left;
  transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.faq-list summary:hover {
  color: var(--ink);
  background: color-mix(in oklch, var(--support) 7%, transparent);
}

.faq-list details[open]:not(.is-closing) summary {
  color: var(--ink);
  font-weight: 760;
}

.faq-mark {
  position: absolute;
  top: 50%;
  left: 1.15rem;
  color: color-mix(in oklch, var(--support) 68%, var(--muted));
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 200ms ease-in-out, font-size 200ms ease-in-out;
}

.faq-mark::before {
  content: "+";
}

.faq-list details[open]:not(.is-closing) .faq-mark {
  color: var(--accent-strong);
  font-size: 2rem;
}

.faq-list details[open]:not(.is-closing) .faq-mark::before {
  content: "−";
}

.faq-question {
  padding-right: 1rem;
}

.faq-chevron {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 3px solid color-mix(in oklch, var(--support) 60%, var(--muted));
  border-right: 3px solid color-mix(in oklch, var(--support) 60%, var(--muted));
  transform: translateY(-50%) rotate(133deg);
  transition: transform 200ms ease-in-out, border-color 200ms ease-in-out;
}

.faq-list details[open]:not(.is-closing) .faq-chevron {
  border-color: var(--accent-strong);
  transform: translateY(-50%) rotate(-44deg);
}

.faq-answer {
  display: grid;
  width: 100%;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 300ms ease-in-out, opacity 220ms ease-in-out;
}

.faq-answer__clip {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  border: 0;
  color: color-mix(in oklch, var(--muted) 92%, var(--ink));
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  padding: 0.35rem 3.5rem 1.5rem 3.8rem;
  transform: translateY(-8px);
  transition: transform 300ms ease-in-out;
}

.faq-list details[open]:not(.is-closing, .is-opening) .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-list details[open]:not(.is-closing, .is-opening) .faq-answer p {
  transform: translateY(0);
}

.closing {
  border-top: 1px solid color-mix(in oklch, var(--accent) 28%, var(--line));
  border-bottom: 1px solid color-mix(in oklch, var(--support) 28%, var(--line));
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.footer {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid color-mix(in oklch, var(--accent) 28%, var(--line));
  background:
    radial-gradient(circle at 8% 10%, color-mix(in oklch, var(--support) 14%, transparent), transparent 22rem),
    radial-gradient(circle at 92% 18%, color-mix(in oklch, var(--accent) 14%, transparent), transparent 24rem),
    color-mix(in oklch, var(--solid) 84%, var(--bg));
  color: color-mix(in oklch, var(--solid-ink) 68%, transparent);
  padding: clamp(2.2rem, 5vw, 3.8rem) max(calc((100% - 1000px) / 2), 20px) clamp(1.2rem, 3vw, 2.2rem);
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--accent-strong);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  line-height: 1;
}

.footer p,
.footer h2 {
  max-width: 28ch;
  margin: 0;
}

.footer p {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.35;
}

.footer h2,
.footer-heading {
  color: color-mix(in oklch, var(--solid-ink) 78%, transparent);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.footer-copy {
  margin-top: 1.6rem;
}

.footer-links {
  justify-self: center;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: color-mix(in oklch, var(--solid-ink) 74%, transparent);
  font-weight: 780;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent-strong);
}

.footer-contact {
  justify-self: stretch;
  justify-items: start;
  text-align: left;
}

.sponsor-main {
  background:
    radial-gradient(circle at 12% 10%, color-mix(in oklch, var(--support) 12%, transparent), transparent 26rem),
    radial-gradient(circle at 84% 22%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 24rem),
    radial-gradient(circle at 58% 88%, color-mix(in oklch, var(--accent-strong) 8%, transparent), transparent 26rem);
  padding: clamp(6rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.events-main {
  min-height: 100dvh;
  background: var(--events-flat-bg);
}

.events-intro {
  position: relative;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  background: var(--events-flat-bg);
  isolation: isolate;
  padding: 8rem 1.25rem 5rem;
}

.events-intro-canvas,
.events-intro-crosshair,
.events-intro-orbits,
.events-intro-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.events-intro-canvas {
  z-index: var(--z-background);
  width: 100%;
  height: 100%;
}

.events-intro-glow {
  z-index: var(--z-background);
  background:
    linear-gradient(90deg, transparent, color-mix(in oklch, var(--accent) 9%, transparent), transparent),
    linear-gradient(180deg, transparent, color-mix(in oklch, black 42%, transparent));
  opacity: 0.78;
}

.events-intro-crosshair {
  z-index: var(--z-content);
  opacity: 0.08;
}

.events-intro-crosshair::before,
.events-intro-crosshair::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.events-intro-crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.events-intro-crosshair::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.events-intro-orbits {
  z-index: var(--z-content);
  top: 50%;
  left: 50%;
  width: min(1320px, 140vmin);
  height: min(1320px, 140vmin);
  transform: translate(-50%, -50%);
}

.events-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.events-orbit--inner {
  width: 34%;
  height: 34%;
  border: 1px dashed color-mix(in oklch, var(--accent) 42%, transparent);
  animation: events-orbit-cw 26s linear infinite;
}

.events-orbit--middle {
  width: 64%;
  height: 64%;
  border: 1px solid color-mix(in oklch, var(--support) 26%, transparent);
  animation: events-orbit-ccw 42s linear infinite;
}

.events-orbit--outer {
  width: 94%;
  height: 94%;
  border: 2px dotted color-mix(in oklch, var(--accent-strong) 24%, transparent);
  animation: events-orbit-cw 64s linear infinite;
}

@keyframes events-orbit-cw {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes events-orbit-ccw {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.events-intro-content {
  position: relative;
  z-index: var(--z-raised);
  display: grid;
  width: min(100%, 920px);
  justify-items: center;
  text-align: center;
}

.events-intro-tag {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid color-mix(in oklch, var(--accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 8%, transparent);
  color: var(--accent-strong);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1rem;
}

.events-intro-cursor {
  width: 2px;
  height: 1rem;
  background: currentColor;
  animation: events-cursor-blink 820ms steps(1, end) infinite;
}

@keyframes events-cursor-blink {
  50% {
    opacity: 0;
  }
}

.events-intro-title-row {
  display: flex;
  max-width: min(100%, 1120px);
  align-items: center;
  justify-content: center;
  gap: clamp(0.06rem, 0.22vw, 0.19rem);
  margin-bottom: 1.45rem;
}

.events-intro h1 {
  max-width: 12ch;
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0 26px color-mix(in oklch, var(--accent) 24%, transparent),
    0 18px 46px color-mix(in oklch, black 44%, transparent);
}

.events-intro-title-logo {
  display: block;
  width: clamp(168px, 22vw, 310px);
  max-width: 40vw;
  height: auto;
  flex: 0 1 auto;
  transform: translateX(clamp(-7.6rem, -8vw, -3.2rem));
  filter: drop-shadow(0 14px 34px color-mix(in oklch, black 42%, transparent));
}

.events-intro p {
  max-width: 62ch;
  margin-bottom: 0;
  color: color-mix(in oklch, var(--ink) 78%, transparent);
  font-size: 1.08rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.events-intro-stats {
  display: flex;
  width: min(100%, 560px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.events-intro-stat {
  display: grid;
  min-width: 140px;
  flex: 1 1 0;
  gap: 0.24rem;
  align-content: center;
  border: 1px solid color-mix(in oklch, var(--accent) 32%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--accent) 9%, transparent), transparent),
    color-mix(in oklch, var(--surface) 34%, transparent);
  box-shadow:
    0 14px 36px color-mix(in oklch, black 24%, transparent),
    inset 0 1px 0 color-mix(in oklch, var(--ink) 10%, transparent);
  padding: 0.78rem 0.82rem;
}

.events-intro-stat strong {
  color: var(--accent-strong);
  font-size: 1.62rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 24px color-mix(in oklch, var(--accent) 30%, transparent);
}

.events-intro-stat span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.pixel-gallery-section {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  overflow: clip;
  background: var(--events-flat-bg);
  color: var(--ink);
  padding: clamp(5rem, 9vw, 8rem) max(1.25rem, calc((100% - 1180px) / 2));
}

.pixel-gallery-copy {
  display: grid;
  max-width: 760px;
  gap: 1rem;
}

.pixel-gallery-copy h2 {
  max-width: 22ch;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 930;
  line-height: 1.04;
  text-wrap: balance;
}

.pixel-gallery-copy p {
  max-width: 62ch;
  margin: 0;
  color: color-mix(in oklch, var(--ink) 76%, transparent);
  font-size: 1.08rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.pixel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}

.pixel-work {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.pixel-work--large {
  grid-column: span 7;
}

.pixel-work--offset {
  grid-column: span 5;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.pixel-work--medium {
  grid-column: span 6;
}

.pixel-work--final {
  grid-column: span 8;
}

.pixel-work--small {
  grid-column: span 4;
}

.pixel-work--wide {
  grid-column: span 8;
  padding-top: clamp(2rem, 6vw, 5rem);
}

.pixel-work--face {
  grid-column: span 4;
}

.pixel-work--long {
  grid-column: 1 / -1;
}

.pixel-work--portrait {
  grid-column: span 4;
}

.pixel-work--lift {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.pixel-image {
  --pixel-ratio: 4 / 3;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line));
  border-radius: var(--radius);
  aspect-ratio: var(--pixel-ratio);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--accent) 10%, transparent), transparent 36%),
    color-mix(in oklch, var(--surface) 72%, black);
  box-shadow:
    0 24px 70px color-mix(in oklch, black 34%, transparent),
    inset 0 1px 0 color-mix(in oklch, var(--ink) 10%, transparent);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.motion-ready .pixel-image {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .pixel-image.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.pixel-image:hover {
  border-color: color-mix(in oklch, var(--accent-strong) 62%, var(--line));
  box-shadow:
    0 28px 78px color-mix(in oklch, black 38%, transparent),
    0 0 38px color-mix(in oklch, var(--accent) 12%, transparent),
    inset 0 1px 0 color-mix(in oklch, var(--ink) 12%, transparent);
}

.pixel-image img,
.pixel-image canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.pixel-image img {
  object-fit: cover;
  object-position: var(--pixel-position, center);
  pointer-events: none;
  user-select: none;
}

.pixel-image canvas {
  opacity: 0;
  image-rendering: pixelated;
}

.pixel-image.is-complete canvas {
  image-rendering: auto;
}

.pixel-image.is-loaded img {
  opacity: 0;
}

.pixel-image.is-loaded canvas {
  opacity: 1;
}

.pixel-work figcaption {
  color: color-mix(in oklch, var(--accent-strong) 82%, var(--ink));
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
}

.pixel-work--cinema .pixel-image {
  --pixel-ratio: 16 / 9;
}

.pixel-work--photo .pixel-image {
  --pixel-ratio: 3 / 2;
}

.pixel-work--portrait .pixel-image {
  --pixel-ratio: 3 / 4;
}

.pixel-work--frame .pixel-image {
  --pixel-ratio: 4 / 3;
}

.pixel-work--face .pixel-image {
  --pixel-ratio: 4 / 5;
  min-height: 480px;
}

.pixel-work--long .pixel-image {
  --pixel-ratio: 21 / 8;
  min-height: 320px;
}

.sponsor-section {
  display: grid;
  gap: clamp(2.8rem, 5.4vw, 4.6rem);
  justify-items: center;
  text-align: center;
}

.sponsor-section h1 {
  max-width: none;
  overflow-wrap: anywhere;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.sponsor-block {
  display: grid;
  width: 100%;
  gap: clamp(1.35rem, 2.5vw, 1.9rem);
  justify-items: center;
}

.sponsor-block h2 {
  color: color-mix(in oklch, var(--accent) 72%, var(--ink));
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 860;
  line-height: 1.1;
}

.logo-grid {
  display: grid;
  width: min(100%, 860px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 260px));
  justify-content: center;
  align-items: center;
  gap: clamp(2.1rem, 5vw, 4.25rem);
}

.organizers-grid {
  grid-template-columns: repeat(2, minmax(180px, 260px));
}

.supporters-grid {
  width: min(100%, 1040px);
  grid-template-columns: repeat(3, minmax(180px, 260px));
}

.sponsor-logo-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 680px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 14px 24px color-mix(in oklch, black 30%, transparent));
}

.istgdc-logo {
  max-width: 300px;
  filter:
    drop-shadow(0 0 8px color-mix(in oklch, var(--accent) 22%, transparent))
    drop-shadow(0 14px 24px color-mix(in oklch, black 30%, transparent));
}

.woblix-logo {
  max-width: 340px;
}

.supporter-logo-image {
  max-width: 360px;
}

.bilisim-vadisi-logo {
  max-width: 340px;
}

.woblix-logo,
.bilisim-vadisi-logo {
  filter:
    drop-shadow(0 0 10px color-mix(in oklch, var(--accent-strong) 14%, transparent))
    drop-shadow(0 14px 24px color-mix(in oklch, black 30%, transparent));
}

.digiage-logo {
  max-width: 360px;
}

.supporter-42-logo {
  max-width: 230px;
  filter:
    drop-shadow(0 0 8px color-mix(in oklch, var(--accent) 22%, transparent))
    drop-shadow(0 14px 24px color-mix(in oklch, black 30%, transparent));
}

.sponsor-contact {
  position: relative;
  overflow: hidden;
  justify-self: stretch;
  min-height: clamp(240px, 24vw, 320px);
  border: 1px solid color-mix(in oklch, var(--accent) 40%, var(--line));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 22%, color-mix(in oklch, var(--accent) 28%, transparent), transparent 18rem),
    color-mix(in oklch, var(--solid) 86%, var(--surface));
  color: var(--solid-ink);
  box-shadow:
    0 26px 46px color-mix(in oklch, black 30%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 9%, transparent);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  text-align: left;
}

.sponsor-contact::before {
  content: "";
  position: absolute;
  z-index: var(--z-content);
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--solid) 88%, transparent) 0 45%, color-mix(in oklch, var(--solid) 60%, transparent) 100%),
    radial-gradient(circle at 18% 18%, color-mix(in oklch, var(--support) 16%, transparent), transparent 42%);
  pointer-events: none;
}

.sponsor-contact-bg {
  position: absolute;
  z-index: var(--z-background);
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, color-mix(in oklch, var(--accent) 34%, transparent), transparent 22rem),
    radial-gradient(circle at 86% 72%, color-mix(in oklch, var(--accent-strong) 18%, transparent), transparent 20rem),
    linear-gradient(180deg, color-mix(in oklch, var(--surface) 60%, var(--solid)), var(--solid));
  pointer-events: none;
}

.sponsor-contact-bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  filter: saturate(1.35) contrast(1.12);
  mix-blend-mode: screen;
}

.sponsor-contact > :not(.sponsor-contact-bg) {
  position: relative;
  z-index: var(--z-raised);
}

.sponsor-contact h2 {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
}

.sponsor-contact p {
  color: color-mix(in oklch, var(--solid-ink) 74%, transparent);
}

.sponsor-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent-strong);
  font-weight: 800;
}

.motion-ready [data-reveal] {
  opacity: 1;
  transform: translateY(14px) scale(0.99);
  transition:
    transform 420ms var(--ease) var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .events-intro {
    padding: 7.25rem 1rem 4rem;
  }

  .events-intro-orbits {
    width: 120vmax;
    height: 120vmax;
  }

  .events-intro-tag {
    max-width: 100%;
    font-size: 0.72rem;
  }

  .events-intro-title-row {
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  .events-intro h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .events-intro-title-logo {
    width: clamp(148px, 42vw, 210px);
    max-width: 54vw;
    transform: translateX(-1.6rem);
  }

  .events-intro p,
  .pixel-gallery-copy p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .events-intro-stats {
    width: min(100%, 360px);
    gap: 0.5rem;
  }

  .events-intro-stat {
    min-width: 105px;
    padding: 0.68rem 0.62rem;
  }

  .events-intro-stat strong {
    font-size: 1.22rem;
  }

  .events-intro-stat span {
    font-size: 0.72rem;
  }

  .pixel-gallery-section {
    padding: 4rem 1rem;
  }

  .pixel-gallery-copy h2 {
    font-size: 1.55rem;
  }

  .pixel-gallery-grid {
    grid-template-columns: 1fr;
  }

  .pixel-work,
  .pixel-work--large,
  .pixel-work--offset,
  .pixel-work--medium,
  .pixel-work--final,
  .pixel-work--small,
  .pixel-work--wide,
  .pixel-work--face,
  .pixel-work--long,
  .pixel-work--portrait,
  .pixel-work--lift {
    grid-column: auto;
    padding-top: 0;
  }

  .pixel-image {
    min-height: 0;
  }

  .pixel-work--face .pixel-image {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .site-header::before,
  .site-header::after {
    display: none;
  }

  .site-header {
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    opacity: 0;
    padding: 0.45rem;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 140ms var(--ease),
      transform 140ms var(--ease),
      visibility 0s linear 140ms;
    visibility: hidden;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-duration: 180ms;
    transition-delay: 0s;
    visibility: visible;
  }

  .nav a {
    justify-content: center;
  }

  .about {
    width: var(--shell);
    min-height: auto;
  }

  .hero-grid,
  .about-layout,
  .rules-layout,
  .apply-layout,
  .faq-layout,
  .location-layout,
  .prize-layout,
  .sponsor-block,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: static;
    min-height: auto;
    padding-top: 0;
  }

  .about-copy h2 {
    max-width: 16ch;
  }

  .about-divider {
    position: static;
    width: 100%;
    min-height: 1px;
  }

  .value-stack {
    gap: 1rem;
    padding-top: 0;
  }

  .about-card {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .section-heading {
    position: static;
  }

  .prize-lead {
    position: static;
    max-width: 620px;
  }

  .hero-grid {
    align-content: center;
    gap: 2rem;
  }

  .sponsor-main {
    padding-top: 7.5rem;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .pixel-gallery-copy h2 {
    font-size: 2.25rem;
  }

  .pixel-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pixel-work,
  .pixel-work--large,
  .pixel-work--offset,
  .pixel-work--medium,
  .pixel-work--final,
  .pixel-work--small,
  .pixel-work--wide,
  .pixel-work--face,
  .pixel-work--long,
  .pixel-work--portrait,
  .pixel-work--lift {
    grid-column: auto;
    padding-top: 0;
  }

  .pixel-work--long {
    grid-column: 1 / -1;
  }

  .pixel-image,
  .pixel-work--face .pixel-image,
  .pixel-work--long .pixel-image {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1180px);
    --pad-y: 4.5rem;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    min-height: 44px;
    font-size: 0.55rem;
  }

  .creepy-brand__cover,
  .creepy-brand__placeholder {
    font-size: 0.55rem;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .about-copy h2 {
    max-width: 100%;
    font-size: clamp(1.15rem, 6.4vw, 1.65rem);
    line-height: 1.28;
  }

  .hero-grid {
    padding-top: 6.8rem;
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .organizers-grid,
  .supporters-grid {
    grid-template-columns: 1fr;
  }

  .prize-tier,
  .prize-tier-first {
    min-height: 154px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.8rem 1rem;
    padding: 1.2rem 1rem;
  }

  .prize-rank {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: clamp(1.8rem, 9vw, 2.65rem);
  }

  .prize-amount {
    grid-column: 2;
    justify-self: start;
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .map-frame {
    aspect-ratio: auto;
    height: 280px;
    min-height: 0;
  }

  .footer-links,
  .footer-contact {
    justify-self: stretch;
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .events-intro-canvas {
    display: none;
  }

  .events-orbit,
  .events-intro-cursor {
    animation: none !important;
  }

  .hero-bg canvas,
  .sponsor-contact-bg canvas {
    display: none;
  }

  .rg-shine span,
  .rg-shine span::before {
    animation: none;
  }

  .creepy-brand__eye {
    animation: none;
  }

  .creepy-brand__pupil {
    transform: translate(-50%, -50%);
    transition: none;
  }
}

/* Cat The Jam palette: 222831 / 393E46 / 00ADB5 / EEEEEE */

:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eeeeee;
  --section: color-mix(in oklch, #eeeeee 84%, #00adb5);
  --surface: #f7fafa;
  --surface-soft: color-mix(in oklch, #eeeeee 72%, #00adb5);
  --surface-raised: color-mix(in oklch, #eeeeee 92%, #ffffff);
  --ink: #222831;
  --muted: #4a555c;
  --line: color-mix(in oklch, #00adb5 48%, #eeeeee);
  --frame: #222831;
  --shadow-hard: #393e46;
  --accent: #00adb5;
  --accent-hover: #00959d;
  --accent-strong: #006a70;
  --accent-soft: #cbedef;
  --accent-panel: #a9dde0;
  --accent-subtle: color-mix(in oklch, #eeeeee 82%, #00adb5);
  --accent-ink: #222831;
  --display-accent: #006a70;
  --play: #00adb5;
  --play-strong: #006a70;
  --play-soft: #cbedef;
  --play-panel: #a9dde0;
  --accent-glow-2: #32c7ce;
  --accent-glow-3: #a9dde0;
  --accent-glow-4: #007a80;
  --logo-well: #222831;
  --logo-well-ink: #eeeeee;
  --support: var(--play-soft);
  --award: var(--accent-soft);
  --solid: var(--section);
  --solid-ink: var(--ink);
  --success: var(--accent-strong);
  --lavender: var(--play-soft);
  --pink-soft: var(--accent-soft);
  --events-flat-bg: var(--bg);
  --focus: var(--accent-strong);
  --events-canvas-bg: #eeeeee;
  --events-canvas-grid: rgba(34, 40, 49, 0.1);
  --events-canvas-scan: rgba(0, 173, 181, 0.2);
  --events-canvas-scan-soft: rgba(169, 221, 224, 0.24);
  --events-canvas-particle: 0, 106, 112;
  --radius: 16px;
  --radius-sm: 11px;
  --shell: min(1180px, calc(100% - 40px));
}

body,
.events-body,
.sponsor-body {
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
}

p {
  color: var(--muted);
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.site-header {
  --nav-surface: color-mix(in oklch, var(--surface) 90%, transparent);
  top: max(16px, env(safe-area-inset-top));
  width: min(1080px, calc(100% - 32px));
  min-height: 64px;
  border: 2px solid var(--frame);
  background: var(--nav-surface);
  box-shadow: 0 5px 0 color-mix(in oklch, var(--shadow-hard) 92%, transparent);
  padding: 0.5rem;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.site-header::before {
  background: radial-gradient(
    120px circle at var(--nav-spotlight-x) 100%,
    color-mix(in oklch, var(--accent) 30%, transparent) 0%,
    transparent 58%
  );
}

.site-header::after {
  height: 3px;
  background: radial-gradient(
    60px circle at 50% 0%,
    var(--accent-strong) 0%,
    transparent 100%
  );
}

.brand.creepy-brand {
  min-width: 9.4em;
  min-height: 46px;
  border: 2px solid var(--frame);
  background: var(--nav-surface);
  color: var(--solid-ink);
  box-shadow: 0 3px 0 color-mix(in oklch, var(--shadow-hard) 92%, transparent);
}

.creepy-brand__cover,
.creepy-brand__placeholder {
  min-width: 9.4em;
  min-height: 46px;
}

.creepy-brand__cover {
  background: var(--accent);
  box-shadow: inset 0 -4px 0 color-mix(in oklch, var(--accent-strong) 45%, transparent);
}

.creepy-brand__eyes {
  right: 0.9em;
  bottom: 0.58em;
}

.nav a {
  color: color-mix(in oklch, var(--muted) 88%, var(--ink));
  font-weight: 670;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.nav a.is-nav-active {
  color: var(--ink);
}

.nav .nav-apply,
.nav a.nav-apply:hover,
.nav a.nav-apply:focus-visible {
  border: 2px solid var(--frame);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 3px 0 var(--shadow-hard);
}

.nav .nav-apply:active {
  box-shadow: 0 1px 0 var(--shadow-hard);
  transform: translateY(2px);
}

.menu-toggle {
  border: 2px solid var(--frame);
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--shadow-hard);
  font-weight: 760;
}

.menu-toggle:hover {
  background: var(--accent);
  color: var(--accent-ink);
  outline: none;
}

.menu-toggle:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--play-soft);
  color: var(--ink);
  padding: 7rem 1.25rem 2rem;
  isolation: isolate;
}

.hero-bg {
  background: var(--play-soft);
}

.hero-bg::after {
  display: none;
}

.hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: var(--z-raised);
  width: min(1180px, 100%);
  min-height: calc(100dvh - 9rem);
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: 0;
}

.hero-copy {
  align-self: center;
  max-width: 610px;
  margin-bottom: 0;
}

.hero-stage {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: calc(100dvh - 9rem);
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: var(--z-background);
  top: 8%;
  left: 50%;
  width: min(72%, 430px);
  aspect-ratio: 1;
  border: 2px solid color-mix(in oklch, var(--frame) 68%, transparent);
  border-radius: 50%;
  background: var(--accent-panel);
  box-shadow: 8px 8px 0 color-mix(in oklch, var(--accent) 48%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-cat-cutout {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: relative;
  z-index: var(--z-content);
  display: block;
  width: min(72%, 430px);
  max-height: min(52dvh, 500px);
  height: auto;
  margin-bottom: -1.1rem;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transform-origin: 50% 100%;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 18px 12px color-mix(in oklch, var(--shadow-hard) 22%, transparent));
}

.hero h1 {
  width: fit-content;
  max-width: none;
  color: var(--ink);
  font-size: clamp(3.6rem, 7.2vw, 6rem);
  line-height: 1.02;
  text-shadow: 5px 5px 0 var(--surface);
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2) {
  color: var(--display-accent);
}

.hero-sub {
  max-width: 44ch;
  color: color-mix(in oklch, var(--ink) 82%, var(--muted));
  font-size: clamp(1.1rem, 1.75vw, 1.35rem);
  font-weight: 590;
  line-height: 1.55;
}

.button {
  min-height: 48px;
  border: 2px solid var(--frame);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 820;
  box-shadow: 0 4px 0 var(--shadow-hard);
}

.button.primary {
  position: relative;
  isolation: isolate;
  background: var(--accent);
  color: var(--accent-ink);
}

.hero .button.primary::before,
.hero .button.primary::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 7px;
  height: 7px;
  background: var(--accent-strong);
  opacity: 0;
  pointer-events: none;
}

.hero .button.primary::before {
  top: -5px;
  left: 18%;
  box-shadow: 14px -4px 0 var(--surface), 30px 2px 0 var(--accent-strong);
}

.hero .button.primary::after {
  right: 18%;
  bottom: -5px;
  box-shadow: -14px 4px 0 var(--surface), -30px -2px 0 var(--accent-strong);
}

.hero .button.primary:hover::before,
.hero .button.primary:focus-visible::before {
  animation: hero-pixel-pop-top 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero .button.primary:hover::after,
.hero .button.primary:focus-visible::after {
  animation: hero-pixel-pop-bottom 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button.ghost {
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  color: var(--ink);
}

.hero .button {
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--accent-strong);
}

.hero .button:hover,
.hero .button:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 6px 0 var(--accent-strong);
}

.button:hover,
.button:focus-visible {
  border-color: var(--frame);
  box-shadow: 0 6px 0 var(--shadow-hard);
  filter: saturate(1.05);
  transform: translateY(-2px);
}

.button:active {
  box-shadow: 0 1px 0 var(--shadow-hard);
  transform: translateY(3px) scale(0.99);
}

.schedule-panel {
  position: relative;
  z-index: var(--z-raised);
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--surface) 91%, transparent);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--accent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.panel-head {
  border-bottom: 2px solid var(--frame);
  background: var(--accent);
  color: var(--accent-ink);
}

.panel-head span {
  color: var(--accent-ink);
}

.timeline p {
  color: color-mix(in oklch, var(--ink) 70%, var(--muted));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline li,
.timeline li:last-child {
  min-height: 104px;
  border: 0;
  border-bottom: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
  padding: 1rem;
  transition:
    background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline li:hover {
  background: var(--play-soft);
  transform: translateY(-2px);
}

.timeline li:nth-child(odd) {
  border-right: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
}

.timeline li:nth-child(n + 3) {
  border-bottom: 0;
}

.timeline-index {
  color: var(--accent-strong);
  font-family: var(--font-pixel);
  font-size: 0.72rem;
}

.timeline strong {
  color: var(--ink);
}

.section-shell {
  width: 100%;
  margin: 0;
  padding: clamp(5.5rem, 9vw, 8.5rem) max(1.25rem, calc((100% - 1180px) / 2));
}

.about-layout,
.prize-layout,
.rules-layout,
.location-layout,
.apply-layout,
.faq-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about {
  min-height: 118dvh;
  background: var(--bg);
}

.about-layout {
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.about-copy {
  top: 8rem;
  min-height: 54dvh;
  padding-top: 1rem;
}

.about-copy h2,
.section-heading h2,
.prize-lead h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.about-copy h2 {
  max-width: 12ch;
}

.about-copy p:not(.section-kicker) {
  max-width: 38ch;
  color: var(--muted);
}

.about-divider {
  display: none;
}

.value-stack {
  gap: clamp(1.6rem, 4vw, 3.2rem);
  padding: 0;
}

.value-card {
  --card-fill: var(--surface);
  min-height: clamp(220px, 22vw, 300px);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background:
    radial-gradient(
      circle 180px at var(--spotlight-x, 88%) var(--spotlight-y, 10%),
      color-mix(in oklch, var(--surface-raised) 62%, transparent),
      transparent 72%
    ),
    var(--card-fill);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--shadow-hard);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    rotateZ(var(--card-rotation, 0deg));
}

.value-card:hover {
  border-color: var(--frame);
  background:
    radial-gradient(
      circle 190px at var(--spotlight-x, 88%) var(--spotlight-y, 10%),
      color-mix(in oklch, var(--surface-raised) 78%, transparent),
      transparent 72%
    ),
    var(--card-fill);
  box-shadow: 11px 11px 0 var(--shadow-hard);
}

.value-card:nth-child(1) {
  --card-fill: var(--accent-panel);
  --card-rotation: -1deg;
}

.value-card:nth-child(2) {
  --card-fill: var(--play-panel);
  --card-rotation: 1deg;
}

.value-card:nth-child(3) {
  --card-fill: var(--surface-soft);
  --card-rotation: -0.7deg;
}

.about-card {
  opacity: 0.78;
}

.about-card.is-active {
  opacity: 1;
  box-shadow: 10px 10px 0 var(--shadow-hard);
  transform:
    translateY(0)
    scale(1)
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    rotateZ(var(--card-rotation, 0deg));
}

.value-card span,
.value-card h3 {
  color: var(--ink);
}

.value-card span {
  font-family: var(--font-pixel);
  font-size: 0.66rem;
}

.value-card h3 {
  max-width: 25ch;
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  line-height: 1.12;
}

.about-cat-visual {
  --pointer-x: 0px;
  --pointer-y: 0px;
  display: block;
  width: min(100%, 430px);
  overflow: hidden;
  margin: 1.25rem 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.82) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.82) 88%, transparent 100%);
  pointer-events: none;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transform-origin: 50% 50%;
  user-select: none;
  will-change: transform;
}

.about-cat-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.prizes {
  border: 0;
  background: var(--section);
}

.prize-layout {
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.prize-lead {
  top: 8rem;
  color: var(--ink);
}

.terminal-label,
.section-kicker {
  color: var(--accent-strong);
  font-family: var(--font-pixel);
  font-size: 0.66rem;
}

.prize-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  border: 0;
}

.prize-tier {
  min-height: 230px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--shadow-hard);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.prize-tier::before {
  background: radial-gradient(
    circle 180px at var(--spotlight-x, 82%) var(--spotlight-y, 18%),
    color-mix(in oklch, var(--surface-raised) 68%, transparent),
    transparent 72%
  );
}

@keyframes hero-pixel-pop-top {
  0% {
    opacity: 0;
    transform: translate3d(0, 2px, 0) scale(0.7);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -14px, 0) scale(0.55);
  }
}

@keyframes hero-pixel-pop-bottom {
  0% {
    opacity: 0;
    transform: translate3d(0, -2px, 0) scale(0.7);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.55);
  }
}

.prize-tier-first {
  grid-column: 1 / -1;
  min-height: 245px;
  grid-template-columns: clamp(90px, 9vw, 130px) minmax(0, 1fr) auto;
  background: var(--accent);
  color: var(--accent-ink);
}

.prize-tier-second {
  background: var(--play-panel);
}

.prize-tier-third {
  background: var(--surface);
}

.prize-tier-second .prize-amount,
.prize-tier-third .prize-amount {
  grid-column: 1 / -1;
  justify-self: end;
}

.prize-rank,
.prize-name h3,
.prize-eyebrow,
.prize-amount,
.prize-amount span {
  color: var(--ink);
  text-shadow: none;
}

.prize-tier-first .prize-rank,
.prize-tier-first .prize-name h3,
.prize-tier-first .prize-eyebrow,
.prize-tier-first .prize-amount,
.prize-tier-first .prize-amount span {
  color: var(--accent-ink);
}

.prize-eyebrow {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  letter-spacing: 0;
}

.rules {
  background: var(--bg);
}

.rules-layout {
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
}

.section-heading {
  top: 8rem;
}

.section-heading p {
  max-width: 42ch;
  color: var(--muted);
}

.rule-groups {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

.rule-group {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--shadow-hard);
  padding: clamp(1.3rem, 2.5vw, 2rem);
}

.rule-group:nth-child(1) {
  grid-row: 1 / span 2;
  background: var(--surface);
}

.rule-group:nth-child(2) {
  background: var(--accent-panel);
}

.rule-group:nth-child(3) {
  background: var(--play-soft);
}

.rule-group h3,
.rule-group li,
.rule-group li::before {
  color: var(--ink);
}

.location {
  border: 0;
  background: var(--play-soft);
}

.location-layout {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
}

address {
  color: var(--muted);
}

.map-frame {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 9px 9px 0 var(--shadow-hard);
}

.map-frame::before {
  color: var(--ink);
}

.apply {
  background: var(--bg);
}

.apply-layout {
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
}

.application-form {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--accent-panel);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--shadow-hard);
}

.application-card h3,
.application-card p {
  color: var(--ink);
}

.faq {
  border: 0;
  background: var(--bg);
}

.faq-layout {
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
}

.faq-list {
  overflow: hidden;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--accent);
}

.faq-list details {
  border-bottom: 2px solid var(--frame);
}

.faq-list details[open]:not(.is-closing) {
  background: var(--play-panel);
}

.faq-list summary,
.faq-list summary:hover,
.faq-list details[open]:not(.is-closing) summary,
.faq-answer p {
  color: var(--ink);
}

.faq-list summary:hover {
  background: var(--accent-subtle);
}

.faq-mark,
.faq-list details[open]:not(.is-closing) .faq-mark,
.faq-chevron,
.faq-list details[open]:not(.is-closing) .faq-chevron {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.footer {
  border-top: 2px solid var(--accent);
  background: var(--section);
  color: var(--ink);
  padding-bottom: max(clamp(1.2rem, 3vw, 2.2rem), env(safe-area-inset-bottom));
}

.footer p,
.footer h2,
.footer-heading,
.footer-links a,
.footer-contact a {
  color: var(--ink);
}

.footer-logo {
  color: var(--accent-strong);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.footer-links a:focus-visible,
.footer-contact a:focus-visible,
.footer a.footer-logo:focus-visible {
  color: var(--accent-strong);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.events-main,
.pixel-gallery-section {
  background: var(--bg);
  color: var(--ink);
}

.events-intro {
  background:
    radial-gradient(circle at 18% 24%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 28rem),
    radial-gradient(circle at 84% 72%, color-mix(in oklch, var(--play) 20%, transparent), transparent 30rem),
    var(--play-soft);
}

.events-intro-canvas {
  opacity: 0.42;
  mix-blend-mode: normal;
}

.events-intro-glow {
  background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--bg) 76%, transparent));
  opacity: 0.72;
}

.events-intro-crosshair {
  opacity: 0.08;
}

.events-intro-crosshair::before,
.events-intro-crosshair::after {
  background: var(--ink);
}

.events-orbit--inner {
  border-color: color-mix(in oklch, var(--accent-strong) 64%, transparent);
}

.events-orbit--middle {
  border-color: color-mix(in oklch, var(--ink) 24%, transparent);
}

.events-orbit--outer {
  border-color: color-mix(in oklch, var(--line) 84%, var(--ink));
}

.events-intro-tag {
  border: 2px solid var(--frame);
  background: var(--play-panel);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--shadow-hard);
}

.events-intro h1 {
  color: var(--ink);
  text-shadow: 5px 5px 0 var(--accent-soft);
}

.events-intro-title-logo {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--logo-well);
  box-shadow: 6px 6px 0 var(--accent);
  filter: none;
  padding: 0.75rem;
}

.events-intro-stat {
  border: 2px solid var(--frame);
  background: var(--surface);
  box-shadow: 0 4px 0 var(--shadow-hard);
}

.events-intro-stat:nth-child(1) {
  background: var(--accent-soft);
}

.events-intro-stat:nth-child(2) {
  background: var(--play-panel);
}

.events-intro-stat:nth-child(3) {
  background: var(--surface-soft);
}

.events-intro-stat strong,
.events-intro-stat span,
.pixel-gallery-copy h2,
.pixel-gallery-copy p {
  color: var(--ink);
  text-shadow: none;
}

.pixel-gallery-section {
  padding-top: clamp(5rem, 9vw, 8rem);
}

.pixel-image {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 7px 7px 0 var(--shadow-hard);
}

.pixel-image:hover {
  border-color: var(--frame);
  box-shadow: 10px 10px 0 var(--accent);
  transform: translateY(-4px) rotate(var(--gallery-tilt, -0.35deg));
}

.pixel-image.is-loaded img {
  opacity: 1;
}

.pixel-image.is-loaded canvas {
  opacity: 0;
}

.pixel-image.is-playing img {
  opacity: 0;
}

.pixel-image.is-playing canvas {
  opacity: 1;
}

.pixel-image.is-complete img {
  opacity: 1;
}

.pixel-image.is-complete canvas {
  opacity: 0;
}

.pixel-work:nth-child(even) {
  --gallery-tilt: 0.35deg;
}

.pixel-work figcaption {
  color: var(--accent-strong);
  font-family: var(--font-pixel);
  font-size: 0.62rem;
}

.sponsor-main {
  background:
    radial-gradient(circle at 8% 12%, color-mix(in oklch, var(--accent) 20%, transparent), transparent 22rem),
    radial-gradient(circle at 88% 34%, color-mix(in oklch, var(--play) 18%, transparent), transparent 30rem),
    var(--bg);
}

.sponsor-section {
  gap: clamp(3.4rem, 6vw, 5.5rem);
}

.sponsor-section h1 {
  color: var(--ink);
  letter-spacing: -0.04em;
}

.sponsor-block {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--logo-well);
  box-shadow: 9px 9px 0 var(--accent);
  padding: clamp(2rem, 5vw, 4rem);
}

.sponsor-block h2 {
  color: var(--logo-well-ink);
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.sponsor-logo-image,
.istgdc-logo,
.woblix-logo,
.bilisim-vadisi-logo,
.supporter-42-logo {
  filter: none;
}

.sponsor-contact {
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--shadow-hard);
}

.sponsor-contact::before {
  background: color-mix(in oklch, var(--accent-soft) 88%, transparent);
}

.sponsor-contact-bg {
  background: var(--accent-soft);
}

.sponsor-contact-bg canvas {
  opacity: 0.14;
  filter: saturate(0.65);
  mix-blend-mode: multiply;
}

.sponsor-contact h2,
.sponsor-contact p,
.sponsor-contact a {
  color: var(--ink);
}

.sponsor-contact a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    z-index: calc(var(--z-sticky) - 1);
    inset: 0;
    background: color-mix(in oklch, var(--solid) 24%, transparent);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
  }

  .site-header {
    background: color-mix(in oklch, var(--surface) 94%, transparent);
  }

  .nav {
    max-height: calc(100dvh - 104px - env(safe-area-inset-top));
    overflow-y: auto;
    justify-content: flex-start;
    border: 2px solid var(--frame);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 5px 0 var(--shadow-hard);
    overscroll-behavior: contain;
  }

  .nav a,
  .menu-toggle {
    min-height: 48px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: start;
    gap: clamp(2.5rem, 7vw, 4rem);
    padding-top: clamp(2rem, 8vw, 5rem);
  }

  .hero-copy {
    width: min(100%, 570px);
    margin-bottom: 0;
  }

  .hero-stage {
    width: 100%;
    min-height: 0;
  }

  .hero-cat-cutout {
    width: min(72vw, 420px);
    max-height: none;
    margin-bottom: -0.8rem;
  }

  .schedule-panel {
    width: 100%;
  }

  .about,
  .section-shell {
    width: 100%;
  }

  .about-layout,
  .prize-layout,
  .rules-layout,
  .location-layout,
  .apply-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .prize-lead,
  .section-heading {
    position: static;
    min-height: 0;
  }

  .value-stack {
    margin-top: 2rem;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-header {
    top: max(12px, env(safe-area-inset-top));
    width: calc(100% - 24px);
    min-height: 58px;
    padding: 0.36rem;
    gap: 0.35rem;
  }

  .brand.creepy-brand,
  .creepy-brand__cover,
  .creepy-brand__placeholder {
    min-height: 48px;
  }

  .hero {
    min-height: auto;
    padding: 6.4rem 0.9rem 1.5rem;
  }

  .hero-grid {
    min-height: 0;
    gap: 2.5rem;
    padding-top: 1.5rem;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-sub {
    max-width: 30ch;
    font-size: 1.05rem;
  }

  .hero-cat-cutout {
    width: min(86vw, 350px);
    margin-bottom: -0.55rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li:nth-child(odd),
  .timeline li:nth-child(n + 3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .section-shell {
    padding: 5rem 1rem;
  }

  .about {
    min-height: auto;
  }

  .about-copy h2,
  .section-heading h2,
  .prize-lead h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .value-card,
  .value-card:nth-child(1),
  .value-card:nth-child(2),
  .value-card:nth-child(3),
  .about-card.is-active {
    --card-rotation: 0deg;
  }

  .prize-board {
    grid-template-columns: 1fr;
  }

  .prize-tier,
  .prize-tier-first {
    grid-column: auto;
    min-height: 0;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .prize-tier .prize-amount,
  .prize-tier-first .prize-amount {
    grid-column: 2;
    justify-self: start;
  }

  .rule-groups {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .rule-group:nth-child(1) {
    grid-row: auto;
  }

  .events-intro {
    min-height: 100dvh;
    padding-top: 7rem;
  }

  .events-intro-title-row {
    flex-direction: column;
  }

  .events-intro-title-logo {
    max-width: 220px;
    transform: none;
  }

  .events-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .events-intro-stat {
    min-width: 0;
  }

  .pixel-image,
  .pixel-work--face .pixel-image {
    min-height: 0;
  }

  .sponsor-block {
    padding: 2rem 1.25rem;
  }
}

@media (pointer: coarse) {
  .nav a,
  .button,
  .rg-button,
  .faq-list summary,
  .footer-links a,
  .footer-contact a {
    min-height: 48px;
  }
}

@media (hover: none) {
  .button:hover {
    filter: none;
    transform: none;
  }

  .hero .button:hover {
    box-shadow: 0 4px 0 var(--accent-strong);
  }

  .pixel-image:hover {
    box-shadow: 7px 7px 0 var(--shadow-hard);
    transform: none;
  }
}

@media (forced-colors: active) {
  .site-header::before,
  .site-header::after {
    display: none;
  }

  .nav a[aria-current],
  .nav a.is-nav-active {
    color: LinkText;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.42em;
  }

  .rg-button {
    border: 2px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    text-shadow: none;
  }

  .rg-button::before,
  .rg-bg,
  .rg-shine {
    display: none;
  }
}

/* 2026 redesign: sunlit arcade studio */

:root,
:root[data-theme="light"] {
  color-scheme: light;
  --font-body: "Anybody", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #fff8ef;
  --section: #f4e7d3;
  --surface: #fffcf7;
  --surface-soft: #eaf4ef;
  --surface-raised: #ffffff;
  --ink: #17324a;
  --muted: #4e5b63;
  --line: #d7c9b6;
  --frame: #17324a;
  --shadow-hard: #17324a;
  --accent: #f28167;
  --accent-hover: #f58b70;
  --accent-strong: #a93d2b;
  --accent-soft: #fad5c8;
  --accent-panel: #f4ad91;
  --accent-subtle: #fce9df;
  --accent-ink: #17324a;
  --display-accent: #176d68;
  --play: #3eaa9f;
  --play-strong: #176d68;
  --play-soft: #d9f1e8;
  --play-panel: #bfe3d0;
  --award: #f5c451;
  --support: #d9f1e8;
  --solid: #17324a;
  --solid-ink: #fff8ef;
  --success: #176d68;
  --lavender: #a8d8ea;
  --pink-soft: #fad5c8;
  --focus: #176d68;
  --logo-well: #17324a;
  --logo-well-ink: #fff8ef;
  --accent-glow-2: #f5c451;
  --accent-glow-3: #bfe3d0;
  --accent-glow-4: #2c9d92;
  --events-flat-bg: #fff8ef;
  --events-canvas-bg: #d9f1e8;
  --events-canvas-grid: rgba(23, 50, 74, 0.1);
  --events-canvas-scan: rgba(242, 129, 103, 0.22);
  --events-canvas-scan-soft: rgba(44, 157, 146, 0.18);
  --events-canvas-particle: 23, 109, 104;
  --hero-base: #f9ded0;
  --radius: 14px;
  --radius-sm: 9px;
}

body,
.events-body,
.sponsor-body {
  background: var(--bg);
  font-variation-settings: "wdth" 105;
}

p {
  color: var(--muted);
}

.site-header {
  --nav-surface: color-mix(in oklch, var(--surface) 92%, transparent);
  top: max(14px, env(safe-area-inset-top));
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  border: 1px solid color-mix(in oklch, var(--frame) 64%, transparent);
  border-radius: 18px;
  background: var(--nav-surface);
  box-shadow: 0 5px 0 color-mix(in oklch, var(--shadow-hard) 88%, transparent);
  padding: 0.45rem;
  backdrop-filter: blur(20px) saturate(135%);
}

.site-header::before {
  background: radial-gradient(
    150px circle at var(--nav-spotlight-x) 100%,
    color-mix(in oklch, var(--accent) 42%, transparent),
    transparent 62%
  );
}

.site-header::after {
  height: 3px;
  background: radial-gradient(70px circle at 50% 0%, var(--accent), transparent 100%);
}

.brand.creepy-brand {
  min-height: 44px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--nav-surface);
  box-shadow: 0 3px 0 var(--shadow-hard);
}

.creepy-brand__cover {
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}

.nav a {
  font-weight: 690;
}

.nav a[aria-current],
.nav a.is-nav-active {
  color: var(--accent-strong);
}

.nav-apply {
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

.menu-toggle {
  border-width: 1px;
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--shadow-hard);
}

.hero {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 76% 24%, color-mix(in oklch, var(--award) 42%, transparent) 0 12rem, transparent 24rem),
    radial-gradient(circle at 8% 86%, color-mix(in oklch, var(--play) 18%, transparent), transparent 24rem),
    var(--hero-base);
  padding: 7.5rem 1.25rem 3.5rem;
}

.hero-bg {
  background: transparent;
}

.hero::before {
  content: "48H";
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: -0.18em;
  color: color-mix(in oklch, var(--surface) 28%, transparent);
  font-family: var(--font-pixel);
  font-size: clamp(7rem, 21vw, 19rem);
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  min-height: calc(100dvh - 11rem);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.hero-copy {
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3.4rem, 7.1vw, 5.9rem);
  line-height: 1.03;
  text-shadow: 4px 4px 0 var(--surface);
  transform: rotate(-1deg);
}

.hero h1 span:nth-child(2) {
  color: var(--display-accent);
  transform: translateX(0.22em);
}

.hero-sub {
  max-width: 39ch;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  font-weight: 620;
}

.button {
  min-height: 48px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--shadow-hard);
  font-weight: 760;
}

.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button.ghost {
  background: var(--surface);
  color: var(--ink);
}

.hero .button {
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.hero-stage {
  min-height: calc(100dvh - 11rem);
  justify-content: flex-end;
}

.hero-stage::before {
  top: 2%;
  width: min(78%, 470px);
  border: 0;
  border-radius: 43% 57% 49% 51% / 54% 44% 56% 46%;
  background: var(--award);
  box-shadow: 14px 14px 0 color-mix(in oklch, var(--play) 70%, transparent);
  transform: translateX(-50%) rotate(4deg);
}

.hero-cat-cutout {
  width: min(78%, 470px);
  max-height: min(55dvh, 540px);
  margin-bottom: -1.8rem;
  filter: drop-shadow(0 22px 12px color-mix(in oklch, var(--shadow-hard) 22%, transparent));
}

.schedule-panel {
  width: min(108%, 720px);
  margin-right: -7%;
  border: 1px solid var(--frame);
  border-radius: 15px;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  box-shadow: 8px 8px 0 var(--play);
}

.panel-head {
  border-bottom: 1px solid var(--frame);
  background: var(--play);
  color: var(--accent-ink);
}

.panel-head span,
.panel-head strong {
  color: var(--accent-ink);
}

.timeline li {
  border-color: color-mix(in oklch, var(--ink) 14%, transparent);
}

.timeline li:hover {
  background: var(--accent-subtle);
}

.timeline-index {
  color: var(--accent-strong);
}

.section-shell {
  padding-block: clamp(6.5rem, 11vw, 11rem);
}

.about {
  min-height: 110dvh;
  background:
    radial-gradient(circle at 0 20%, color-mix(in oklch, var(--play-panel) 46%, transparent), transparent 28rem),
    var(--bg);
}

.about-layout {
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy h2,
.section-heading h2,
.prize-lead h2 {
  font-size: clamp(2.6rem, 5.3vw, 5.4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.about-copy h2 {
  max-width: 11ch;
}

.about-copy p:not(.section-kicker),
.section-heading p,
.prize-lead p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-cat-visual {
  width: min(112%, 490px);
  margin: 1.5rem 0 -4rem -2rem;
}

.value-stack {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.value-card {
  min-height: clamp(190px, 19vw, 250px);
  border: 1px solid var(--frame);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--shadow-hard);
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.value-card:nth-child(1) {
  --card-fill: var(--accent-panel);
  --card-rotation: -1.5deg;
}

.value-card:nth-child(2) {
  --card-fill: var(--play-panel);
  --card-rotation: 1.2deg;
  margin-left: clamp(0rem, 5vw, 4rem);
}

.value-card:nth-child(3) {
  --card-fill: color-mix(in oklch, var(--award) 74%, var(--surface));
  --card-rotation: -0.8deg;
  margin-right: clamp(0rem, 4vw, 3rem);
}

.value-card h3 {
  max-width: 23ch;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
}

.prizes {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 80%, color-mix(in oklch, var(--award) 26%, transparent), transparent 30rem),
    #176d68;
}

.prize-lead,
.prize-lead h2,
.prize-lead p,
.prizes .section-kicker {
  color: #fff8ef;
}

.prize-layout {
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
}

.prize-board {
  gap: 1.1rem;
}

.prize-tier {
  min-height: 220px;
  border: 1px solid #17324a;
  border-radius: 14px;
  box-shadow: 8px 8px 0 #0d4647;
}

.prize-tier-first {
  background: #f5c451;
  color: #17324a;
}

.prize-tier-second {
  background: #f28167;
}

.prize-tier-third {
  background: #fff8ef;
}

.prize-tier-first .prize-rank,
.prize-tier-first .prize-name h3,
.prize-tier-first .prize-eyebrow,
.prize-tier-first .prize-amount,
.prize-tier-first .prize-amount span,
.prize-tier-second .prize-rank,
.prize-tier-second .prize-name h3,
.prize-tier-second .prize-eyebrow,
.prize-tier-second .prize-amount,
.prize-tier-second .prize-amount span,
.prize-tier-third .prize-rank,
.prize-tier-third .prize-name h3,
.prize-tier-third .prize-eyebrow,
.prize-tier-third .prize-amount,
.prize-tier-third .prize-amount span {
  color: #17324a;
}

.rules {
  background:
    radial-gradient(circle at 96% 12%, color-mix(in oklch, var(--award) 28%, transparent), transparent 25rem),
    var(--bg);
}

.rules-layout {
  gap: clamp(3rem, 7vw, 7rem);
}

.rule-groups {
  gap: 1.2rem;
}

.rule-group {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--frame);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--shadow-hard);
}

.rule-group:nth-child(1) {
  background: var(--surface);
}

.rule-group:nth-child(2) {
  background: var(--play-panel);
}

.rule-group:nth-child(3) {
  background: color-mix(in oklch, var(--award) 72%, var(--surface));
}

.rule-group::after {
  position: absolute;
  right: 0.18em;
  bottom: -0.28em;
  color: color-mix(in oklch, var(--ink) 8%, transparent);
  font-family: var(--font-pixel);
  font-size: clamp(4rem, 8vw, 8rem);
  pointer-events: none;
}

.rule-group:nth-child(1)::after {
  content: "01";
}

.rule-group:nth-child(2)::after {
  content: "02";
}

.rule-group:nth-child(3)::after {
  content: "03";
}

.rule-group > * {
  position: relative;
  z-index: 1;
}

.location {
  background:
    radial-gradient(circle at 10% 80%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 24rem),
    color-mix(in oklch, var(--lavender) 72%, var(--bg));
}

.location .section-heading h2 {
  max-width: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--frame);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--shadow-hard);
  transform: rotate(0.6deg);
}

.apply {
  background:
    radial-gradient(circle at 88% 20%, color-mix(in oklch, var(--award) 34%, transparent), transparent 25rem),
    var(--accent);
}

.apply .section-heading h2,
.apply .section-heading p {
  color: #17324a;
}

.application-form {
  border: 1px solid #17324a;
  border-radius: 14px;
  background: #fff8ef;
  color: #17324a;
  box-shadow: 10px 10px 0 #17324a;
}

.application-card h3,
.application-card p {
  color: #17324a;
}

.rg-button {
  --rg-color-1: #17324a;
  --rg-color-2: #176d68;
  --rg-color-3: #2c9d92;
  --rg-color-4: #17324a;
  --rg-color-5: #17324a;
  --rg-border-color-1: rgba(255, 248, 239, 0.72);
  --rg-border-color-2: rgba(245, 196, 81, 0.48);
  color: #fff8ef;
}

.rg-button:hover,
.rg-button:focus-visible {
  --rg-color-1: #f5c451;
  --rg-color-2: #f28167;
  --rg-color-3: #bfe3d0;
  --rg-color-4: #f5c451;
  --rg-color-5: #f5c451;
  color: #17324a;
}

.faq {
  background:
    radial-gradient(circle at 12% 12%, color-mix(in oklch, var(--play-panel) 40%, transparent), transparent 27rem),
    var(--bg);
}

.faq-list {
  border: 1px solid var(--frame);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--play);
}

.faq-list details {
  border-bottom: 1px solid var(--frame);
}

.faq-list details[open]:not(.is-closing) {
  background: var(--play-panel);
}

.faq-list summary:hover {
  background: var(--accent-subtle);
}

.footer {
  border-top: 0;
  background: var(--solid);
  color: var(--solid-ink);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer p,
.footer h2,
.footer-heading,
.footer-links a,
.footer-contact a {
  color: var(--solid-ink);
}

.footer-logo,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--award);
}

.events-main,
.pixel-gallery-section,
.sponsor-main {
  background: var(--bg);
}

.events-intro {
  background:
    radial-gradient(circle at 78% 24%, color-mix(in oklch, var(--award) 44%, transparent), transparent 25rem),
    radial-gradient(circle at 8% 82%, color-mix(in oklch, var(--accent) 22%, transparent), transparent 25rem),
    var(--play-soft);
}

.events-intro-tag,
.events-intro-stat:nth-child(1) {
  background: var(--accent-panel);
}

.events-intro-stat:nth-child(2) {
  background: var(--play-panel);
}

.events-intro-stat:nth-child(3) {
  background: color-mix(in oklch, var(--award) 76%, var(--surface));
}

.events-intro-stat {
  border: 1px solid var(--frame);
  box-shadow: 5px 5px 0 var(--shadow-hard);
}

.pixel-image {
  border: 1px solid var(--frame);
  border-radius: 14px;
  box-shadow: 7px 7px 0 var(--shadow-hard);
}

.sponsor-section {
  background:
    radial-gradient(circle at 88% 8%, color-mix(in oklch, var(--award) 30%, transparent), transparent 25rem),
    var(--bg);
}

.sponsor-block {
  border: 1px solid var(--frame);
  border-radius: 14px;
  background: var(--solid);
  box-shadow: 9px 9px 0 var(--play);
}

.sponsor-contact {
  border: 1px solid var(--frame);
  border-radius: 14px;
  background: var(--play-panel);
  box-shadow: 9px 9px 0 var(--shadow-hard);
}

.sponsor-contact::before,
.sponsor-contact-bg {
  background: var(--play-panel);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: 0;
  }

  .schedule-panel {
    width: 100%;
    margin-right: 0;
  }

  .about {
    min-height: auto;
  }

  .about-layout,
  .prize-layout,
  .rules-layout,
  .location-layout,
  .apply-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .about-cat-visual {
    width: min(100%, 460px);
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 20px);
    border-radius: 15px;
  }

  .hero {
    padding: 6.5rem 0.9rem 2rem;
  }

  .hero::before {
    bottom: 0.04em;
    font-size: 30vw;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero h1 span:nth-child(2) {
    transform: translateX(0.12em);
  }

  .hero-cat-cutout {
    width: min(90vw, 370px);
    margin-bottom: -0.8rem;
  }

  .hero-stage::before {
    width: min(85vw, 380px);
  }

  .section-shell {
    padding-block: 5.5rem;
  }

  .about-copy h2,
  .section-heading h2,
  .prize-lead h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .about-cat-visual {
    margin-bottom: -2rem;
  }

  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    margin-inline: 0;
  }

  .value-card,
  .value-card:nth-child(1),
  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    --card-rotation: 0deg;
  }

  .map-frame {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .map-frame {
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero::before,
  .rule-group::after {
    display: none;
  }
}

/* Template-led entrance hero */

.hero {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 16% 18%, color-mix(in oklch, var(--award) 22%, transparent), transparent 24rem),
    radial-gradient(circle at 88% 82%, color-mix(in oklch, var(--play-panel) 30%, transparent), transparent 28rem),
    var(--hero-base);
  padding: 7.25rem 1.25rem 3rem;
}

.hero::before {
  display: none;
}

.template-hero {
  position: relative;
  z-index: var(--z-raised);
  display: grid;
  width: min(1180px, 100%);
  min-height: calc(100dvh - 10.25rem);
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  margin: 0 auto;
}

.template-poster-column {
  width: min(100%, 430px);
  justify-self: center;
}

.template-poster-shell {
  width: 100%;
}

.template-poster {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid var(--frame);
  border-radius: 13px;
  background: var(--solid);
  box-shadow: 10px 10px 0 color-mix(in oklch, var(--shadow-hard) 90%, transparent);
  transform: rotate(-0.45deg);
}

.template-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-poster-copy {
  max-width: 35ch;
  margin: 1.25rem 0 1rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 570;
  line-height: 1.48;
}

.template-poster-copy strong {
  display: block;
  color: var(--ink);
  font-weight: 760;
}

.template-poster-cta {
  width: fit-content;
}

.template-poster-cta--mobile {
  display: none;
}

.template-hero-content {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: clamp(1.35rem, 2.7vw, 2.3rem);
  text-align: center;
}

.template-hero-content h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 4.4vw, 4.25rem);
  line-height: 1.08;
  text-shadow: 4px 4px 0 var(--surface);
  white-space: nowrap;
}

.template-attendance {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  border: 1px solid var(--frame);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  background: var(--solid);
  color: var(--solid-ink);
  box-shadow: none;
  padding: 0.75rem 1rem;
}

.template-attendance .template-attendance-icon {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.template-attendance-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.template-attendance strong {
  font-size: 1rem;
  font-weight: 720;
}

.template-countdown {
  display: grid;
  width: min(100%, 640px);
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.25rem);
  border: 1px solid var(--frame);
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface) 96%, transparent);
  box-shadow: 7px 7px 0 var(--shadow-hard);
  padding: clamp(1.25rem, 2.7vw, 2rem);
  text-align: left;
}

.template-countdown-icon {
  position: relative;
  display: block;
  width: clamp(3.5rem, 6vw, 5rem);
  aspect-ratio: 1;
  border: 7px solid var(--play);
  border-radius: 50%;
}

.template-countdown-icon::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 42%;
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: var(--play);
  transform: translateX(-50%);
}

.template-countdown-icon::after {
  content: "";
  position: absolute;
  top: 19%;
  left: 50%;
  width: 3px;
  height: 34%;
  background: var(--play-strong);
  box-shadow: 9px 17px 0 -1px var(--play-strong);
  transform: translateX(-50%) rotate(-4deg);
  transform-origin: 50% 100%;
}

.template-countdown h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: clamp(0.8rem, 1.3vw, 1.05rem);
  line-height: 1.35;
  text-transform: uppercase;
}

.template-countdown-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.6vw, 1.25rem);
}

.template-countdown-values span {
  display: grid;
  gap: 0.25rem;
}

.template-countdown-values strong {
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2.1vw, 1.65rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.template-countdown-values small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 680;
}

.template-prizes {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.template-prize {
  display: grid;
  min-height: 168px;
  align-content: center;
  justify-items: center;
  gap: 0.5rem;
  border: 1px solid #17324a;
  border-radius: 15px;
  background: #fff8ef;
  color: #17324a;
  box-shadow: 6px 6px 0 color-mix(in oklch, var(--shadow-hard) 82%, transparent);
  padding: 1.15rem 0.8rem;
}

.template-prize--second {
  border-color: #176d68;
  background: #d9f1e8;
}

.template-prize--first {
  min-height: 198px;
  border-color: #a86e00;
  background: #f5c451;
  transform: translateY(-1.4rem);
}

.template-prize--third {
  border-color: #2d6f91;
  background: #e0f0f6;
}

.template-medal {
  display: grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #17324a;
  color: #fff8ef;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
}

.template-prize--first .template-medal {
  background: #a93d2b;
}

.template-prize strong {
  color: #17324a;
  font-family: var(--font-pixel);
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.template-prize small {
  color: #17324a;
  font-size: clamp(0.78rem, 1.15vw, 0.98rem);
  font-weight: 650;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .template-hero {
    min-height: 0;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }

  .template-hero-content {
    padding-top: 1rem;
  }

  .template-prizes {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .template-prize,
  .template-prize--first {
    min-height: 112px;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    justify-items: start;
    text-align: left;
  }

  .template-prize--first {
    transform: none;
  }

  .template-prize small {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 6.4rem 1rem 4rem;
  }

  .template-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .template-hero-content {
    order: -1;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .template-hero-content h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    text-shadow: 3px 3px 0 var(--surface);
  }

  .template-countdown {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .template-countdown-icon {
    width: 3.5rem;
  }

  .template-countdown-values {
    gap: 0.65rem;
  }

  .template-countdown-values strong {
    font-size: clamp(0.9rem, 5vw, 1.3rem);
  }

  .template-poster-column {
    width: min(100%, 410px);
  }
}

@media (max-width: 420px) {
  .template-countdown-values small {
    font-size: 0.66rem;
  }

  .template-prize strong {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .template-poster,
  .template-prize--first {
    transform: none;
  }
}

/* Emil Kowalski-inspired system pass: calm surfaces, fast feedback, clear hierarchy */
@media not all {

:root,
:root[data-theme="light"] {
  --bg: #f7f6f2;
  --section: #f0eee8;
  --surface: #ffffff;
  --surface-soft: #f3f1ec;
  --surface-raised: #ffffff;
  --ink: #162d3d;
  --muted: #5f6f78;
  --line: #ddd9d1;
  --frame: #162d3d;
  --shadow-hard: #162d3d;
  --accent: #e96f55;
  --accent-hover: #d95d45;
  --accent-strong: #a6402d;
  --accent-soft: #f9e7e1;
  --accent-panel: #f9e7e1;
  --accent-subtle: #fcf1ed;
  --accent-ink: #162d3d;
  --display-accent: #2e756f;
  --play: #4b958d;
  --play-strong: #2e756f;
  --play-soft: #e3efec;
  --play-panel: #e3efec;
  --award: #e7bf5a;
  --award-soft: #fbf3d7;
  --solid: #162d3d;
  --solid-ink: #f7f6f2;
  --focus: #2e756f;
  --hero-base: #f7f6f2;
  --logo-well: #162d3d;
  --logo-well-ink: #f7f6f2;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

body,
.events-body,
.sponsor-body {
  background: var(--bg);
  color: var(--ink);
  font-variation-settings: "wdth" 100;
}

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

.section-shell {
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
}

.about-copy h2,
.section-heading h2,
.prize-lead h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.site-header {
  --nav-surface: color-mix(in oklch, var(--surface) 94%, transparent);
  width: min(1100px, calc(100% - 28px));
  min-height: 58px;
  border: 1px solid color-mix(in oklch, var(--line) 82%, var(--frame));
  border-radius: 14px;
  background: var(--nav-surface);
  box-shadow: 0 1px 0 color-mix(in oklch, var(--ink) 10%, transparent);
  padding: 0.38rem;
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header::before {
  opacity: 0.45;
}

.site-header::after {
  height: 2px;
  background: radial-gradient(56px circle at 50% 0%, var(--accent), transparent 100%);
}

.brand.creepy-brand {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft);
  box-shadow: none;
}

.creepy-brand__cover {
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
}

.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav a[aria-current],
.nav a.is-nav-active {
  color: var(--ink);
}

.nav-apply {
  background: var(--accent);
  color: var(--accent-ink);
}

.button,
.menu-toggle {
  transition:
    transform 140ms var(--ease-out),
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button.ghost {
  background: var(--surface);
  color: var(--ink);
}

.button:hover,
.button:focus-visible,
.hero .button:hover,
.hero .button:focus-visible {
  border-color: var(--line);
  box-shadow: none;
  filter: none;
  transform: none;
}

.button:active,
.menu-toggle:active,
.rg-button:active {
  box-shadow: none;
  transform: scale(0.97);
}

.hero {
  min-height: 100dvh;
  background: var(--hero-base);
  padding-top: 7rem;
}

.template-hero {
  width: min(1120px, 100%);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.template-poster-column {
  width: min(100%, 390px);
}

.template-poster {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
  transform: none;
}

.template-poster-copy {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.template-poster-copy strong {
  color: var(--ink);
}

.template-hero-content {
  gap: clamp(1.2rem, 2.4vw, 1.9rem);
}

.template-hero-content h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 4vw, 3.85rem);
  letter-spacing: 0;
  text-shadow: none;
}

.template-attendance {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--play-soft);
  color: var(--ink);
  box-shadow: none;
  padding: 0.6rem 1rem;
}

.template-attendance span {
  color: var(--play-strong);
}

.template-countdown {
  width: min(100%, 610px);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  padding: clamp(1.15rem, 2.4vw, 1.7rem);
}

.template-countdown-icon {
  width: clamp(3.2rem, 5.5vw, 4.4rem);
  border-width: 5px;
}

.template-countdown h2 {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: clamp(0.72rem, 1.15vw, 0.9rem);
}

.template-countdown-values strong {
  font-size: clamp(0.95rem, 1.8vw, 1.45rem);
}

.template-prizes {
  max-width: 700px;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.template-prize,
.template-prize--second,
.template-prize--third {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.template-prize--first {
  min-height: 168px;
  border-color: color-mix(in oklch, var(--award) 60%, var(--line));
  background: var(--award-soft);
  box-shadow: none;
  transform: translateY(-0.55rem);
}

.template-medal,
.template-prize--first .template-medal {
  background: var(--ink);
  color: var(--bg);
}

.template-prize strong,
.template-prize small {
  color: var(--ink);
}

.about {
  min-height: auto;
  background: var(--bg);
}

.about-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.about-copy {
  min-height: 0;
}

.about-cat-visual {
  width: min(100%, 420px);
  margin: 1.5rem 0 -2rem;
}

.value-stack {
  gap: 0;
}

.value-card,
.value-card:nth-child(1),
.value-card:nth-child(2),
.value-card:nth-child(3),
.about-card,
.about-card.is-active {
  min-height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  padding: clamp(1.7rem, 3.4vw, 2.7rem) 0;
  transform: none;
}

.value-card:last-child {
  border-bottom: 1px solid var(--line);
}

.value-card:hover,
.about-card.is-active:hover {
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.value-card span {
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 720;
}

.value-card h3 {
  max-width: 27ch;
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 720;
  line-height: 1.2;
}

.prizes {
  background: var(--section);
}

.prize-lead,
.prize-lead h2,
.prize-lead p,
.prizes .section-kicker {
  color: var(--ink);
}

.prize-board {
  gap: 0.8rem;
}

.prize-tier,
.prize-tier-first,
.prize-tier-second,
.prize-tier-third {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.prize-tier-first {
  background: var(--accent-soft);
}

.prize-tier-second {
  background: var(--play-soft);
}

.prize-tier::before {
  display: none;
}

.prize-tier-first .prize-rank,
.prize-tier-first .prize-name h3,
.prize-tier-first .prize-eyebrow,
.prize-tier-first .prize-amount,
.prize-tier-first .prize-amount span,
.prize-tier .prize-rank,
.prize-tier .prize-name h3,
.prize-tier .prize-eyebrow,
.prize-tier .prize-amount,
.prize-tier .prize-amount span {
  color: var(--ink);
}

.rules {
  background: var(--bg);
}

.rule-groups {
  gap: 0.8rem;
}

.rule-group,
.rule-group:nth-child(1),
.rule-group:nth-child(2),
.rule-group:nth-child(3) {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  padding: clamp(1.4rem, 2.5vw, 2rem);
}

.rule-group::after {
  display: none;
}

.rule-group h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.rule-group li {
  color: var(--muted);
}

.location {
  background: var(--section);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  transform: none;
}

.apply {
  background: var(--bg);
}

.apply .section-heading h2 {
  color: var(--ink);
}

.apply .section-heading p {
  color: var(--muted);
}

.application-form {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.application-card h3 {
  color: var(--ink);
}

.application-card p {
  color: var(--muted);
}

.faq {
  background: var(--section);
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color 160ms ease;
}

.faq-list details[open]:not(.is-closing) {
  background: var(--surface-soft);
}

.faq-list summary {
  color: var(--ink);
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.faq-list summary:hover {
  background: transparent;
}

.faq-mark,
.faq-chevron {
  color: var(--muted);
  border-color: var(--muted);
  transition:
    transform 180ms var(--ease-out),
    color 160ms ease,
    border-color 160ms ease;
}

.faq-list details[open]:not(.is-closing) .faq-mark,
.faq-list details[open]:not(.is-closing) .faq-chevron {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.faq-answer {
  transition:
    grid-template-rows 220ms var(--ease-out),
    opacity 160ms ease;
}

.faq-answer p {
  color: var(--muted);
  transition: transform 220ms var(--ease-out);
}

.footer {
  background: var(--solid);
  color: var(--solid-ink);
}

.footer p,
.footer h2,
.footer-heading,
.footer-links a,
.footer-contact a {
  color: color-mix(in oklch, var(--solid-ink) 76%, transparent);
}

.footer-logo {
  color: var(--solid-ink);
}

.events-main,
.pixel-gallery-section,
.sponsor-main,
.sponsor-section {
  background: var(--bg);
}

.events-intro {
  background: var(--section);
}

.events-intro-glow {
  opacity: 0.28;
}

.events-intro-orbits,
.events-intro-crosshair {
  opacity: 0.18;
}

.events-intro-tag,
.events-intro-stat,
.events-intro-stat:nth-child(1),
.events-intro-stat:nth-child(2),
.events-intro-stat:nth-child(3) {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: none;
}

.pixel-image {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.pixel-image:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.sponsor-section {
  background: var(--bg);
}

.sponsor-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--solid);
  box-shadow: none;
}

.sponsor-contact {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}

.sponsor-contact::before,
.sponsor-contact-bg {
  background: var(--surface);
}

.sponsor-contact h2 {
  color: var(--ink);
}

.sponsor-contact p,
.sponsor-contact a {
  color: var(--muted);
}

.motion-ready [data-reveal] {
  transform: translateY(8px);
  transition:
    opacity 280ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 280ms var(--ease-out) var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .nav a:not(.nav-apply):hover {
    background: var(--surface-soft);
    color: var(--ink);
  }

  .nav a.nav-apply:hover,
  .button.primary:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: var(--accent-ink);
  }

  .button.ghost:hover,
  .menu-toggle:hover {
    border-color: color-mix(in oklch, var(--line) 62%, var(--ink));
    background: var(--surface-soft);
    color: var(--ink);
  }

  .faq-list summary:hover {
    background: var(--surface-soft);
  }

  .footer-links a:hover,
  .footer-contact a:hover {
    color: var(--solid-ink);
  }
}

@media (max-width: 980px) {
  .site-header {
    background: color-mix(in oklch, var(--surface) 97%, transparent);
  }

  .nav {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: none;
    transform-origin: top right;
  }

  .template-hero {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  }

  .about-layout,
  .prize-layout,
  .rules-layout,
  .location-layout,
  .apply-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-copy,
  .prize-lead,
  .section-heading {
    position: static;
    min-height: 0;
  }

  .value-stack {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 20px);
    border-radius: 12px;
  }

  .template-hero {
    grid-template-columns: 1fr;
  }

  .template-hero-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.05rem);
  }

  .template-prize,
  .template-prize--first,
  .template-prize--second,
  .template-prize--third {
    min-height: 104px;
  }

  .about-copy h2,
  .section-heading h2,
  .prize-lead h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .about-cat-visual {
    width: min(100%, 360px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal],
  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 160ms ease;
  }
}
}

/* Larger poster and straight typography */

.template-hero {
  width: min(1380px, 100%);
  grid-template-columns: minmax(440px, 645px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.template-poster-column {
  width: min(100%, 452px);
}

.template-hero-content {
  padding-top: 0;
}

.template-poster-cta {
  width: fit-content;
  min-height: 60px;
  padding-inline: 1.625rem;
  font-size: 1.25rem;
}

.template-poster,
.hero h1,
.template-hero-content h1,
.value-card,
.about-card,
.about-card.is-active,
.map-frame {
  transform: none;
}

.creepy-brand:hover .creepy-brand__cover,
.creepy-brand:focus-visible .creepy-brand__cover {
  transform: translateY(-72%);
}

@media (max-width: 1200px) {
  .template-hero {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4vw, 3rem);
  }

  .template-poster-column {
    width: min(100%, 392px);
  }
}

@media (max-width: 980px) {
  .template-hero {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  }

  .template-poster-column {
    width: min(100%, 364px);
  }
}

@media (max-width: 700px) {
  .template-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-poster-column {
    width: min(100%, 364px);
  }
}

/* Countdown dial */

.countdown-dial {
  --dial-progress: 0deg;
  --dial-hour-angle: 0deg;
  --dial-second-angle: 0deg;
  --dial-minute-angle: 0deg;
  position: relative;
  display: grid;
  width: clamp(4.75rem, 7vw, 6.25rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--frame);
  border-radius: 50%;
  background:
    conic-gradient(
      from -90deg,
      var(--accent) 0 var(--dial-progress),
      color-mix(in oklch, var(--play) 24%, var(--surface)) var(--dial-progress) 360deg
    );
  box-shadow:
    4px 4px 0 var(--shadow-hard),
    inset 0 0 0 1px color-mix(in oklch, white 46%, transparent);
}

.countdown-dial::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid color-mix(in oklch, var(--play) 55%, transparent);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: countdown-dial-pulse 2s var(--ease) infinite;
}

.countdown-dial__face {
  position: relative;
  display: block;
  width: calc(100% - 14px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklch, var(--frame) 36%, var(--line));
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from -90deg,
      color-mix(in oklch, var(--ink) 54%, transparent) 0 1.5deg,
      transparent 1.5deg 30deg
    ),
    var(--surface);
  box-shadow: inset 0 0 0 7px var(--surface);
}

.countdown-dial__hand {
  position: absolute;
  z-index: 1;
  bottom: 50%;
  left: 50%;
  display: block;
  border-radius: 999px;
  transform-origin: 50% 100%;
  transition: transform 720ms linear;
}

.countdown-dial__hand--minute {
  width: 4px;
  height: 28%;
  background: var(--play-strong);
  transform: translateX(-50%) rotate(var(--dial-minute-angle));
}

.countdown-dial__hand--hour {
  width: 5px;
  height: 20%;
  background: var(--ink);
  transform: translateX(-50%) rotate(var(--dial-hour-angle));
}

.countdown-dial__hand--second {
  width: 2px;
  height: 38%;
  background: var(--accent-strong);
  transform: translateX(-50%) rotate(var(--dial-second-angle));
}

.countdown-dial__hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 11px;
  aspect-ratio: 1;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--frame);
  transform: translate(-50%, -50%);
}

@keyframes countdown-dial-pulse {
  0% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@media (max-width: 700px) {
  .countdown-dial {
    width: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-dial::after {
    animation: none;
  }

  .countdown-dial__hand {
    transition: none;
  }
}

/* 42 Berlin-inspired ordered about cards */

.about.section-shell {
  width: 100%;
  min-height: 0;
  padding: 0;
}

.about-layout {
  display: grid;
  width: var(--shell);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  margin: 0 auto;
  padding: var(--pad-y) 0;
}

.about-copy {
  position: static;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  grid-template-rows: auto auto;
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: 0;
}

.about-copy h2 {
  grid-column: 1;
  max-width: 13ch;
  margin: 0 0 1.25rem;
}

.about-copy p:not(.section-kicker) {
  grid-column: 1;
  max-width: 46ch;
  margin: 0;
}

.about-cat-visual {
  width: min(100%, 430px);
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 auto;
}

.value-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
  padding: 0;
}

.value-card.about-card,
.value-card.about-card.is-active {
  --about-card-accent: var(--accent);
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(270px, 25vw, 340px);
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px color-mix(in oklch, black 2%, transparent);
  padding: clamp(1.4rem, 2.8vw, 2.2rem);
  opacity: 1;
  transform: none;
  transition:
    transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card.about-card:nth-child(2) {
  --about-card-accent: var(--play);
}

.value-card.about-card:nth-child(3) {
  --about-card-accent: var(--award);
}

.value-card.about-card::before {
  content: attr(data-step);
  display: grid;
  width: 3.25rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in oklch, var(--about-card-accent) 26%, var(--surface));
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card.about-card span {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  color: color-mix(in oklch, var(--about-card-accent) 72%, var(--ink));
  font-family: var(--font-pixel);
  font-size: 0.68rem;
  line-height: 1.5;
}

.value-card.about-card h3 {
  max-width: 25ch;
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  font-weight: 760;
  line-height: 1.22;
  text-wrap: balance;
}

.motion-ready .value-card.about-card[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ready .value-card.about-card[data-reveal].is-visible {
  animation: about-card-enter 560ms var(--ease) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes about-card-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .value-card.about-card:hover,
  .motion-ready .value-card.about-card[data-reveal].is-visible:hover {
    box-shadow:
      0 20px 40px color-mix(in oklch, black 6%, transparent),
      inset 0 0 0 1px var(--about-card-accent);
    transform: translateY(-6px);
  }

  .value-card.about-card:hover::before {
    transform: scale(1.05);
  }
}

@media (max-width: 900px) {
  .about-copy {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
    column-gap: 2rem;
  }

  .value-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-card.about-card,
  .value-card.about-card.is-active {
    min-height: 240px;
  }

  .value-card.about-card span {
    margin-top: 2.5rem;
  }
}

@media (max-width: 700px) {
  .about-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .about-copy h2,
  .about-copy p:not(.section-kicker),
  .about-cat-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .about-cat-visual {
    width: min(100%, 360px);
    margin-top: 2rem;
  }

  .value-card.about-card,
  .value-card.about-card.is-active {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .value-card.about-card[data-reveal],
  .motion-ready .value-card.about-card[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* 42 Berlin about-us values scroll focus */

.about.section-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 150dvh;
  margin-inline: auto;
  background: var(--bg);
}

.about-layout {
  width: 100%;
  grid-template-columns: minmax(290px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 9rem);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 7rem;
  display: block;
  min-height: calc(100dvh - 10rem);
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.about-copy h2,
.about-copy p:not(.section-kicker),
.about-cat-visual {
  display: block;
  max-width: 100%;
}

.about-copy h2 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
}

.about-copy p:not(.section-kicker) {
  max-width: 38ch;
}

.about-cat-visual {
  width: min(100%, 410px);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.value-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(6rem, 11vw, 10rem);
  border-left: 1px solid var(--line);
  padding: clamp(5rem, 9vw, 8rem) 0.75rem clamp(8rem, 14vw, 13rem) clamp(2.5rem, 7vw, 6rem);
}

.value-card.about-card,
.value-card.about-card.is-active,
.value-card.about-card.is-focused {
  --about-card-bg: color-mix(in oklch, var(--accent) 8%, var(--surface));
  position: relative;
  display: flex;
  min-height: clamp(230px, 24vw, 310px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid var(--frame);
  border-radius: 14px;
  background: var(--about-card-bg);
  box-shadow: 7px 7px 0 var(--shadow-hard);
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  opacity: 1;
  transform: none;
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card.about-card:nth-child(2) {
  --about-card-bg: color-mix(in oklch, var(--play) 9%, var(--surface));
}

.value-card.about-card:nth-child(3) {
  --about-card-bg: color-mix(in oklch, var(--award) 12%, var(--surface));
}

.motion-ready .value-card.about-card {
  opacity: 0.3;
  transform: translateX(40px) scale(0.95);
}

.motion-ready .value-card.about-card.is-focused {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.value-card.about-card::before {
  content: attr(data-step);
  display: inline-grid;
  width: auto;
  min-width: 3rem;
  height: auto;
  aspect-ratio: auto;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--about-card-accent) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in oklch, var(--about-card-accent) 8%, var(--surface));
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  font-size: 0.62rem;
  transition: none;
}

.value-card.about-card span {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  color: color-mix(in oklch, var(--about-card-accent) 70%, var(--ink));
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
}

.value-card.about-card h3 {
  max-width: 42ch;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 650;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (hover: hover) and (pointer: fine) {
  .value-card.about-card:hover,
  .motion-ready .value-card.about-card[data-reveal].is-visible:hover {
    box-shadow: 9px 9px 0 var(--shadow-hard);
  }

  .value-card.about-card:hover::before {
    transform: none;
  }
}

@media (max-width: 800px) {
  .about.section-shell {
    min-height: 0;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .about-copy {
    position: static;
    display: grid;
    min-height: 0;
    padding: 0;
  }

  .about-cat-visual {
    width: min(100%, 360px);
    margin-top: 2rem;
  }

  .value-stack {
    gap: 4rem;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 4rem 0 2rem;
  }

  .value-card.about-card,
  .value-card.about-card.is-active,
  .value-card.about-card.is-focused {
    min-height: 220px;
  }

  .motion-ready .value-card.about-card {
    transform: translateY(28px) scale(0.97);
  }

  .motion-ready .value-card.about-card.is-focused {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .value-card.about-card,
  .motion-ready .value-card.about-card.is-focused {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Keep the prize section in sync with the podium shown in the opening screen. */

.prizes .prize-layout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(3rem, 6vw, 5rem);
}

.prizes .prize-lead {
  position: static;
  top: auto;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.prizes .prize-lead h2,
.prizes .prize-lead p {
  margin-inline: auto;
}

.prizes .prize-board.prize-showcase {
  width: 100%;
  max-width: 860px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  border: 0;
  margin: 0 auto;
}

.prizes .prize-showcase .template-prize {
  width: 100%;
}

@media (max-width: 980px) {
  .prizes .prize-board.prize-showcase {
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .prizes .prize-showcase .template-prize,
  .prizes .prize-showcase .template-prize--first {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .prizes .prize-showcase .template-prize small {
    grid-column: auto;
  }
}

/* Content-driven type and card adaptation */

.template-countdown,
.template-prize,
.value-card.about-card,
.rule-group,
.application-card,
.faq-list details {
  min-width: 0;
}

.template-prize small,
.value-card.about-card h3,
.rule-group h3,
.rule-group li,
.application-card h3,
.application-card p,
.faq-list summary,
.faq-answer p {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 1320px) {
  .template-hero {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 3.5vw, 3.25rem);
  }

  .template-poster-column {
    width: min(100%, 392px);
  }

  .template-hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 4.2vw, 3.55rem);
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
  }

  .template-prizes {
    max-width: 100%;
  }

  .template-prize strong {
    max-width: 100%;
    font-size: clamp(1rem, 1.7vw, 1.5rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .template-hero {
    width: min(760px, 100%);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 8vw, 4.5rem);
  }

  .template-hero-content {
    order: 0;
    width: 100%;
    padding-top: 0;
  }

  .template-poster-column {
    order: -1;
    width: min(100%, 392px);
  }

  .template-hero-content h1 {
    font-size: clamp(2.35rem, 8.5vw, 4rem);
  }

  .template-prize--first {
    order: 1;
  }

  .template-prize--second {
    order: 2;
  }

  .template-prize--third {
    order: 3;
  }
}

@media (max-width: 420px) {
  .template-hero-content h1 {
    font-size: clamp(1.8rem, 10.4vw, 2.5rem);
  }
}

/* Stable Turkish display type and safe spacing for application / FAQ sections. */

.rules .section-heading,
.apply .section-heading,
.faq .section-heading {
  min-width: 0;
}

.rules .section-heading h2,
.apply .section-heading h2,
.faq .section-heading h2 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.35rem, 5.1vw, 4.5rem);
  font-variation-settings: "wdth" 100;
  hyphens: none;
  letter-spacing: -0.02em;
  line-height: 1.04;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.rules .section-heading p,
.apply .section-heading p,
.faq .section-heading p {
  max-width: 42ch;
  margin: 0;
  font-variation-settings: "wdth" 100;
  line-height: 1.65;
  overflow-wrap: break-word;
  text-wrap: pretty;
  word-break: normal;
}

@media (max-width: 1080px) {
  .rules-layout,
  .apply-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.75rem, 6vw, 4rem);
  }

  .rules .section-heading,
  .apply .section-heading,
  .faq .section-heading {
    position: static;
  }

  .rules .section-heading h2,
  .apply .section-heading h2,
  .faq .section-heading h2 {
    max-width: 16ch;
  }
}

/* Vengeance UI Pop Button, adapted to the Cat The Jam palette. */

.pop-button-wrap {
  display: inline-flex;
  width: fit-content;
  min-height: 82px;
  align-items: flex-start;
  padding-bottom: 1.35rem;
}

.pop-button {
  --pop-face: var(--accent);
  --pop-face-hover: var(--accent-hover);
  --pop-edge: color-mix(in oklch, var(--accent-strong) 76%, var(--award));
  --pop-border: var(--frame);
  --pop-floor: color-mix(in oklch, var(--award) 68%, var(--surface));
  position: relative;
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pop-border);
  border-radius: 12px;
  background: var(--pop-face);
  box-shadow:
    0 12px 0 -2px var(--pop-edge),
    0 12px 0 0 var(--pop-border),
    0 22px 0 0 var(--pop-floor);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  padding: 1.25rem 2rem;
  text-transform: uppercase;
  transition:
    background-color 150ms cubic-bezier(0, 0, 0.58, 1),
    box-shadow 150ms cubic-bezier(0, 0, 0.58, 1),
    transform 150ms cubic-bezier(0, 0, 0.58, 1);
}

.pop-button:hover {
  background: var(--pop-face-hover);
  box-shadow:
    0 8px 0 -2px var(--pop-edge),
    0 8px 0 0 var(--pop-border),
    0 16px 0 0 var(--pop-floor);
  transform: translateY(4px);
}

.pop-button:active {
  background: var(--pop-face-hover);
  box-shadow:
    0 0 0 -2px var(--pop-edge),
    0 0 0 0 var(--pop-border),
    0 0 0 0 var(--pop-floor);
  transform: translateY(12px);
}

.pop-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .pop-button {
    transition: none;
  }
}

/* Context-specific responsive adaptations */

.sponsor-contact a {
  min-height: 48px;
}

@media (max-width: 980px) {
  .nav {
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 420px) {
  .faq-list summary {
    min-height: 56px;
    padding: 0.9rem 2.65rem 0.9rem 2.75rem;
  }

  .faq-mark {
    left: 0.9rem;
  }

  .faq-question {
    padding-right: 0.25rem;
    line-height: 1.35;
  }

  .faq-chevron {
    right: 1rem;
  }

  .faq-answer p {
    padding: 0.3rem 2.65rem 1.25rem 2.75rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) {
  .template-hero {
    gap: 2.75rem;
  }

  .template-prizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .template-prize,
  .template-prize--first {
    min-height: 118px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 0.9rem 0.55rem;
    text-align: center;
  }

  .template-prize--first {
    min-height: 132px;
    transform: translateY(-0.35rem);
  }

  .template-prize small {
    grid-column: auto;
  }

  .template-poster-column {
    width: min(52vw, 238px);
  }
}

/* Poster and application count read as one continuous hero object. */

.template-poster-shell {
  overflow: hidden;
  border: 1px solid var(--frame);
  border-radius: 13px;
  background: var(--solid);
  box-shadow: 10px 10px 0 color-mix(in oklch, var(--shadow-hard) 90%, transparent);
}

.template-poster-shell .template-attendance {
  min-height: 54px;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--solid);
  color: var(--solid-ink);
  box-shadow: none;
  text-align: center;
}

.template-poster-shell .template-attendance-icon {
  background: var(--accent);
  color: var(--accent-ink);
}

.template-poster-shell .template-poster {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.template-hero {
  grid-template-columns: minmax(300px, 452px) minmax(300px, 452px);
  justify-content: center;
}

.template-hero-content {
  width: min(100%, 452px);
  align-self: center;
  justify-self: center;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(-3rem, -4vw, -1.5rem);
}

.template-hero-content h1 {
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
}

.template-countdown,
.template-prizes {
  width: min(100%, 452px);
  max-width: 452px;
  margin-inline: auto;
}

.template-countdown {
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
  justify-content: center;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  text-align: center;
}

.countdown-dial {
  width: clamp(4rem, 5.2vw, 4.75rem);
}

.template-countdown-values {
  gap: clamp(0.4rem, 1vw, 0.75rem);
}

.template-countdown-values strong {
  font-size: clamp(0.9rem, 1.45vw, 1.18rem);
}

.template-countdown-values small {
  font-size: 0.7rem;
}

.template-prizes {
  gap: clamp(0.5rem, 1vw, 0.7rem);
  margin-top: 0;
}

.template-prize,
.template-prize--second,
.template-prize--third {
  min-height: 118px;
  gap: 0.42rem;
  padding: 0.85rem 0.55rem;
  text-align: center;
}

.template-prize--first {
  min-height: 136px;
  transform: translateY(-0.45rem);
}

.template-medal {
  width: 1.8rem;
  font-size: 0.58rem;
}

.template-prize strong {
  font-size: clamp(0.92rem, 1.45vw, 1.18rem);
}

.template-prize small {
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
}

@media (max-width: 1320px) {
  .template-hero {
    grid-template-columns: minmax(300px, 392px) minmax(300px, 392px);
  }

  .template-hero-content,
  .template-countdown,
  .template-prizes {
    width: min(100%, 392px);
    max-width: 392px;
  }
}

@media (max-width: 900px) {
  .template-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-hero-content {
    width: min(100%, 392px);
    order: 0;
    margin-top: 0;
  }

  .template-poster-column {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .template-poster-cta--desktop {
    display: none;
  }

  .template-poster-cta--mobile {
    display: inline-flex;
    margin-top: 0.1rem;
  }

  .template-prize,
  .template-prize--first,
  .template-prize--second,
  .template-prize--third {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .template-prize small {
    grid-column: auto;
  }
}

/* Sponsor logos remain clear affordances without turning the logo wall into cards. */

.sponsor-logo-link {
  display: grid;
  width: 100%;
  min-height: 72px;
  place-items: center;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-instagram {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid color-mix(in oklch, var(--solid-ink) 42%, transparent);
  border-radius: 10px;
  background: color-mix(in oklch, var(--solid-ink) 8%, transparent);
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.footer-instagram-icon {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  place-items: center;
}

.footer-instagram-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-instagram-icon .footer-instagram-dot {
  fill: currentColor;
  stroke: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-instagram:hover {
    background: color-mix(in oklch, var(--award) 18%, transparent);
  }
}

.sponsor-logo-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 8px;
}

.product-sponsors-grid {
  grid-template-columns: minmax(220px, 360px);
}

.leartes-logo {
  width: min(100%, 360px);
}

@media (hover: hover) and (pointer: fine) {
  .sponsor-logo-link:hover {
    background: color-mix(in oklch, var(--logo-well-ink) 7%, transparent);
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-logo-link {
    transition: background-color 160ms ease;
  }

  .sponsor-logo-link:hover {
    transform: none;
  }
}
