/* 51 Events — editorial refinement, July 2026. */
.events-hero.section {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: 146px;
  padding-bottom: 86px;
}

.events-hero-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: #8f929b;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.events-hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.events-hero .events-hero-sub {
  max-width: 650px;
  color: #b4b6be;
  font-size: 18px;
}

.events-hero .events-hero-stats {
  gap: 0;
  max-width: 660px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.events-hero .events-hero-stat {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.events-hero .events-hero-stat:last-child {
  border-right: 0;
}

.events-hero .events-hero-stat-value {
  color: #fff;
  font-size: 32px;
}

.events-hero .events-hero-stat-label {
  color: #8f929b;
}

.events-section {
  padding-top: 110px;
  padding-bottom: 128px;
}

.events-year-label {
  margin-bottom: 26px;
  padding-bottom: 16px;
  color: var(--text-primary);
  font-size: 13px;
}

.events-list {
  gap: 12px;
}

.event-card {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 28px;
  padding: 14px;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--border-default), 0 16px 38px rgba(18, 24, 40, 0.09);
}

.event-card-cover {
  width: 180px;
  height: 128px;
  border-radius: 13px;
}

.event-card-title {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.3;
}

.event-card-new {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card--featured {
  grid-template-columns: 270px minmax(0, 1fr) auto;
  min-height: 230px;
  padding: 18px;
  background: #0b0c10;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 52px rgba(18, 24, 40, 0.12);
}

.event-card--featured .event-card-cover {
  width: 270px;
  height: 194px;
}

.event-card--featured .event-card-cover--square {
  height: 270px;
}

.event-card--featured .event-card-title {
  color: #fff;
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.event-card--featured .event-card-meta-item,
.event-card--featured .event-card-guests {
  color: #a2a5ad;
}

.event-card--featured .event-card-new {
  color: #98ea65;
}

.event-card-speakers {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: var(--text-secondary);
}

.event-card-speakers span {
  color: var(--text-faint);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card-speakers strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.event-card-speakers small {
  color: var(--text-muted);
  font-size: 12px;
}

.event-card--featured .event-card-speakers strong {
  color: #f2f3f5;
}

.event-card--featured .event-card-speakers small {
  color: #8f929b;
}

.events-year-group + .events-year-group {
  margin-top: 82px;
}

.events-cta {
  margin-top: 80px;
  padding: 54px 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.events-cta p {
  color: var(--text-primary);
  font-size: 18px;
}

@media (max-width: 800px) {
  .events-hero.section { min-height: 600px; }
  .events-section { padding-top: 80px; }
  .event-card,
  .event-card--featured { grid-template-columns: 1fr; gap: 14px; }
  .event-card-cover,
  .event-card--featured .event-card-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .event-card--featured .event-card-cover--square { aspect-ratio: 1 / 1; }
  .event-card-guests { order: 0; }
}

@media (max-width: 520px) {
  .events-hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .events-hero .events-hero-sub { font-size: 16px; }
  .events-hero .events-hero-stats { margin-top: 36px; }
  .events-hero .events-hero-stat-value { font-size: 24px; }
  .events-hero .events-hero-stat-label { font-size: 9px; }
  .events-section { padding-bottom: 88px; }
}
