:root{
  --bg0:#070b14;
  --bg1:#0b1330;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.10);
  --text:#e8f1ff;
  --muted: rgba(232,241,255,0.72);
  --muted2: rgba(232,241,255,0.55);
  --line: rgba(232,241,255,0.12);
  --ice:#bfe7ff;
  --link:#9ad7ff;
  --shadow: 0 14px 40px rgba(0,0,0,0.40);
  --radius: 18px;
  --max: 1080px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}



html, body {
  overflow-x: hidden;
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 10% 0%, rgba(124,58,237,0.22), transparent 60%),
    radial-gradient(900px 460px at 90% 10%, rgba(34,197,94,0.16), transparent 58%),
    radial-gradient(900px 520px at 30% 100%, rgba(94,234,212,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  line-height:1.55;
}

a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}

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

header{
  border-bottom:1px solid var(--line);
}


/* HERO */
.hero{
  position: relative;
  margin: 18px auto 16px;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 4.5;
  min-height: 150px;

  /* Set your banner here */
  background-image: url("pics/banner.jpg");
  background-size: cover;
  background-position: center top;
}

/* Readability overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.18)
  );
}

/* Title on banner */
.hero-title{
  position:absolute;
  left:50%;
  bottom: 18%;
  transform: translateX(-50%);
  z-index: 1;

  display:inline-block;
  margin:0;
  padding: 0;
  max-width: none;

  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 650;
  letter-spacing: 0.4px;
  color: #eef6ff;
  text-align:center;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.75),
    0 0 18px rgba(100,200,255,0.35);
  white-space: nowrap;
}

@media (max-width: 600px){
  .hero-title{ white-space: normal; padding: 0 10px; }
}

/* TOP BAR + NAV */
.topbar{
  display:flex;
  gap: 14px;
  align-items:flex-end;
  justify-content: space-between;
  padding: 18px 0 10px;
  flex-wrap: wrap;
}

.brand .kicker{
  font-family: var(--mono);
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  color: var(--muted2);
}
.brand .sub{
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.98rem;
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;        /* mobile-friendly */
  gap: 4px 6px;
  justify-content:flex-end;
}
nav a{
  display:inline-block;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  text-decoration:none;
  font-size: 0.8rem;
}
nav a:hover{
  border-color: var(--line);
  background: rgba(255,255,255,0.06);
  text-decoration:none;
}
nav a.active{
  border-color: rgba(191,231,255,0.24);
  background: rgba(191,231,255,0.10);
}

/* CONTENT */
main{ padding: 18px 0 60px; }
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  backdrop-filter: blur(10px);
}
.card + .card{ margin-top: 16px; }

h1,h2,h3{ margin: 0 0 10px; letter-spacing: 0.2px; }
h2{ font-size: 1.22rem; }
h3{ font-size: 1.02rem; color: var(--ice); margin-top: 14px; }

.muted{ color: var(--muted); }
.small{ font-size: 0.95rem; color: var(--muted); }

.grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}
@media (max-width: 920px){
  .grid{ grid-template-columns: 1fr; }
}

.pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.pill{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.pill strong{ color: var(--text); font-weight:600; }

.list{ margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.list li{ margin: 5px 0; }

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 680px){
  .two-col{ grid-template-columns: 1fr; }
}

.callout{
  background: linear-gradient(135deg, rgba(191,231,255,0.10), rgba(124,58,237,0.10), rgba(34,197,94,0.08));
  border: 1px solid rgba(191,231,255,0.16);
  padding: 12px 14px;
  border-radius: 14px;
  margin-top: 10px;
}

/* Speakers */
.speaker-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 18px;
  margin-top: 10px;
}
@media (max-width: 680px){
  .speaker-grid{ grid-template-columns: 1fr; }
}
.speaker{
  padding: 10px 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
}
.speaker .name{ font-weight:600; }
.speaker .note{ font-size: 0.9rem; color: var(--muted2); }

.speaker .affiliation{
  font-size: 0.88rem;
  color: var(--muted2);
  margin-top: 2px;
}

/* Schedule (mobile-first cards) */
.day{
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
}
.day-header{
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.day-header strong{ color: var(--ice); }
.slot{
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display:grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
}
.slot:last-child{ border-bottom: none; }
.time{
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.92rem;
}
.item .title{ font-weight:600; }
.item .meta{ color: var(--muted2); font-size: 0.92rem; margin-top: 2px; }

@media (max-width: 420px){
  .slot{ grid-template-columns: 1fr; }
}

/* Media templates */
.media-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 900px){
  .media-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .media-grid{ grid-template-columns: 1fr; }
}
.media-box{
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,0.04);
}
.media-ph{
  aspect-ratio: 16 / 10;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted2);
  font-size: 0.95rem;
  background:
    radial-gradient(520px 180px at 30% 30%, rgba(191,231,255,0.10), transparent 60%),
    radial-gradient(520px 180px at 80% 60%, rgba(34,197,94,0.08), transparent 60%),
    rgba(255,255,255,0.02);
}
.media-cap{
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-ph{
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted2);
  margin-top: 10px;
}

footer{
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  color: var(--muted2);
  font-size: 0.92rem;
}










/* ===== Program: compact talk header ===== */

.talk-header{
  line-height: 1.35;
}

/* Speaker name: bold */
.speaker-name{
  font-weight: 600;
  color: var(--text);
}

/* Talk title: uppercase */
.talk-title{
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
}

/* ===== Inline abstract toggle (no jumping) ===== */

details.abstract{
  display: inline;
  margin-left: 10px;
}

details.abstract summary{
  display: inline;
  cursor: pointer;
  color: var(--link);
  font-size: 0.95rem;
  user-select: none;
}

details.abstract summary::-webkit-details-marker{
  display: none;
}

details.abstract summary::after{
  content: " ▾";
  color: var(--muted2);
}

details.abstract[open] summary::after{
  content: " ▴";
}

/* Only the abstract body goes to the next line */
.abstract-body{
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Optional: monospace for inline math-like text */
.math{
  font-family: var(--mono);
  color: var(--ice);
}




.organizers-photos{
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.organizers-photos img{
  width: 96px;          /* small */
  height: 96px;
  object-fit: cover;
  border-radius: 50%;   /* circular, looks good */
  border: 1px solid var(--line);
}


.organizers-photos{
  display: flex;
  gap: 10px;
  margin-top: 8px;
  justify-content: center;
}





.media-ph{
  position: relative;
}

.media-ph img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



@media (max-width: 600px){
  nav ul{ justify-content: center; }

.hero{
    aspect-ratio: 16 / 9;      /* less wide, more phone-friendly */
    background-position: center center;
  }

  .hero-title{
    font-size: 1.5rem;
    white-space: normal;
    padding: 0 12px;
  }
}
