/* events.css — shared tokens + per-variant styles for the three
   Events page explorations. Variants are namespaced (evt-lan-, evt-tkt-,
   evt-film-) so they can coexist on the explorations canvas.
   Tokens echo the rest of the portfolio. */

:root {
  /* PALETTE · "Moodboard" — see brand-work.css for full notes. */
  --paper:      #F0E8D6;
  --paper-2:    #F7F1E2;
  --paper-3:    #E5DBC4;
  --ink:        #3F4E1E;
  --ink-2:      #5C6D2F;
  --ink-3:      #8A9670;
  --rule:       #D0C8AC;
  --tomato:     #E6712E;
  --butter:     #DDE54E;
  --blush:      #E27CB9;
  --sky:        #6FA89E;
  --sage:       #5C6D2F;
  --lilac:      #CCC3D1;
  --kraft:      #c8a070;
  --kraft-deep: #a07b50;
  --rose:       #E27CB9;
  --grass:      #A8AC22;
}

/* ════════════════════════════════════════════════════════════════
   Shared chrome — nav strip / back link / footer / media thumb
   ════════════════════════════════════════════════════════════════ */
.evt-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(236, 228, 210, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: 14px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  z-index: 30;
  pointer-events: none;
}
.evt-nav > * { pointer-events: auto; }
.evt-mark {
  font-family: 'mudstone-sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.evt-mark-dot {
  width: 8px; height: 8px; background: var(--tomato); border-radius: 50%;
}
.evt-crumb {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  white-space: nowrap;
}
.evt-crumb a {
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-3);
}
.evt-crumb a:hover { color: var(--tomato); border-color: var(--tomato); }
.evt-crumb-current { color: var(--tomato); }
.evt-nav-links {
  display: flex; gap: 26px; justify-content: flex-end;
  align-items: baseline;
  font-family: 'Sundae', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 22px;
}
.evt-nav-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 2px 4px;
  line-height: 1;
}
.evt-nav-links a:hover { color: var(--tomato); }
.evt-nav-links a.current { color: var(--ink); }
.evt-nav-links a.current::after {
  content: '';
  position: absolute;
  left: -8px; right: -8px; top: -4px; bottom: -4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 24' preserveAspectRatio='none'><ellipse cx='30' cy='12' rx='28' ry='10' stroke='%23c44a32' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.evt-back {
  position: absolute;
  top: 90px; left: 36px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  z-index: 30;
  white-space: nowrap;
}
.evt-back:hover { color: var(--tomato); }
.evt-back-arrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px; margin-right: 4px;
}

.evt-foot-l, .evt-foot-r {
  position: absolute;
  bottom: 24px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(31,26,20,0.55);
  text-transform: uppercase;
  z-index: 30;
}
.evt-foot-l { left: 36px; }
.evt-foot-r { right: 36px; text-align: right; }

/* Thumb — solid colour fallback with diagonal-stripe grain + stencilled
   label so empty placeholders still communicate which slot it is. */
