/* ============================================================
   ISMB 2026 Industry Workshop — dark, single-accent, editorial
   ============================================================ */

:root {
  --bg:        #0c1322;
  --bg-alt:    #0f1a2e;
  --surface:   #141f38;
  --surface-2: #18243f;
  --border:    #2d3b56;
  --border-soft:#22304b;
  --text:      #e8edf6;
  --text-dim:  #95a6c2;
  --text-faint:#6d7f9e;
  --accent:    #56d4c4;
  --accent-bright: #74e4d5;
  --accent-tint: rgba(86,212,196,.10);
  --ink:       #07131f;
  --maxw: 1140px;
  --ease: cubic-bezier(.16,1,.3,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { text-wrap: pretty; }

::selection { background: rgba(86,212,196,.30); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* faint vignette for depth */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 80% at 50% 0%, transparent 58%, rgba(0,0,0,.4) 100%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: 14px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--ink); font-weight: 600;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- shared type ---------- */
.accent { color: var(--accent); }
.eyebrow, .section__label, .panel__no, .person__role,
.panel__topics-label, .timeline__tag, .format__num {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px;
  background: rgba(12,19,34,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border-soft);
  padding: 10px 28px;
  background: rgba(12,19,34,.92);
}
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav__mark { width: 34px; height: 34px; flex: none; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-text b {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em;
}
.nav__brand-text span { font-size: .73rem; color: var(--text-dim); }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  text-decoration: none; color: var(--text-dim);
  font-size: .92rem; font-weight: 500;
  padding: 8px 13px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--accent); border-radius: 2px;
}
.nav__cta { flex: none; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
  background: rgba(12,19,34,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 22px 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  text-decoration: none; color: var(--text); font-weight: 500;
  padding: 13px 8px; border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-child { border: 0; margin-top: 10px; text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 600; font-size: .92rem;
  padding: 11px 20px; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .2s, border-color .2s;
}
.btn--solid {
  background: var(--accent); color: var(--ink);
}
.btn--solid:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn--solid:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 15px 28px; font-size: 1rem; border-radius: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  padding: 88px 28px 96px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(86,212,196,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,212,196,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 75% at 50% 28%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 75% at 50% 28%, #000 35%, transparent 78%);
}
/* single, very subtle ambient light spot */
.hero__glow {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(110px);
}
.hero__glow--1 {
  width: 560px; height: 560px; top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(86,212,196,.16), transparent 70%);
}
.hero__glow--2 { display: none; }
.hero__inner { max-width: 880px; margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block; color: var(--accent);
  padding: 7px 15px; border: 1px solid var(--border);
  border-radius: 100px; background: var(--accent-tint);
  margin-bottom: 30px;
}

.hero__banner {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 22px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s;
}
.hero__banner img {
  width: 100%; height: auto; display: block;
}
.hero__banner:hover { transform: translateY(-2px); border-color: var(--border); }

.hero__kicker {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.05rem, 6.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin-bottom: 26px;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--text-dim);
  max-width: 62ch; margin: 0 auto 32px;
}
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  font-family: "IBM Plex Mono", monospace; font-size: .86rem;
  color: var(--text); margin-bottom: 38px;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-bottom: 30px;
}
.hero__audience {
  font-size: .92rem; color: var(--text-faint);
  max-width: 56ch; margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--alt::before, .section--alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--border-soft);
}
.section--alt::before { top: 0; }
.section--alt::after { bottom: 0; }

.section__label { color: var(--accent); margin-bottom: 16px; }
.section__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.14; letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 22ch; margin-bottom: 52px;
}

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
  align-items: start; margin-bottom: 64px;
}
.about__text { font-size: 1.12rem; color: var(--text-dim); }
.about__facts { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.about__facts li {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}
.about__facts li:last-child { border: 0; padding-bottom: 0; }
.about__facts b {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  min-width: 78px; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.about__facts span { color: var(--text-dim); font-size: .95rem; }

/* format — de-carded, divided columns */
.format {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 36px;
}
.format__item { padding-top: 22px; border-top: 2px solid var(--border); }
.format__num {
  display: block; color: var(--accent); margin-bottom: 14px;
}
.format__item h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.18rem; margin-bottom: 8px;
  text-wrap: balance;
}
.format__item p { color: var(--text-dim); font-size: .95rem; }

/* ============================================================
   PANELS
   ============================================================ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 40px;
  margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.panel:last-child { margin-bottom: 0; }

.panel__head { margin-bottom: 32px; max-width: 720px; }
.panel__no {
  display: inline-block; color: var(--accent);
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 7px; margin-bottom: 16px;
}
.panel__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.72rem);
  line-height: 1.18; letter-spacing: -.015em; margin-bottom: 12px;
  text-wrap: balance;
}
.panel__desc { color: var(--text-dim); font-size: 1.02rem; }

/* people grid */
.panel__people {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 34px;
}
.person {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s;
}
.person:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 18px 40px -22px rgba(4,9,18,.95);
}
.person--facilitator { background: var(--surface-2); }
.person__role { color: var(--text-faint); margin-bottom: 14px; }
.person--facilitator .person__role { color: var(--accent); }

