/* Full-photo hero: /merpati, industry hubs, course pages. Body needs class has-photo-hero. */
.has-photo-hero { --ev-orange: #C45A1A; --ev-hdr: 72px; }
/* ---------- Header sits on the photo until it condenses ---------- */
.has-photo-hero .site-header:not(.is-condensed) .brand,
.has-photo-hero .site-header:not(.is-condensed) .nav__link,
.has-photo-hero .site-header:not(.is-condensed) .nav > ul > li > a,
.has-photo-hero .site-header:not(.is-condensed) .nav > ul > li > button,
.has-photo-hero .site-header:not(.is-condensed) .header-login { color: #fff; }

/* ---------- Buttons ---------- */
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s; }
.ev-btn:active { transform: scale(.97); }
.ev-btn__dot { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -8px; border-radius: 50%; background: var(--ev-orange); color: #fff; }
.ev-btn__dot svg, .ev-path__cta svg, .ev-sticky__btn svg { width: 15px; height: 15px; }
.ev-btn--light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.ev-btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ev-btn--ink { background: var(--ink); color: var(--on-dark); }
.ev-btn--line { border: 1px solid var(--line-strong); color: var(--ink); background: var(--white); }
.ev-btn:hover { transform: translateY(-2px); }

/* ---------- Hero: full-screen photo ---------- */
.ev-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; margin-top: calc(-1 * var(--ev-hdr)); padding: calc(var(--ev-hdr) + 40px) 0 88px; color: #fff; overflow: hidden; background: #14110f; }
.ev-hero__bg, .ev-hero__bg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.ev-hero__bg img { object-fit: cover; object-position: 38% 30%; animation: ev-zoom 18s var(--ease-out) both; }
.ev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14,11,9,.55) 0%, rgba(14,11,9,.15) 28%, rgba(14,11,9,.7) 58%, rgba(14,11,9,.94) 100%); }
@media (min-width: 900px) {
  .ev-hero { justify-content: center; padding-bottom: 120px; }
  .ev-hero::before { background: linear-gradient(90deg, rgba(14,11,9,.9) 0%, rgba(14,11,9,.72) 42%, rgba(14,11,9,.2) 75%, rgba(14,11,9,.35) 100%), linear-gradient(180deg, rgba(14,11,9,.5), transparent 25%); }
  .ev-hero__bg img { object-position: 60% 35%; }
}
@keyframes ev-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ev-hero__inner { position: relative; width: 100%; }
.ev-hero__title { margin: 0; font-size: clamp(3.25rem, 14vw, 6.25rem); line-height: .94; letter-spacing: -0.055em; font-weight: 700; max-width: 10ch; text-wrap: balance; }
.ev-hero__title span { color: #F08A4B; }
.ev-hero__lead { margin: 20px 0 0; max-width: 34ch; font-size: clamp(1.0625rem, 4.4vw, 1.375rem); line-height: 1.45; color: rgba(255,255,255,.86); }
.ev-hero__meta { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-hero__meta li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px 4px 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ev-hero__meta svg { width: 17px; height: 17px; }
.ev-hero__meta .ia { display: inline-flex; }
/* Speaker, big like on the poster */
.ev-hero__inner { display: grid; gap: 28px; }
.ev-hero__speaker { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.ev-hero__speaker img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 3px #F08A4B, 0 0 0 9px rgba(240,138,75,.22); }
.ev-hero__speaker b { display: block; font-size: clamp(1.125rem, 4.8vw, 1.5rem); line-height: 1.15; letter-spacing: -0.02em; }
.ev-hero__speaker small { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.35; color: rgba(255,255,255,.75); }
/* Organisers: logos on white chips, linked */
.ev-hero__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ev-hero__orgs small { flex-basis: 100%; font-size: .8125rem; color: rgba(255,255,255,.7); font-weight: 600; }
.ev-hero__orgs a { display: grid; place-items: center; height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.94); transition: transform .25s var(--ease-out), background-color .25s; }
.ev-hero__orgs a:hover { transform: translateY(-2px); background: #fff; }
.ev-hero__orgs img { height: 30px; width: auto; }
.ev-hero__orgs .ev-hero__mbr { padding: 0 12px; } .ev-hero__orgs .ev-hero__mbr img { height: 38px; }
@media (min-width: 900px) {
  .ev-hero__inner { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main speaker" "orgs orgs"; column-gap: 64px; row-gap: 40px; align-items: end; }
  .ev-hero__main { grid-area: main; } .ev-hero__orgs { grid-area: orgs; }
  .ev-hero__speaker { grid-area: speaker; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 26px; border-radius: 28px; background: rgba(20,17,15,.45); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .3s var(--ease-out), border-color .3s; }
  .ev-hero__speaker:hover { transform: translateY(-4px); border-color: rgba(240,138,75,.6); }
  .ev-hero__speaker img { width: 200px; height: 200px; box-shadow: 0 0 0 4px #F08A4B, 0 0 0 14px rgba(240,138,75,.2); }
  .ev-hero__speaker b { font-size: 1.625rem; }
  .ev-hero__orgs small { flex-basis: auto; margin-right: 8px; }
}
.ev-hero__cta { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 560px) { .ev-hero__cta { display: flex; flex-wrap: wrap; } }
.ev-hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.3); animation: ev-bob 2.4s ease-in-out infinite; }
.ev-hero__scroll svg { width: 18px; height: 18px; }
@keyframes ev-bob { 50% { transform: translateY(6px); } }
@media (min-width: 900px) { .ev-hero__scroll { display: grid; } }
@media (prefers-reduced-motion: reduce) { .ev-hero__bg img, .ev-hero__scroll { animation: none; } }

/* One-line title on laptops, so the next section peeks above the fold */
@media (min-width: 900px) {
  .ev-hero { min-height: min(100svh, 820px); }
  .ev-hero__title--line { max-width: none; white-space: nowrap; font-size: clamp(3.5rem, 5.6vw, 5.5rem); }
}
/* Industry and course pages: longer titles, no event logos */
.ev-hero--page .ev-hero__title { font-size: clamp(2.5rem, 10vw, 4.75rem); line-height: 1; max-width: 15ch; }
@media (min-width: 900px) { .ev-hero--page .ev-hero__inner { grid-template-areas: "main speaker"; } }
.ev-hero__speaker small.ev-hero__tag { color: #F08A4B; font-weight: 600; text-transform: none; }