.evt-thumb {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: #b8a890;
}
.evt-thumb img,
.evt-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.evt-thumb-grain {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 6px, transparent 6px 14px);
  pointer-events: none;
}
.evt-thumb-label {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ════════════════════════════════════════════════════════════════
   VARIANT A · CONFERENCE LANYARDS & BADGES
   Three lanyards hang from a wooden ledge with brass hooks. Each
   lanyard cord carries printed event branding running its length;
   it ends in a metal clip that grips a plastic badge with the event
   details. Below each badge, video thumbnails dangle like ticket
   stubs. A few extra lanyards hang faded in the background to
   suggest the wall-full she has at her desk.
   ════════════════════════════════════════════════════════════════ */
.evt-lan {
  position: relative;
  width: 100%; height: 100%;
  background: url('assets/events-bg.jpg') center/cover no-repeat;
  color: var(--ink);
  overflow: hidden;
}
.evt-lan::before {
  /* venue-floor texture — subtle film grain */
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}
.evt-lan-title {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
}
.evt-lan-title-eyebrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 10px;
}
.evt-lan-title-main {
  font-family: 'Sundae', 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 74px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.evt-lan-title-main .evt-lan-title-eyebrow-accent { color: var(--blush); }
.evt-lan-title-main em {
  font-family: 'mudstone-sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-style: normal;
  color: var(--butter);
  font-size: 64px;
}

/* Wooden ledge that the lanyards hang from. Raised relative to the
   first pass so the dangling stubs no longer collide with the footer
   strip at the bottom of the page. */
.evt-lan-ledge {
  position: absolute;
  left: 0; right: 0;
  top: 170px;
  height: 14px;
  background:
    linear-gradient(180deg, #F7F1E2 0%, #F0E8D6 60%, #E5DBC4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,200,140,0.25),
    0 8px 16px rgba(0,0,0,0.55);
  z-index: 4;
}
.evt-lan-ledge::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: rgba(0,0,0,0.3);
  filter: blur(2px);
}

/* Brass hook anchoring each lanyard to the ledge. Hook sits ON the
   ledge (top edge at 220px) and protrudes downward where the cord
   wraps through it. */
.evt-lan-hook {
  position: absolute;
  top: 160px;
  width: 16px;
  height: 28px;
  background:
    radial-gradient(circle at 30% 30%, #f5d990 8%, #c69a4a 40%, #7a5818 100%);
  border-radius: 4px 4px 10px 10px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.5);
  z-index: 7;
}
.evt-lan-hook::before {
  /* mounting screw on the ledge */
  content: '';
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a2a 30%, #5a5a5a 70%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* A single lanyard column */
.evt-lan-col {
  position: absolute;
  top: 190px;
  width: 280px;
  z-index: 6;
  cursor: pointer;
  /* Strip default focus outline; we replicate it on the inner wrapper
     with a small drop-shadow ring so keyboard users still get a clear
     focus indicator without the harsh blue browser ring. */
}
.evt-lan-col:focus { outline: none; }
.evt-lan-col:focus-visible .evt-lan-col-inner {
  filter: drop-shadow(0 0 0 3px rgba(232,200,96,0.6));
}
.evt-lan-col-1 { left: 9%; }
.evt-lan-col-2 { left: 50%; transform: translateX(-50%); }
.evt-lan-col-3 { right: 9%; }

/* Inner wrapper carries the cord, clip, badge, blurb, stubs and the
   sticker pin. Lives inside .evt-lan-col so the col's translateX(-50%)
   centering (col-2) doesn't fight the sway transform on hover. The pin
   is `position: absolute` against this wrapper so it swings with the
   badge. Pivot at top-center because that's where the cord meets the
   hook above. */
.evt-lan-col-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: top center;
  /* idle settle — when hover ends the lanyard eases back to 0 */
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
/* Hover: continuous gentle sway, like the cord caught a draft. Each
   column gets a slightly different phase so the three lanyards don't
   march in lockstep. Pendulum keyframes — start at one extreme, swing
   through to the other, and return — so with ease-in-out timing the
   lanyard slows at the peaks and accelerates through the middle
   (just like a real pendulum) instead of pausing at rest each cycle. */
.evt-lan-col:hover .evt-lan-col-inner {
  animation: evt-lan-sway 2.2s ease-in-out infinite;
}
.evt-lan-col-1:hover .evt-lan-col-inner { animation-duration: 2.4s; }
.evt-lan-col-2:hover .evt-lan-col-inner { animation-duration: 2.1s; animation-delay: -0.6s; }
.evt-lan-col-3:hover .evt-lan-col-inner { animation-duration: 2.3s; animation-delay: -1.1s; }
@keyframes evt-lan-sway {
  0%   { transform: rotate(-2.4deg); }
  50%  { transform: rotate(2.4deg); }
  100% { transform: rotate(-2.4deg); }
}

/* Lanyard cord — the SVG defines two strands twisting around each other.
   For the "printed branding" pass we lay a small printed strip over the
   straighter portion of the cord (a positioned absolute child) with the
   event name repeated. */
.evt-lan-cord {
  width: 120px;
  height: 200px;
  margin-top: -6px;
  position: relative;
}
.evt-lan-cord svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}
/* Repeated printed event name down the cord — small mono caps */
.evt-lan-cord-print {
  position: absolute;
  top: 24px; bottom: 36px;
  left: 50%;
  width: 12px;
  transform: translateX(-50%);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  line-height: 12px;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

/* Clip / metal swivel at base of cord — a small rectangular brass clamp */
.evt-lan-clip {
  width: 42px; height: 20px;
  background: linear-gradient(180deg, #e8e2d6 0%, #8a8478 40%, #b4ada0 100%);
  border-radius: 4px;
  margin-top: -10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.evt-lan-clip::before {
  /* dimple in the middle of the clamp */
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.4);
}
.evt-lan-clip::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  transform: translateX(-50%);
  width: 2px; height: 8px;
  background: #6a6358;
}

/* The plastic conference badge — wider + more detail in this revision */
.evt-lan-badge {
  width: 290px;
  background: var(--paper-2);
  padding: 0 0 12px;
  margin-top: 4px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -1px 0 rgba(0,0,0,0.05) inset,
    0 18px 32px rgba(0,0,0,0.55),
    0 6px 10px rgba(0,0,0,0.35);
  border-radius: 8px;
  position: relative;
  /* faint plastic sheen */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%);
  background-color: var(--paper-2);
  color: var(--ink);
  overflow: hidden;
}
.evt-lan-badge::before {
  /* punch hole at top */
  content: '';
  position: absolute;
  left: 50%; top: 12px;
  transform: translateX(-50%);
  width: 30px; height: 6px;
  background: #0a0807;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
  z-index: 2;
}
.evt-lan-badge-band {
  /* color band at the top of the badge — event-specific. Wider than before
     so it can carry the event short-name as a sponsor strip. */
  position: relative;
  height: 38px;
  background: var(--band, var(--tomato));
  color: var(--paper-2);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 10px 6px;
  border-radius: 8px 8px 0 0;
}
.evt-lan-badge-band-text {
  /* Lock to one line so the band stays cleanly centered on the longer
     sponsor strings (Adobe Summit is the widest of the three). */
  white-space: nowrap;
  max-width: 100%;
}
.evt-lan-badge-eyebrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-top: 14px;
}
.evt-lan-badge-name {
  font-family: 'mudstone-sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 22px;
}
.evt-lan-badge-loc {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-top: 8px;
  padding: 0 12px;
}

