:root {
  --ink: #050624;
  --ink-2: #080b3e;
  --paper: #f7f7fb;
  --muted: #b9bdd8;
  --white: #ffffff;
  --red: #ff173d;
  --cyan: #1ce7ff;
  --violet: #7b2cff;
  --yellow: #f3e85a;
  --line: rgba(255, 255, 255, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(5, 6, 36, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 6vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.logo-brand {
  height: 56px;
}

.logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 500;
  min-height: 44px;
  padding: 0.8rem 0;
  position: relative;
}

.site-nav a::after {
  background: var(--red);
  bottom: 0.45rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-toggle span {
  background: var(--white);
  height: 2px;
  left: 8px;
  position: absolute;
  transition: transform 180ms ease;
  width: 28px;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.section-panel {
  padding: 7rem 6vw;
  position: relative;
}

.hero {
  align-items: start;
  background:
    linear-gradient(90deg, rgba(2, 3, 30, 0.48), rgba(2, 3, 30, 6.2)),
    url("../assets/hero-bg.jpeg") center / cover;  display: grid;
  isolation: isolate;
  min-height: auto;
  overflow: hidden;
  padding-bottom: 4rem;
  padding-top: 7rem;
}

.hero-noise {
  animation: backgroundDrift 18s ease-in-out infinite alternate;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(120deg, rgba(28, 231, 255, 0.11), transparent 36%, rgba(255, 23, 61, 0.1));
  background-size: 38px 38px, 100% 100%;
  inset: 0;
  opacity: 0.65;
  position: absolute;
  z-index: -1;
}

.side-rule {
  animation: lineGrow 900ms ease-out both;
  background: var(--paper);
  bottom: auto;
  height: 31rem;
  left: 6vw;
  position: absolute;
  top: 10rem;
  transform-origin: top;
  width: 14px;
}

.hero-copy {
  animation: heroCopyIn 900ms ease-out both;
  margin-left: min(8vw, 100px);
  margin-top: 4rem;
  max-width: 980px;
}

.section-kicker {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 5.6rem;
  font-weight: 900;
  line-height: 0.82;
  margin: 0;
}

.hero-title span {
  display: block;
}

.conference-title {
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.conference-title span {
  animation: titleReveal 700ms ease-out forwards;
  display: block;
  font-size: 7.6rem;
  opacity: 0;
  transform: translateY(24px);
  white-space: nowrap;
}

.conference-title span:nth-child(1) {
  animation-delay: 180ms;
}

.conference-title span:nth-child(2) {
  animation-delay: 320ms;
}

.conference-title span:nth-child(3) {
  animation-delay: 460ms;
}

.hero-meta {
  animation: fadeUp 650ms ease-out 680ms forwards;
  color: var(--paper);
  display: grid;
  gap: 0.2rem;
  margin: 1.2rem 0 1.4rem;
  opacity: 0;
  transform: translateY(14px);
}

.hero-meta p {
  margin: 0;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  min-width: 142px;
  padding: 0 1.25rem;
  position: relative;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  animation: buttonIn 650ms ease-out 850ms forwards;
  background: var(--red);
  color: var(--white);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}

.button-primary:hover {
  background: var(--cyan);
  color: var(--ink);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--yellow);
  color: var(--ink);
}

.button-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
}

.button-outline:hover,
.sponsor-action.is-open .button-outline {
  background: var(--violet);
  border-color: var(--violet);
}

.sponsor-action {
  position: relative;
}

.sponsor-menu {
  background: #02031b;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: var(--white);
  display: grid;
  min-width: 220px;
  opacity: 0;
  padding: 0.45rem;
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 0.55rem);
  right: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 40;
}

.sponsor-action.is-open .sponsor-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sponsor-menu a {
  color: var(--white);
  font-weight: 800;
  padding: 0.85rem 0.9rem;
}

.sponsor-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cyan);
}

.hero-dots {
  display: grid;
  gap: 1.9rem;
  position: absolute;
  right: 9vw;
  top: 42%;
}

.hero-dots a {
  animation: dotPulse 2200ms ease-in-out infinite;
  border: 4px solid var(--red);
  border-radius: 999px;
  display: block;
  height: 18px;
  transition: background 180ms ease, transform 180ms ease;
  width: 18px;
}

