/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080d14;
  --bg2:         #0d1420;
  --bg3:         #111827;
  --teal:        #00d4b8;
  --teal-dim:    rgba(0,212,184,.12);
  --amber:       #f59e0b;
  --amber-dim:   rgba(245,158,11,.1);
  --white:       #f0f4f8;
  --muted:       #64748b;
  --border:      rgba(255,255,255,.07);
  --mono:        'Space Mono', 'Courier New', monospace;
  --sans:        'Space Grotesk', system-ui, sans-serif;
  --max:         1080px;
  --r:           10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background: var(--bg);
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; opacity: .85; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

h2 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
}

.section-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
}

p { color: rgba(240,244,248,.75); }

/* ── HERO ─────────────────────────────────────────── */
header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.venue-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem 1.2rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: rgba(240,244,248,.7);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

header h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}

.wild {
  display: block;
  color: var(--white);
}

.in-the {
  display: block;
  font-weight: 300;
  font-size: .45em;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .3em 0 .1em;
}

.accent { color: var(--teal); text-shadow: 0 0 40px rgba(0,212,184,.4); }

.tagline {
  font-family: var(--mono);
  font-size: clamp(.8rem, 1.5vw, 1rem);
  color: var(--amber);
  letter-spacing: .06em;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: .75rem 1.8rem;
  background: var(--teal);
  color: var(--bg);
  border-radius: var(--r);
  font-weight: 700;
  font-size: .9rem;
  transition: box-shadow .2s, transform .2s;
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(0,212,184,.5);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-ghost {
  display: inline-block;
  padding: .75rem 1.8rem;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: var(--r);
  font-weight: 500;
  font-size: .9rem;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-dim); text-decoration: none; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── TERMINAL ABSTRACT ─────────────────────────────────────────── */
#abstract { background: var(--bg2); }

.terminal {
  background: #0a0f1a;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,212,184,.06), 0 20px 60px rgba(0,0,0,.4);
  max-width: 820px;
  margin: 0 auto;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1rem;
  background: #12192a;
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green  { background: #28c840; }

.t-title {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
}

.terminal-body {
  padding: 1.5rem 2rem;
  font-family: var(--mono);
  font-size: .88rem;
  line-height: 1.8;
}

.prompt { color: var(--teal); margin-right: .5rem; }
.cmd { color: var(--amber); }
.out { color: rgba(240,244,248,.75); margin-top: .75rem; font-family: var(--sans); font-size: .95rem; }
.out mark {
  background: var(--teal-dim);
  color: var(--teal);
  padding: .1em .3em;
  border-radius: 3px;
}

.cursor-line { margin-top: .75rem; }
.cursor {
  display: inline-block;
  color: var(--teal);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── TAKEAWAYS ─────────────────────────────────────────── */
#takeaways { background: var(--bg3); }

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.takeaway-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem;
  transition: border-color .25s, box-shadow .25s;
}

.takeaway-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 20px rgba(0,212,184,.1);
}

.t-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  opacity: .35;
  flex-shrink: 0;
  line-height: 1;
  padding-top: .15rem;
}

.t-text { font-size: .93rem; color: rgba(240,244,248,.8); line-height: 1.6; }
.t-text strong { color: var(--white); }

/* ── TIMELINE PROGRAM ─────────────────────────────────────────── */
#program { background: var(--bg2); }

.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--amber), var(--teal));
  opacity: .3;
}

.tl-part-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 2.5rem 0 1.5rem;
  padding-left: .5rem;
}

.tl-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.tl-marker {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -3.75rem;
  top: .1rem;
  box-shadow: 0 0 12px rgba(0,212,184,.2);
}

.tl-body {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
  flex: 1;
  transition: border-color .25s;
}

.tl-body:hover { border-color: rgba(0,212,184,.3); }
.tl-body h3 { color: var(--white); margin-bottom: .5rem; font-size: .97rem; }
.tl-body p { font-size: .88rem; color: rgba(240,244,248,.65); margin: 0; }

/* ── ORGANIZERS ─────────────────────────────────────────── */
#organizers { background: var(--bg3); }

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.org-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .25s, transform .25s;
}

.org-card:hover {
  border-color: rgba(0,212,184,.35);
  transform: translateY(-3px);
}

.org-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.org-avatar {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  color: var(--bg);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-card h3 {
  font-size: .97rem;
  color: var(--white);
  margin-bottom: .1rem;
}

.org-affil {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
}

.org-loc {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .1rem;
}

.org-card p {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(240,244,248,.65);
  margin-bottom: .75rem;
}

.org-email {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
  transition: color .2s;
}
.org-email:hover { color: var(--teal); }

/* ── KEYWORDS ─────────────────────────────────────────── */
#keywords {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.kw-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.kw-row span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  padding: .35rem .9rem;
  border: 1px solid rgba(0,212,184,.25);
  border-radius: 999px;
  color: rgba(0,212,184,.8);
  background: rgba(0,212,184,.05);
  transition: background .2s, border-color .2s;
}

.kw-row span:hover {
  background: var(--teal-dim);
  border-color: var(--teal);
}

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.footer-sub {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
}

.footer-cite {
  max-width: 540px;
}

.footer-cite p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .4rem;
}

.footer-cite strong { color: rgba(240,244,248,.7); }
.footer-cite em { font-style: italic; }
.footer-cite a { color: var(--teal); }
.ack { opacity: .55; font-size: .78rem !important; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 3rem 0; }
  .timeline { padding-left: 2.5rem; }
  .tl-marker { left: -3.2rem; width: 2rem; height: 2rem; font-size: .65rem; }
  .org-grid, .takeaway-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .terminal-body { padding: 1rem 1.2rem; }
}