/* QR + attendee number row. With QR removed (per Madeleine's review)
   the attendee block now spans the full width and reads as a stack of
   key/value rows instead of a side-by-side cluster. */
.evt-lan-badge-id {
  padding: 14px 18px 0;
  margin-top: 10px;
}
.evt-lan-badge-attendee {
  display: flex; flex-direction: column;
  gap: 6px;
}
.evt-lan-badge-attendee--full {
  width: 100%;
}
.evt-lan-badge-attendee-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.evt-lan-badge-attendee .k {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.evt-lan-badge-attendee .v {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.evt-lan-badge-attendee .role {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--tomato);
  line-height: 1.05;
  text-align: right;
  max-width: 60%;
}

/* "HELLO MY NAME IS" strip pinned to bottom of badge */
.evt-lan-badge-name-tag {
  margin: 12px 0 0;
  background: var(--band, var(--tomato));
  color: var(--paper-2);
  padding: 8px 8px 10px;
  text-align: center;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
}
.evt-lan-badge-name-tag .smaller {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 0.22em;
  display: block;
  opacity: 0.85;
  margin-bottom: 2px;
}
.evt-lan-badge-name-tag .bigger {
  font-size: 22px;
  line-height: 1;
  color: var(--paper-2);
}

/* Sticker / pin attached to the badge — little flair. Positioned on
   the column wrapper so the badge's overflow:hidden doesn't clip it.
   Each column overrides --pin-r to get a slightly different tilt.
   Top tuned so it sits over the sponsor band (badge starts at cord-end
   ≈ 210px down inside col-inner, band is the first ~38px after that). */
.evt-lan-badge-pin {
  position: absolute;
  top: 218px;
  right: -10px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.5),
    inset 0 0 0 2px var(--tomato),
    inset 0 0 0 6px var(--paper-2),
    inset 0 0 0 7px var(--tomato);
  display: flex; align-items: center; justify-content: center;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: var(--tomato);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 9;
  transform: rotate(var(--pin-r, -12deg));
}
.evt-lan-col-1 .evt-lan-badge-pin { --pin-r: -14deg; }
.evt-lan-col-2 .evt-lan-badge-pin { --pin-r: 8deg; }
.evt-lan-col-3 .evt-lan-badge-pin { --pin-r: -6deg; }

/* Blurb below the badge — small handwritten note */
.evt-lan-blurb {
  margin-top: 26px;
  width: 290px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.32;
  color: rgba(63,78,30,0.88);
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color .25s ease, color .25s ease;
}
.evt-lan-col:hover .evt-lan-blurb {
  background: var(--butter);
  color: var(--ink);
}
.evt-lan-blurb-role {
  display: block;
  margin-top: 10px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--tomato);
  text-transform: uppercase;
}

