/* ==========================================================================
   AgTech Innovation Hackathon — shared styles
   Dark "hack night" theme: soil-black base, neon lime (growth / terminal),
   Orange (#FF7900) as the partner accent. Space Grotesk + JetBrains Mono.
   ========================================================================== */

:root {
  /* Base */
  --bg: #07100B;
  --bg-2: #0B1710;
  --surface: #0F1D15;
  --surface-2: #14261B;
  --line: #22382A;
  --line-2: #31503C;

  /* Text */
  --text: #EAF5EC;
  --muted: #9DB5A5;            /* 8.9:1 on --bg */

  /* Accents */
  --lime: #C6FF3D;             /* primary — use with --bg text on top (15:1) */
  --lime-soft: rgba(198, 255, 61, .12);
  --orange: #FF7900;
  --orange-text: #FF9A45;      /* orange as text on dark (8.3:1) */
  --orange-soft: rgba(255, 121, 0, .12);
  --cyan: #45D8FF;

  --ok: #3DDC84;
  --err: #FF7A6E;
  --err-soft: rgba(255, 122, 110, .1);

  /* Legacy aliases (kept so older inline styles still resolve) */
  --wb-navy: var(--bg);
  --orange-ink: var(--orange-text);

  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-lg: 18px;
  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 70px;
  --glow: 0 0 0 1px rgba(198,255,61,.35), 0 8px 40px -8px rgba(198,255,61,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--lime); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; color: #fff; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
strong { color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--lime); color: var(--bg); padding: 10px 14px; border-radius: 6px; z-index: 100; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,255,61,.6); } 100% { box-shadow: 0 0 0 10px rgba(198,255,61,0); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { translate: 0 -8px; } }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--lime); color: var(--bg); font-family: var(--mono); font-size: 12px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.utility strong { color: var(--bg); }
.utility .blip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); margin-right: 8px; vertical-align: 1px; animation: blink 1.4s steps(1) infinite; }
@media (max-width: 760px) { .utility .partner-note { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 16, 11, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 20px; }

.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.wb-logo { filter: brightness(0) invert(1); }
.lockup .wb-logo { height: 32px; width: auto; }
.lockup .divider { width: 1px; height: 30px; background: var(--line-2); flex-shrink: 0; }
.lockup .partner { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lockup .partner img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 4px; }
.lockup .partner span { font-size: 12px; line-height: 1.2; color: #fff; font-weight: 700; }
.lockup .partner span small { display: block; font-weight: 400; color: var(--muted); font-family: var(--mono); font-size: 11px; }
@media (max-width: 480px) { .lockup .partner span { display: none; } .lockup .wb-logo { height: 28px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 11px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 13.5px; font-weight: 600;
  transition: color .15s, background-color .15s;
}
.nav ul a:hover { color: var(--lime); background: var(--lime-soft); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: #fff;
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { margin-left: 0; }
  .nav ul {
    position: absolute; top: calc(var(--header-h) + 1px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open ul { display: flex; }
  .nav ul a { padding: 13px 8px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: var(--bg); box-shadow: 4px 4px 0 var(--orange); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn-accent { background: var(--orange); color: #000; box-shadow: 4px 4px 0 var(--lime); }
.btn-dark { background: var(--bg); color: var(--lime); box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.btn-dark:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-outline { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--surface-2); color: var(--muted); border-color: var(--line); box-shadow: none; transform: none; cursor: not-allowed; pointer-events: none; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7,16,11,.9) 0%, rgba(7,16,11,.96) 70%, var(--bg) 100%),
    url("../img/hero.jpg") center/cover no-repeat,
    var(--bg);
}
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(198,255,61,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,255,61,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow::before, .hero-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-glow::before { width: 520px; height: 520px; left: -140px; top: -120px; background: rgba(198,255,61,.18); }
.hero-glow::after { width: 460px; height: 460px; right: -120px; top: 80px; background: rgba(255,121,0,.16); }

.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 40px; }

.hero-grid > * { min-width: 0; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; } }

.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: "//"; opacity: .6; margin-right: 8px; }
.eyebrow.orange { color: var(--orange-text); }
.hero .eyebrow {
  padding: 6px 12px; border: 1px solid rgba(198,255,61,.35); border-radius: 14px; background: var(--lime-soft);
}
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: .98; margin: 22px 0 22px; letter-spacing: -0.035em; }
.hl {
  color: var(--lime);
  background: linear-gradient(90deg, var(--lime), #7CFFB2 60%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cursor { color: var(--orange); -webkit-text-fill-color: var(--orange); animation: blink 1s steps(1) infinite; font-weight: 400; }
.hero .lead { font-size: clamp(17px, 1.8vw, 19.5px); color: var(--muted); max-width: 600px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .cta-note { margin: 12px 0 0; font-size: 15px; font-weight: 700; color: var(--lime); }

/* Terminal card */
.terminal {
  position: relative; border-radius: var(--radius-lg); background: rgba(11,23,16,.9);
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), var(--glow);
  font-family: var(--mono); font-size: 14px;
  transform: rotate(1.2deg); animation: float 6s ease-in-out infinite;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 10px; }
.term-body { padding: 20px 22px 26px; display: grid; gap: 7px; color: var(--text); white-space: pre; overflow-x: auto; }
.term-body .p { color: var(--orange-text); }
.term-body .k { color: var(--cyan); }
.term-body .s { color: #FFD479; }
.term-body .ok { color: var(--lime); margin-top: 6px; }
.term-body .cursor { color: var(--lime); -webkit-text-fill-color: var(--lime); }
.sticker {
  position: absolute; right: -14px; bottom: -22px; transform: rotate(-6deg);
  background: var(--orange); color: #000; font-family: var(--font); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 10px; box-shadow: 3px 3px 0 var(--lime);
}
@media (max-width: 520px) { .terminal { font-size: 12.5px; transform: none; } .sticker { right: 8px; } }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(15,29,21,.7);
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.status-pill[data-state="open"] { color: #fff; }
.status-pill[data-state="open"] .dot { background: var(--lime); animation: pulse 1.6s infinite; }
.status-pill[data-state="closed"] .dot, .status-pill[data-state="full"] .dot, .status-pill[data-state="deadline"] .dot, .status-pill[data-state="error"] .dot { background: var(--err); }
.status-pill[data-state="not_open"] .dot { background: var(--orange); }

.facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 36px 0 72px;
}
.facts > div {
  background: rgba(15,29,21,.75); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.facts > div:hover { border-color: var(--lime); transform: translateY(-3px); }
.facts .num { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
.facts > div:nth-child(odd) .num { color: var(--lime); }
.facts .lbl { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; } }

/* Marquee */
.marquee { background: var(--orange); color: #000; overflow: hidden; border-block: 2px solid #000; transform: rotate(-1.2deg); margin: 0 -20px; position: relative; z-index: 2; }
.marquee .track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; padding: 12px 22px; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 44px; }

/* ---------- Sections ---------- */
section.block { padding: 104px 0; position: relative; }
section.block.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
section.block.navy {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,121,0,.12), transparent 70%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(198,255,61,.1), transparent 70%),
    var(--bg);
}
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 14px; line-height: 1.02; letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }
@media (max-width: 720px) { section.block { padding: 72px 0; } }

.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime-soft); color: var(--lime); border: 1px solid rgba(198,255,61,.25);
}
.card .ico svg { width: 24px; height: 24px; }
.card.accent-top:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: transparent; }

/* Challenge cards */
.challenge { padding-top: 30px; overflow: hidden; }
.challenge .idx {
  position: absolute; top: 6px; right: 18px; font-family: var(--mono); font-size: 64px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .2s;
}
.challenge:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: var(--glow); }
.challenge:hover .idx { -webkit-text-stroke-color: var(--lime); }
.challenge:nth-child(even) .ico { background: var(--orange-soft); color: var(--orange-text); border-color: rgba(255,121,0,.3); }
.note {
  margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius);
  font-family: var(--mono); font-size: 13.5px; color: var(--muted); background: rgba(198,255,61,.03);
}
.note::before { content: "> "; color: var(--lime); }
.note.orange { border-color: rgba(255,121,0,.45); }

