/* ============================================================
   PULSE PNW: Design tokens
   Palette: deep near-black violet ground, neon blue/purple/pink
   Type: Unbounded (display) + Inter (body) + IBM Plex Mono (data)
   Signature: the "pulse line," an EKG/heartbeat trace used as a
   recurring divider + the active-nav mark, echoing the logo's
   heartbeat glyph inside the "E" of PULSE.
   ============================================================ */

:root{
  --bg: #08040F;
  --bg-2: #0D0722;
  --bg-3: #150B33;
  --bg-card: #130A2B;
  --black: #030106;
  --blue: #2F7BFF;
  --blue-2: #7FB8FF;
  --pink: #FF3EC8;
  --purple: #A855F7;
  --fog: #F3F1FB;
  --slate: #A79BD1;
  --slate-dim: #6E6296;
  --line: rgba(255,255,255,0.12);
  --max: 1140px;

  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-number: "Unbounded", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; text-transform: uppercase; }
h2{ font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3{ font-size: 1.25rem; font-weight: 600; }
p{ margin: 0 0 1em; color: var(--slate); }

.eyebrow{
  display: none;
}

/* Focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: var(--fog);
  border: none;
  background-clip: border-box;
  box-shadow: 0 0 0 rgba(255,62,200,0);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -8px rgba(255,62,200,0.35);
}
.btn-secondary{
  background: transparent;
  border-color: var(--slate-dim);
  color: var(--fog);
}
.btn-secondary:hover{
  border-color: var(--blue-2);
  color: var(--blue-2);
}
.btn-small{ padding: 0.6em 1.2em; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,4,15,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo{ display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-logo img{ height: 32px; width: auto; }
.nav-logo span{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-links a{
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--slate);
  position: relative;
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.nav-links a:hover{ color: var(--fog); }
.nav-links a.active{ color: var(--fog); }
/* the "pulse line" active-page mark */
.nav-links a.active::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpolyline points='0,5 18,5 22,1 26,9 30,5 60,5' fill='none' stroke='%23FF3EC8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 44px 6px;
  opacity: 0.9;
}
.nav-cta{ flex-shrink: 0; }
.nav-toggle{
  display: none;
  background: none; border: none; color: var(--fog);
  font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 880px){
  .nav-links{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 14px;
    display: none;
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display: block; }
}