/* "click for videos" hint pill — sits below the blurb. Subtly animated
   so it pulses gently when the lanyard isn't being interacted with, so
   visitors notice it's a clickable affordance. On hover (sway active),
   we kill the pulse — the lanyard's motion is the active indicator. */
.evt-lan-blurb-hint {
  margin-top: 14px;
  display: inline-block;
  align-self: center;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--butter);
  border: 1px solid rgba(232,200,96,0.5);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(232,200,96,0.06);
  animation: evt-lan-hint-pulse 2.4s ease-in-out infinite;
}
.evt-lan-col:hover .evt-lan-blurb-hint {
  animation: none;
  color: var(--paper-2);
  border-color: var(--butter);
  background: var(--butter);
  color: var(--ink);
}
@keyframes evt-lan-hint-pulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}

/* Two video "ticket stubs" below each lanyard — laid out side-by-side */
.evt-lan-stubs {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.evt-lan-stub {
  width: 142px;
  background: var(--paper-2);
  padding: 10px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.45);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
  display: block;
}
.evt-lan-stub:hover {
  z-index: 10;
}
.evt-lan-stub:nth-child(even) { transform: rotate(2deg); }
.evt-lan-stub:nth-child(odd)  { transform: rotate(-2deg); }
.evt-lan-stub:nth-child(even):hover { transform: rotate(0) translateY(-6px) scale(1.06); }
.evt-lan-stub:nth-child(odd):hover  { transform: rotate(0) translateY(-6px) scale(1.06); }
.evt-lan-stub-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #b8a890;
  position: relative;
  overflow: hidden;
}
.evt-lan-stub-photo::after {
  /* play-button overlay, only shows on hover */
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.evt-lan-stub:hover .evt-lan-stub-photo::after { opacity: 1; }
.evt-lan-stub-cap {
  padding-top: 8px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  min-height: 32px;
}
.evt-lan-stub-meta {
  display: block;
  margin-top: 4px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tomato);
}

/* Background "wall of lanyards" — faded ghosts to the sides of the
   three featured ones. Suggests Madeleine's actual desk wall. */
.evt-lan-ghost {
  position: absolute;
  top: 300px;
  width: 70px;
  z-index: 2;
  opacity: 0.18;
  filter: blur(0.4px);
}
.evt-lan-ghost svg { width: 100%; height: auto; }
.evt-lan-ghost-1 { left: 2%;  top: 320px; transform: rotate(-2deg); }
.evt-lan-ghost-2 { left: 24%; top: 312px; transform: rotate(1deg); }
.evt-lan-ghost-3 { left: 70%; top: 308px; transform: rotate(-1.5deg); }
.evt-lan-ghost-4 { right: 2%; top: 322px; transform: rotate(2deg); }

/* ════════════════════════════════════════════════════════════════
   Event-detail modal
   Translucent dark backdrop fades in over the lanyard wall; a paper
   panel rises into the centre carrying the event's video gallery.
   Click outside / ESC / × to dismiss.
   ════════════════════════════════════════════════════════════════ */
.evt-modal {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
  animation: evt-modal-fade .25s ease-out;
}
@keyframes evt-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.evt-modal-panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 100%;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  overflow: hidden auto;
  animation: evt-modal-rise .4s cubic-bezier(.2,.7,.3,1);
  padding-bottom: 40px;
}
@keyframes evt-modal-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sponsor band at the top of the panel — mirrors the badge's band so
   the modal reads as "the badge, opened up". */
.evt-modal-band {
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-2);
  background: var(--tomato);
}

.evt-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  color: var(--paper-2);
  font-size: 26px; line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background .15s, transform .15s;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 4px;
}
.evt-modal-close:hover {
  background: rgba(255,255,255,0.4);
  transform: scale(1.08);
}

.evt-modal-eyebrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-top: 32px;
}
.evt-modal-name {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 8px;
  color: var(--ink);
}
.evt-modal-blurb {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink-2);
  text-align: center;
  max-width: 720px;
  margin: 18px auto 4px;
  padding: 0 24px;
}
.evt-modal-meta {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 28px;
}
.evt-modal-meta span {
  color: var(--tomato);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 16px;
}

/* Video gallery — mixed aspect ratios (laptop landscape + phone
   portrait) need flex with flex-start alignment so they line up nicely
   without padding the shorter tile. auto-fit grid would force equal
   columns and waste space around the phone frame. */