/* Who can apply */
.profiles { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-weight: 500; font-size: 14.5px; color: #fff;
  transition: background-color .15s, color .15s, transform .15s;
}
.chip::before { content: "#"; color: var(--lime); font-family: var(--mono); }
.chip:hover { background: var(--lime); color: var(--bg); transform: rotate(-2deg); }
.chip:hover::before { color: var(--bg); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307100B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.stat-band {
  display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius-lg); margin-top: 28px;
  background: linear-gradient(120deg, var(--orange-soft), transparent 70%), var(--surface);
  border: 1px solid rgba(255,121,0,.35);
}
.stat-band .big { font-size: 52px; font-weight: 700; color: var(--orange-text); line-height: 1; letter-spacing: -0.03em; }
.stat-band p { color: var(--text); font-size: 15.5px; }
@media (max-width: 480px) { .stat-band { flex-direction: column; align-items: flex-start; } }

/* Agenda (3 days) */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: day; }
@media (max-width: 900px) { .days { grid-template-columns: 1fr; } }
.day {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .2s, border-color .2s;
}
.day:hover { transform: translateY(-4px); border-color: var(--lime); }
.day .tag {
  display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--bg); background: var(--lime); padding: 5px 12px; border-radius: 8px;
}
.day:nth-child(2) .tag { background: var(--cyan); }
.day:nth-child(3) .tag { background: var(--orange); color: #000; }
.day h3 { font-size: 24px; margin: 18px 0 6px; }
.day .where { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.day ul { margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 15.5px; display: grid; gap: 8px; }
.day li { padding-left: 22px; position: relative; }
.day li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.timeline li { position: relative; padding: 48px 16px 0 0; }
.timeline li::before { /* rail */
  content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.timeline li::after { /* node */
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 9px;
  background: var(--lime); color: var(--bg); font-family: var(--mono); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(198,255,61,.35);
}
.timeline li.odc::after { background: var(--orange); color: #000; box-shadow: 0 0 20px rgba(255,121,0,.35); }
.timeline h3 { font-size: 17px; }
.timeline .when { display: block; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--lime); margin: 6px 0 6px; }
.timeline li.odc .when { color: var(--orange-text); }
.timeline p { font-size: 14.5px; color: var(--muted); }
.timeline .who { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline li { padding: 2px 0 0 52px; }
  .timeline li::before { top: 38px; bottom: -30px; left: 15px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .timeline li:last-child::before { display: none; }
}

/* Venue */
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .venue-grid { grid-template-columns: 1fr; } }
.venue-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.venue-card:hover { border-color: var(--orange); }
.venue-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: filter .3s, transform .5s; }
.venue-card:hover img { filter: none; }
.venue-card .body { padding: 24px 26px 26px; }
.venue-card h3 { font-size: 22px; }
.venue-card .use { font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-text); margin: 6px 0 12px; display: block; }
.venue-card p { color: var(--muted); font-size: 15.5px; }
.venue-card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 15px; display: grid; gap: 6px; }
.venue-card li { padding-left: 20px; position: relative; }
.venue-card li::before { content: "+"; position: absolute; left: 0; color: var(--orange-text); font-family: var(--mono); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .3s; }
.gallery img:nth-child(1) { transform: rotate(-1.5deg); }
.gallery img:nth-child(3) { transform: rotate(1.5deg); }
.gallery img:hover { transform: rotate(0) scale(1.03); }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:last-child { grid-column: 1 / -1; } }
.odc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.odc-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.odc-stats b { display: block; font-size: 34px; color: var(--orange-text); line-height: 1.05; letter-spacing: -0.02em; }
.odc-stats span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 6px; }
@media (max-width: 520px) { .odc-stats { grid-template-columns: 1fr; } }