.person__photo {
  width: 84px; height: 84px; border-radius: 50%;
  margin-bottom: 16px; position: relative;
  padding: 2px; background: var(--accent);
}
.person__photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--bg);
}
.person__name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.12rem; margin-bottom: 5px;
}
.person__title { font-size: .88rem; color: var(--text); line-height: 1.4; }
.person__org { font-size: .85rem; color: var(--text-dim); margin-top: 2px; }
.person__link {
  margin-top: auto; padding-top: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: .76rem;
  color: var(--accent); text-decoration: none;
  letter-spacing: .03em;
}
.person__link:hover { text-decoration: underline; }

/* topics */
.panel__topics {
  border-top: 1px solid var(--border-soft); padding-top: 26px;
}
.panel__topics-label { color: var(--text-faint); margin-bottom: 16px; }
.panel__topics ul {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
}
.panel__topics li {
  position: relative; padding-left: 24px;
  color: var(--text-dim); font-size: .96rem;
}
.panel__topics li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent);
}
.panel__topics em { color: var(--text); font-style: italic; }

/* ============================================================
   SCHEDULE
   ============================================================ */
.timeline { list-style: none; max-width: 740px; }
.timeline__item {
  display: grid; grid-template-columns: 92px 1fr; gap: 26px;
  padding-bottom: 30px; position: relative;
}
.timeline__item::before {
  content: ""; position: absolute;
  left: 104px; top: 26px; bottom: -4px; width: 2px;
  background: var(--border);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__item::after {
  content: ""; position: absolute;
  left: 99px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg);
  border: 2px solid var(--border);
}
.timeline__item--panel::after {
  background: var(--accent); border-color: var(--accent);
}
.timeline__time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.05rem; color: var(--text);
  text-align: right; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.timeline__tag {
  display: inline-block; color: var(--accent); margin-bottom: 7px;
}
.timeline__body h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.12rem; margin-bottom: 4px;
  text-wrap: balance;
}
.timeline__body p { color: var(--text-dim); font-size: .94rem; }
.schedule__note {
  margin-top: 30px; font-size: .86rem; color: var(--text-faint);
  font-style: italic;
}

/* ============================================================
   VENUE
   ============================================================ */
.venue { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.venue__card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 36px;
}
.venue__card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 1.6rem; margin-bottom: 14px;
}
.venue__card > p { color: var(--text-dim); }
.venue__meta { margin: 18px 0 24px; }
.venue__meta b { color: var(--text); }
.venue__links { display: flex; flex-wrap: wrap; gap: 12px; }
.venue__aside {
  background: var(--accent-tint);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--accent);
  border-radius: 14px; padding: 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.venue__quote {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600; font-size: 1.2rem; line-height: 1.42;
  margin-bottom: 16px; text-wrap: balance;
}
.venue__quote-by { color: var(--text-dim); font-size: .9rem; }

/* ============================================================
   ORGANIZERS
   ============================================================ */
.organizers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.organizer {
  display: flex; gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 30px;
}
.organizer .person__photo { width: 96px; height: 96px; flex: none; margin: 0; }
.organizer__body h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 1.32rem; margin-bottom: 4px;
}
.organizer__title { color: var(--accent); font-size: .9rem; margin-bottom: 8px; }
.organizer__desc { color: var(--text-dim); font-size: .92rem; margin-bottom: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 52px 0 36px;
}
.footer__inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__brand .nav__mark { width: 40px; height: 40px; }
.footer__brand p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; line-height: 1.3;
}
.footer__brand span { font-weight: 500; color: var(--text-dim); font-size: .88rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a {
  text-decoration: none; color: var(--text-dim);
  font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }
.footer__fine {
  max-width: var(--maxw); margin: 32px auto 0; padding: 22px 28px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-faint); font-size: .84rem;
}

/* ============================================================
   ANIMATION
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  animation: rise .7s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * .1s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.fade { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .fade { animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .panel__people { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 34px; }
  .format { grid-template-columns: 1fr; gap: 0; }
  .format__item { border-top: 1px solid var(--border-soft); padding: 22px 0; }
  .format__item:first-child { border-top: 2px solid var(--border); }
  .venue, .organizers { grid-template-columns: 1fr; }
  .panel__topics ul { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .panel { padding: 28px 22px; }
  .panel__people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section { padding: 78px 0; }
  .hero { padding: 76px 22px 72px; }
  .organizer { flex-direction: column; text-align: center; }
  .organizer .person__link { display: inline-block; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .eyebrow { font-size: .64rem; padding: 6px 12px; }
  .hero__meta { gap: 8px 16px; font-size: .78rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .panel__people { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 62px 1fr; gap: 16px; }
  .timeline__item::before { left: 74px; }
  .timeline__item::after { left: 69px; }
  .wrap { padding: 0 20px; }
  .venue__card, .venue__aside { padding: 26px; }
}
