/* =========================================================
   UAE InnovAIte Hackathon — design system (dark)
   Brand: InnovAIte orange #FF7700 · InnovAIte blue #0000B8
   ========================================================= */

:root {
  --bg: #05061a;
  --bg-2: #0a0c26;
  --bg-3: #10133a;
  --line: rgba(255,255,255,.1);
  --line-2: rgba(255,255,255,.18);
  --text: #f4f5fb;
  --muted: #9ea3c0;
  --dim: #6b7096;

  --orange: #ff7700;
  --orange-2: #ff9a3d;
  --blue: #0000b8;
  --blue-2: #2b3bff;

  --green: #00843d;
  --red: #ef3340;

  --radius: 4px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-ar: "IBM Plex Sans Arabic", "Archivo", sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 9vw, 8.5rem); text-transform: uppercase; line-height: .9; }
h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); text-transform: uppercase; line-height: .95; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-stretch: 112%; font-weight: 750; line-height: 1.15; }
h4 { font-size: 1.05rem; font-stretch: 105%; font-weight: 700; line-height: 1.25; }
.o { color: var(--orange); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2 * var(--pad)); margin-inline: auto; }
.label { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); display: inline-block; margin-bottom: 18px; }
.label.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); line-height: 1.5; max-width: 680px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--orange); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Gov bar ---------- */
.flagstripe { height: 4px; background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 50%, #fff 50% 75%, #000 75%); }
.govbar { background: #000; color: #c4c7da; font-size: 13px; }
.govbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.govbar .l { display: flex; align-items: center; gap: 12px; }
.govbar img { height: 24px; width: auto; }
.govbar strong { color: #fff; font-weight: 600; }
.govbar .ar { font-family: var(--font-ar); color: #8e93b3; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5,6,26,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-stretch: 125%; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; line-height: 1; }
.brand-name b { color: var(--orange); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .dd > button {
  font: inherit; font-size: 14.5px; font-weight: 500; color: #d3d6e8; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius);
}
.nav > a:hover, .dd > button:hover, .dd.open > button { color: #fff; background: rgba(255,255,255,.06); }
.nav > a.active, .dd.active > button { color: var(--orange); }
.dd { position: relative; }
.dd > button svg { width: 10px; height: 10px; transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: var(--bg-2); border: 1px solid var(--line-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 600; border-radius: var(--radius); }
.dd-menu a span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.dd-menu a:hover { background: rgba(255,255,255,.06); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; transition: .2s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 700; font-stretch: 110%; text-transform: uppercase; letter-spacing: .03em;
  padding: 15px 24px; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 16px; height: 16px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #05061a; }
.btn-primary:hover { background: var(--orange-2); }
.btn-outline { border-color: var(--line-2); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: #e7e8f3; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.bt { border-top: 1px solid var(--line); }
.bg-2 { background: var(--bg-2); }
.bg-orange { background: var(--orange); color: var(--bg); }
.bg-orange .label { color: var(--bg); }
.bg-blue { background: var(--blue); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin: 0; max-width: 900px; }
.head p { margin: 18px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.hero-bg.on { opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,26,0) 55%, rgba(5,6,26,.35) 100%); pointer-events: none; }
.hero .regbar { margin-bottom: clamp(110px, 15vw, 210px); }
.hero-mark { position: absolute; right: -6%; top: 6%; width: min(56vw, 760px); opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-top { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.hero-top .meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 28px; }
.hero-top .meta b { color: var(--orange); font-weight: 500; }
.hero h1 { margin: 0; }
.hero h1 .ai { color: var(--orange); }
.hero .tagline { font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 600; font-stretch: 110%; margin: 22px 0 0; color: #fff; }
.hero .tagline span { color: var(--muted); font-weight: 400; }

/* Registration bar — sits at the bottom of the hero */
.regbar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr) auto; border: 1px solid var(--line-2); background: rgba(10,12,38,.85); backdrop-filter: blur(8px); margin-bottom: clamp(40px, 6vw, 72px); }
.regbar > div { padding: 22px 24px; border-right: 1px solid var(--line-2); }
.regbar .k { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.regbar .v { font-weight: 700; font-stretch: 110%; font-size: 17px; line-height: 1.25; }
.regbar .v.o { color: var(--orange); }
.regbar .cta { display: flex; align-items: center; padding: 16px; border-right: 0; }
.regbar .cta .btn { height: 100%; width: 100%; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; }

.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 70px; padding: 12px 10px; text-align: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.countdown b { display: block; font-size: 28px; font-weight: 800; font-stretch: 120%; line-height: 1; }
.countdown span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- Collab band ---------- */
.collab { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 0; }
.collab .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.collab .org { display: flex; align-items: center; gap: 12px; font-weight: 700; font-stretch: 108%; font-size: 16px; }
.collab .org img { height: 44px; width: auto; }
.collab .sep { width: 1px; height: 32px; background: var(--line-2); }

/* ---------- Big numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 40px 28px 36px 0; }
.numbers > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.numbers b { display: block; font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; }
.numbers b small { font-size: .45em; color: var(--orange); }
.numbers span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Bento / photo mosaic ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; background: var(--bg-3); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile.photo { padding: 0; cursor: zoom-in; }
.tile.photo:hover img { transform: scale(1.03); }
.tile.photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: 14px; font-weight: 600; }
.tile.orange { background: var(--orange); color: var(--bg); }
.tile.blue { background: var(--blue); }
.tile b { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 800; font-stretch: 125%; line-height: .95; }
.tile span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; opacity: .85; }
.tile b, .tile span { position: relative; z-index: 1; }
.tile .mark { position: absolute; right: -10%; top: -10%; width: 70%; opacity: .25; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--bg-2); border: 1px solid var(--line); padding: 30px; position: relative; transition: border-color .2s, background .2s; }
a.card:hover { border-color: var(--orange); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card .n { font-family: var(--mono); font-size: 13px; color: var(--orange); display: block; margin-bottom: 26px; }
.card .more { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; border: 1px solid var(--line-2); color: #d3d6e8; }
.tag.o { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* ---------- Winner feature ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); background: var(--bg-2); }
.feature .media { position: relative; min-height: 420px; background: var(--blue); overflow: hidden; }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .media .mark { position: absolute; width: 80%; right: -8%; bottom: -12%; opacity: .9; }
.feature .media .big { position: absolute; left: 30px; top: 26px; font-weight: 800; font-stretch: 125%; font-size: clamp(4rem, 9vw, 8rem); line-height: .85; color: var(--orange); }
.feature .body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 125%; text-transform: uppercase; margin: 14px 0 6px; }
.feature .team { color: var(--orange); font-weight: 700; margin-bottom: 18px; }

/* ---------- Editions ---------- */
.ed-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s; }
.ed-card:hover { border-color: var(--orange); }
.ed-card .cover { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.ed-card .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ed-card:hover .cover img { transform: scale(1.04); }
.ed-card .cover .yr { position: absolute; left: 22px; bottom: 14px; z-index: 1; font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 800; font-stretch: 125%; line-height: 1; }
.ed-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.6)); }
.ed-card .cover .mark { position: absolute; width: 75%; right: -14%; top: -8%; opacity: .35; }
.c-2024 { background: var(--blue); }
.c-2025 { background: var(--orange); color: var(--bg); }
.c-2025 .yr { color: var(--bg); }
.c-2026 { background: #1b1f5c; }
.c-2027 { background: #000; }
.ed-card .body { padding: 22px 24px 26px; }
.ed-card .body .label { margin-bottom: 8px; }
.ed-card .body p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Press ---------- */
.outlets { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; margin-bottom: 40px; }
.outlets span, .outlets a { transition: color .2s; font-weight: 800; font-stretch: 115%; font-size: clamp(1.1rem, 2vw, 1.6rem); color: #c9cce0; letter-spacing: -.01em; }
.outlets a:hover { color: var(--orange); }
.outlets a.more { font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-stretch: 100%; }
.press { border-top: 1px solid var(--line); }
.press a { display: grid; grid-template-columns: 220px 1fr 48px; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s; }
.press a:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.press .src { font-weight: 800; font-stretch: 110%; }
.press .src small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; }
.press h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-stretch: 100%; font-weight: 600; margin: 0; }
.press .go { width: 44px; height: 44px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.press .go svg { width: 16px; height: 16px; }
.press a:hover .go { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* ---------- Logos / marquee ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-chip { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 700; font-stretch: 108%; }
.logo-chip img { height: 34px; width: auto; }
.logo-chip small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-weight: 800; font-stretch: 120%; font-size: clamp(1.2rem, 2.2vw, 1.8rem); text-transform: uppercase; color: #c9cce0; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--orange); margin-left: 64px; font-size: .7em; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; font: inherit; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 750; font-stretch: 112%; }
.acc-btn .pm { flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--line-2); position: relative; transition: background .2s, border-color .2s; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; transform: translate(-50%,-50%); transition: transform .25s; }
.acc-btn .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-item.open .pm { background: var(--orange); border-color: var(--orange); }
.acc-item.open .pm::before, .acc-item.open .pm::after { background: var(--bg); }
.acc-item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel .in { padding: 0 0 28px; color: var(--muted); max-width: 820px; }
.acc-panel .in p:last-child { margin: 0; }
.acc-panel a, .prose a, .link { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Split / lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split.c { align-items: center; }
.steps { counter-reset: s; border-top: 1px solid var(--line); }
.steps li { list-style: none; display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps { padding: 0; margin: 0; }
.steps .when { font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--orange); padding-top: 4px; }
.steps h4 { margin: 0 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }

.kv { border-top: 1px solid var(--line); }
.kv > div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 700; text-align: right; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 7rem); margin: 0 0 22px; }
.page-hero .lead { margin: 0; }
.page-hero .hero-mark { width: min(44vw, 560px); top: -4%; opacity: .45; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero.cover { min-height: 70vh; display: flex; align-items: flex-end; }
.page-hero.cover .hero-bg.on { opacity: .45; }
.page-hero.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg)); }
.crumbs { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); margin-top: 40px; background: rgba(10,12,38,.7); }
.facts > div { padding: 18px 20px; border-right: 1px solid var(--line-2); }
.facts > div:last-child { border-right: 0; }
.facts .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts .v { font-weight: 700; font-stretch: 108%; }
.yr-switch { display: flex; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.yr-switch a { font-family: var(--mono); font-size: 13px; padding: 8px 14px; border: 1px solid var(--line-2); color: var(--muted); }
.yr-switch a:hover { color: #fff; border-color: #fff; }
.yr-switch a.on { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* ---------- Gallery + video ---------- */
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery figure { margin: 0 0 12px; break-inside: avoid; position: relative; cursor: zoom-in; overflow: hidden; background: var(--bg-3); }
.gallery img { width: 100%; height: auto; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; font-size: 13.5px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.video { position: relative; aspect-ratio: 16/9; background: #000 center / cover; cursor: pointer; border: 1px solid var(--line); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.3); transition: background .2s; }
.video:hover .play { background: rgba(0,0,0,.15); }
.video .play span { width: 76px; height: 76px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.video .play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--bg); }
.video .vt { position: absolute; left: 16px; bottom: 12px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; }
.lightbox p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* ---------- People ---------- */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; border: 1px solid var(--line); background: var(--bg-2); padding: clamp(20px, 3vw, 32px); }
.founder .ph { aspect-ratio: 4/5; background: var(--blue); position: relative; overflow: hidden; }
.founder .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 125%; text-transform: uppercase; margin: 10px 0 10px; }
.founder .roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person .ph { aspect-ratio: 1; background: var(--bg-3); position: relative; overflow: hidden; margin-bottom: 14px; display: grid; place-items: center; }
.person .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.initials { font-weight: 800; font-stretch: 125%; font-size: 2.4rem; color: var(--dim); }
.founder .ph .initials { font-size: 5rem; color: rgba(255,255,255,.35); }
.person strong { display: block; font-weight: 750; font-stretch: 108%; font-size: 17px; }
.person span { font-size: 14px; color: var(--muted); }
.year-block { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); }
.year-block .y { white-space: nowrap; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; font-stretch: 125%; line-height: 1; }
.year-block .y small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--orange); text-transform: uppercase; margin-top: 8px; font-stretch: 100%; }

/* ---------- Judges ---------- */
.judges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.judges div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.judges strong { display: block; font-weight: 700; }
.judges span { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--orange); color: var(--bg); padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; }
.cta h2 { margin: 0 0 14px; position: relative; }
.cta p { margin: 0; font-size: 1.15rem; max-width: 560px; position: relative; }
.cta .mark { position: absolute; right: -40px; top: -60px; width: 380px; opacity: .22; }
.cta .btn { position: relative; }
.cta .btn-dark { background: var(--bg); color: #fff; }
.cta .btn-dark:hover { background: #000; }
.cta .countdown div { border-color: rgba(5,6,26,.25); background: rgba(5,6,26,.06); }
.cta .countdown span { color: rgba(5,6,26,.7); }

/* ---------- Prose ---------- */
.prose { font-size: 17.5px; color: #cfd2e4; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2em 0 .6em; color: #fff; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; color: #fff; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--orange); }
.prose strong { color: #fff; }
.callout { border-left: 3px solid var(--orange); background: var(--bg-2); padding: 20px 24px; margin: 1.6em 0; }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover, .toc a.on { color: #fff; border-color: var(--orange); }

/* ---------- Forms ---------- */
.form { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 4vw, 44px); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
.fgrid h3 { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.fgrid h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); }
.field select option { background: var(--bg); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.check { display: block; position: relative; padding-left: 30px; font-size: 15px; color: #cfd2e4; }
.check input { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }
.check a { color: var(--orange); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 50px 10px; }
.form-success h3 { font-size: 2rem; text-transform: uppercase; font-stretch: 125%; }
form.sent { display: none; }
form.sent + .form-success { display: block; }
.status { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--orange); color: #fff; margin-bottom: 20px; font-weight: 600; }
.status.open { border-color: #2ec27e; }
.status.open .status-dot { background: #2ec27e; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 0; color: var(--muted); font-size: 15px; background: #03040f; }
.f-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 64px; }
.site-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.f-collab { display: flex; align-items: center; gap: 14px; margin-top: 24px; max-width: 380px; font-size: 14px; }
.f-collab img { height: 48px; width: auto; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.socials svg { width: 17px; height: 17px; }
.f-word { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(3rem, 12.5vw, 12rem); line-height: .8; color: #fff; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; padding-bottom: .04em; }
.f-word b { color: var(--orange); }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; margin-top: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: var(--menu-top, 116px) 0 0 0; background: var(--bg); padding: 12px var(--pad) 120px; overflow-y: auto; gap: 0; }
  body.menu-open .header-cta { display: inline-flex; position: fixed; left: var(--pad); right: var(--pad); bottom: 24px; z-index: 60; }
  .nav > a, .dd > button { font-size: 20px; font-weight: 700; font-stretch: 110%; padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; border-radius: 0; }
  .nav > a:hover, .dd > button:hover, .dd.open > button { background: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 4px 0 12px; display: none; }
  .dd.open .dd-menu { display: block; }
  .regbar { grid-template-columns: 1fr 1fr; }
  .regbar > div:nth-child(2) { border-right: 0; }
  .regbar > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .regbar > div:nth-child(3) { border-bottom: 1px solid var(--line-2); }
  .regbar > div:nth-child(4) { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .regbar .cta { grid-column: 1 / -1; }
  .split, .feature, .founder, .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .grid-4, .people { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .founder .ph { max-width: 360px; }
}
.split > *, .grid-2 > *, .grid-3 > *, .feature > *, .year-block > * { min-width: 0; }
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1, h2 { font-stretch: 110%; overflow-wrap: break-word; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .logo-chip { padding: 14px 16px; }
  .govbar .ar { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .press a { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .press .src { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; }
  .judges { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .year-block { grid-template-columns: 1fr; gap: 18px; }
  .bento { grid-auto-rows: 180px; }
  .tile.w2 { grid-column: span 2; }
  .collab .sep { display: none; }
  .hero-mark { width: 90vw; right: -30%; top: 2%; opacity: .35; }
}
@media (max-width: 480px) {
  .regbar { grid-template-columns: 1fr; }
  .regbar > div { border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
  .people { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
}

/* =========================================================
   Motion & effects (fx.js)
   ========================================================= */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-bg.on ~ .stars { opacity: .55; }
.page-hero.cover .stars { opacity: .5; }
.dunes { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(24vw, 250px); z-index: 1; pointer-events: none; }
.dunes path { will-change: transform; }
.hero-mark { will-change: transform; }

@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-top .meta { animation: rise .9s .05s both cubic-bezier(.2,.7,.2,1); }
.hero h1 { animation: rise 1.1s .15s both cubic-bezier(.2,.7,.2,1); }
.hero .tagline { animation: rise 1s .35s both cubic-bezier(.2,.7,.2,1); }
.hero .regbar { animation: rise 1s .5s both cubic-bezier(.2,.7,.2,1); }
.page-hero h1 { animation: rise 1s .05s both cubic-bezier(.2,.7,.2,1); }
.page-hero .lead, .page-hero .facts { animation: rise 1s .2s both cubic-bezier(.2,.7,.2,1); }

.site-header { transition: transform .4s cubic-bezier(.2,.7,.2,1), background .2s; }
.site-header.hide { transform: translateY(-100%); }

/* Cursor glow */
.card, .ed-card, .feature, .logo-chip, .regbar, .person { position: relative; }
.card::after, .ed-card::after, .feature::after, .logo-chip::after, .tile::after, .regbar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,119,0,.14), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::after, .ed-card:hover::after, .feature:hover::after, .logo-chip:hover::after, .tile:hover::after, .regbar:hover::after { opacity: 1; }
.tile.orange::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.25), transparent 45%); }

/* Photo settle-in */
.zoom img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.zoom.in img { transform: none; }
.tile.photo.zoom.in:hover img { transform: scale(1.03); }

/* Pinned scroll story ("Three days") */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.scrolly-l { position: sticky; top: 130px; align-self: start; }
.scrolly-bar { width: 3px; height: 140px; background: var(--line-2); margin: 34px 0; position: relative; }
.scrolly-bar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--orange); transition: height .15s linear; }
.sstep { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 48px); opacity: .22; transform: translateX(14px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.sstep.on { opacity: 1; transform: none; }
.sstep .n { font-family: var(--mono); font-size: 13px; color: var(--orange); margin-bottom: 18px; }
.sstep h3 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-stretch: 125%; text-transform: uppercase; margin-bottom: 16px; }
.sstep p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 480px; margin: 0; }
@media (max-width: 860px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly-l { position: static; }
  .scrolly-bar { display: none; }
  .sstep { min-height: 0; padding: 26px 0 26px 22px; opacity: 1; transform: none; }
}

.img-missing { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-top .meta, .hero h1, .hero .tagline, .hero .regbar, .page-hero h1, .page-hero .lead, .page-hero .facts { animation: none; }
  .zoom img { transform: none; }
  .sstep { opacity: 1; transform: none; }
}

/* Edit mode: show everything that is normally hidden or animated */
.editing .reveal { opacity: 1 !important; transform: none !important; }
.editing .acc-panel { grid-template-rows: 1fr; }
.editing .sstep { opacity: 1; transform: none; }
.editing .zoom img { transform: none; }
.editing .hero-top .meta, .editing .hero h1, .editing .hero .tagline, .editing .hero .regbar, .editing .page-hero h1, .editing .page-hero .lead, .editing .page-hero .facts { animation: none; }

/* Pinned manifesto */
.pin { position: relative; height: 210vh; border-top: 1px solid var(--line); }
.pin-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pin-inner .wrap { position: relative; z-index: 1; }
.manifesto { font-size: clamp(1.7rem, 3.7vw, 3.3rem); font-weight: 750; font-stretch: 115%; line-height: 1.1; letter-spacing: -.01em; max-width: 1150px; margin: 0; }
.manifesto .w { opacity: .16; }
.pin-mark { position: absolute; right: -10%; top: 50%; translate: 0 -50%; width: min(62vw, 760px); opacity: .2; pointer-events: none; }

/* Giant sliding type */
.bigtype { overflow: hidden; padding: clamp(60px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.bt-line { white-space: nowrap; font-size: clamp(3.6rem, 11vw, 11.5rem); font-weight: 850; font-stretch: 125%; text-transform: uppercase; line-height: .98; letter-spacing: -.02em; will-change: transform; }
.bt-track { display: inline-flex; animation: bt-run 34s linear infinite; }
.bt-line.rev .bt-track { animation-direction: reverse; animation-duration: 40s; }
.bt-seg { padding-right: .45em; }
@keyframes bt-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bt-track { animation: none; } .bt-line { white-space: normal; padding: 0 var(--pad); } }
.bt-line.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); }
.bt-line.outline .o { color: var(--orange); -webkit-text-stroke: 0; }

[data-scrub], [data-scrub="fan"] > *, [data-scrub="float"] > * { will-change: transform; }
.editing .pin { height: auto; }
.editing .pin-inner { position: static; height: auto; padding: 110px 0; }
.editing .manifesto .w { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pin { height: auto; } .pin-inner { position: static; height: auto; padding: 110px 0; } }

/* Wide image block (editor) */
.wide-img { margin: 0; }
.wide-img img { width: 100%; height: auto; border: 1px solid var(--line); }
.wide-img figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Stat tiles (home "in numbers") */
.tile .ico { position: absolute; left: 24px; top: 22px; width: 30px; height: 30px; z-index: 1; opacity: .9; }
.stats .tile:not(.orange):not(.blue):not(.line) { background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0) 0 0 / 16px 16px, linear-gradient(160deg, #161a4d, var(--bg-3)); }
.stats .tile.blue { background: radial-gradient(120% 90% at 100% 0%, #2b3bff 0%, var(--blue) 55%); }
.stats .tile.line { background: var(--bg-2); border: 1px solid var(--line-2); }
.stats .tile.line .ico { color: var(--orange); }
.tile .yrs { position: absolute; right: 22px; top: 20px; display: flex; gap: 6px; z-index: 3; }
.tile .yrs a { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border: 1px solid var(--line-2); color: #d3d6e8; }
.tile .yrs a:hover { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.head > p.muted { max-width: 360px; }

/* Edition card photos + link hint */
.ed-card .cover .photo { z-index: 0; }
.ed-card .body .more { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }

/* Compact reigning-champions strip */
.champ { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "k k go" "t d go"; gap: 6px 36px; align-items: center; margin-top: 16px; padding: 26px 30px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s; }
.champ:hover { border-color: var(--orange); }
.champ-k { grid-area: k; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.champ-t { grid-area: t; font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; }
.champ-t em { font-style: normal; color: var(--muted); font-weight: 600; font-size: .6em; font-stretch: 110%; }
.champ-d { grid-area: d; color: var(--muted); font-size: 15px; }
.champ-go { grid-area: go; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 860px) { .champ { grid-template-columns: 1fr; grid-template-areas: "k" "t" "d" "go"; } .champ-go { margin-top: 10px; color: var(--orange); } .champ-t { white-space: normal; } }

/* Edition pages */
.intro { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: #cfd2e4; }
.intro p:first-child { color: #fff; font-size: 1.15em; font-weight: 600; }
.team-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.team-block .ph { aspect-ratio: 4 / 3; background: var(--bg-3); position: relative; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.team-block .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-block .ph .mark { position: static; width: 34%; opacity: .25; }
.team-block .names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sponsor-feature { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 4vw, 48px); }
.sponsor-feature .lg { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 26px; color: var(--bg); font-weight: 800; font-stretch: 110%; text-align: center; line-height: 1.15; }
.sponsor-feature .lg img { width: 100%; height: auto; }
.sponsor-feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 125%; text-transform: uppercase; }
.sponsor-feature p { color: var(--muted); margin: 0; }
.card .card-links { display: flex; gap: 18px; flex-wrap: wrap; }
.judges a.li { font-size: 12px; font-family: var(--mono); color: var(--orange); text-transform: uppercase; margin-left: 8px; }
.wide-photo { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--line); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .team-block, .sponsor-feature { grid-template-columns: 1fr; } .sponsor-feature .lg { max-width: 200px; } }
.sponsor-feature .lg img:not(.img-missing) + span { display: none; }
/* News: partner posts */
.social { border-top: 1px solid var(--line); }
.social-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.social-row strong { font-weight: 800; font-stretch: 110%; }
.social-row .tags { display: flex; flex-wrap: wrap; gap: 8px; }
a.tag:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 760px) { .social-row { grid-template-columns: 1fr; gap: 12px; } }
.team-block:has(> .ph.hidden) { grid-template-columns: 1fr; }
.team-block:has(> .ph.hidden) .lead { max-width: 820px; }

/* Photos in cards, judges, logo walls */
.card .card-img { margin: -30px -30px 22px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.feature .media img + .big { text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.feature .media:has(> img:not(.mark):not(.img-missing))::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(5,6,26,.55), transparent 45%); }
.feature .media .big { z-index: 1; }
.judges.with-ph div { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.judges.with-ph div div { display: block; padding: 0; border: 0; }
.judges .av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.logo-tile .lt { background: #fff; height: 120px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 24px; color: var(--bg); }
.logo-tile .lt img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile .lt b { font-weight: 800; font-stretch: 105%; font-size: 14px; line-height: 1.2; }
.logo-tile .lt b.txt { font-size: 18px; text-align: center; font-stretch: 115%; }
.logo-tile small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.logo-tile .lt img[src*="uae-emblem"] { max-height: 70px; }
.collab .org.npc img { height: 38px; }
.moments { grid-auto-rows: 220px; }
.moments .tile.photo img { transform: none; }
@media (max-width: 760px) { .moments { grid-auto-rows: 160px; } .moments .tile.h2 { grid-row: span 2; } }

/* About: founders */
.founders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard { border: 1px solid var(--line); background: var(--bg-2); }
.fcard .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.fcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.fcard .bd { padding: 20px 22px 22px; }
.fcard .role { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.fcard strong { display: block; font-size: 1.25rem; font-weight: 800; font-stretch: 112%; margin: 8px 0 4px; }
.fcard .uni { color: var(--muted); font-size: 14.5px; }
.li-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #fff; border: 1px solid var(--line-2); padding: 7px 11px; transition: border-color .2s, color .2s; }
.li-btn:hover { border-color: var(--orange); color: var(--orange); }
.li-btn svg { width: 14px; height: 14px; }
.person .li-btn { margin-top: 10px; padding: 5px 9px; font-size: 11px; }
@media (max-width: 1080px) { .founders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .founders { grid-template-columns: 1fr; } }

/* Resources: videos */
.res-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.res-row:first-of-type { border-top: 0; padding-top: 0; }
.res-row h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-stretch: 125%; text-transform: uppercase; }
.res-row p { color: var(--muted); }
.res-row .video .vt { right: 16px; }
.yt-link { display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 22px; border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--blue), #05061a); font-weight: 700; position: relative; }
.yt-link:hover { border-color: var(--orange); }
.yt-link .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-link .play span { width: 70px; height: 70px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.yt-link .play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--bg); }
@media (max-width: 860px) { .res-row { grid-template-columns: 1fr; } }
.person .li-btn { display: flex; width: max-content; }