/* ---------- Pulse-line divider (signature element) ---------- */
.pulse-divider{
  width: 100%;
  height: 28px;
  margin: 0 auto;
  display: block;
}
.pulse-divider path{
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: url(#pulseGrad);
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: pulse-draw 2.4s ease-out forwards;
}
@keyframes pulse-draw{ to{ stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
.text-center{ text-align: center; }
.max-prose{ max-width: 720px; margin-left: auto; margin-right: auto; }

.bg-alt{ background: var(--bg-2); }
.venue-pink{
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,62,200,0.20), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(255,62,200,0.14), transparent 55%),
    linear-gradient(160deg, #2a0f26 0%, #1a0a20 100%);
  border-top: 1px solid rgba(255,62,200,0.25);
  border-bottom: 1px solid rgba(255,62,200,0.25);
}
.bg-feature{ background: linear-gradient(135deg, #2a1245 0%, #3a1440 55%, #3d1030 100%); }
.hdr-about{ background: linear-gradient(160deg, #0d1a3d 0%, #14123a 100%); }

/* About Us hero: two photos as a moody split background */
.about-hero{
  position: relative;
  overflow: hidden;
  padding-bottom: 36px;
}
.about-hero-bg{
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}
.about-hero-img{
  flex: 1;
  background-size: cover;
  background-position: center;
}
.about-hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,4,15,0.62) 0%, rgba(8,4,15,0.3) 50%, rgba(8,4,15,0.62) 100%),
    linear-gradient(180deg, rgba(8,4,15,0.55) 0%, rgba(8,4,15,0.2) 35%, rgba(8,4,15,0.65) 100%);
}
.about-hero-content{
  position: relative;
  z-index: 1;
}
.about-hero-content h1, .about-hero-content .eyebrow{
  text-shadow: 0 4px 24px rgba(8,4,15,0.85);
}
.hdr-agenda{ background: linear-gradient(160deg, #14123a 0%, #241035 100%); }
.hdr-eventmap{ background: linear-gradient(160deg, #241035 0%, #33113a 100%); }
.hdr-hotel{ background: linear-gradient(160deg, #33113a 0%, #3d0f2c 100%); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 80px;
}
.hero-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(8,4,15,0.32) 0%, rgba(8,4,15,0.62) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(8,4,15,0.28) 0%, rgba(8,4,15,0.55) 100%);
}
.hero-content{ position: relative; z-index: 1; max-width: 780px; }
.hero-content h1{ text-shadow: 0 4px 30px rgba(8,4,15,0.65); }
.hero-mission{ text-shadow: 0 2px 16px rgba(8,4,15,0.7); }
.hero-content h1{
  font-size: clamp(3rem, 9vw, 6rem);
  background: linear-gradient(90deg, var(--fog) 30%, var(--blue-2) 65%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3em;
}
.hero-mission{
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--fog);
  max-width: 600px;
  margin: 0 auto 2em;
  font-weight: 500;
  text-transform: uppercase;
}
.hero-actions{
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.2em;
}

/* Quick facts strip */
.facts-strip{
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 32px 48px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
}
.facts-strip strong{ font-family: var(--font-number); font-weight: 700; color: var(--fog); display: block; font-size: 1.05rem; margin-bottom: 2px; letter-spacing: 0.02em; }

/* ---------- Cards / grids ---------- */
/* ---------- Brand marquee ---------- */
.brand-marquee{
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track span{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

.grid{ display: grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-5{ grid-template-columns: repeat(5, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px){ .grid-5{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } .grid-5{ grid-template-columns: 1fr; } }

.card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.card-price{
  font-family: var(--font-number);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fog);
  margin: 0.2em 0;
}
.card-price sup{ font-size: 0.9rem; color: var(--slate); }
.card.featured{
  border-color: var(--pink);
  box-shadow: 0 0 24px -14px rgba(255,62,200,0.4);
  position: relative;
}
.card.featured::before{
  content: "Fan Favorite";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--pink));
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--fog);
}

/* PULSE Challenge badge tiers */
.tier-card{ border-width: 1px; border-style: solid; }
.tier-bronze{ border-color: #b08d57; }
.tier-bronze .tier-name{ color: #d9a86c; }
.tier-silver{ border-color: #b9c2cc; }
.tier-silver .tier-name{ color: #d7dde3; }
.tier-gold{ border-color: #e8c25a; }
.tier-gold .tier-name{ color: #f2d27f; }
.tier-diamond{ border-color: #7fd8ff; }
.tier-diamond .tier-name{ color: #a6e6ff; }
.tier-mythic{ border-color: var(--pink); box-shadow: 0 0 24px -14px rgba(255,62,200,0.45); }
.tier-mythic .tier-name{
  background: linear-gradient(90deg, var(--blue-2), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tier-name{ font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.08em; font-size: 0.95rem; margin-bottom: 0.8em; }
.card ul.checklist{ text-align: left; padding-left: 0; list-style: none; margin: 1.2em 0; }
.card ul.checklist li{
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.9rem;
  position: relative;
}
.card ul.checklist li:last-child{ border-bottom: none; }
.card ul.checklist li::before{
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--blue-2);
  border-bottom: 2px solid var(--blue-2);
  transform: rotate(-45deg);
}

/* ---------- Stat strip ---------- */
.stat-strip{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 16px;
  overflow: hidden;
}
.stat{
  padding: 28px 16px;
  text-align: center;
  border-right: 2px solid rgba(255,255,255,0.75);
}
.stat:last-child{ border-right: none; }
.stat .num{
  font-family: var(--font-number);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.stat .label{ font-size: 0.8rem; font-weight: 600; color: #ffffff; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 800px){
  .stat-strip{ grid-template-columns: repeat(2, 1fr); }
  .stat{ border-bottom: 2px solid rgba(255,255,255,0.75); border-right: 2px solid rgba(255,255,255,0.75); }
  .stat:nth-child(2n){ border-right: none; }
  .stat:last-child{ grid-column: 1 / -1; border-bottom: none; }
}

/* ---------- Tables ---------- */
.table-wrap{ overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table{ width: 100%; border-collapse: collapse; min-width: 560px; }
th, td{
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
th{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: var(--bg-2);
}
tr:last-child td{ border-bottom: none; }
td strong{ color: var(--fog); font-family: var(--font-number); font-weight: 700; }

/* ---------- Zone grid ---------- */
.zone-category{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pink);
  margin: 2em 0 0.8em;
  text-transform: uppercase;
}
.zone-category:first-child{ margin-top: 0; }
.zone-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 700px){ .zone-list{ grid-template-columns: 1fr; } }
.zone-item{
  display: flex; align-items: baseline; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.zone-item .zn{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue-2);
  flex-shrink: 0;
}
.zone-item.highlight{ border-color: var(--purple); }

/* ---------- Callout / placeholder ---------- */
.callout{
  border: 1px dashed var(--slate-dim);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}
.callout .eyebrow{ color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--bg-2);
}
.footer-inner{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo{ display: flex; align-items: center; gap: 6px; }
.footer-logo img{ height: 42px; }
.footer-links{ display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-links a{ font-size: 0.85rem; color: var(--slate); }
.footer-links a:hover{ color: var(--blue-2); }
.footer-meta{ font-size: 0.78rem; color: var(--slate-dim); margin-top: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.footer-meta strong{ font-family: var(--font-number); color: var(--slate); font-weight: 700; }

/* ---------- Location / map block ---------- */
.location-block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px){ .location-block{ grid-template-columns: 1fr; } }
.map-embed{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Floorplan */
.floorplan-frame{
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--fog);
  padding: 12px;
}
.map-grid{
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px){
  .map-grid{ grid-template-columns: 1fr; gap: 24px; }
}

/* Header with faint darkened background photo */
.header-bg{
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
@media (min-width: 801px){
  .sponsor-header-bg{ background-position: center 15%; }
}
.header-bg::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(8,4,15,0.55) 0%, rgba(8,4,15,0.72) 65%, rgba(8,4,15,0.8) 100%);
  z-index: 0;
}
.header-bg > * h1, .header-bg h1{ text-shadow: 0 4px 24px rgba(8,4,15,0.85); }
.header-bg p, .header-bg .eyebrow{ text-shadow: 0 2px 12px rgba(8,4,15,0.85); }
.header-bg > *{ position: relative; z-index: 1; }

/* Photo strip accent */
.photo-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}
.photo-strip img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
@media (max-width: 700px){ .photo-strip{ grid-template-columns: 1fr; } .photo-strip img{ height: 180px; } }
