/* Funnyeye — brand events (品牌活動) + story timeline
   Editorial: masthead → title/lead → photo strip | dated list.
   Status dots: on now = solid ink, coming up = ring, past = muted. */

.fe-ev {
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  background: var(--paper-2);
  scroll-margin-top: 4rem;
}

.fe-ev-wrap {
  max-width: 80rem;
  margin: 0 auto;
}

.fe-ev-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.fe-ev-lead {
  margin: 0;
  font-family: var(--f-zh-serif);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.9;
}

:lang(en) .fe-ev-lead {
  font-family: var(--f-sans);
  font-weight: 400;
}

.fe-ev-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Photo strip: one tall arch + two stacked */
.fe-ev-photos {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  aspect-ratio: 1 / 1.05;
}

.fe-ev-photos .fe-duo:first-child {
  grid-row: 1 / span 2;
  border-radius: 999px 999px 0 0;
}

.fe-ev-photos .fe-duo img {
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.fe-ev-photos .fe-duo:hover img {
  transform: scale(1.04);
}

/* Dated list */
.fe-ev-group + .fe-ev-group {
  margin-top: 2rem;
}

.fe-ev-group-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.fe-ev-group-label i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}

.fe-ev-group-label i[data-status="now"] {
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(35, 55, 176, 0.18);
  animation: fe-ev-pulse 1.8s ease-in-out infinite;
}

.fe-ev-group-label i[data-status="past"] {
  border-color: var(--ink-soft);
  opacity: 0.6;
}

@keyframes fe-ev-pulse {
  50% { box-shadow: 0 0 0 7px rgba(35, 55, 176, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .fe-ev-group-label i[data-status="now"] { animation: none; }
}

.fe-ev-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.fe-ev-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.fe-ev-date {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.fe-ev-name {
  font-family: var(--f-zh-serif);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}

:lang(en) .fe-ev-name {
  font-family: var(--f-sans);
  font-weight: 500;
}

.fe-ev-place {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.fe-ev-row[data-status="past"] .fe-ev-name {
  color: rgba(22, 26, 58, 0.7);
}

.fe-ev-row[data-status="now"] .fe-ev-name {
  color: var(--ink);
}

.fe-ev-mainland {
  margin: 1.5rem 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
}

:lang(zh) .fe-ev-mainland {
  font-family: var(--f-zh-serif);
  font-style: normal;
  font-size: 0.95rem;
}

/* ============================================================
   Story timeline (inside .fe-ab)
   ============================================================ */

.fe-tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: clamp(4rem, 8vw, 6rem) 0 0;
  padding: 2.5rem 0 0;
  list-style: none;
}

/* the line the dots sit on */
.fe-tl::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.45rem;
  height: 1px;
  background: var(--ink);
}

.fe-tl-item {
  position: relative;
}

.fe-tl-dot {
  position: absolute;
  top: -2.5rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}

.fe-tl-item:last-child .fe-tl-dot {
  background: var(--ink);
}

.fe-tl-year {
  margin: 0 0 0.4rem;
  font-family: var(--f-sans);
  font-stretch: 68%;
  font-weight: 900;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 0.9;
  color: var(--ink);
}

.fe-tl-body {
  margin: 0.7rem 0 0;
  font-family: var(--f-zh-serif);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.8;
}

:lang(en) .fe-tl-body {
  font-family: var(--f-sans);
  font-weight: 400;
}

@media (max-width: 900px) {
  .fe-ev-head,
  .fe-ev-grid {
    grid-template-columns: 1fr;
  }

  .fe-ev-photos {
    aspect-ratio: 4 / 3;
  }

  .fe-ev-row {
    grid-template-columns: 1fr auto;
    gap: 0.2rem 1rem;
  }

  .fe-ev-date {
    grid-column: 1 / -1;
  }

  .fe-tl {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .fe-tl::before {
    display: none;
  }

  .fe-tl-dot {
    top: -1.6rem;
  }
}