.evt-modal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 0 56px;
}
.evt-modal-vid {
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
/* Polaroid-flavoured tiles get the white border + shadow. Device-frame
   tiles (laptop, phone) drop the polaroid chrome since the device IS
   the frame — wrapping a device in a polaroid reads as two frames. */
.evt-modal-vid--polaroid {
  flex: 0 1 280px;
  background: var(--paper);
  padding: 12px 12px 0;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04) inset,
    0 12px 28px rgba(0,0,0,0.18);
}
.evt-modal-vid--laptop   { flex: 0 1 560px; }
.evt-modal-vid--phone    { flex: 0 0 280px; }

.evt-modal-vid:nth-child(3n+1) { --tilt: -0.6deg; }
.evt-modal-vid:nth-child(3n+2) { --tilt: 0.8deg; }
.evt-modal-vid:nth-child(3n)   { --tilt: -0.4deg; }
.evt-modal-vid:hover {
  transform: rotate(0deg) translateY(-4px);
  z-index: 3;
}
.evt-modal-vid-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2620;
  overflow: hidden;
}
.evt-modal-vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--tomato);
  padding-left: 6px;     /* nudge the play triangle to optical centre */
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
  transition: transform .2s, background .2s;
  pointer-events: none;  /* let the parent's onClick handle clicks */
}
.evt-modal-vid-photo:hover .evt-modal-vid-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--paper-2);
}
.evt-modal-vid-soon {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-2);
  background: rgba(31,26,20,0.65);
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.evt-modal-vid-cap {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  text-align: center;
  padding: 14px 8px 22px;
  line-height: 1.05;
}

/* Device-frame tiles only show the photo+play UI for the polaroid
   fallback; the laptop and phone variants render the actual device
   chrome and an iframe. No additional CSS needed here. */
.evt-phone-home {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════════
   VARIANT B · TICKET STUB WALL
   Three big perforated event tickets stacked on a corkboard with
   pushpins. Each ticket has a serial, ADMIT ONE block, event details,
   role; the right-hand stub has video thumbnails as tear-off panels.
   ════════════════════════════════════════════════════════════════ */
.evt-tkt {
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,0,0,0.12) 0%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(168,116,72,0.5), transparent 50%),
    repeating-radial-gradient(circle at 20% 20%, rgba(0,0,0,0.06) 0 1px, transparent 1px 3px),
    var(--kraft);
  overflow: hidden;
}

.evt-tkt-title {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
}
.evt-tkt-title-eyebrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(31,26,20,0.7);
  margin-bottom: 8px;
}
.evt-tkt-title-main {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* A single ticket — wide horizontal strip with perforated tear-line */
.evt-tkt-row {
  position: absolute;
  left: 8%; right: 8%;
  height: 200px;
  background: var(--paper-2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 18px 32px rgba(0,0,0,0.32);
  display: grid;
  grid-template-columns: 90px 1fr 320px;
  align-items: stretch;
  z-index: 5;
}
.evt-tkt-row-1 { top: 240px; transform: rotate(-1.5deg); }
.evt-tkt-row-2 { top: 470px; transform: rotate(0.8deg); left: 12%; right: 4%; }
.evt-tkt-row-3 { top: 700px; transform: rotate(-1deg);  left: 4%;  right: 12%; }
/* scalloped left edge */
.evt-tkt-edge {
  background:
    radial-gradient(circle 10px at left, transparent 8px, var(--paper-2) 9px) 0 0 / 100% 22px repeat-y;
  border-right: 2px dashed rgba(31,26,20,0.4);
  position: relative;
}
.evt-tkt-edge-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--tomato);
  white-space: nowrap;
}

