/* Public agenda. The same composition as corda-arena.com: the hall in deep violet, huge Bebas, small text beside it. */
.site { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 16px; }
.site-right { display: flex; align-items: center; gap: 6px; }
.team-link { display: none; color: var(--dim); font-size: 14px; text-decoration: none; padding: 10px 12px; }
.team-link:hover { color: var(--text); }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding-inline: var(--gutter); }

.hero, .ehero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(1.25) contrast(1.05) brightness(.82); }
.hero::before, .ehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 13, 43, .78) 0%, rgba(3, 13, 43, .22) 34%, rgba(3, 13, 43, .28) 62%, var(--navy) 100%), linear-gradient(90deg, rgba(27, 15, 122, .62), rgba(68, 41, 167, .18) 62%); }
.hero-in { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; min-height: min(78dvh, 720px); width: min(1240px, 100%); margin: 0 auto; padding: 96px var(--gutter) 40px; }
.hero .display { font-size: clamp(120px, 39vw, 150px); margin-bottom: -.06em; }
@media (min-width: 720px) { .hero .display { font-size: clamp(150px, 25vw, 300px); } }
.next { display: grid; gap: 4px; justify-items: start; align-self: flex-start; max-width: 380px; text-decoration: none; }
.next strong { font: 400 clamp(28px, 4vw, 40px)/1 var(--head); letter-spacing: .01em; margin-top: 2px; }
.next .btn { margin-top: 12px; }
.next .btn svg { color: var(--violet); }
.hero-lead { max-width: 34ch; }

.agenda-head { margin: 16px calc(var(--gutter) * -1) 8px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.agenda-head::-webkit-scrollbar { display: none; }
.agenda-head .seg { flex-wrap: nowrap; }
.agenda-head .seg button { flex: none; white-space: nowrap; }
.month { margin-top: 40px; }
.month .h2 { color: var(--lilac); text-transform: capitalize; margin-bottom: 4px; }
.evs { list-style: none; margin: 0; padding: 0; }
.ev + .ev { border-top: 1px solid var(--line); }
.ev[hidden] { display: none; }
.ev > a { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; transition: background .2s, padding .25s var(--ease); }
.ev-date { display: grid; justify-items: start; line-height: 1; }
.ev-date b { font: 400 44px/.9 var(--head); }
.ev-date span { font: 400 19px/1 var(--head); letter-spacing: .04em; color: var(--lilac); text-transform: uppercase; }
.ev-date i { margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.ev-main { min-width: 0; }
.ev-main h3 { font: 400 clamp(25px, 3.3vw, 38px)/1.02 var(--head); letter-spacing: .01em; overflow-wrap: anywhere; }
.ev-main p { color: var(--dim); margin-top: 4px; font-size: 15px; line-height: 1.4; }
.ev-main .tag { margin-top: 8px; }
.ev-img { display: none; width: 196px; height: 110px; object-fit: cover; border-radius: var(--r-m); }
.ev-go { color: var(--mute); transition: transform .25s var(--ease), color .2s; }
.ev > a:hover .ev-go { transform: translateX(4px); color: var(--text); }
.ev > a:hover h3 { color: #fff; }
.ev-private .ev-main h3 { color: var(--dim); }

.code-box { display: grid; gap: 16px; margin: 56px 0 24px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: var(--navy-1); border: 1px solid var(--line); }
.code-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code-form .err { grid-column: 1 / -1; min-height: 1.2em; }
.code-form .input { text-transform: uppercase; letter-spacing: .08em; }
.code-form .input::placeholder { text-transform: none; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.past { margin: 8px 0 72px; }
.past summary { cursor: pointer; padding: 12px 0; color: var(--dim); list-style-position: inside; }
.past .ev { opacity: .72; }
main.wrap { padding-bottom: 72px; }

.ehero-in { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: min(62dvh, 540px); padding-top: 96px; padding-bottom: 28px; }
.ename { font-size: clamp(52px, 11vw, 132px); line-height: .92; }
.back { display: inline-flex; align-self: flex-start; color: var(--dim); text-decoration: none; padding: 8px 0; }
.back::before { content: "\2190"; margin-right: 8px; }
.back:hover { color: var(--text); }
.edetail { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.edesc { font-size: 17px; line-height: 1.6; color: var(--dim); max-width: 64ch; }
.edesc p + p { margin-top: 14px; }
.efacts { display: grid; gap: 20px; align-content: start; padding: 20px; background: var(--navy-1); border: 1px solid var(--line); border-radius: var(--r-l); }
.efacts .label { display: block; color: var(--text); font-weight: 600; font-size: 16px; }
.efacts p { margin-top: 2px; }
.efacts-cta { display: grid; gap: 8px; }

@media (min-width: 720px) {
  .team-link { display: inline; }
  .ev > a { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; padding: 22px 0; }
  .ev-date b { font-size: 60px; }
  .ev-img { display: block; }
  .code-box { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); align-items: center; }
}
@media (min-width: 960px) {
  .hero-in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .next { align-self: flex-end; padding-bottom: 28px; }
  .edetail { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .efacts { position: sticky; top: 24px; }
}
