/* ---------- Brandify Events page: same feel as Media and Fontix, lit in pink and purple (generated from fontix.css, then edited) ---------- */
:root { --ev: #C447C9; --ev-hi: #F39AC4; --ev-lo: #4A1F86; --ev-g: #FF8AC8; }
/* the page is always lit orange; the light also follows the pointer */
.ev-light { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ev-light i { position: absolute; inset: 0; }
.ev-light .l1 { will-change: opacity; background: radial-gradient(60vmax 50vmax at 82% 18%, rgba(196,71,201,.34), transparent 70%), radial-gradient(50vmax 40vmax at 8% 88%, rgba(255,138,200,.12), transparent 70%); animation: ev-breathe 9s ease-in-out infinite alternate; }
.ev-light .l2 { inset: auto; left: 0; top: 0; width: 68vmax; height: 68vmax; margin: -34vmax 0 0 -34vmax; background: radial-gradient(closest-side, rgba(255,138,200,.22), transparent); transform: translate3d(50vw, 40vh, 0); will-change: transform; }

.ev-hero-in { position: relative; padding-block: clamp(120px, 18vh, 200px) clamp(64px, 10vh, 110px); display: grid; gap: clamp(14px, 1.6vw, 22px); justify-items: start; }
.ev-eyebrow { margin: 0; color: var(--ev-hi); font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .6em; }
.ev-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ev); box-shadow: 0 0 0 4px rgba(196,71,201,.25), 0 0 18px var(--ev); animation: ev-pulse 2.2s ease-in-out infinite; }
@keyframes ev-pulse { 50% { box-shadow: 0 0 0 9px rgba(196,71,201,0), 0 0 26px var(--ev); } }
.ev-title { margin: 0; font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: .92; letter-spacing: -.03em; }
:root[dir="rtl"] .ev-title { text-align: right; justify-self: start; }
.ev-hot { background: linear-gradient(100deg, #FFE0F0 0%, var(--ev-hi) 30%, var(--ev) 60%, #FF8AC8 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes ev-sheen { to { background-position: 100% 0; } }
.ev-lede { margin: 0; max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.75; opacity: .9; }
.ev-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chips li { font-size: .9rem; padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(243,154,196,.45); background: rgba(16,4,24,.55); }
.ev-stats { margin: clamp(10px, 2vw, 24px) 0 0; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); }
.ev-stats div { display: grid; gap: 2px; }
.ev-stats dt { order: 2; font-size: .9rem; opacity: .7; }
.ev-stats dd { order: 1; margin: 0; font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--ev-hi); }
:root[dir="rtl"] .ev-stats dd { text-align: right; }
.ev-cue { position: absolute; bottom: 26px; inset-inline-end: var(--gutter); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; }
.ev-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ev); animation: ev-cue 1.8s ease-in-out infinite; }
@keyframes ev-cue { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } }

.ev-h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.15; font-weight: 700; }
.ev-dim { color: rgba(242,242,238,.5); }
:root[dir="ltr"] .ev-door-go svg, :root[dir="ltr"] .ev-link svg, :root[dir="ltr"] .ev-btn svg { transform: scaleX(-1); }
.ev-link, .ev-btn { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; color: var(--ev-hi); text-decoration: none; }

/* ---------- call to action ---------- */
.ev-cta { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); }
.ev-cta-in { position: relative; overflow: hidden; display: grid; gap: 14px; justify-items: start; padding: clamp(32px, 5vw, 72px); border-radius: 28px; background: linear-gradient(130deg, #F39AC4 0%, #C447C9 50%, #4A1F86 100%); color: #fff; }
.ev-cta-in::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; inset-inline-end: -15%; top: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); animation: ev-breathe 5s ease-in-out infinite alternate; pointer-events: none; }
.ev-cta-in h2 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.1; }
.ev-cta-in p { margin: 0; font-size: 1.1rem; opacity: .92; }
.ev-btn { position: relative; z-index: 1; margin-top: 10px; padding: .95em 1.6em; border-radius: 999px; background: #0C0C0C; color: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.ev-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }

@media (prefers-reduced-motion: reduce) {
  .ev-row, .ev-belt, .ev-light .l1, .ev-hot, .ev-eyebrow::before, .ev-cue span, .ev-cta-in::after { animation: none; }
}

/* ---------- about ---------- */
.ev-about { padding-block: clamp(90px, 12vw, 160px) clamp(40px, 6vw, 80px); }
.ev-about-grid { margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ev-quote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.2; }
.ev-quote .ev-hot { display: block; }
.ev-about-txt { display: grid; gap: 18px; padding-inline-start: clamp(18px, 2vw, 28px); border-inline-start: 2px solid rgba(196,71,201,.55); }
.ev-about-txt p { margin: 0; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.9; opacity: .88; }

/* ---------- services ---------- */
.ev-services { padding-block: clamp(50px, 7vw, 100px) clamp(20px, 3vw, 40px); }
.ev-svc-row { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.ev-svc { --sx: 50%; --sy: 0%; position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.4vw, 34px); border-radius: 22px; overflow: hidden;
  background: radial-gradient(260px circle at var(--sx) var(--sy), rgba(196,71,201,.16), transparent 70%), rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.ev-svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255,138,200,.6), 0 24px 60px rgba(196,71,201,.18); }
