/* Agenda page. Uses the site's existing tokens and button system; the hero art
   and the timeline are the only new furniture. */

.agenda-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(118deg, #05122a, #0b2550 52%, #103264);
  color: white;
  padding: 150px 0 96px;
}
/* Two soft lights drifting behind the copy. Circular and generously oversized, so
   nothing can sweep a hard edge through the headline. */
.agenda-hero-glow {
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 30%, #2f6bffb0 0, transparent 42%),
    radial-gradient(circle at 24% 82%, #123f9199 0, transparent 46%);
  animation: agenda-drift 26s ease-in-out infinite alternate;
}
.agenda-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #05122acc 0, #05122a45 42%, transparent 68%);
}
.agenda-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.agenda-hero h1 {
  font: 500 clamp(56px, 8vw, 104px)/.98 var(--heading);
  letter-spacing: -.055em;
  margin: 22px 0 0;
}
.agenda-hero h1 span {
  background: linear-gradient(104deg, #ffffff 0, #cfe2ff 34%, #7fb0ff 58%, #ffffff 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: agenda-sheen 9s ease-in-out infinite;
}

/* Copy rises in on load, one element at a time. */
.rise { animation: agenda-rise .72s cubic-bezier(.2, .7, .3, 1) backwards; animation-delay: calc(var(--i) * .09s) }
@keyframes agenda-rise { from { opacity: 0; transform: translateY(16px) } }
@keyframes agenda-sheen { 0%, 100% { background-position: 0 0 } 50% { background-position: 100% 0 } }
@keyframes agenda-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1) }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12) }
}