.hero-dots a:nth-child(2) {
  animation-delay: 180ms;
}

.hero-dots a:nth-child(3) {
  animation-delay: 360ms;
}

.hero-dots a:nth-child(4) {
  animation-delay: 540ms;
}

.hero-dots a:nth-child(5) {
  animation-delay: 720ms;
}

.hero-dots a:hover {
  background: var(--red);
  transform: scale(1.2);
}

.about {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
}

.split-heading {
  align-self: start;
  grid-column: 1;
}

.section-heading {
  margin: 0 auto 3rem;
  max-width: var(--max);
  width: 100%;
}

.section-heading h2,
.venue h2 {
  font-size: 4rem;
  line-height: 0.92;
  margin: 0;
}

.split-heading h2 span {
  display: block;
}

.about-copy {
  align-self: end;
  color: #20223b;
  display: grid;
  font-size: 1.08rem;
  gap: 1.1rem;
  line-height: 1.7;
  max-width: 720px;
}

.about-copy p {
  margin: 0;
}

.dark-band {
  background: var(--ink-2);
}

.speaker-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.speaker-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  overflow: hidden;
}

.speaker-card img {
  aspect-ratio: 1 / 1.02;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.speaker-content {
  border-top: 1px solid var(--line);
  padding: 1.3rem;
}

.speaker-content h3 {
  font-size: 1.8rem;
  line-height: 1;
  margin: 0;
}

.role {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0.6rem 0 1rem;
  text-transform: uppercase;
}

.speaker-content p:not(.role) {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.socials a {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.past-events-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  margin: 0 auto;
  max-width: var(--max);
}

.event-slider {
  border: 1px solid var(--line);
  min-height: 440px;
  overflow: hidden;
  position: relative;
}

.event-slides {
  height: 100%;
  min-height: 440px;
  position: relative;
}

.event-slide {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 320ms ease;
  width: 100%;
}

.event-slide.is-active {
  opacity: 1;
}

.slider-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 3;
}

.slider-button:hover {
  background: var(--red);
  color: var(--white);
}

.slider-button-prev {
  left: 1rem;
}

.slider-button-next {
  right: 1rem;
}

.event-history {
  display: grid;
  gap: 1rem;
}

.event-history article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.25rem;
}

.event-history span {
  color: var(--cyan);
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.event-history h3 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
}

.event-history p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.schedule {
  background: var(--paper);
  color: var(--ink);
}

.schedule-grid {
  border-top: 1px solid rgba(5, 6, 36, 0.25);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.schedule-grid article {
  border-bottom: 1px solid rgba(5, 6, 36, 0.25);
  display: grid;
  gap: 1rem;
  grid-template-columns: 108px 1fr;
  min-height: 112px;
  padding: 1.4rem 1.6rem 1.4rem 0;
}

.schedule-grid article:nth-child(odd) {
  border-right: 1px solid rgba(5, 6, 36, 0.25);
}

.schedule-grid article:nth-child(even) {
  padding-left: 1.6rem;
}

.schedule-grid time {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
}

.schedule-grid h3 {
  align-self: center;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.schedule-grid h3 span {
  color: var(--violet);
}

.sponsors-layout {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  max-width: var(--max);
}

.sponsor-copy {
  color: var(--muted);
  display: grid;
  gap: 1rem;
  line-height: 1.7;
  max-width: 780px;
}

.sponsor-copy p {
  margin: 0;
}

.sponsor-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.sponsor-grid div {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--paper);
  display: flex;
  font-size: 1.05rem;
  font-weight: 800;
  justify-content: center;
  min-height: 128px;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.sponsor-grid div:nth-child(2) {
  color: var(--cyan);
}

.sponsor-grid div:nth-child(3) {
  color: var(--yellow);
}

.sponsor-grid div:nth-child(4) {
  color: var(--red);
}

.venue {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 3rem;
}

.venue-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  margin: 0 auto;
  max-width: var(--max);
  width: 100%;
}

.venue-details {
  color: #20223b;
  line-height: 1.65;
}

.venue-details h3 {
  color: var(--ink);
  font-size: 0.9rem;
  margin: 0.4rem 0;
  text-transform: uppercase;
}

.venue-details p {
  margin: 0 0 1.4rem;
}

.map-visual {
  background: var(--ink);
  border: 1px solid rgba(5, 6, 36, 0.16);
  min-height: 360px;
  margin: 0 auto;
  max-width: var(--max);
  overflow: hidden;
  width: 100%;
}

.map-visual iframe {
  border: 0;
  display: block;
  height: 360px;
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #02031b;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 6vw;
}

.site-footer p {
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
}

.footer-socials a {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--white);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  width: 34px;
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-socials svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

@media (min-width: 1500px) {
  .conference-title span {
    font-size: 8.2rem;
  }

  .logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}
}