.evt-tkt-body {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  align-content: center;
}
.evt-tkt-body-name {
  grid-column: 1 / -1;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.evt-tkt-body-field {
  display: flex; flex-direction: column; gap: 4px;
}
.evt-tkt-body-field .key {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.evt-tkt-body-field .val {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
}
.evt-tkt-body-field .val.tomato { color: var(--tomato); }
.evt-tkt-body-blurb {
  grid-column: 1 / -1;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-2);
}

/* Right-hand stub — perforated and contains video tear-offs */
.evt-tkt-stub {
  background: var(--paper-2);
  border-left: 2px dashed rgba(31,26,20,0.4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  position: relative;
}
.evt-tkt-stub-vid {
  background: #b8a890;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
}
.evt-tkt-stub-vid:hover {
  transform: translateY(-3px) scale(1.04);
  z-index: 8;
  box-shadow: 0 10px 16px rgba(0,0,0,0.3);
}
.evt-tkt-stub-vid-photo {
  position: relative;
  width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden;
}
.evt-tkt-stub-vid-cap {
  position: absolute;
  left: 6px; bottom: 6px; right: 6px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  text-align: left;
}

/* Big admit-one number block (sits at right edge of stub) */
.evt-tkt-stub-admit {
  position: absolute;
  right: -6px; top: 10px; bottom: 10px;
  width: 22px;
  background: var(--tomato);
  color: var(--paper-2);
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 8px 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* Pushpins on tickets */
.evt-tkt-pin {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a7a 5%, var(--tomato) 35%, #6e2415 80%);
  box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.4);
  z-index: 12;
}
.evt-tkt-pin::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  transform: translate(-90%, -90%);
}

/* ════════════════════════════════════════════════════════════════
   VARIANT C · 35MM FILMSTRIP REEL
   A horizontal filmstrip running across the page with sprocket holes.
   Each event gets a labeled section of the strip; the frames within
   are autoplay video thumbs. A film canister + clapper sit beside it.
   ════════════════════════════════════════════════════════════════ */
.evt-film {
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 70%),
    linear-gradient(180deg, #1a1612 0%, #0d0a08 100%);
  color: var(--paper-2);
  overflow: hidden;
}
.evt-film::before {
  /* film-grain texture */
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}
.evt-film-title {
  position: absolute;
  top: 110px;
  left: 80px;
  z-index: 5;
  max-width: 600px;
}
.evt-film-title-eyebrow {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 12px;
}
.evt-film-title-main {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 110px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--paper-2);
}
.evt-film-title-main em {
  font-family: 'mudstone-sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--butter);
  font-size: 64px;
  display: block;
  margin-top: 2px;
  letter-spacing: 0;
}

/* The filmstrip itself — sprocket holes top + bottom, frames in middle */
.evt-film-strip {
  position: absolute;
  left: 0; right: 0;
  top: 540px;
  height: 280px;
  background: #0a0805;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 20px 40px rgba(0,0,0,0.6);
  z-index: 4;
  /* slight tilt for handmade feel */
  transform: rotate(-0.8deg);
}
.evt-film-strip-sprockets {
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  background-image:
    radial-gradient(circle 6px at 26px center, var(--paper-2) 5px, transparent 6px),
    radial-gradient(circle 6px at center, var(--paper-2) 5px, transparent 6px);
  background-size: 52px 100%, 52px 100%;
  background-repeat: repeat-x;
  background-position: 0 center, 26px center;
}
.evt-film-strip-sprockets-top    { top: 0; }
.evt-film-strip-sprockets-bottom { bottom: 0; }
.evt-film-strip-frames {
  position: absolute;
  left: 24px; right: 24px;
  top: 36px; bottom: 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.evt-film-frame {
  background: #b8a890;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.evt-film-frame:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: inset 0 0 0 2px var(--butter), 0 8px 18px rgba(0,0,0,0.5);
}
.evt-film-frame-num {
  position: absolute;
  left: 6px; top: 6px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.evt-film-frame-cap {
  position: absolute;
  left: 6px; right: 6px; bottom: 6px;
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Event-section dividers + handwritten labels above the strip */
.evt-film-label {
  position: absolute;
  bottom: 100%;
  margin-bottom: 22px;
  text-align: center;
  pointer-events: none;
}
.evt-film-label-name {
  font-family: 'mudstone-sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  color: var(--paper-2);
  letter-spacing: 0.02em;
}
.evt-film-label-meta {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--butter);
  margin-top: 6px;
}
.evt-film-label-arrow {
  display: block;
  margin: 6px auto 0;
  width: 2px;
  height: 18px;
  background: var(--butter);
}

/* Blurb cards below the strip — one per event, hand-written notes */
.evt-film-blurbs {
  position: absolute;
  left: 80px; right: 80px;
  top: 870px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  z-index: 6;
}
.evt-film-blurb {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.32;
  color: rgba(251,247,236,0.86);
  position: relative;
  padding-left: 18px;
}
.evt-film-blurb::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--tomato);
}
.evt-film-blurb-role {
  font-family: 'aktiv-grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-top: 8px;
  display: block;
}

/* Clapper board accent — sits in the empty top-right space */
.evt-film-clapper {
  position: absolute;
  right: 80px;
  top: 140px;
  width: 280px;
  height: 200px;
  transform: rotate(8deg);
  z-index: 4;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.5));
}
.evt-film-clapper svg { width: 100%; height: 100%; }
