:root {
    --red: #E62B1E;
    --black: #0a0a0a;
    --off-black: #111111;
    --charcoal: #1c1c1c;
    --ash: #2a2a2a;
    --white: #f5f2ee;
    --cream: #f0ebe4;
    --grey: #888888;
    --light-grey: #333;
    --accent-gold: #c9a84c;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* CUSTOM CURSOR */
  @media (hover: hover) and (pointer: fine) {
    body { cursor: none; }
    .cursor {
      width: 12px; height: 12px;
      background: var(--red);
      border-radius: 50%;
      position: fixed; top: 0; left: 0;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, width 0.2s, height 0.2s;
      mix-blend-mode: difference;
    }
    .cursor-ring {
      width: 36px; height: 36px;
      border: 1px solid rgba(230,43,30,0.5);
      border-radius: 50%;
      position: fixed; top: 0; left: 0;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: all 0.15s ease;
    }
  }
  @media (hover: none), (pointer: coarse) {
    .cursor, .cursor-ring { display: none !important; }
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.4rem 3rem;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(10,10,10,0.85);
    transition: all 0.3s;
  }
  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
  }
  .nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  .nav-links {
    display: flex; gap: 2.5rem; list-style: none; align-items: center;
  }
  .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
    cursor: none;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
  }
  .nav-cta:hover { background: #c41a0e; color: var(--white) !important; }

  /* PAST EVENTS DROPDOWN */
  .nav-dropdown { position: relative; }
  .nav-dropdown > a { display: flex; align-items: center; gap: 0.4rem; }
  .nav-dropdown > a::after { content: '▾'; font-size: 0.7rem; transition: transform 0.2s; }
  .nav-dropdown:hover > a::after { transform: rotate(180deg); }

  .dropdown-menu {
    position: absolute; top: calc(100% + 1.2rem); left: 50%;
    transform: translateX(-50%);
    background: var(--off-black);
    border: 1px solid var(--light-grey);
    min-width: 180px;
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
  }
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .dropdown-menu a {
    display: block !important;
    padding: 0.75rem 1.2rem !important;
    border-bottom: 1px solid var(--light-grey);
    font-size: 0.72rem !important; letter-spacing: 2px !important;
    color: var(--grey) !important;
    text-decoration: none; cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
  }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover { color: var(--white) !important; background: var(--charcoal); }
  .dropdown-menu a.active-year {
    color: var(--red) !important;
    border-left: 2px solid var(--red);
  }

  /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    background: none; border: none; padding: 4px;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white); transition: all 0.3s;
  }

  /* MOBILE MENU */
  .mobile-menu {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    z-index: 999;
    flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(0.8rem, 3vh, 2rem); padding: 5rem 2rem 2rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 7vw, 2.5rem); color: var(--white);
    text-decoration: none; letter-spacing: 3px;
    transition: color 0.2s;
    text-align: center;
  }
  .mobile-menu a:hover { color: var(--red); }
  .mobile-menu .mobile-cta {
    background: var(--red); color: var(--white) !important;
    padding: 0.7rem 3rem; margin-top: 0.5rem;
    font-size: clamp(1rem, 4vw, 1.4rem); letter-spacing: 5px;
    border: none; transition: background 0.2s;
  }
  .mobile-menu .mobile-cta:hover { background: #c41a0e; color: var(--white) !important; }
  .mobile-menu .close-btn {
    position: absolute; top: 1.5rem; right: 2rem;
    font-size: 2rem; color: var(--grey); background: none; border: none; cursor: none;
  }

  /* SECTIONS */
  .section { padding: 7rem 3rem; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--red); margin-bottom: 1.2rem; display: block;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
  }
  .section-body {
    color: var(--grey);
    line-height: 1.8;
    font-size: 0.95rem;
  }
  .section-divider {
    width: 60px; height: 3px; background: var(--red); margin: 1.5rem 0 2rem;
  }

  /* STAT BOX */
  .stat-box {
    border: 1px solid var(--light-grey);
    padding: 1.5rem;
    transition: border-color 0.3s;
  }
  .stat-box:hover { border-color: var(--red); }
  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem; color: var(--red); line-height: 1;
  }
  .stat-label {
    font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--grey); margin-top: 0.3rem; display: block;
  }

  /* PAST HERO */
  .past-hero {
    min-height: 45vh;
    display: flex; align-items: flex-end;
    padding: 3rem 3rem 3rem 3rem;
    padding-top: calc(var(--nav-h, 80px) + 5rem);
    position: relative; overflow: hidden;
    background: var(--black);
    border-bottom: 1px solid var(--light-grey);
  }
  .past-hero-content { position: relative; z-index: 2; }
  .past-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: -2px; line-height: 0.9;
    color: var(--white);
  }
  .past-hero h1 span { color: var(--red); }
  .past-hero p { color: var(--grey); margin-top: 1rem; font-size: 0.95rem; }

  /* SPEAKERS GRID */
  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--light-grey);
    margin-top: 3rem;
  }
  .speaker-card {
    background: var(--off-black);
    position: relative; overflow: hidden;
    transition: all 0.4s;
    cursor: none;
  }
  .speaker-card:hover .speaker-overlay { opacity: 1; }
  .speaker-card:hover .speaker-img-placeholder { transform: scale(1.05); }
  .speaker-img-placeholder {
    aspect-ratio: 3/4;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s;
  }
  .speaker-initials {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem; color: rgba(255,255,255,0.07);
    letter-spacing: -2px;
  }
  .speaker-info {
    padding: 1.5rem;
    border-top: 1px solid var(--light-grey);
  }
  .speaker-role {
    font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--red); margin-bottom: 0.4rem; display: block;
  }
  .speaker-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; color: var(--white);
  }
  .speaker-bio {
    font-size: 0.8rem; color: var(--grey);
    margin-top: 0.5rem; line-height: 1.6;
  }
  .speaker-overlay {
    position: absolute; inset: 0;
    background: rgba(230,43,30,0.1);
    opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
  }

  /* TALK ROWS */
  .talk-row {
    display: flex; gap: 1rem; align-items: center;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--light-grey);
    cursor: pointer; transition: opacity 0.2s;
  }
  .talk-row:hover { opacity: 0.75; }
  .talk-row:last-child { border-bottom: none; }
  .talk-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem; color: var(--red);
    min-width: 2.5rem;
  }
  .talk-info { flex: 1; }
  .talk-speaker {
    font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--grey); display: block; margin-bottom: 0.2rem;
  }
  .talk-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem; color: var(--white);
  }
  .talk-duration {
    font-size: 0.65rem; color: var(--grey); flex-shrink: 0;
  }
  .play-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 0.8rem;
    transition: all 0.2s;
  }
  .talk-row:hover .play-btn {
    background: var(--red); border-color: var(--red);
  }

  .view-talks-btn {
    display: inline-block;
    border: 1px solid var(--red); color: var(--red);
    padding: 0.5rem 1.2rem;
    font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    cursor: none; margin-top: 0.5rem;
  }
  .view-talks-btn:hover { background: var(--red); color: var(--white); }

  /* FOOTER */
  footer {
    background: var(--black);
    border-top: 1px solid var(--light-grey);
    padding: 4rem 3rem 2rem;
  }
  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
  }
  .footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
    margin-bottom: 1.2rem;
    object-fit: contain;
  }
  .footer-brand p {
    font-size: 0.82rem; color: var(--grey); line-height: 1.8;
    max-width: 280px;
  }
  .footer-col h4 {
    font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--grey); margin-bottom: 1.5rem;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.8rem; }
  .footer-col ul a {
    font-size: 0.85rem; color: rgba(245,242,238,0.5);
    text-decoration: none; transition: color 0.2s; cursor: none;
  }
  .footer-col ul a:hover { color: var(--white); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--light-grey);
    padding-top: 2rem;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-bottom p { font-size: 0.72rem; color: var(--grey); letter-spacing: 1px; }
  .footer-social { display: flex; gap: 1rem; }
  .social-link {
    width: 36px; height: 36px;
    border: 1px solid var(--light-grey);
    display: flex; align-items: center; justify-content: center;
    color: var(--grey); text-decoration: none; font-size: 0.8rem;
    transition: all 0.2s; cursor: none;
  }
  .social-link:hover { border-color: var(--red); color: var(--red); }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* RESPONSIVE */
  .about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  @media (max-width: 900px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .section { padding: 5rem 1.5rem; }
    .about-content-grid { grid-template-columns: 1fr; gap: 3rem; }
  }
  @media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    nav { padding: 1rem; }
    .talk-row {
      display: grid;
      grid-template-columns: 2.5rem 1fr 36px;
      grid-template-rows: auto auto auto;
      column-gap: 0.8rem;
      row-gap: 0.4rem;
      align-items: start;
      padding: 1rem 1.2rem;
    }
    .talk-num { grid-column: 1; grid-row: 1; align-self: center; }
    .play-btn { grid-column: 3; grid-row: 1; align-self: start; }
    .talk-info { grid-column: 1 / 4; grid-row: 2; }
    .talk-duration { grid-column: 1 / 4; grid-row: 3; }
  }