/* NextGen subpages (about, program, venue). Tokens and nav mirror nextgen-site.html; keep them in sync. */
:root {
  --ink: #17141a; --ink-2: #4a4550; --ink-3: #807a86;
  --paper: #faf7f5; --paper-2: #f2ede9; --line: rgba(23,20,26,0.14);
  --blue-deep: #2f40e4; --blue: #2890d7; --blue-soft: #85b3ea; --pink: #eb82b6; --orange: #e95f27; --red: #e93827;
  --sans: 'Poppins', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --serif: 'Playfair Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --mesh:
    radial-gradient(46% 40% at 6% 5%, #d685b7 0%, rgba(214,133,183,0) 68%),
    radial-gradient(46% 40% at 50% 5%, #dd443e 0%, rgba(221,68,62,0) 68%),
    radial-gradient(46% 40% at 94% 5%, #f66751 0%, rgba(246,103,81,0) 68%),
    radial-gradient(46% 40% at 6% 38%, #5aa1e8 0%, rgba(90,161,232,0) 68%),
    radial-gradient(46% 40% at 50% 38%, #d5b5c9 0%, rgba(213,181,201,0) 68%),
    radial-gradient(46% 40% at 94% 38%, #ed8369 0%, rgba(237,131,105,0) 68%),
    radial-gradient(46% 40% at 6% 70%, #9b92a7 0%, rgba(155,146,167,0) 68%),
    radial-gradient(46% 40% at 50% 70%, #db6751 0%, rgba(219,103,81,0) 68%),
    radial-gradient(46% 40% at 94% 70%, #cb8fc9 0%, rgba(203,143,201,0) 68%),
    radial-gradient(46% 40% at 6% 97%, #e36039 0%, rgba(227,96,57,0) 68%),
    radial-gradient(46% 40% at 50% 97%, #e42b17 0%, rgba(228,43,23,0) 68%),
    radial-gradient(46% 40% at 94% 97%, #ef70a4 0%, rgba(239,112,164,0) 68%),
    #c57f89;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.it { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -0.01em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* nav (same as home) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: clamp(16px, 2.6vh, 28px) clamp(20px, 3vw, 44px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), padding .4s ease, background .4s ease, color .4s ease, box-shadow .4s ease; }
.nav.scrolled { color: var(--ink); background: rgba(250,247,245,0.82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); padding: 11px clamp(20px, 3vw, 44px); box-shadow: 0 1px 0 rgba(23,20,26,0.08), 0 12px 30px -20px rgba(23,20,26,0.35); }
.nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav .logo svg { width: 37px; height: 37px; transition: width .4s ease, height .4s ease; }
.nav.scrolled .logo svg { width: 30px; height: 30px; }
.nav .logo span { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav .logo span em { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 20px; letter-spacing: 0; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; align-items: center; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.92; }
.nav ul a:hover, .nav ul a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; text-decoration-skip-ink: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 6px 24px rgba(60,20,30,0.18); }
.pill:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(60,20,30,0.26); }
.pill .arr { transition: transform .2s ease; }
.pill:hover .arr { transform: translateX(3px); }
.pill.dark { background: var(--ink); color: #fff; box-shadow: none; }
.pill.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.8); box-shadow: none; }
.pill.ghost:hover { background: #fff; color: var(--ink); }
.nav.scrolled .pill:not(.cta) { background: var(--ink); color: #fff; box-shadow: none; padding: 10px 18px; font-size: 14px; }
/* primary call to action: one look everywhere, rides along in the sticky nav. Shine ported from the ShinyButton component (conic border, shimmer, breathing glow; animates on hover and focus) */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: white; inherits: false; }
.pill.cta {
  --shiny-bg: var(--ink); --shiny-bg-subtle: #2b2731; --shiny-hl: var(--orange); --shiny-hl-subtle: var(--pink);
  --animation: gradient-angle linear infinite; --duration: 3s; --transition: 800ms cubic-bezier(.25,1,.5,1);
  isolation: isolate; position: relative; overflow: hidden; outline-offset: 4px;
  color: #fff; font-size: 16px; font-weight: 700; padding: 16px 30px; border: 1px solid transparent;
  background: linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent, var(--shiny-hl) var(--gradient-percent), var(--gradient-shine) calc(var(--gradient-percent) * 2), var(--shiny-hl) calc(var(--gradient-percent) * 3), transparent calc(var(--gradient-percent) * 4)) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-bg-subtle), 0 12px 32px -8px rgba(23,20,26,0.45);
  transition: var(--transition); transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, transform, box-shadow;
}
.pill.cta::before, .pill.cta::after { content: ""; pointer-events: none; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; }
.pill.cta::before { --animation: shimmer linear infinite; width: 100%; aspect-ratio: 1; background: linear-gradient(-50deg, transparent, var(--shiny-hl), transparent); -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, #000); mask-image: radial-gradient(circle at bottom, transparent 40%, #000); opacity: 0.6; }
.pill.cta::after { --size: calc(100% + 1rem); width: var(--size); height: var(--size); border-radius: inherit; box-shadow: inset 0 -1ex 2rem 4px var(--shiny-hl); opacity: 0; transition: opacity var(--transition); animation: calc(var(--duration) * 1.5) ctabreathe linear infinite; }
.pill.cta, .pill.cta::before { animation: var(--animation) var(--duration), var(--animation) calc(var(--duration) / 0.4) reverse paused; animation-composition: add; }
.pill.cta:is(:hover, :focus-visible) { --gradient-percent: 20%; --gradient-angle-offset: 95deg; --gradient-shine: var(--shiny-hl-subtle); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--shiny-bg-subtle), 0 18px 40px -10px rgba(23,20,26,0.5); }
.pill.cta:is(:hover, :focus-visible), .pill.cta:is(:hover, :focus-visible)::before { animation-play-state: running; }
.pill.cta:is(:hover, :focus-visible)::after { opacity: 1; }
.pill.cta:active { translate: 0 1px; }
@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@keyframes ctabreathe { from, to { scale: 1; } 50% { scale: 1.2; } }
.pfoot .btns .pill { font-size: clamp(18px, 1.6vw, 24px); padding: clamp(18px, 1.6vw, 26px) clamp(34px, 3vw, 52px); }
.pill.ghost { border-width: 1.5px; }
.nav .pill.cta { font-size: 14px; padding: 11px 22px; white-space: nowrap; }
.nav.scrolled .pill.cta { font-size: 13px; padding: 10px 18px; }

/* page hero band */
.pagehero { position: relative; overflow: hidden; color: #fff; background: var(--mesh); isolation: isolate; padding: calc(96px + 8vh) 0 clamp(56px, 8vw, 104px); }
.pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px); background-size: 44px 44px; }
.pagehero .eyebrow { color: rgba(255,255,255,0.85); }
.pagehero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(44px, 7.5vw, 112px); line-height: 0.98; letter-spacing: -0.03em; max-width: 14ch; }
.pagehero h1 .it { font-weight: 700; letter-spacing: -0.02em; }
.pagehero .lead { margin-top: 24px; color: rgba(255,255,255,0.92); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--ink-2); max-width: 56ch; }

/* content */
section.block { padding: clamp(64px, 9vw, 120px) 0; }
section.block + section.block { padding-top: 0; }
.h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.h2 .it { font-weight: 700; letter-spacing: -0.02em; }
.cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.cols .side { position: sticky; top: 96px; }
.prose p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.prose p + p { margin-top: 18px; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose .photo { margin: 28px 0 0; }
.prose .photo img { width: 100%; border-radius: 22px; aspect-ratio: 3 / 2; object-fit: cover; }
.prose .photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }
/* keynote + locked speaker slots */
.keynote { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.kwrap { perspective: 1400px; }
.kphoto { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(60,20,40,0.45); isolation: isolate;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; will-change: transform; }
.kphoto.live { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; box-shadow: 0 60px 100px -36px rgba(60,20,40,0.55); }
.kphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.04) translate(var(--ix, 0px), var(--iy, 0px)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.kphoto.live img { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.kphoto::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.28), rgba(255,255,255,0) 60%); }
.kphoto.live::after { opacity: 1; }
.kphoto::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(23,20,26,0.35), rgba(23,20,26,0) 45%); }
.kfacts { margin-top: 26px; display: flex; gap: 8px; flex-wrap: nowrap; }
.kfacts span { font-size: 12.5px; font-weight: 600; padding: 8px 12px; white-space: nowrap; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-2); transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.kfacts span:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }

.klab { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); font-size: 13px; }
.klab::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.kphoto .ktag { position: absolute; z-index: 2; left: 18px; top: 18px; background: var(--mesh); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; }
.krole { margin-top: 14px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; color: var(--ink-2); }
.locked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lock { display: grid; place-items: center; text-align: center; gap: 6px; padding: clamp(32px, 4vw, 52px) 20px; border-radius: 22px; background: var(--paper-2); border: 1px dashed rgba(23,20,26,0.22); color: var(--ink-2); }
.lock .ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink-3); margin-bottom: 8px; box-shadow: 0 10px 30px -14px rgba(23,20,26,0.35); }
.lock .ico svg { width: 24px; height: 24px; }
.lock b { font-weight: 700; color: var(--ink); font-size: 16px; }
.lock span:last-child { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows .n { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 20px; color: var(--ink-3); }
.rows h3 { font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; }
.rows p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.card .k { font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.card h3 { margin-top: 10px; font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.gcard { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 64px); background: var(--mesh); }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px); background-size: 44px 44px; }
.gcard .eyebrow { color: rgba(255,255,255,0.85); }
.gcard h2 { margin-top: 14px; font-weight: 800; font-size: clamp(32px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.gcard p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 56ch; color: rgba(255,255,255,0.95); }
.names { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.names span { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 700; font-size: 16px; }
.details { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; font-size: 16px; }
.details dt { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; color: var(--ink-3); padding-top: 3px; }
.details dd { font-weight: 500; line-height: 1.45; }
.details .pill { margin-top: 26px; }
.map { margin-top: 16px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }
.note { font-size: 15px; color: var(--ink-2); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* footer band (static version of the home stage) */
.pfoot { position: relative; overflow: hidden; color: #fff; isolation: isolate; text-align: center; padding: clamp(80px, 11vw, 140px) 0 28px; }
.pfoot .bgm { position: absolute; inset: -10%; z-index: -2; background: var(--mesh); filter: blur(10px); }
.pfoot .grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px); background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.pfoot .h2 { font-size: clamp(44px, 8vw, 120px); }
.pfoot .lead { color: rgba(255,255,255,0.92); margin: 20px auto 0; }
.pfoot .btns { margin-top: 44px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.pfoot .btns .pill { font-size: clamp(18px, 1.6vw, 24px); padding: clamp(18px, 1.6vw, 26px) clamp(34px, 3vw, 52px); }
.pfoot .links { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.glass { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 600; font-size: 13px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -10px rgba(60,20,40,0.35), inset 0 1px 1px rgba(255,255,255,0.35); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.glass:hover { background: linear-gradient(145deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1)); border-color: rgba(255,255,255,0.6); }
.pfoot .disc { margin: clamp(48px, 7vw, 88px) auto 0; max-width: 78ch; font-size: 14px; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,0.9); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pgrid figure { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 3 / 2; background: var(--paper-2); }
.pgrid img { width: 100%; height: 100%; object-fit: cover; }
.pfoot .bottom { margin-top: 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.pfoot .bottom > :first-child { justify-self: start; text-align: left; }
.pfoot .bottom .badge { justify-self: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: default; }
.pfoot .bottom .badge b { font-weight: 800; letter-spacing: 0; text-transform: none; font-size: 13px; }
.totop { justify-self: end; width: 44px; height: 44px; padding: 0; justify-content: center; cursor: pointer; font-family: inherit; }
.totop svg { width: 18px; height: 18px; transition: transform .3s ease; }
.totop:hover svg { transform: translateY(-3px); }

@media (max-width: 960px) {
  .nav ul li.hm { display: none; }
  .cols, .keynote { grid-template-columns: 1fr; }
  .kfacts { flex-wrap: wrap; }
  .kphoto { max-width: 440px; }
  .locked { grid-template-columns: 1fr 1fr; }
  .cols .side { position: static; }
  .grid2 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav ul li.hs { display: none; }
  .nav .pill.cta { font-size: 13px; padding: 10px 16px; }
  .rows li { grid-template-columns: 40px 1fr; gap: 12px; }
  .locked { grid-template-columns: 1fr; }
  .pfoot .bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .pfoot .bottom > :first-child, .pfoot .bottom .badge, .totop { justify-self: center; }
  .pfoot .bottom > :first-child { text-align: center; }   /* the desktop left-align rule above otherwise wins on phones */
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill.cta, .pill.cta::before, .pill.cta::after { animation: none !important; }
  html { scroll-behavior: auto; }
}
