/* Human Lab — Harbour Haunt landing */
:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --lime: #c8ff00;
  --lime-dim: #9fcc00;
  --cream: #f2efe6;
  --muted: #9a968c;
  --line: rgba(200, 255, 0, 0.22);
  --font: "Inter", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
  --max: 1100px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; }
.nav-brand span {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.nav-brand .lab { color: var(--lime); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--lime); text-decoration: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; background: #d8ff3a; }
.btn-ghost {
  background: transparent;
  color: var(--lime);
}
.btn-ghost:hover { background: rgba(200, 255, 0, 0.1); color: var(--lime); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.7rem; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.25) 35%, rgba(5,5,5,0.92) 100%),
    linear-gradient(90deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.15) 55%, rgba(5,5,5,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 5.5rem) 0 clamp(2.5rem, 6vh, 3.5rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 12ch;
}
.hero h1 .accent { color: var(--lime); }
.hero-sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--cream);
  max-width: 28ch;
}
.hero-sub .en {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92em;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.meta-row strong { color: var(--lime); font-weight: 700; }
.meta-row span { color: var(--muted); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Sections —— */
section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.85rem;
}
h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.lede {
  color: var(--muted);
  font-size: 1rem;
  max-width: 42ch;
}
.lede .en {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.82em;
  letter-spacing: 0.03em;
}

/* About */
.about {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(255,255,255,0.05);
}
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 140px 1fr;
    gap: 2.5rem;
  }
}
.about-logo {
  width: 120px;
  margin-inline: auto;
  filter: drop-shadow(0 0 18px rgba(200, 255, 0, 0.15));
}
@media (min-width: 720px) {
  .about-logo { margin-inline: 0; width: 140px; }
}
.tagline {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  border-left: 2px solid var(--lime);
  padding-left: 0.85rem;
}

/* Event details */
.details-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) {
  .details-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 1.15rem;
  min-height: 100%;
}
.card .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.65rem;
}
.card .v {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}
.card .v-en {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.split {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}
.poster {
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: #000;
}
.poster img { width: 100%; height: 100%; object-fit: cover; max-height: 520px; }

/* CTA */
.cta {
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(200,255,0,0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.cta-mail {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.cta-mail a { color: var(--cream); }

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 0 2.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
}
.footer-brand img { width: 28px; height: 28px; }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--lime); text-decoration: none; }

/* Misc */
.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;
}
