:root {
    --bg: #0a0908;
    --bg-2: #11100e;
    --fg: #ece8df;
    --mute: #6f6a5e;
    --line: #1f1d1a;
    --accent: #3a5fb5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}
/* grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.08;
    mix-blend-mode: overlay;
    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' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* vignette */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

::selection { background: var(--accent); color: var(--fg); }

/* TOP NAV BAR */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    mix-blend-mode: difference;
}
.topbar .mark { color: var(--fg); }
.topbar .clock { font-variant-numeric: tabular-nums; }

/* MAIN */
main {
    padding: 50px 56px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    min-height: 62vh;
}
.wordmark {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(180px, 22vw, 320px);
    line-height: 0.82;
    letter-spacing: -0.02em;
    color: var(--fg);
    position: relative;
    user-select: none;
}
.wordmark .pm {
    display: inline-block;
    transform: translateY(-0.05em);
    color: var(--fg);
}
.wordmark .dot {
    display: inline-block;
    width: 0.18em;
    height: 0.18em;
    background: var(--accent);
    border-radius: 50%;
    vertical-align: super;
    margin-left: 0.06em;
    transform: translateY(0.2em);
}
.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
    text-align: right;
}
.hero-meta .tag {
    border: 1px solid var(--line);
    padding: 5px 9px;
    color: var(--fg);
}

/* MEDIA LINKS — under hero */
.media-links {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-top: 0;
}
.media-links a {
    flex: 1;
    padding: 16px 18px;
    color: var(--fg);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-right: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s, color 0.25s;
}
.media-links a:last-child { border-right: none; }
.media-links a:hover {
    background: var(--fg);
    color: var(--bg);
}
.media-links a .arr {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

/* BIO */
.bio {
    display: grid;
    grid-template-columns: 180px 1fr 280px;
    gap: 40px;
    padding: 80px 0 70px;
    border-bottom: 1px solid var(--line);
}
.bio .label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    padding-top: 6px;
}
.bio .body {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    line-height: 1.35;
    color: var(--fg);
    font-weight: 400;
    max-width: 580px;
}
.bio .body em {
    color: var(--accent);
    font-style: italic;
}
.bio .body p + p {
    margin-top: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: var(--mute);
    max-width: 480px;
}
.bio .stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute);
    align-self: start;
    padding-top: 6px;
}
.bio .stats div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--line);
    padding: 6px 0;
}
.bio .stats span:last-child { color: var(--fg); }



/* FOOTER CTA */
.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 50px;
}
.cta a {
    padding: 60px 40px;
    color: var(--fg);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.cta a:first-child { border-right: 1px solid var(--line); }
.cta a:hover { background: var(--bg-2); }
.cta .kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
}
.cta .label {
    font-family: 'Anton', sans-serif;
    font-size: 84px;
    line-height: 0.9;
    letter-spacing: -0.01em;
}
.cta .label .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    text-transform: lowercase;
    letter-spacing: 0;
}
.cta .bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
}
.cta .arrow {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 36px;
    color: var(--fg);
    transition: transform 0.3s;
}
.cta a:hover .arrow { transform: translateX(8px); }

footer.foot {
    display: flex;
    justify-content: space-between;
    position: relative;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    padding-bottom: 20px;
}
footer.foot span:nth-child(2) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* INTRO ANIMATION */
.anim-1, .anim-2, .anim-3, .anim-4 {
    opacity: 0;
    transform: translateY(8px);
}
.reveal .anim-1 { animation: fadeUp 0.7s 0.1s ease-out forwards; }
.reveal .anim-2 { animation: fadeUp 0.7s 0.5s ease-out forwards; }
.reveal .anim-3 { animation: fadeUp 0.7s 0.85s ease-out forwards; }
.reveal .anim-4 { animation: fadeUp 0.7s 1.15s ease-out forwards; }
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.wordmark .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}
.reveal .wordmark .letter {
    animation: letterIn 0.6s cubic-bezier(.2,.7,.2,1) forwards;
}
.reveal .wordmark .letter:nth-child(1) { animation-delay: 0.05s; }
.reveal .wordmark .letter:nth-child(2) { animation-delay: 0.12s; }
.reveal .wordmark .letter:nth-child(3) { animation-delay: 0.19s; }
.reveal .wordmark .letter:nth-child(4) { animation-delay: 0.26s; }
.reveal .wordmark .letter:nth-child(5) { animation-delay: 0.33s; }
@keyframes letterIn {
    to { opacity: 1; transform: translateY(0); }
}

/* TICKER */
.ev-row {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mute);
}
.ev-track {
    display: inline-block;
    white-space: nowrap;
    animation: evTicker 240s linear infinite;
}
.ev-track:hover { animation-play-state: paused; }
@keyframes evTicker { to { transform: translateX(-50%); } }

/* EVENTS */
.events {
  padding: 36px 0 50px;
}
.events-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 auto 14px;
  max-width: 680px;
}
.events-head h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
}
.events-head .meta {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.featured-event {
  display: block;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
}
.featured-event:hover { background: #15130f; border-color: var(--mute); }

.featured-event .fe-img {
  position: relative;
  aspect-ratio: 21 / 9;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.4s;
  margin-bottom: 12px;
}
.featured-event:hover .fe-img {
  filter: grayscale(0) contrast(1) brightness(1);
}
.featured-event .fe-img svg,
.featured-event .fe-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-event .fe-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  padding: 4px 7px;
  color: var(--fg);
  background: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.featured-event .fe-badge .pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}

.featured-event .fe-body { padding: 2px 4px; }

.featured-event .fe-top {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.featured-event .fe-top span:first-child { color: var(--fg); }

.featured-event .fe-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 10px 0 4px;
}
.featured-event .fe-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.featured-event .fe-title .it {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent);
  text-transform: lowercase;
  font-size: 0.55em;
  letter-spacing: 0;
  margin-left: 0.15em;
}
.featured-event .fe-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
}
.featured-event .fe-grid { display: flex; gap: 0; }
.featured-event .fe-grid > div {
  flex: 1;
  padding: 0 10px 0 0;
  border-right: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.featured-event .fe-grid > div:last-child { border-right: none; padding-right: 0; }
.featured-event .fe-grid > div + div { padding-left: 10px; }
.featured-event .fe-grid .k {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.featured-event .fe-grid .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-event .fe-grid .v.big {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.featured-event .fe-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.featured-event .fe-cta .ticket {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.featured-event:hover .fe-cta .ticket { color: var(--accent); }
.featured-event .fe-cta .arrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--fg);
  transition: transform 0.3s;
}
.featured-event:hover .fe-cta .arrow { transform: translateX(4px); }

/* NARROW LAPTOPS ≤1440 */
@media (max-width: 1440px) {
    main { padding: 46px 40px 32px; }
    .hero { min-height: 56vh; gap: 28px; }
    .bio { grid-template-columns: 140px 1fr 240px; gap: 28px; padding: 60px 0 56px; }
    .bio .body { font-size: 22px; }
    .cta a { padding: 44px 32px; min-height: 180px; }
    .cta .label { font-size: 60px; }
    .events-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 1280px) {
    main { padding: 42px 28px 28px; }
    .hero { min-height: 50vh; }
    .bio { grid-template-columns: 110px 1fr 200px; gap: 22px; }
    .bio .body { font-size: 20px; }
    .bio .body p + p { font-size: 12px; }
    .events-grid { grid-template-columns: repeat(3, 1fr); }
    .cta .label { font-size: 50px; }
}