/* TTS-Landing: bold and bright. A dark banner with a glowing accent, big geometric headings, clear steps
   to the registration form. Colours and the heading font come from the site settings (layout.php). */

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/sora-latin.woff2') format('woff2');
}

:root {
    --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
    --muted: #5d5d73;
    --muted: color-mix(in srgb, var(--text) 68%, #fff);
    --line: rgba(27, 27, 47, .12);
    --line: color-mix(in srgb, var(--text) 12%, transparent);
    --glow: linear-gradient(120deg, var(--primary), var(--accent));
    --radius: 18px;
    --radius-small: 10px;
    --shadow: 0 1px 2px rgba(15, 16, 35, .06), 0 12px 32px -12px rgba(15, 16, 35, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 50rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--dark); color: #fff; padding: .6rem 1rem; z-index: 80; border-radius: var(--radius-small); }
.skip-link:focus { top: 1rem; }

/* ---------- Small parts ---------- */

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 1rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
    padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { box-shadow: 0 10px 24px -8px var(--primary); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 10px 24px -8px var(--accent); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--small { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--large { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.buttons--centred { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--glow); }
.ticks li::after { content: ''; position: absolute; left: .36rem; top: .52em; width: .3rem; height: .52rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.alert { background: var(--light); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: var(--radius-small); margin: 0 0 1.5rem; }
.alert p:last-child { margin: 0; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--dark) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { text-decoration: none; color: #fff; margin-right: auto; }
.brand__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand__logo { max-height: 2.6rem; width: auto; }
.site-nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .92rem; font-weight: 600; }
.site-nav__list a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 2.6rem; height: 2.6rem; cursor: pointer; position: relative; padding: 0; order: 3; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: .5rem; width: 1.6rem; height: 2px; background: #fff; content: ''; transition: transform .25s, background-color .25s; }
.nav-toggle__bar { top: 50%; }
.nav-toggle__bar::before { left: 0; top: -.48rem; }
.nav-toggle__bar::after { left: 0; top: .48rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(.48rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-.48rem) rotate(-45deg); }
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__list a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-header__inner { gap: .75rem; }
}
@media (max-width: 420px) { .site-header__cta { display: none; } }

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section:nth-of-type(even):not(.hero):not(.countdown-section):not(.register-section):not(.cta) { background: var(--light); }
.section__header { margin-bottom: 2.75rem; max-width: 46rem; }
.section__header--centred { margin-left: auto; margin-right: auto; text-align: center; }
.section__heading { margin-bottom: .4em; }
.section__intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.section__header--centred .section__intro { margin-left: auto; margin-right: auto; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* Banner (shared hero section) */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: clamp(4rem, 10vw, 8rem) 0; isolation: isolate; }
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero::before { width: 38rem; height: 38rem; background: var(--primary); top: -16rem; left: -10rem; }
.hero::after { width: 30rem; height: 30rem; background: var(--accent); bottom: -16rem; right: -8rem; opacity: .4; }
.hero__heading { color: #fff; font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: 1.04; }
.hero__heading::after { content: ''; display: block; width: 4.5rem; height: .35rem; border-radius: 999px; background: var(--glow); margin-top: 1.5rem; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .78); max-width: 36rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn--ghost:hover { border-color: #fff; }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero--split .hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: rotate(2deg); }
.hero--full { background: var(--dark) var(--hero-image) center / cover no-repeat; min-height: 78vh; display: flex; align-items: center; }
.hero--full .hero__inner { position: relative; }
.hero--full::before { width: auto; height: auto; inset: 0; border-radius: 0; filter: none; opacity: 1; top: 0; left: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent), color-mix(in srgb, var(--dark) 40%, transparent)); }
.hero--simple { text-align: center; }
.hero--simple .hero__heading, .hero--simple .hero__lead { margin-left: auto; margin-right: auto; max-width: 48rem; }
.hero--simple .hero__heading::after { margin-left: auto; margin-right: auto; }
.hero--simple .buttons { justify-content: center; }
@media (max-width: 760px) {
    .hero--split .hero__inner { grid-template-columns: 1fr; }
    .hero--split .hero__media { max-width: 16rem; }
}

/* Countdown */
.countdown-section { background: var(--glow); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.countdown-section__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.countdown { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.countdown__heading { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.countdown__parts { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.countdown__parts li { display: flex; flex-direction: column; align-items: center; min-width: 4.6rem; padding: .7rem .5rem; border-radius: var(--radius-small); background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.countdown__number { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: .35rem; }
.countdown-section .btn--accent { background: #fff; color: var(--dark); }
@media (max-width: 520px) { .countdown__parts li { min-width: 0; flex: 1; } .countdown__parts { width: 100%; } }

/* Numbers */
.stats-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; margin: 0; text-align: center; }
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt { color: var(--muted); font-weight: 600; }

/* Highlights */
.highlights__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem; }
.highlight { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s, box-shadow .25s; }
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight__number { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .9rem; }
.highlight p { color: var(--muted); margin: 0; }
.highlights--list .highlights__list { grid-template-columns: 1fr; gap: 0; }
.highlights--list .highlight { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; display: grid; grid-template-columns: 4rem 1fr; padding: 1.4rem 0; }
.highlights--list .highlight:hover { transform: none; box-shadow: none; }
.highlights--list .highlight p { grid-column: 2; }

/* Agenda */
.agenda__list { list-style: none; margin: 0; padding: 0; position: relative; }
.agenda__list::before { content: ''; position: absolute; left: 7.4rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.agenda__item { display: grid; grid-template-columns: 6.5rem 1fr; gap: 2rem; padding: 0 0 2rem; position: relative; }
.agenda__item::before { content: ''; position: absolute; left: 7.1rem; top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px #fff; }
.section:nth-of-type(even) .agenda__item::before { box-shadow: 0 0 0 4px var(--light); }
.agenda__time { font-weight: 700; color: var(--primary); margin: 0; font-variant-numeric: tabular-nums; }
.agenda__title { margin-bottom: .2rem; }
.agenda__who { font-weight: 600; color: var(--accent); margin: 0 0 .3rem; font-size: .95rem; }
.agenda__text { color: var(--muted); margin: 0; }
@media (max-width: 600px) {
    .agenda__list::before { left: .35rem; }
    .agenda__item { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.75rem; }
    .agenda__item::before { left: 0; }
}

/* Speakers */
.speakers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem 1.5rem; }
.speaker__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--glow); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.speaker:hover .speaker__photo img { transform: scale(1.04); }
.speaker__photo span { font-family: var(--font-heading); font-weight: 700; font-size: 3rem; color: #fff; }
.speaker__name { margin-bottom: .15rem; }
.speaker__name a { color: inherit; text-decoration: none; }
.speaker__name a:hover { color: var(--primary); }
.speaker__role { color: var(--primary); font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.speaker__bio { color: var(--muted); font-size: .95rem; margin: 0; }

/* Tickets or offers */
.tickets__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 66rem; margin: 0 auto; }
.ticket { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; }
.ticket .ticks { flex: 1; }
.ticket--highlight { background: var(--dark); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -25px var(--primary); transform: translateY(-.5rem); }
.ticket--highlight .ticket__name { color: #fff; }
.ticket--highlight .ticket__note, .ticket--highlight .ticket__price s { color: rgba(255, 255, 255, .65); }
.ticket__badge { position: absolute; top: -.8rem; left: 1.75rem; background: var(--glow); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin: 0; }
.ticket__note { color: var(--muted); font-size: .92rem; }
.ticket__price { margin: .25rem 0 1.25rem; }
.ticket__price strong { font-family: var(--font-heading); font-size: 2.4rem; letter-spacing: -.02em; }
.ticket__price s { color: var(--muted); font-size: 1.1rem; margin-right: .4rem; }
.tickets__footnote { text-align: center; color: var(--muted); font-size: .92rem; margin: 2rem auto 0; max-width: 40rem; }

/* Registration form */
.register-section { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.register-section::before { content: ''; position: absolute; z-index: -1; width: 34rem; height: 34rem; border-radius: 50%; background: var(--primary); filter: blur(90px); opacity: .45; top: -10rem; left: -12rem; }
.register-section h1, .register-section h2 { color: #fff; }
.register-section .section__intro { color: rgba(255, 255, 255, .75); }
.register-section a { color: #fff; }
.register-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.register-section__facts { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.register-section__facts li { padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 600; }
.register-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.register-form__note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; text-align: center; }
.register-section--page { min-height: 70vh; }
@media (max-width: 860px) { .register-section__inner { grid-template-columns: 1fr; } }

.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); background: #fff; color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field.has-error input { border-color: #c62828; }
.field-error { color: #c62828; font-size: .86rem; margin: .35rem 0 0; }
.optional { font-weight: 400; color: var(--muted); }
.choice-field__options { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-small); cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, #fff); }
.choice input { accent-color: var(--primary); width: 1.1rem; height: 1.1rem; }

/* When and where */
.event-info__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }
.event-info__inner--no-map { grid-template-columns: 1fr; max-width: 46rem; }
.event-info__cards { display: grid; gap: 1rem; align-content: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card p { margin: 0 0 .3rem; }
.info-card__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.info-card__value { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.info-card__links { margin-top: .6rem !important; font-weight: 600; font-size: .92rem; }
.event-info__text { color: var(--muted); margin: 0; }
.event-info__map iframe { width: 100%; height: 100%; min-height: 20rem; border: 0; border-radius: var(--radius); }
@media (max-width: 760px) { .event-info__inner { grid-template-columns: 1fr; } }

/* Partners */
.logos { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.logos__heading { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.5rem; }
.logos__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.75rem; }
.logos__list img { max-height: 2.75rem; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos__list a:hover img { filter: none; opacity: 1; }
.logos__list span { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.logos__list a { text-decoration: none; }

/* Shared sections: photo with text, reviews, FAQ, gallery, contact, map, call to action, text */
.image-text__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.image-text--image-right .image-text__media { order: 2; }
.image-text--no-image .image-text__inner { grid-template-columns: 1fr; max-width: 48rem; }
.image-text__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.image-text__body .prose { color: var(--muted); }
@media (max-width: 760px) { .image-text__inner { grid-template-columns: 1fr; } .image-text--image-right .image-text__media { order: 0; } }

.testimonials__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.testimonial__stars { color: var(--accent); letter-spacing: .1em; margin: 0 0 .6rem; }
.testimonial__quote { font-size: 1.05rem; }
.testimonial__by { color: var(--muted); font-size: .92rem; }
.testimonial__by strong { color: var(--text); }
.testimonials--single .testimonials__list { grid-template-columns: 1fr; max-width: 46rem; margin: 0 auto; text-align: center; }

.faq__list { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 0 1.25rem; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { color: var(--muted); margin: 0 0 1.1rem; }

.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-small); }
.gallery__item figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.gallery--wide .gallery__grid { grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 25, .92); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 2rem; }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-small); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }

.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
@media (max-width: 760px) { .contact__inner { grid-template-columns: 1fr; } .contact__list li { grid-template-columns: 1fr; gap: .1rem; } }
.map__frame iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

.cta { background: var(--glow); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta__heading { color: #fff; margin-bottom: .3rem; }
.cta__text { color: rgba(255, 255, 255, .85); margin: 0; max-width: 40rem; }
.cta .btn--accent { background: #fff; color: var(--dark); }
.cta--card { background: none; color: var(--text); }
.cta--card .cta__inner { background: var(--glow); color: #fff; padding: 2.5rem; border-radius: var(--radius); }
.text-block--centred { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.25rem; }

/* Thank-you and not-found pages */
.thank-you { text-align: center; min-height: 60vh; display: flex; align-items: center; }
.thank-you .section__intro { margin-left: auto; margin-right: auto; }
.thank-you__icon { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--glow); color: #fff; font-size: 2.2rem; line-height: 4.5rem; font-weight: 700; }
.thank-you__name { font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.thank-you .buttons { margin-bottom: 2rem; }
.thank-you .btn--ghost { color: var(--text); border-color: var(--line); }

/* ---------- Footer and the phone button ---------- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: #fff; margin: 0 0 .3rem; }
.site-footer__text { max-width: 28rem; }
.site-footer__heading { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.site-footer__links { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-footer__links li { margin-bottom: .45rem; }
.site-footer__links--small { font-size: .88rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

.sticky-cta { display: none; }
@media (max-width: 760px) {
    .has-sticky-cta .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, #fff 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .25s; }
    .sticky-cta.is-hidden { transform: translateY(110%); }
    .has-sticky-cta .site-footer { padding-bottom: 5rem; }
}


/* ---------- Animations (none when the visitor's device asks for less motion: see the end of this file) ---------- */

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(.6em) rotate(4deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { opacity: 0; transform: translateY(40px) rotate(9deg) scale(.9); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(8rem, 4rem) scale(1.25); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7rem, -5rem) scale(1.3); } }
@keyframes slide { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes spark {
    0% { opacity: 0; transform: translate(0, 0) scale(.5); }
    15% { opacity: .95; }
    80% { opacity: .6; }
    100% { opacity: 0; transform: translate(var(--sway), -85vh) scale(1.1); }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes flip { 0% { opacity: .2; transform: perspective(300px) rotateX(-95deg); } 60% { opacity: 1; transform: perspective(300px) rotateX(15deg); } 100% { transform: none; } }
@keyframes flash { from { background: rgba(255, 255, 255, .42); } to { background: rgba(255, 255, 255, .16); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* The banner: words rise in one by one, the last one glows, the line draws, the photo settles and floats,
   a coloured halo turns behind it, sparks float up and the glows drift (and follow the mouse a little) */
.hero__heading, .hero__lead, .hero .buttons { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__lead { animation-delay: .25s; }
.hero .buttons { animation-delay: .4s; }
.motion .hero__heading.is-split { animation: none; }
.motion .hero__heading.is-split ~ .hero__lead { animation-delay: .5s; }
.motion .hero__heading.is-split ~ .buttons { animation-delay: .7s; }
.hero__heading .word { display: inline-block; animation: word-in .8s calc(var(--i) * 90ms + .1s) cubic-bezier(.2, .7, .2, 1) both; }
.hero__heading .word--glow { background: linear-gradient(90deg, var(--accent), #ffc83d, var(--accent), var(--primary), var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-in .8s calc(var(--i) * 90ms + .1s) cubic-bezier(.2, .7, .2, 1) both, slide 5s 1.5s linear infinite; padding-right: .04em; }
.hero__heading::after { transform-origin: left; animation: draw .8s .7s cubic-bezier(.2, .7, .2, 1) both; background-size: 200% 100%; }
.hero--simple .hero__heading::after { transform-origin: center; }
.hero--split .hero__media { position: relative; transition: transform .4s ease-out; transform: translate(calc(var(--px, 0) * -30px), calc(var(--py, 0) * -30px)); }
.hero--split .hero__media::before { content: ''; position: absolute; inset: 6% -8%; z-index: -1; border-radius: 50%; background: conic-gradient(from var(--angle), var(--primary), var(--accent), #ffc83d, var(--primary)); filter: blur(46px); opacity: .7; animation: spin 7s linear infinite; }
.hero--split .hero__media img { animation: settle 1s .2s cubic-bezier(.2, .7, .2, 1) both, float 5s 1.2s ease-in-out infinite; }
.hero::before { animation: drift-a 12s ease-in-out infinite alternate; translate: calc(var(--px, 0) * 60px) calc(var(--py, 0) * 60px); transition: translate .8s ease-out; }
.hero::after { animation: drift-b 14s ease-in-out infinite alternate; translate: calc(var(--px, 0) * -50px) calc(var(--py, 0) * -50px); transition: translate .8s ease-out; }
.hero--full::before { animation: none; translate: none; }
.hero .buttons .btn--primary { animation: pulse 2.6s 2s ease-out infinite; }
.register-section::before { animation: drift-a 14s ease-in-out infinite alternate; }

.sparks { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sparks span { position: absolute; left: var(--x); bottom: -1rem; width: var(--size); height: var(--size); border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 12px 3px color-mix(in srgb, var(--primary) 70%, transparent); animation: spark var(--time) var(--wait) linear infinite; }
.sparks span:nth-child(3n) { background: var(--accent); box-shadow: 0 0 14px 3px color-mix(in srgb, var(--accent) 70%, transparent); }
.sparks span:nth-child(4n) { background: #ffc83d; box-shadow: 0 0 14px 3px rgba(255, 200, 61, .6); }

/* The header: a progress line fills as the page scrolls, and a shadow appears */
.site-header { transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--dark) 96%, transparent); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--glow); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Coloured bands: the gradient slowly moves */
.countdown-section, .cta, .cta--card .cta__inner { background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary)); background-size: 200% 100%; animation: slide 9s linear infinite; }
.cta--card { background: none; animation: none; }

/* Parts come into view as the page scrolls (site.js marks them; without it they are simply shown) */
.motion .reveal {
    opacity: 0;
    translate: 0 48px;
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1), scale .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease, transform .25s, box-shadow .25s;
    transition-delay: var(--delay, 0ms);
}
.motion .reveal.is-visible { opacity: 1; translate: none; scale: none; filter: none; }
.motion .section__header.reveal, .motion .logos__heading.reveal { filter: blur(12px); translate: 0 30px; }
.motion .highlight.reveal, .motion .testimonial.reveal, .motion .info-card.reveal, .motion .stat.reveal { scale: .85; }
.motion .ticket.reveal { scale: .8; translate: 0 90px; }
.motion .speaker.reveal { scale: .9; }
.motion .speaker__photo { transition: clip-path 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--delay, 0ms) + .1s); }
.motion .speaker.reveal:not(.is-visible) .speaker__photo { clip-path: circle(0% at 50% 50%); }
.motion .speaker__photo { clip-path: circle(75% at 50% 50%); }
.motion .agenda__item.reveal { translate: -60px 0; }
.motion .faq__item.reveal { translate: 60px 0; }
.motion .image-text__media.reveal, .motion .register-section__text.reveal { translate: -70px 0; }
.motion .image-text__body.reveal { translate: 70px 0; }
.motion .register-form.reveal { translate: 0 80px; scale: .9; }
.motion .event-info__map.reveal { scale: .9; filter: blur(6px); }
.motion .agenda__item.reveal::before { scale: 0; transition: scale .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--delay, 0ms) + .25s); }
.motion .agenda__item.reveal.is-visible::before { scale: 1; }

/* The agenda's line fills in as the page scrolls */
.motion .agenda__list { isolation: isolate; }
.motion .agenda__list::before { z-index: -2; }
.motion .agenda__list::after { content: ''; position: absolute; z-index: -1; left: 7.4rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--primary), var(--accent)); transform: scaleY(var(--filled, 0)); transform-origin: top; }
@media (max-width: 600px) { .motion .agenda__list::after { left: .35rem; } }

/* Big numbers pop when they finish counting */
.stat dd.is-done { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1); }

/* The countdown: numbers flip as they change and their box flashes */
.countdown__number { display: inline-block; }
.countdown__number.is-ticking { animation: flip .6s cubic-bezier(.2, .7, .2, 1); }
.countdown__parts li.is-ticking { animation: flash .6s ease-out; }

/* Cards tilt towards the mouse, with a soft light where it points */
.motion .is-tilting { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px) !important; transition: transform .12s ease-out, box-shadow .25s !important; box-shadow: var(--shadow); }
.motion .highlight.is-tilting, .motion .ticket.is-tilting:not(.ticket--highlight), .motion .testimonial.is-tilting { background-image: radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--primary) 12%, transparent), transparent 55%); }
.motion .ticket--highlight.is-tilting { background-image: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .12), transparent 55%); box-shadow: 0 30px 60px -25px var(--primary); }

/* The "Most popular" ticket: a ring of colour turns around it, and its badge shimmers */
.ticket--highlight::before { content: ''; position: absolute; inset: -2px; padding: 2px; border-radius: calc(var(--radius) + 2px); background: conic-gradient(from var(--angle), var(--accent), #ffc83d, var(--primary), transparent 60%, var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 4s linear infinite; pointer-events: none; }
.ticket__badge { background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); background-size: 200% 100%; animation: slide 3s linear infinite; }

/* Sponsors scroll past in an endless strip (paused under the mouse) */
.logos__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__list.is-marquee { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee var(--duration, 30s) linear infinite; }
.logos__list.is-marquee li { padding: 0 2rem; flex: none; }
.logos__track:hover .is-marquee { animation-play-state: paused; }

/* A light sweeps across the main buttons on hover; the phone button pulses */
.btn--accent, .btn--primary { position: relative; overflow: hidden; }
.btn--accent::after, .btn--primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn--accent:hover::after, .btn--primary:hover::after { left: 130%; }
.sticky-cta .btn { animation: pulse 2.4s 1.5s ease-out infinite; }

/* Thank-you page: the tick pops in (site.js adds confetti) */
.thank-you__icon { animation: settle .8s cubic-bezier(.3, 1.4, .5, 1) both, pulse 2.4s 1s ease-out infinite; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .hero--split .hero__media img { transform: rotate(2deg); }
}