.ev-svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ev-svc-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(150deg, #F39AC4, #C447C9 60%, #4A1F86); box-shadow: 0 10px 30px rgba(196,71,201,.35); }
.ev-svc-ic svg { width: 26px; height: 26px; }
.ev-svc-n { font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(243,154,196,.6); }
.ev-svc h3 { margin: 0; font-family: var(--display); font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.25; }
.ev-svc p { margin: 0; line-height: 1.85; opacity: .82; }
@media (max-width: 900px) {
  .ev-about-grid, .ev-svc-row { grid-template-columns: 1fr; }
}

/* ---------- our work: videos belt + one wide card per design client ---------- */
.ev-work { padding-block: clamp(80px, 10vw, 140px) clamp(30px, 4vw, 60px); }
.ev-sub { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ev-sub h3 { margin: 0; display: flex; align-items: baseline; gap: .55em; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.ev-sub-n { font-family: "IBM Plex Sans", var(--text); font-size: .55em; font-weight: 600; color: var(--ev-hi); }
.ev-sub-hint { margin: 0; font-size: .92rem; opacity: .6; }
.ev-work .ev-track-link { margin-top: 22px; }

.ev-cases { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.ev-case.client { padding: 0; overflow: visible; }
.ev-case { position: relative; border-radius: 22px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .5s ease, background .5s ease; }
.ev-case:hover, .ev-case.open { box-shadow: inset 0 0 0 1px rgba(255,138,200,.55), 0 20px 60px rgba(196,71,201,.12); }
.ev-case.open { background: rgba(196,71,201,.06); }
.ev-case-head { position: relative; width: 100%; height: clamp(120px, 13vw, 170px); display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: 0 clamp(18px, 2.4vw, 34px); border: 0; border-radius: 22px; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; overflow: hidden; }
.ev-case-head:focus-visible { outline: 3px solid var(--ev); outline-offset: 2px; }
.ev-case-id { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); min-width: 0; flex: 1; }
.ev-case-n { font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: transparent; -webkit-text-stroke: 1px rgba(243,154,196,.7); }
.ev-case-logo { width: clamp(52px, 5vw, 72px); height: clamp(52px, 5vw, 72px); object-fit: contain; padding: 8px; border-radius: 16px; background: #fff; flex: none; }
.ev-case-words { display: grid; gap: 4px; min-width: 0; }
.ev-case-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; }
.ev-case-meta { font-size: .9rem; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a fan of the client's posts on the far side, opening up on hover */
.ev-case-thumbs { position: absolute; inset-block: 0; inset-inline-end: clamp(90px, 9vw, 130px); width: 46%; display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent); mask-image: linear-gradient(to left, #000 55%, transparent); }
:root[dir="ltr"] .ev-case-thumbs { -webkit-mask-image: linear-gradient(to right, #000 55%, transparent); mask-image: linear-gradient(to right, #000 55%, transparent); }
.ev-case-thumbs img { flex: none; height: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-inline-start: -34px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: rotate(calc(var(--r, 0) * 1deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1), margin .6s cubic-bezier(.2,.8,.2,1); }
.ev-case-thumbs img:nth-child(1) { --r: -6; } .ev-case-thumbs img:nth-child(2) { --r: 4; } .ev-case-thumbs img:nth-child(3) { --r: -3; } .ev-case-thumbs img:nth-child(4) { --r: 5; } .ev-case-thumbs img:nth-child(5) { --r: -4; }
.ev-case-head:hover .ev-case-thumbs img { margin-inline-start: -10px; transform: rotate(0deg) translateY(-4px); }
.ev-case.open .ev-case-thumbs { opacity: 0; transition: opacity .3s ease; }
.ev-case-count { position: relative; z-index: 1; font-family: "IBM Plex Sans", var(--text); font-size: .85rem; padding: .3em .75em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.ev-case[data-k="dexz"] .ev-case-logo { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.ev-case-plus { position: relative; z-index: 1; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(150deg, #F39AC4, #C447C9 60%, #4A1F86); box-shadow: 0 8px 24px rgba(196,71,201,.35); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ev-case-plus svg { width: 22px; height: 22px; }
.ev-case.open .ev-case-plus { transform: rotate(45deg); }

/* opening: the card grows to show everything inside it */
.ev-case-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.8,.2,1); }
.ev-case.open .ev-case-body { grid-template-rows: 1fr; }
.ev-case-in { min-height: 0; overflow: hidden; }
.ev-case-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(18px, 2.4vw, 34px); }
.ev-case-line { margin: 0; max-width: 70ch; line-height: 1.8; opacity: .85; }
.ev-case-x { flex: none; display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: inherit; font: inherit; font-size: .9rem; cursor: pointer; transition: background .3s ease, border-color .3s ease; }
.ev-case-x:hover { background: var(--ev); border-color: var(--ev); }
.ev-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px clamp(18px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px); }
.ev-case-grid .post { border-radius: 14px; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.ev-case.open .ev-case-grid .post { opacity: 1; transform: none; }
.ev-case.open .ev-case-grid .post:nth-child(2) { transition-delay: .05s; } .ev-case.open .ev-case-grid .post:nth-child(3) { transition-delay: .1s; }
.ev-case.open .ev-case-grid .post:nth-child(4) { transition-delay: .15s; } .ev-case.open .ev-case-grid .post:nth-child(5) { transition-delay: .2s; }
.ev-case.open .ev-case-grid .post:nth-child(6) { transition-delay: .25s; } .ev-case.open .ev-case-grid .post:nth-child(7) { transition-delay: .3s; }
.ev-case.open .ev-case-grid .post:nth-child(8) { transition-delay: .35s; }
@media (max-width: 900px) {
  .ev-case-thumbs { display: none; }
  .ev-case-count { display: none; }
  .ev-case-head { height: auto; min-height: 110px; padding-block: 16px; }
  .ev-case-meta { white-space: normal; font-size: .8rem; }
  .ev-case-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ev-case-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ev-case-body, .ev-case-grid .post, .ev-case-thumbs img, .ev-case-plus { transition: none; } }

/* ---------- hero: the printed pieces float in a deep blue space (no clicks, just there to look at) ---------- */
.ev-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; margin-top: calc(var(--bar-h) * -1); padding-top: var(--bar-h); }
.ev-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; perspective: 1100px;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, #C447C9 0%, #5A2196 38%, #14061F 75%), #14061F; }
.ev-sky::before { content: ""; position: absolute; width: 46vmax; height: 46vmax; left: -12vmax; bottom: -20vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,200,.28), transparent); }
.ev-sky::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--ground) 0%, rgba(20,6,31,.7) 30%, rgba(20,6,31,.15) 62%, transparent 100%); }
.ev-space { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ev-fl { position: absolute; left: var(--x); top: var(--y); width: calc(var(--w) * 1vw); max-width: 320px; translate: -50% -50%; transform: translateZ(var(--z)); transform-style: preserve-3d; }
.ev-fl img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.5)); animation: ev-float 9s ease-in-out infinite alternate; animation-delay: var(--d); will-change: transform; }
.ev-far img { opacity: .55; filter: none; }
@keyframes ev-float { 0% { transform: translate3d(0, 0, 0) rotate(-4deg); } 50% { transform: translate3d(1.2vw, -2.2vh, 0) rotate(3deg); } 100% { transform: translate3d(-1vw, 1.6vh, 0) rotate(-1deg); } }
.ev-hero .ev-title { text-shadow: 0 10px 50px rgba(20,4,30,.6); }
.ev-hot { background: linear-gradient(100deg, #FFE0F0 0%, #F39AC4 35%, #FF8AC8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.ev-eyebrow::before { background: var(--ev-g); box-shadow: 0 0 0 4px rgba(255,138,200,.25), 0 0 18px var(--ev-g); }
.ev-cue span { background: var(--ev-g); }
@media (max-width: 900px) {
  .ev-hero { align-items: end; }
  .ev-fl { width: calc(var(--w) * 2.3vw); top: calc(var(--y) * .9); }
  .ev-mob-off { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ev-fl img { animation: none; } }

/* ---------- identity boards and printed pieces inside the cards ---------- */
.ev-case-mono { display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: #5A2196; }
.ev-case-thumbs img.ev-thumb-board { width: min(100%, 360px); height: 80%; aspect-ratio: auto; object-fit: cover; object-position: 50% 0%; margin: 0; transform: rotate(-3deg); transition: transform .6s cubic-bezier(.2,.8,.2,1), object-position 2.4s ease; }
.ev-case-head:hover .ev-case-thumbs img.ev-thumb-board { margin: 0; transform: rotate(0deg) translateY(-4px); object-position: 50% 100%; }
.ev-thumbs-merch img { aspect-ratio: 1; object-fit: contain; background: rgba(255,255,255,.06); padding: 6px; }
.ev-case-plus { background: linear-gradient(150deg, #F39AC4, #C447C9 60%, #4A1F86); }
.ev-case.open .ev-case-plus { background: var(--ev-g); color: #14061F; }
.ev-board { display: block; width: min(100% - 2 * clamp(18px, 2.4vw, 34px), 900px); margin: 22px auto clamp(22px, 2.4vw, 34px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.04); cursor: zoom-in; opacity: 0; transform: translateY(24px); transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2,.8,.2,1) .1s; }
.ev-case.open .ev-board { opacity: 1; transform: none; }
.ev-board img { display: block; width: 100%; height: auto; min-height: 200px; }
.ev-case-grid .ev-piece { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, rgba(243,154,196,.22), rgba(255,255,255,.03) 70%); }
.ev-piece img { object-fit: contain; padding: 10%; }
.ev-tag { position: absolute; inset: auto 10px 10px; font-size: .85rem; font-weight: 600; text-align: start; opacity: .9; }
@media (max-width: 1100px) { .ev-svc-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ev-svc-row { grid-template-columns: 1fr; } }
.ev-cta-in { background: linear-gradient(130deg, #D978C8 0%, #C447C9 50%, #4A1F86 100%); }
.ev-cta-in::before { content: ""; position: absolute; width: 40%; aspect-ratio: 1; inset-inline-start: -10%; bottom: -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,200,.35), transparent); pointer-events: none; }
.ev-btn { background: var(--ev-g); color: #14061F; }
.ev-link { color: var(--ev-g); }

/* five services: two wide cards on top (identity design leads), three below */

.ev-svc-id { box-shadow: inset 0 0 0 1px rgba(255,138,200,.35); }
.ev-svc-id .ev-svc-ic { background: linear-gradient(150deg, #FF8AC8, #E25DB0 60%, #8A2C8F); color: #14061F; box-shadow: 0 10px 30px rgba(255,138,200,.3); }
@media (max-width: 1100px) and (min-width: 641px) { .ev-svc-id { grid-column: 1 / -1; } }

/* ---------- identities: one card per brand. Closed, its logo draws itself, takes its colours and goes back to nothing, on a loop.
   Tapped, the card spans the full row and shows the identity pieces. ---------- */
.ev-brands { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.ev-brand.client { padding: 0; }


/* ================= Events only ================= */
/* hero: a dark stage, photos on the back wall, light beams from the ceiling and a spotlight that follows the pointer.
   Everything moves with transform/opacity only (no filters over the photos) so it stays smooth. */
.ev-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #14061F; }
.ev-wall { position: absolute; inset: -6% -4%; display: grid; grid-template-columns: repeat(6, 1fr); align-content: start; gap: 10px; transform: rotate(-4deg) scale(1.05); }
.ev-wall img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; opacity: .9; }
.ev-wall img:nth-child(3n) { transform: translateY(18px); }
.ev-dark { position: absolute; left: 0; top: 0; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; will-change: transform;
  background: radial-gradient(circle closest-side, rgba(20,6,31,0) 0, rgba(20,6,31,.05) 8%, rgba(20,6,31,.82) 16%, rgba(20,6,31,.94) 28%);
  transform: translate3d(60vw, 42vh, 0); }
.ev-glow { position: absolute; left: 0; top: 0; width: 40vmax; height: 40vmax; margin: -20vmax 0 0 -20vmax; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, rgba(255,138,200,.32), rgba(196,71,201,.12) 55%, transparent); transform: translate3d(60vw, 42vh, 0); }
.ev-beams { position: absolute; inset: 0; }
.ev-beams i { position: absolute; top: -10%; width: 34vw; height: 125%; transform-origin: 50% 0; opacity: .55;
  background: linear-gradient(to bottom, rgba(255,200,230,.35), rgba(243,154,196,.10) 45%, transparent 85%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  animation: ev-sway 7s ease-in-out infinite alternate; will-change: transform; }
.ev-beams i:nth-child(1) { left: 2%; --a: 16deg; animation-delay: -1s; }
.ev-beams i:nth-child(2) { left: 33%; --a: -6deg; animation-duration: 9s; background: linear-gradient(to bottom, rgba(196,71,201,.45), rgba(196,71,201,.10) 45%, transparent 85%); }
.ev-beams i:nth-child(3) { right: 0; --a: -18deg; animation-delay: -3s; animation-duration: 8s; }
@keyframes ev-sway { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) * -.6)); } }
.ev-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ground) 0%, rgba(20,6,31,.75) 26%, transparent 60%); }
.ev-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; margin-top: calc(var(--bar-h) * -1); padding-top: var(--bar-h); }
.ev-hero .ev-title { text-shadow: 0 10px 50px rgba(20,4,30,.7); }
.ev-hot { background: linear-gradient(100deg, #FFE0F0 0%, #F39AC4 35%, #C447C9 70%, #8E5BE8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
@media (hover: none), (max-width: 900px) {
  .ev-wall { grid-template-columns: repeat(3, 1fr); }
  .ev-wall img:nth-child(n+13) { display: none; }
  .ev-dark, .ev-glow { animation: ev-roam 14s ease-in-out infinite alternate; }
}
@keyframes ev-roam { 0% { transform: translate3d(25vw, 30vh, 0); } 50% { transform: translate3d(75vw, 45vh, 0); } 100% { transform: translate3d(40vw, 62vh, 0); } }
.ev-ph-note { display: inline-block; font-size: .78rem; padding: .3em .8em; border-radius: 999px; border: 1px dashed rgba(255,255,255,.35); opacity: .75; }

/* services: three cards in one row */
.ev-svc-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .ev-svc-row { grid-template-columns: 1fr; } }

/* why Events: four big numbered lines */
.ev-why { padding-block: clamp(40px, 6vw, 90px); }
.ev-why-list { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; counter-reset: why; }
.ev-why-list li { position: relative; display: flex; gap: clamp(14px, 2vw, 26px); align-items: baseline; padding: clamp(20px, 2.6vw, 34px) 0; border-top: 1px solid rgba(255,255,255,.1); padding-inline-end: 24px; }
.ev-why-list li::before { counter-increment: why; content: "0" counter(why); font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(243,154,196,.7); flex: none; }
.ev-why-list li p { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.45; }
.ev-why-list li::after { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 0; height: 2px; background: linear-gradient(90deg, #F39AC4, #C447C9); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.ev-why-list li.in::after, .ev-why-list li:hover::after { width: 100%; }
@media (max-width: 760px) { .ev-why-list { grid-template-columns: 1fr; } }

/* event cards: photo thumbnails are wide (landscape) */
.ev-case-thumbs img { aspect-ratio: 4 / 3; }
.ev-case-grid .ev-shot { aspect-ratio: 4 / 3; }
.ev-shot img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .ev-beams i, .ev-dark, .ev-glow { animation: none; } }

/* ---------- phones: case cards. .c-name (site.css) carries grid-area:name, which on a phone pushed the name and the
   tags into two thin columns. Here they stack: the name, then its tags under it, using the full width ---------- */
@media (max-width: 900px) {
  .ev-case-head { gap: 12px; padding-inline: 16px; }
  .ev-case-id { gap: 12px; }
  .ev-case-words { flex: 1; grid-template-columns: minmax(0, 1fr); }
  .ev-case-name { grid-area: auto; font-size: 1.2rem; text-wrap: pretty; }
  .ev-case-meta { grid-area: auto; line-height: 1.5; }
  .ev-case-n { font-size: 1.35rem; }
  .ev-case-logo { width: 46px; height: 46px; padding: 6px; border-radius: 12px; }
  .ev-case-plus { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
  .ev-why-list li { padding-block: 18px; padding-inline-end: 0; gap: 14px; }
  .ev-why-list li::before { font-size: 1.6rem; }
  .ev-why-list li p { font-size: 1.12rem; }
}
:root[dir="rtl"] .ev-case-name { text-align: right; }

/* hero film (vid/events-*.mp4): the real event video replaces the placeholder photo wall; the stage stays a little
   darker than the spotlight so the words stay readable */
.ev-film { inset: 0; display: block; transform: none; }
.ev-bgv { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; }
.ev-film ~ .ev-dark { background: radial-gradient(circle closest-side, rgba(20,6,31,0) 0, rgba(20,6,31,.05) 8%, rgba(20,6,31,.55) 17%, rgba(20,6,31,.72) 30%); }
.ev-film .ev-bgv { filter: none; } .ev-film::after { content: ""; position: absolute; inset: 0; background: rgba(20,6,31,.25); }

/* real event card: tall phone-shot photos and the full video */
.ev-case.tall .ev-case-thumbs img, .ev-case.tall .ev-case-grid .ev-shot { aspect-ratio: 9 / 16; }
.ev-case.tall .ev-case-thumbs img { height: 88%; }
.ev-film-tile { grid-row: span 2; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; align-self: start; }
.ev-case.tall .ev-case-grid { grid-template-columns: repeat(5, 1fr); }
.ev-film-tile { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.ev-film-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .ev-case.tall .ev-case-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-film-tile { grid-column: 1 / -1; grid-row: auto; height: auto; aspect-ratio: 9 / 16; max-height: 80svh; justify-self: center; width: 100%; }
}

/* ---------- the event showcase (one real event, shown big like a film poster) ---------- */
.ev-show { position: relative; display: grid; grid-template-columns: minmax(260px, 34%) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 56px); padding: clamp(18px, 2.4vw, 32px); border-radius: 32px;
  background: radial-gradient(120% 90% at 85% 10%, rgba(196,71,201,.22), transparent 60%), rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ev-show-film { position: relative; aspect-ratio: 9 / 16; max-height: 76vh; border-radius: 24px; overflow: hidden; background: #000; isolation: isolate;
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,138,200,.25), 0 0 120px -20px rgba(196,71,201,.55); }
.ev-show-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-show-film::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,3,16,.75), transparent 38%); pointer-events: none; transition: opacity .4s ease; }
.ev-show-play { position: absolute; z-index: 2; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; justify-content: center; gap: .6em; padding: .9em 1.2em; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background .3s ease, transform .3s ease; }
.ev-show-play:hover { background: #C447C9; transform: translateY(-2px); }
.ev-show-play svg { width: 20px; height: 20px; flex: none; }
.ev-show-live { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; display: flex; align-items: center; gap: 6px; padding: .3em .7em; border-radius: 999px; background: rgba(0,0,0,.45); font: 700 .72rem/1 "IBM Plex Sans", sans-serif; letter-spacing: .08em; }
.ev-show-live i { width: 7px; height: 7px; border-radius: 50%; background: #FF4D8D; box-shadow: 0 0 10px #FF4D8D; animation: ev-live 1.4s ease-in-out infinite; }
@keyframes ev-live { 50% { opacity: .25; } }
.ev-show-film.full::after, .ev-show-film.full .ev-show-play, .ev-show-film.full .ev-show-live { opacity: 0; pointer-events: none; }
.ev-show-info { display: grid; gap: 14px; align-content: center; min-width: 0; }
.ev-show-tag { margin: 0; color: #F39AC4; font-weight: 600; letter-spacing: .02em; }
.ev-show-name { margin: 0; font-family: "IBM Plex Sans", var(--text); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; text-align: start; grid-area: auto; text-shadow: none; }
:root[dir="rtl"] .ev-show-name { text-align: right; }
.ev-show-name em { font-style: normal; display: block; background: linear-gradient(100deg, #FFE0F0, #F39AC4 40%, #C447C9 75%, #8E5BE8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-show-by { margin: 0; opacity: .6; font-family: "IBM Plex Sans", var(--text); letter-spacing: .04em; }
:root[dir="rtl"] .ev-show-by { text-align: right; }
.ev-show-line { margin: 4px 0 8px; max-width: 52ch; line-height: 1.8; opacity: .85; }
.ev-show-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ev-show-shot { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #111; }
.ev-show-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease; filter: saturate(.9); }
.ev-show-shot:hover img, .ev-show-shot:focus-visible img { transform: scale(1.06); filter: none; }
.ev-show-shot:focus-visible { outline: 3px solid #C447C9; outline-offset: 2px; }
@media (max-width: 900px) {
  .ev-show { grid-template-columns: 1fr; padding: 12px; border-radius: 24px; }
  .ev-show-film { max-height: 78svh; width: 100%; justify-self: center; }
  .ev-show-info { padding: 6px 6px 10px; }
  .ev-show-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -6px; padding-inline: 6px; }
  .ev-show-strip::-webkit-scrollbar { display: none; }
  .ev-show-strip li { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .ev-show-live i { animation: none; } }