@media (max-width: 1120px) {
  .conference-title span {
    font-size: 6.2rem;
  }

  .hero-copy {
    margin-top: 4rem;
  }

  .side-rule {
    height: 28rem;
  }

  .logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .conference-title span {
    font-size: 5.8rem;
  }

  .hero-copy {
    margin-top: 3.5rem;
  }

  .side-rule {
    height: 26rem;
    top: 9.5rem;
  }

  .logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}

  .site-nav {
    align-items: stretch;
    background: rgba(5, 6, 36, 0.96);
    border-left: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 0;
    padding: 6rem 2rem;
    position: fixed;
    right: 0;
    top: 72px;
    transform: translateX(100%);
    transition: transform 200ms ease;
    width: min(84vw, 360px);
  }

  .menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 1.25rem;
  }

  .about,
  .venue-content,
  .past-events-layout {
    grid-template-columns: 1fr;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    grid-template-columns: minmax(180px, 0.75fr) 1fr;
  }

  .speaker-card img {
    aspect-ratio: auto;
  }

  .conference-title span {
    font-size: 5rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid article,
  .schedule-grid article:nth-child(even) {
    border-right: 0;
    padding-left: 0;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .logo-brand img {
  display: block;
  max-height: 466px;
  max-width: 165px;
  object-fit: contain;
}

  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    margin-top: 3rem;
  }

  .side-rule {
    height: 21rem;
    top: 8.8rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 1.1rem;
  }

  .logo-brand {
    height: 52px;
  }

  .logo-brand img {
    max-height: 440px;
    max-width: 135px;
  }

  .section-panel {
    padding: 5rem 1.1rem;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  .hero-copy {
    margin-left: 2.2rem;
    margin-top: 2.5rem;
  }

  .conference-title {
    line-height: 0.95;
  }

  .conference-title span {
    font-size: 3.2rem;
    white-space: normal;
  }

  .hero-meta {
    margin: 1rem 0 1.3rem;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    max-width: 245px;
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .sponsor-menu {
    left: 0;
    right: auto;
  }

  .side-rule {
    height: 17rem;
    left: 1.1rem;
    top: 6.4rem;
    width: 6px;
  }

  .hero-dots {
    display: none;
  }

  .section-heading h2,
  .venue h2 {
    font-size: 3rem;
  }

  .schedule-grid article {
    grid-template-columns: 82px 1fr;
  }

  .schedule-grid time {
    font-size: 1.4rem;
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    grid-template-columns: 1fr;
  }

  .event-slider,
  .event-slides {
    min-height: 260px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 420px) {
  .logo-brand img {
  display: block;
  max-height: 100px;
  max-width: 165px;
  object-fit: contain;
}

  .hero {
    padding-top: 4.8rem;
    padding-bottom: 2rem;
  }

  .hero-copy {
    margin-top: 2.2rem;
  }

  .conference-title span {
    font-size: 2.8rem;
  }

  .side-rule {
    height: 19rem;
    top: 6.2rem;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-bottom: 1.6rem;
  }

  .hero-copy {
    margin-top: 2rem;
  }

  .conference-title span {
    font-size: 2.45rem;
  }

  .side-rule {
    height: 15rem;
  }
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes backgroundDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.04) translate3d(-18px, 12px, 0);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    background: transparent;
  }

  50% {
    transform: scale(1.18);
    background: var(--red);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0.98;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-rule,
  .hero-copy,
  .conference-title span,
  .hero-meta,
  .button-primary,
  .hero-noise,
  .hero-dots a {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
