/* Lanyard: a conference badge on a strap. Everything below is a pass from the same printer. */
:root { --te-radius: 1.125rem; --ly-bars: repeating-linear-gradient(90deg, var(--te-ink) 0 2px, transparent 2px 4px, var(--te-ink) 4px 5px, transparent 5px 9px, var(--te-ink) 9px 12px, transparent 12px 14px, var(--te-ink) 14px 15px, transparent 15px 17px); }
footer { border-radius: 0 !important; }

/* Chrome: the strap hangs from the bar behind the menu. */
.te-nav-wrap { padding: .625rem .75rem; background: var(--te-primary); }
.te-nav { border-radius: 1.75rem; }
.te-nav-link { border-radius: 999px; }
.te-btn, .te-btn-outline, .te-btn-sm { border-radius: 999px; font-weight: 600; }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-soft { background: var(--te-tint-strong); color: var(--te-primary-text); }
.te-btn-light { background: #fff; color: #14141c; }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
.te-chip, .te-chip-accent { border-radius: 999px; }
.te-field, .te-choice { border-radius: .75rem; }

/* Hero: pivot is the top of the strap. */
.ly-hero { display: grid; justify-items: center; gap: 1.75rem; padding: 0 1rem clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; background: var(--te-primary); color: var(--te-on-primary); }
.ly-swing { display: flex; flex-direction: column; align-items: center; width: min(100%, 27rem); transform-origin: 50% 0; animation: ly-swing 3.2s ease-in-out both; }
@keyframes ly-swing { 0% { transform: rotate(-1.6deg); } 28% { transform: rotate(1.15deg); } 55% { transform: rotate(-.55deg); } 78% { transform: rotate(.22deg); } 100% { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .ly-swing { animation: none; transform: none; } }
.ly-strap { width: 2.75rem; height: clamp(5rem, 13vh, 8.5rem); overflow: hidden; writing-mode: vertical-rl; white-space: nowrap; background: var(--te-accent); color: var(--te-on-accent); font-size: .75rem; font-weight: 700; line-height: 2.75rem; }
.ly-strap span { margin-block-end: 1.25rem; }
.ly-clip { position: relative; z-index: 2; display: block; width: 40px; height: 56px; margin: -.5rem 0 -25px; }
.ly-badge { width: 100%; overflow: hidden; border-radius: 1.25rem; background: var(--te-surface); color: var(--te-ink); box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 34px 54px -26px rgba(0,0,0,.6); }
.ly-band { position: relative; height: 2.75rem; background: var(--te-accent); }
.ly-slot { position: absolute; top: .75rem; left: 50%; width: 3.25rem; height: .625rem; margin-left: -1.625rem; border-radius: 999px; background: var(--te-primary); }
.ly-photo { aspect-ratio: 3/2; background: var(--te-tint); }
.ly-photo > * { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ly-body { padding: 1.125rem 1.25rem 1rem; }
.ly-label { margin-bottom: .25rem; color: var(--te-accent-text); font-weight: 600; font-size: .9375rem; }
.ly-title { color: var(--te-primary-text); font-weight: 700; font-size: calc(var(--fit, 1) * clamp(2.75rem, 11.5vw, 3.875rem)); line-height: 1; letter-spacing: -.03em; overflow-wrap: break-word; }
.ly-details { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .625rem 1.25rem; margin-top: 1rem; padding-top: .875rem; border-top: 1px dashed color-mix(in srgb, var(--te-ink) 28%, transparent); }
.ly-wide { grid-column: 1 / -1; }
.ly-details dt { color: var(--te-muted); font-size: .75rem; line-height: 1.3; }
.ly-details dd { font-size: .9375rem; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.ly-code { margin-top: .875rem; text-align: center; }
.ly-bars { display: block; width: 100%; height: 2.75rem; fill: var(--te-ink); }
.ly-code span { display: block; margin-top: .25rem; color: var(--te-muted); font-size: .6875rem; letter-spacing: .32em; font-variant-numeric: tabular-nums; }
.ly-sub { max-width: 27rem; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; text-align: center; }
.ly-act { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; width: min(100%, 24rem); }
.ly-act .te-count { width: 100%; }
.ly-hero .te-count-cell { background: color-mix(in srgb, currentColor 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, transparent); border-radius: .75rem; }
.ly-hero .te-count-num, .ly-hero .te-count-done { color: inherit; }
.ly-hero .te-count-label { color: inherit; opacity: .85; }
@media (min-width: 1000px) {
  .ly-hero { grid-template-columns: minmax(0, 1fr) 27rem minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
  .ly-swing { grid-column: 2; grid-row: 1; }
  .ly-sub { grid-column: 1; grid-row: 1; justify-self: end; font-size: clamp(1.5rem, 2.2vw, 2.125rem); text-align: right; }
  .ly-act { grid-column: 3; grid-row: 1; justify-self: start; align-items: flex-start; }
}

/* Passes: punched slot, printed band. */
.te-card, .te-tile { position: relative; padding-top: 3.25rem !important; border: 0; border-radius: var(--te-radius); background: var(--te-surface); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 18px 28px -22px rgba(0,0,0,.4); }
.te-tile-accent { background: var(--te-surface); }
.te-card::before, .te-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.875rem; border-radius: var(--te-radius) var(--te-radius) 0 0; background: var(--te-primary); }
.te-tile-accent::before { background: var(--te-accent); }
.te-card::after, .te-tile::after { content: ""; position: absolute; top: .625rem; left: 50%; width: 2.75rem; height: .5625rem; margin-left: -1.375rem; border-radius: 999px; background: var(--te-bg); }
a.te-card:hover, a.te-tile:hover { transform: translateY(-2px) rotate(-.4deg); }
.te-icon-tile { border-radius: 50%; }
.te-explore a.te-card > svg, .te-facts a.te-card svg.te-i-sm, .te-story a svg { display: none; }

.te-section-head { max-width: none; margin: 0 0 1.5rem; text-align: left; }
.te-h-section, .te-h-page { font-weight: 700; letter-spacing: -.025em; }
.te-h-section { font-size: clamp(1.875rem, 5.5vw, 3rem); line-height: 1.05; }
.te-h-card { font-weight: 600; }
.te-page-head { margin: 0; padding-inline: clamp(1.25rem, 4vw, 3.5rem); border-radius: 0 0 2rem 2rem; background: var(--te-primary); color: var(--te-on-primary); text-align: left; }
.te-page-head * { color: inherit !important; }
.te-page-head .mx-auto { margin-inline: 0; max-width: none; }
.te-page-head .te-chip { background: none; border: 1px solid currentColor; }

/* Three passes, each with a printed stub. */
.te-facts-grid { max-width: 72rem !important; }
.te-facts-grid > * { padding-bottom: 3.25rem !important; background: var(--ly-bars) left 1.25rem bottom .875rem / calc(100% - 2.5rem) 1.5rem no-repeat, var(--te-surface); }
.te-facts .te-icon-tile { display: none; }
.te-eyebrow { margin-top: 0 !important; }

.te-explore > div, .te-schedule, .te-gallery { max-width: 72rem !important; margin-inline: auto; }
.te-explore .grid { gap: .875rem !important; }
.te-explore a.te-card { padding-left: 1.125rem !important; padding-right: 1.125rem !important; }
@media (min-width: 900px) {
  .te-explore > div { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .te-explore .te-section-head { margin: 0; }
}

.te-story .te-card { max-width: 44rem; }

/* Programme: one tall schedule card, times down the left edge. */
.te-schedule { padding-inline: 1.25rem; }
.te-schedule .te-section-head { padding-inline: 0 !important; }
.te-schedule > div:not(.te-section-head) { max-width: none !important; padding: 1.25rem 0 2rem !important; }
.te-timeline { padding: 3.5rem clamp(1.125rem, 3.5vw, 2rem) 1.25rem !important; }
.te-timeline li { grid-template-columns: 1fr !important; padding: .875rem 0 !important; border-top: 1px dashed color-mix(in srgb, var(--te-ink) 24%, transparent); }
.te-timeline li:first-child { border-top: 0; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li > div:last-child { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); column-gap: .875rem; align-items: start; }
.te-timeline .te-chip { grid-row: 1 / span 2; justify-self: start; margin: .1rem 0 0 !important; padding: 0; background: none; color: var(--te-accent-text); font-weight: 700; border-radius: 0; }
.te-timeline .te-h-card { font-size: 1.0625rem; line-height: 1.25; }
.te-timeline p { grid-column: 2; }
.te-schedule .mt-6 { margin-inline: 0 !important; justify-content: flex-start !important; max-width: none !important; }
@media (min-width: 900px) {
  .te-schedule { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 38rem); column-gap: 3rem; align-items: start; }
  .te-schedule .te-section-head { margin: 0 !important; }
  .te-schedule > div:not(.te-section-head) { padding-top: 0 !important; }
}

#details .te-section-head, #venue .te-section-head { max-width: 72rem; margin-inline: auto; }
#details > .te-section-head { padding-inline: 1.25rem !important; }
#details .mx-auto.grid { max-width: 72rem !important; }
#venue .te-card { max-width: 44rem; margin-inline: auto; }

.te-gallery { padding-inline: 1.25rem !important; }
.te-gallery-grid { max-width: none !important; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)) !important; gap: .875rem !important; }
.te-gallery-item { aspect-ratio: 3/4; border: 5px solid var(--te-surface); border-radius: .75rem !important; box-shadow: 0 18px 28px -22px rgba(0,0,0,.4); }
.te-gallery > .mt-6 { text-align: left; }

/* Closing: the biggest pass in the set. */
.te-closing-panel { padding-top: 4rem !important; max-width: 72rem !important; background: var(--te-primary); color: var(--te-on-primary); text-align: left !important; }
.te-closing-panel::before { background: var(--te-accent); }
.te-closing-panel * { color: inherit !important; }
.te-closing-panel p { margin-inline: 0 !important; }
.te-closing-panel .te-btn { background: var(--te-accent); color: var(--te-on-accent) !important; }