/* Partners */
.partner-card { display: flex; flex-direction: column; gap: 10px; }
.partner-card .role { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lime); }
.partner-card.orange .role { color: var(--orange-text); }
.partner-card.orange { border-color: rgba(255,121,0,.4); }
.partner-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.partner-card:hover { transform: translateY(-4px); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 22px; transition: border-color .2s; }
.faq details[open], .faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: var(--lime); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; color: #fff; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px; color: var(--lime); background: var(--lime-soft); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--lime); color: var(--bg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA band + footer */
.cta-band { background: var(--lime); color: var(--bg); padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(7,16,11,.18) 1.2px, transparent 1.2px); background-size: 18px 18px;
}
.cta-band::after { content: "</>"; position: absolute; right: -10px; bottom: -60px; font-family: var(--mono); font-weight: 700; font-size: 220px; line-height: 1; color: rgba(7,16,11,.08); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--bg); font-size: clamp(32px, 5vw, 58px); max-width: 700px; line-height: 1; letter-spacing: -0.035em; }
.cta-band p { color: #1F3326; margin-top: 14px; font-family: var(--mono); font-size: 14px; }
.cta-band .btn[aria-disabled="true"] { background: rgba(7,16,11,.15); color: #1F3326; }

.site-footer { background: #040A07; color: var(--muted); font-size: 14px; padding: 44px 0 30px; border-top: 1px solid var(--line); }
.site-footer .top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.site-footer a { color: var(--lime); }
.site-footer .legal { padding-top: 18px; font-size: 12.5px; font-family: var(--mono); line-height: 1.7; }
.site-footer .foot-lockup { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; }
.site-footer .foot-lockup img { height: 30px; width: auto; }
.site-footer .foot-lockup .korea-logo-frame { display: block; width: 150px; height: 42px; overflow: hidden; background: #fff; border-radius: 3px; flex: 0 1 150px; }
.site-footer .foot-lockup .korea-logo-frame img { display: block; width: 380px; height: auto; max-width: none; transform: translateX(-228px); }

/* ---------- Application form (apply/) ---------- */
.apply-hero {
  position: relative; overflow: hidden; padding: 64px 0 52px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 90% at 0% 0%, rgba(198,255,61,.14), transparent 70%),
    radial-gradient(ellipse 40% 80% at 100% 100%, rgba(255,121,0,.12), transparent 70%),
    var(--bg);
}
.apply-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(198,255,61,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(198,255,61,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%);
}
.apply-hero .wrap { position: relative; }
.apply-hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 16px 0 14px; letter-spacing: -0.035em; line-height: 1; }
.apply-hero p { color: var(--muted); max-width: 680px; font-size: 17px; }
.apply-layout { display: grid; grid-template-columns: 1fr 310px; gap: 40px; padding: 44px var(--gutter) 88px; align-items: start; }
@media (max-width: 960px) { .apply-layout { grid-template-columns: 1fr; } .apply-aside { order: -1; } }
.apply-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) { .apply-aside { position: static; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; font-size: 14.5px; }
.aside-card h2 { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-bottom: 14px; }
.aside-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text); }
.aside-card li { padding-left: 20px; position: relative; }
.aside-card li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }
.aside-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; }
.aside-card dt { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.aside-card dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }
.progress { height: 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; margin-top: 18px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--cyan)); transition: width .25s; }

