:root {
  --ink: #0b1421;
  --ink-soft: #415063;
  --blue: #0868ff;
  --blue-dark: #0054d7;
  --blue-pale: #e9f2ff;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --line: #dce4ee;
  --radius: 18px;
  --shadow: 0 24px 65px rgba(18, 44, 82, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: .65rem 1rem;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 238, .75);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 39px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

.brand-name strong { color: var(--blue); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: #344154;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.4rem;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }

.intro {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.75rem);
  padding-block: clamp(4rem, 8vw, 7.6rem);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.8vw, 5rem);
}

h1 span { color: var(--blue); }

.lead {
  max-width: 640px;
  margin: 0 0 2.2rem;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .72rem 1.2rem;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.button svg, .text-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(8, 104, 255, .24);
}

.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.intro-visual {
  position: relative;
  max-width: 500px;
  justify-self: end;
}

.scene-frame {
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  border: 1px solid #27384d;
  border-radius: 22px;
  background:
    radial-gradient(circle at 68% 38%, rgba(31, 126, 255, .34), transparent 22%),
    linear-gradient(145deg, #07111d 0%, #101f33 52%, #08121f 100%);
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
}

.scene-topbar {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 14, 24, .6);
}
.scene-topbar span { width: 7px; height: 7px; border-radius: 50%; background: #4b596a; }
.scene-topbar span:first-child { background: var(--blue); }

.scene-grid {
  position: absolute;
  inset: -22%;
  background-image:
    linear-gradient(rgba(80, 130, 181, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 130, 181, .16) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(430px) rotateX(58deg) rotateZ(-19deg) translateY(24%);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 72%, transparent);
}

.scene-path {
  position: absolute;
  border: 2px solid transparent;
  border-top-color: #38a0ff;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(44, 149, 255, .75));
  transform: rotate(-18deg);
}
.path-one { width: 77%; height: 42%; left: 3%; top: 37%; }
.path-two { width: 56%; height: 28%; right: -4%; top: 30%; transform: rotate(34deg); }

.time-code {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: .38rem .55rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 6px;
  color: #c6d9ef;
  background: rgba(4, 13, 24, .65);
  font: 600 .73rem "Space Grotesk", sans-serif;
  letter-spacing: .08em;
}

.axis {
  position: absolute;
  right: 16px;
  bottom: 18px;
  font: 700 .68rem "Space Grotesk", sans-serif;
}
.axis-x { color: #fb5d6a; transform: translateX(-24px); }
.axis-y { color: #52d68b; transform: translate(-11px, -24px); }
.axis-z { color: #52a9ff; }

.focus-point { position: absolute; left: 62%; top: 48%; width: 86px; height: 86px; }
.focus-point i, .focus-point b { position: absolute; inset: 0; border: 1px solid rgba(66, 164, 255, .74); border-radius: 50%; animation: ping 2.8s ease-out infinite; }
.focus-point b { inset: 30px; border: 0; background: white; box-shadow: 0 0 0 6px rgba(20, 127, 255, .35), 0 0 24px #0e83ff; animation: none; }

@keyframes ping { from { opacity: .8; transform: scale(.45); } to { opacity: 0; transform: scale(1); } }

.events-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: var(--surface-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2, .about-copy h2, .follow-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(25, 47, 78, .05);
}

.event-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  color: white;
  text-decoration: none;
  background: #0a1624;
}

.event-cover.has-image {
  background-image: var(--event-image);
  background-position: center;
  background-size: cover;
}

.cover-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 19, .25), transparent 36%),
    linear-gradient(0deg, rgba(3, 10, 19, .94), rgba(3, 10, 19, .08) 74%);
}

.cover-top,
.cover-heading {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cover-top {
  top: 21px;
  align-items: flex-start;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cover-top b { color: white; font-weight: 700; }
.cover-top small { color: #c6d6e7; font: inherit; }

.cover-heading {
  bottom: 22px;
  flex-direction: column;
  gap: .2rem;
}

.cover-heading strong {
  color: white;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.cover-heading small {
  color: #7ab8ff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.event-card-featured .event-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 2px solid transparent;
  border-radius: 16px 16px 0 0;
  pointer-events: none;
  transition: border-color .25s;
}
.event-card-featured .event-cover:hover::after { border-color: rgba(79, 165, 255, .8); }

.event-body { padding: 1.65rem 1.7rem 1.75rem; }
.event-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; color: #718096; font-size: .72rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.event-meta span { color: var(--blue); }
.event-body h3 { margin-bottom: .75rem; font-size: clamp(1.5rem, 2.3vw, 2rem); }
.event-body p { min-height: 4.8rem; margin: 0 0 1.25rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--blue);
  font-size: .87rem;
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .2s; }

.script-message { margin: 0; color: var(--ink-soft); }

.about-section { padding-block: clamp(5rem, 9vw, 8rem); }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; margin-bottom: 3.4rem; }
.about-copy .eyebrow { grid-column: 1 / -1; }
.about-copy p:last-child { margin: 0; color: var(--ink-soft); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { min-height: 210px; padding: 1.7rem 1.7rem 1.8rem 0; }
.principle + .principle { padding-left: 1.7rem; border-left: 1px solid var(--line); }
.principle > span { display: block; margin-bottom: 2rem; color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: .75rem; font-weight: 700; }
.principle h3 { margin-bottom: .6rem; font-size: 1.18rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

.disclaimer { display: flex; gap: .85rem; margin-top: 2rem; padding: 1rem 1.1rem; border-left: 3px solid var(--blue); color: #46566a; background: var(--blue-pale); font-size: .82rem; }
.disclaimer svg { flex: 0 0 auto; width: 20px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; }
.disclaimer p { margin: 0; }

.follow-section { color: white; background: var(--ink); }
.follow-inner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 4rem; padding-block: clamp(3.6rem, 7vw, 5.5rem); }
.follow-section .eyebrow { color: #68aeff; }
.follow-section h2 { max-width: 550px; }
.social-links { display: grid; gap: .7rem; }
.social-links a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 1rem; min-height: 70px; padding: .75rem 1rem; border: 1px solid #2b3a4d; border-radius: 11px; color: white; background: #121f2f; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.social-links a:hover { border-color: #3c8dfb; background: #16273b; transform: translateX(4px); }
.social-links svg { width: 26px; fill: #fbfdff; }
.social-links svg .play { fill: var(--ink); }
.social-links span { font-weight: 650; }
.social-links small { display: block; color: #91a1b5; font-size: .67rem; font-weight: 600; line-height: 1.3; }
.social-links b { color: #71839a; font-size: 1rem; }

.site-footer { padding-block: 2.8rem 1.4rem; border-top: 1px solid #263447; color: #9ba9b9; background: #07101b; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; }
.footer-brand { display: block; width: fit-content; line-height: 0; }
.footer-brand img { width: min(240px, 100%); height: auto; object-fit: contain; filter: drop-shadow(0 0 12px rgba(24,117,255,.22)); }
.footer-main p { margin: 0; font-size: .85rem; }
.footer-main > a { color: #c5d0dc; font-size: .85rem; text-decoration: none; }
.footer-main > a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #202d3d; font-size: .72rem; }
.footer-bottom div { display: flex; gap: 1.5rem; }
.footer-bottom a { color: #9ba9b9; text-decoration: none; }
.footer-bottom a:hover { color: white; }
.footer-support { color: #78aaff; font-weight: 700; }

:focus-visible { outline: 3px solid rgba(8, 104, 255, .45); outline-offset: 3px; }

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .intro { min-height: auto; grid-template-columns: 1fr; gap: 3.2rem; padding-block: 4.5rem 5.2rem; }
  .intro-visual { width: min(520px, 100%); justify-self: center; }
  .section-heading, .about-copy, .follow-inner { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .event-body p { min-height: auto; }
  .about-copy { gap: 1.3rem; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: auto; padding: 1.4rem 0; }
  .principle + .principle { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .principle > span { margin-bottom: .8rem; }
  .follow-inner { gap: 2.2rem; }
  .footer-main { grid-template-columns: 1fr; gap: .85rem; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 35px; height: 31px; }
  .brand-name { font-size: 1.03rem; }
  .intro { gap: 0; padding-block: 3.5rem 4.5rem; }
  .intro-visual { display: none; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.4rem); }
  .scene-frame { transform: none; border-radius: 16px; }
  .section-heading { gap: 1rem; }
  .event-cover { aspect-ratio: 16 / 10; }
  .event-body { padding: 1.3rem 1.2rem 1.4rem; }
  .event-meta { flex-direction: column; gap: .15rem; }
  .cover-top { flex-direction: column; gap: .15rem; }
  .cover-heading strong { font-size: 1.85rem; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom div { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