/* --- the day, as a tilted glass panel ----------------------------------- */
.agenda-art { perspective: 1400px }
.daystrip {
  position: relative;
  overflow: hidden;
  transform: rotateY(-15deg) rotateX(6deg) rotate(-1.5deg);
  transform-origin: left center;
  background: linear-gradient(155deg, #ffffff1f, #ffffff08);
  border: 1px solid #ffffff26;
  border-radius: 18px;
  padding: 22px 24px 26px;
  box-shadow: 0 40px 90px #00102e66, inset 0 1px 0 #ffffff2e;
  backdrop-filter: blur(9px);
  animation: agenda-rise .9s cubic-bezier(.2, .7, .3, 1) .3s backwards;
}
.daystrip-head {
  display: flex;
  justify-content: space-between;
  font: 600 10px/1 var(--body);
  letter-spacing: .18em;
  color: #93b6ee;
  padding-bottom: 14px;
  border-bottom: 1px solid #ffffff1f;
}
.daystrip-rows { list-style: none; margin: 0; padding: 0 }
.daystrip-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #ffffff12;
  animation: agenda-rise .6s cubic-bezier(.2, .7, .3, 1) backwards;
  animation-delay: calc(.45s + var(--i) * .07s);
}
.daystrip-row:last-child { border-bottom: 0 }
.daystrip-time {
  font: 600 13px/1 var(--body);
  font-variant-numeric: tabular-nums;
  color: #cfe1ff;
}
.daystrip-label { font: 500 13px/1.45 var(--body); color: #9fb9e4 }
.daystrip-row.is-lead .daystrip-label { color: #fff; font-weight: 600 }
.daystrip-row.is-lead .daystrip-time { color: #7fb0ff }
.daystrip-row.is-break .daystrip-label { color: #d8c79a }
.daystrip-row.is-break .daystrip-time { color: #c9b587 }

/* A light passes down the panel, so the day reads as something in motion. */
.daystrip-beam {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(180deg, transparent 42%, #9fc6ff30 50%, transparent 58%);
  animation: agenda-beam 7s linear infinite;
  pointer-events: none;
}
@keyframes agenda-beam { from { transform: translateY(-38%) } to { transform: translateY(38%) } }

.agenda-lede {
  font-size: clamp(19px, 2.2vw, 27px);
  color: #b6d1ff;
  margin: 18px 0 0;
  max-width: 22ch;
  line-height: 1.25;
}
.agenda-date {
  font-size: 15px;
  color: #9fbdf0;
  margin: 14px 0 0;
}
.agenda-hero .button { margin-top: 34px }

/* --- the timeline section ------------------------------------------------ */
.agenda-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 104px;
  background:
    radial-gradient(900px 560px at 86% -6%, #dde8ff 0, #dde8ff00 62%),
    radial-gradient(760px 500px at -6% 44%, #e6eefd 0, #e6eefd00 60%),
    linear-gradient(180deg, #f7faff, #eaf1fd);
}
/* A faint plan grid, faded out top and bottom so it never draws a hard line. */
.agenda-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(#0a2a6a0e 1px, transparent 1px),
    linear-gradient(90deg, #0a2a6a0e 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(74% 62% at 50% 0, #000 0, transparent 78%);
  mask-image: radial-gradient(74% 62% at 50% 0, #000 0, transparent 78%);
}

.agenda-intro { max-width: 660px; margin-bottom: 54px }
.agenda-intro h2 { margin-top: 14px; color: var(--navy) }
.agenda-intro p { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 18px }

.agenda-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}
.agenda-meta li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 20px;
  background: #ffffffcc;
  border: 1px solid #dbe6f9;
  border-radius: 14px;
  box-shadow: 0 10px 26px -18px #16337d80;
  backdrop-filter: blur(4px);
}
.agenda-meta-k {
  font: 600 19px/1 var(--heading);
  letter-spacing: -.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.agenda-meta-v {
  font: 600 10px/1 var(--body);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7f92b4;
}

.agenda-timeline { position: relative }

/* --- blocks reveal on scroll. Scoped to .js-reveal so a failed script
       leaves the page fully readable rather than blank. ------------------- */
.js-reveal .agenda-block {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.16, 1, .3, 1);
}
.js-reveal .agenda-block.is-in { opacity: 1; transform: none }
.js-reveal .agenda-session .agenda-slot {
  opacity: 0;
  transform: translateY(12px);
}
.js-reveal .agenda-session.is-in .agenda-slot {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(.14s + var(--i) * .08s);
}

/* --- one row of the timeline -------------------------------------------- */
.agenda-slots { list-style: none; margin: 0; padding: 0 }
.agenda-standalone { margin-bottom: 18px }
.agenda-standalone > .agenda-slot + .agenda-slot { margin-top: 18px }

.agenda-slot {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  padding: 24px 34px;
}
/* Standalone rows are cards in their own right — nothing sits naked on the
   canvas. */
.agenda-standalone > .agenda-slot {
  background: #fff;
  border: 1px solid #dfe8f8;
  border-radius: 18px;
  box-shadow: 0 2px 3px #16337d08, 0 20px 46px -26px #16337d3d;
  transition: box-shadow .3s, transform .3s;
}
.agenda-standalone > .agenda-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px #16337d0d, 0 26px 56px -24px #16337d4d;
}
.agenda-standalone > .agenda-slot.is-break {
  background: linear-gradient(180deg, #fffdf6, #fdf8ea);
  border-color: #eee0bb;
  border-style: dashed;
  box-shadow: none;
}
.agenda-standalone > .agenda-slot.is-break:hover { box-shadow: 0 18px 40px -26px #8a742a66 }

.agenda-when { display: flex; flex-direction: column; align-items: flex-start; gap: 10px }
.agenda-time {
  font: 600 16px/1.3 var(--body);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.agenda-track {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 10px/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2455eb;
  background: #e6eeff;
  border: 1px solid #cbdcfb;
  border-radius: 30px;
  padding: 6px 12px 6px 10px;
}
.agenda-track::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.agenda-track.is-networking { color: #6b5a1f; background: #fbf3dd; border-color: #eddfb6 }

.agenda-what h3 {
  font: 600 20px/1.45 var(--heading);
  letter-spacing: -.018em;
  color: var(--navy);
  margin: 0;
}

/* People become chips, so a five-name list stops reading as a paragraph. */
.agenda-people {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}
.agenda-people li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  background: #f4f7fe;
  border: 1px solid #e3ebf9;
  border-radius: 10px;
  padding: 8px 13px;
  transition: border-color .25s, background .25s;
}
.agenda-slot:hover .agenda-people li { background: #eef4ff; border-color: #d5e2f8 }
.agenda-name { font-weight: 600; color: #24406e }

/* "Panelists:" / "Moderator:" break the chip run into groups. */
.agenda-people-label {
  flex: 0 0 100%;
  margin-top: 2px;
  padding: 0;
  background: none;
  border: 0;
  font: 600 10px/1 var(--body);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7f92b4;
}
.agenda-people-label:first-child { margin-top: 0 }
/* Sponsor billing, carried in the time column beside the track pill. */
.agenda-flag {
  font: 600 10px/1 var(--body);
  letter-spacing: .1em;
  color: #6b5a1f;
  background: #f6e7bd;
  border: 1px solid #e4d09a;
  border-radius: 30px;
  padding: 6px 11px;
}
.agenda-role { color: #6b7a92 }

/* --- a numbered session groups its talks -------------------------------- */
.agenda-session {
  position: relative;
  background: #fff;
  border: 1px solid #dfe8f8;
  border-radius: 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 4px #16337d0a, 0 28px 64px -30px #16337d59;
}
.agenda-session-head {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 34px 32px;
  border-radius: 21px 21px 0 0;
  background: linear-gradient(122deg, #08214d 0, #123a86 58%, #1b4fb0 100%);
  color: #fff;
}
/* The session number, oversized and set into the band. */
.agenda-session-head::after {
  content: attr(data-no);
  position: absolute;
  right: 18px;
  bottom: -22px;
  font: 700 clamp(96px, 11vw, 156px)/.78 var(--heading);
  letter-spacing: -.07em;
  color: #ffffff14;
  pointer-events: none;
}
.agenda-session-head .agenda-when { grid-row: 1; grid-column: 1 }
.agenda-session-head .agenda-time { color: #fff; font-size: 17px }
.agenda-session-head .agenda-track {
  color: #bcd4ff;
  background: #ffffff17;
  border-color: #ffffff2e;
}
.agenda-session-no {
  grid-column: 2;
  font: 600 11px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8fb2ee;
}
.agenda-session-head h2 {
  grid-column: 2;
  font: 600 clamp(25px, 3vw, 33px)/1.2 var(--heading);
  letter-spacing: -.032em;
  color: #fff;
  margin: 11px 0 0;
  max-width: 22ch;
}
.agenda-session .agenda-slot + .agenda-slot { border-top: 1px solid #e9effa }
.agenda-session .agenda-slot { transition: background .28s }
.agenda-session .agenda-slot:hover { background: #f8fbff }
.agenda-session .agenda-slot:last-child { border-radius: 0 0 21px 21px }

/* --- closing ------------------------------------------------------------ */
.agenda-foot {
  margin-top: 46px;
  padding: 30px 34px;
  background: #ffffffb8;
  border: 1px solid #dde7f8;
  border-radius: 18px;
  backdrop-filter: blur(4px);
}
.agenda-foot p { font-size: 14px; color: var(--muted) }
.agenda-foot-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px }

@media (max-width: 1000px) {
  .agenda-hero-grid { grid-template-columns: 1fr; gap: 44px }
  .daystrip { transform: none; max-width: 460px }
}
@media (max-width: 900px) {
  .agenda-hero { padding: 122px 0 66px }
  .agenda-section { padding-block: 70px }
  .agenda-intro { margin-bottom: 36px }
  .agenda-slot,
  .agenda-session-head { grid-template-columns: 1fr; gap: 14px }
  .agenda-slot { padding: 20px 22px }
  .agenda-session-head { padding: 24px 22px 26px }
  .agenda-session-no,
  .agenda-session-head h2 { grid-column: 1 }
  .agenda-session-head::after { right: 12px; bottom: -16px; font-size: 88px }
  .agenda-when { flex-direction: row; align-items: center; gap: 12px }
  .agenda-session { border-radius: 16px }
  .agenda-session-head { border-radius: 15px 15px 0 0 }
  .agenda-standalone > .agenda-slot { border-radius: 14px }
  .agenda-what h3 { font-size: 17.5px }
  .agenda-foot { padding: 24px 22px }
}
@media (max-width: 640px) {
  .agenda-foot-actions .button { width: 100% }
  .agenda-people { display: block }
  .agenda-people li + li { margin-top: 6px }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .daystrip, .daystrip-row { animation: none }
  .agenda-hero-glow, .daystrip-beam, .agenda-hero h1 span { animation: none }
  .js-reveal .agenda-block,
  .js-reveal .agenda-session .agenda-slot { opacity: 1; transform: none; transition: none }
}
.motion-paused .agenda-hero-glow,
.motion-paused .daystrip-beam,
.motion-paused .agenda-hero h1 span { animation-play-state: paused }