form.app fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 28px; margin: 0 0 20px; background: var(--surface);
  min-width: 0;
}
form.app fieldset:focus-within { border-color: var(--line-2); }
form.app legend {
  padding: 6px 14px 6px 6px; margin-left: -6px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px;
}
form.app legend .n { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--bg); font-size: 12px; align-items: center; justify-content: center; margin-right: 8px; vertical-align: 1px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } form.app fieldset { padding: 24px 16px 20px; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field > .label { font-weight: 700; font-size: 15px; color: #fff; }
.req { color: var(--orange-text); margin-left: 3px; }
.hint { font-size: 13.5px; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: #fff;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #6E8A77; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6FF3D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 13px center/16px no-repeat; }
.field select option { background: var(--bg-2); color: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #46705A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,255,61,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .choices { border-color: var(--err); }
.field .error { display: none; font-size: 13.5px; color: var(--err); font-weight: 700; }
.field.invalid .error { display: block; }
.counter { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.counter.low { color: var(--orange-text); }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; border-radius: 12px; }
.field.invalid .choices { outline: 1px solid var(--err); outline-offset: 4px; }
.choices.cols-1 { grid-template-columns: 1fr; }
.choice {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  cursor: pointer; font-size: 15px; line-height: 1.4; background: var(--bg); color: var(--text); min-width: 0;
  transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: #46705A; }
.choice input { accent-color: var(--lime); width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--lime); background: var(--lime-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--lime); }
.choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.consent .choice { background: var(--bg); }
.field > label.choice { font-weight: 400; font-size: 15px; color: var(--text); }
.rank-list { display: grid; gap: 10px; border-radius: 12px; }
.field.invalid .rank-list { outline: 1px solid var(--err); outline-offset: 4px; }
.rank-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; align-items: center;
  padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg);
}
.rank-row label { font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--text); }
.rank-row select { min-height: 42px; }
.label .hint { font-weight: 400; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin: 0 0 18px; border: 1px solid transparent; }
.alert.error { background: var(--err-soft); color: #FFB3AB; border-color: rgba(255,122,110,.45); }
.alert.info { background: rgba(69,216,255,.08); color: #B8EEFF; border-color: rgba(69,216,255,.35); }
.alert.warn { background: var(--orange-soft); color: #FFC99A; border-color: rgba(255,121,0,.45); }

.submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.submit-row .btn { min-width: 240px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(198,255,61,.25); border-top-color: var(--lime); animation: spin .7s linear infinite; }
.btn-primary .spinner { border-color: rgba(7,16,11,.25); border-top-color: var(--bg); }

.state {
  text-align: center; padding: 60px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.state .badge { width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.state .badge svg { width: 30px; height: 30px; }
.state.success { border-color: var(--lime); box-shadow: var(--glow); }
.state.success .badge { background: var(--lime); color: var(--bg); }
.state.closed .badge { background: var(--orange-soft); color: var(--orange-text); border: 1px solid rgba(255,121,0,.4); }
.state.loading .badge { background: var(--lime-soft); color: var(--lime); }
.state h2 { font-size: 30px; margin-bottom: 10px; }
.state p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.state .ref { display: inline-block; margin: 20px 0 8px; padding: 12px 22px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--lime); color: var(--lime); font-family: var(--mono); font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.state .actions { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* apply page refinements */
.back-btn { margin-left: auto; gap: 0; }
.back-btn > span:first-child { margin-right: 8px; }
.choices.tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .back-btn { padding: 8px 14px; min-height: 40px; }
  .choices.tri { grid-template-columns: 1fr; }
}
@media (max-width: 960px) { .aside-tips { display: none; } }
body.submitted .apply-aside { display: none; }
body.submitted .apply-layout { grid-template-columns: 1fr; max-width: 820px; }
