*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* font-family: "Playfair Display", serif;*/
:root {
  --white: #f5f4f0;
  --black: #000000;
  --muted: #555550;
  --faint: #222220;
  --border: rgba(245, 244, 240, 0.12);
  --border-mid: rgba(245, 244, 240, 0.2);
  --blue: rgb(0,110,225);
  --green: #7fff7f;
}

.section-index{
  
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
}

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  font-weight: 300;
  cursor: none;
}

/* CURSOR */
* {
  cursor: none !important;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245,244,240,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.5rem;
  /*border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);*/
  /*backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);*/
}
nav .logo {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--white);
  text-decoration: none;
}
nav .nav-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(245,244,240,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav .nav-link1 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav .nav-link:hover { color: var(--white); }

/* SECTIONS */
section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 4rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* HERO */
#hero {
  justify-content: flex-end;
  padding-bottom: 4rem;
}
#hero .video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero .video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  filter: brightness(0.45);
}
#hero .video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
}
#hero .hero-tag {
  position: relative;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(245,244,240,0.45);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  animation: fadeUp 1s ease both 0.2s;
}
#hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  animation: fadeUp 1s ease both 0.4s;
}
#hero h1 .dim { color: var(--blue)}
#hero .hero-sub{
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,244,240,0.5);
  max-width: 320px;
  line-height: 1.7;
  margin-top: 1.5rem;
  animation: fadeUp 1s ease both 0.6s;
}
#hero .scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 0rem;
  z-index: 2;
  font-size: 80px;
  letter-spacing: 0.18em;
  color: rgba(245,244,240,0.3);
  writing-mode: vertical-rl;
  animation: fadeUp 1s ease both 1s;
}

/* STATS BAR */
.stats-bar {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* OVERVIEW */
#overview { justify-content: center; }
#overview .section-index {
  
  letter-spacing: 0.2em;
  
  margin-bottom: 3rem;
}
#overview .overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
#overview h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
#overview .overview-body {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,244,240,0.6);
  line-height: 1.9;
}
#overview .overview-body p + p { margin-top: 1rem; }

/* WHY JOIN */
#why {
  justify-content: flex-start;
  padding-top: 8rem;
}
#why .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#why .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.2);
  display: block;
}
#why .bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10,10,10,0.1) 100%);
}
#why .section-index {
  position: relative;
  z-index: 2;
  
  letter-spacing: 0.2em;
  
  margin-bottom: 2rem;
}
#why h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}
.reasons {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.reason {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.reason:nth-child(even) {
  padding-left: 2rem;
  border-right: none;
}
.reason-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.reason-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

/* TIMELINE */
/* TIMELINE */
#timeline {
  justify-content: flex-start;
  padding-top: 8rem;
}
#timeline .section-index {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 2rem;
}
#timeline h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}
.tl-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.tl-col {
  padding-right: 2.5rem;
}
.tl-col:last-child { padding-right: 0; }
.tl-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-family: 'Courier New', monospace;
}
.tl-line-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.8rem;
}
.tl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.tl-dash {
  flex: 1;
  border-top: 1px dashed rgba(245,244,240,0.2);
}
.tl-col:last-child .tl-dash { display: none; }
.tl-date {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tl-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.tl-desc {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,244,240,0.5);
  line-height: 1.7;
}
.tl-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(127,255,127,0.4);
  color: #7fff7f;
}
.tl-badge.upcoming {
  border-color: rgba(245,244,240,0.2);
  color: rgba(245,244,240,0.4);
}
.tl-badge.tbd {
  border-color: rgba(85,85,80,0.5);
  color: var(--muted);
}
/* CONTACT 


.contact-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  width: 50%;
}*/
#contact .section-index {
  
  letter-spacing: 0.2em;
 
  margin-bottom: 2rem;
}

.contact-item {
  padding: 2rem 0;
  
  padding-right: 3rem;
}
#contact {
  justify-content: center;
  align-items: flex-start;
}
#contact h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
}
.contact-item:nth-last-child(-n+1) { border-bottom: none; }
.contact-platform {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.contact-value {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-value:hover { color: rgba(245,244,240,0.5); }

/* CTA */
#cta {
  min-height: 60vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2.5rem;
}
#cta .cta-inner { max-width: 600px; margin: 0 auto; }
#cta p {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}
#cta p .dim { color:var(--blue) }

.btn {
  display: inline-block;
  font-family:"Zalando Sans SemiExpanded", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(245,244,240,0.3);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: none;
  z-index: 1;
}

html {
  scroll-behavior: smooth; /* Forces all anchor links to scroll smoothly */
}
.btnStart{
  position: absolute;
  right: 5rem;
 

}
.btn:hover {
  background: rgba(245,244,240,0.06);
  border-color: rgba(245,244,240,0.6);
  transition-duration: 0.7s;
}

/* FOOTER */
/* FOOTER — was width: 20%, broken on mobile */
footer {
      padding: 1.4rem 4rem;
      display: flex; justify-content: space-between; align-items: right;
      border-top: 1px solid var(--border);
    }
    footer span { font-size: 11px; letter-spacing: 0.15em; color: var(--muted); }
    .footer-links { display: flex; gap: 2rem; }
    .footer-link { font-size: 11px; letter-spacing: 0.15em; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-link:hover { color: var(--white); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

#contact .contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

#contact .contact-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}


#contact {
  justify-content: flex-start;
  align-items: stretch;
}

#contact .contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  flex: 1;
  min-height: 500px;
}

#contact .contact-spline {
  height: 100%;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

#contact .contact-spline spline-viewer {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

#contact .contact-spline .logo {
  height: 100%;
  width: 100%;
  position: absolute;
}


.era-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  color: var(--white);
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 0.8rem 0;
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted);
  letter-spacing: 0.18em;
  font-size: 11px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-bottom-color: var(--white);
}

#form-status {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* EXPLORE */
#explore {
  justify-content: flex-start;
  padding-top: 8rem;
}
#explore .section-index {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 2rem;
}
#explore h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
}
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  width: 100%;
}
.explore-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s ease;
  cursor: none;
}
.explore-card:last-child {
  border-right: none;
  padding-left: 2.5rem;
  padding-right: 0;
}
.explore-card:hover {
  background: rgba(245,244,240,0.02);
}
.explore-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.explore-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.explore-arrow {
  font-size: 18px;
  color: rgba(245,244,240,0.2);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.explore-card:hover .explore-arrow {
  color: var(--white);
  transform: translate(3px, -3px);
}
.explore-card-body {
  flex: 1;
}
.explore-card-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}
.explore-card-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,244,240,0.45);
  line-height: 1.7;
}
.explore-card-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.explore-status {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(127,255,127,0.35);
  color: #7fff7f;
}
.explore-status.docs {
  border-color: var(--blue);
  color: var(--blue);
  letter-spacing: 0.12em;
}

/*responsive*/
/* ============================================
   RESPONSIVE — COMPUTER (1024x600)
   ============================================ */
@media screen and (width: 1024px) and (height: 600px) {
  /* only targets Nest Hub */

.footer-links {
  display: fixed;
  gap: 2rem;
  /* remove position: right */
}

#backToTop {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1; /* sits above everything */
}
}

/*responsive*/
/* ============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================ */
@media (max-width: 900px) {

  #backToTop{
  opacity: 0;
  pointer-events: none;
}

.btnStart{
  display: none;
}
.text-box{
  opacity: 0;
  pointer-events: none;
  display: none;
}

.arrow{
  opacity: 0;
  pointer-events: none;
}

  /* NAV */
  nav {
    padding: 1.2rem 1.5rem;
  }
  nav .nav-link, nav .nav-link1, nav .nav-link-blue {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  /* SECTIONS */
  section {
    padding: 5rem 2rem 2.5rem;
  }

  /* HERO */
  #hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
  }

  /* OVERVIEW */
  #overview .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* WHY JOIN */
  #why { padding-top: 6rem; }
  .reasons {
    grid-template-columns: 1fr;
  }
  .reason {
    border-right: none;
    padding-right: 0;
  }
  .reason:nth-child(even) {
    padding-left: 0;
  }

  /* EXPLORE */
  #explore { padding-top: 6rem; }
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .explore-card {
    border-right: none;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
  }
  .explore-card:last-child {
    padding-left: 0;
    border-bottom: none;
  }

  /* TIMELINE */
  #timeline { padding-top: 6rem; }
  .tl-track {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
  .tl-col { padding-right: 1.5rem; }
  .tl-col:nth-child(even) { padding-right: 0; padding-left: 1.5rem; }
  .tl-col:last-child .tl-dash { display: block; }
  .tl-col:nth-child(2) .tl-dash { display: none; }

  /* CONTACT */
  #contact .contact-spline {
  display: none;
}
#contact .contact-layout {
  grid-template-columns: 1fr;
}
#contact .contact-left {
  padding-right: 0;
}

  /* FOOTER */
  footer {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
  }
  footer { padding: 1.4rem 2rem; }


  #contact .contact-layout {
  grid-template-columns: 1fr;
  min-height: unset;
}
#contact .contact-spline {
  justify-content: center;
  padding-right: 0;
  padding-top: 2rem;
}
.contact-img {
  max-width: 380px;
}


.ev-header { flex-direction: column; align-items: flex-start; }
.ev-header-right { align-items: flex-start; }
.ev-countdown-box { text-align: left; }
.ev-cards-grid { grid-template-columns: 1fr; }
.ev-card { border-right: none; padding: 1.5rem 0 !important; border-bottom: 1px solid var(--border); }
.ev-card:last-child { border-bottom: none; }
.ev-footer-row { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 600px)
   ============================================ */
@media (max-width: 600px) {

  #backToTop{
  opacity: 0;
  pointer-events: none;
}

.text-box{
  opacity: 0;
  pointer-events: none;
  display: none;
}

.btnStart{
  display: none;
}
.arrow{
  opacity: 0;
  pointer-events: none;
}

  /* HIDE CURSOR on touch */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  /* DISABLE SCROLL SNAP on mobile */
  html { scroll-snap-type: none; }

  /* NAV */
  nav {
    padding: 1rem 1.2rem;
    background: rgba(0,0,0,0.9);
    border-bottom: 1px solid var(--border);
  }
  nav .logo { font-size: 11px; }
  nav div { gap: 1.2rem !important; }
  nav .nav-link, nav .nav-link1, nav .nav-link-blue {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  /* SECTIONS */
  section {
    padding: 5rem 1.2rem 2rem;
    min-height: unset;
    scroll-snap-align: none;
  }

  /* HERO */
  #hero {
    min-height: 100vh;
    padding-bottom: 3rem;
  }
  #hero h1 {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }
  #hero .hero-sub { max-width: 100%; }
  #hero .scroll-hint { display: none; }

  /* OVERVIEW */
  #overview .overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #overview { justify-content: flex-start; padding-top: 5rem; }

  /* WHY JOIN */
  #why { padding-top: 5rem; }
  .reasons { grid-template-columns: 1fr; }
  .reason { border-right: none; padding-right: 0; }
  .reason:nth-child(even) { padding-left: 0; }
  .reason-text { font-size: 15px; }

  /* EXPLORE */
  #explore { padding-top: 5rem; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card {
    border-right: none;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--border);
  }
  .explore-card:last-child {
    padding-left: 0;
    border-bottom: none;
  }
  .explore-card-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* TIMELINE */
  #timeline { padding-top: 5rem; }
  .tl-track { grid-template-columns: 1fr; gap: 2.5rem; }
  .tl-col { padding-right: 0; }
  .tl-col:nth-child(even) { padding-left: 0; }
  .tl-dash { display: none !important; }

  /* CONTACT */
  
#contact .contact-spline {
  display: none;
}
#contact .contact-layout {
  grid-template-columns: 1fr;
}
#contact .contact-left {
  padding-right: 0;
} 

#contact h2 { font-size: clamp(2rem, 9vw, 3rem); }

  /* CTA */
  #cta { padding: 4rem 1.2rem; }

  /* FOOTER */
  footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.5rem 1.2rem;
  }
  .footerNav { padding-top: 0; }
  footer { padding: 1.2rem; flex-wrap: wrap; gap: 0.7rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  
  
  .ev-cards-grid {
  grid-template-columns: 1fr;
}
.ev-card {
  border-right: none !important;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 !important;
}
.ev-card:last-child {
  border-bottom: none;
}


}

#contact .contact-spline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-right: 2rem;
}

.contact-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.text-box{
  color: var(--muted);
  border: 3.5px solid var(--border);
  padding: 0.5rem 1.2rem;
  font-weight: 350;
  border-radius: 500px;
  font-size: 30px;
  letter-spacing: 0.03em;
  z-index: 2;
  text-decoration: none;
    animation: fadeUp 2s;
  position: absolute; /* or fixed */
  bottom: 8%; /* relative to the section height instead of top-down */
  right: 5rem; /* adjust as needed */
}

.sign-up{
  color: var(--muted);
  border: 3.5px solid var(--border);
  padding: 0.5rem 1.2rem;
  font-weight: 350;
  border-radius: 500px;
  font-size: 30px;
  letter-spacing: 0.03em;
  z-index: 2;
  text-decoration: none;
    animation: fadeUp 2s;
  position: absolute; /* or fixed */
  bottom: 8%; /* relative to the section height instead of top-down */
  right: 5rem; /* adjust as needed */
}

#backToTop {
  position: absolute;  /* pulls it out of the flex row */
  left: 50%;
  transform: translateX(-50%) translateY(-12px); /* adjust -5px as needed */
  background: var(--black);
  color: rgba(255, 255, 255, 0.604);
  border: 2px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

#backToTop.visible {
  opacity: 1;
}

.arrow{
  margin-top: 5px;
}

.cursor, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform; /* smoother rendering at all resolutions */
}

html {
  scroll-snap-type: none; /* let JS handle it entirely */
}

  /* Event Resources Formatting */

.resource-cards {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}

.resource-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s;
  width: fit-content;
  min-width: 160px;
}

  .resource-card:hover { border-color: var(--border-mid); }
  .resource-card-label { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-bottom: 0.8rem; }
  .resource-card-title { font-size: 14px; font-weight: 500; }
  .resource-card-arrow { font-size: 11px; color: var(--muted); margin-top: 1rem; align-self: flex-end; }



  /* ===== EVENTS PREVIEW SECTION ===== */

/* Header row */
.ev-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  gap: 2rem;
}
.ev-tag-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.ev-tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--green);
  color: var(--green);
}
.ev-number {
  font-size: 11px; letter-spacing: 0.2em; color: var(--muted);
}
.ev-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.ev-subtitle {
  font-size: 13px; font-weight: 300;
  color: rgba(245,244,240,0.45); letter-spacing: 0.04em;
}
.ev-header-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 1.2rem;
  flex-shrink: 0;
}
.ev-countdown-box {
  text-align: right;
}
.ev-countdown-label {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.ev-countdown-value {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Get started cards */
.ev-get-started { margin-bottom: 3rem; }
.ev-cards-label {
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.ev-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.ev-card {
  padding: 1.8rem 2rem 1.8rem 0;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--white);
  transition: background 0.2s;
  gap: 0.5rem;
}
.ev-card:last-child { border-right: none; padding-right: 0; }
.ev-card:nth-child(2),
.ev-card:nth-child(3) { padding-left: 2rem; }
.ev-card:hover { background: rgba(245,244,240,0.02); }
.ev-card-tag {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.ev-card-title {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}
.ev-card-desc {
  font-size: 12px; font-weight: 300;
  color: rgba(245,244,240,0.45); line-height: 1.6;
  flex: 1;
}
.ev-card-footer {
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--blue); margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

/* Map */
.ev-map { margin-bottom: 3rem; }
.ev-map-label {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1rem;
}
.ev-map-tag {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
}
.ev-map-address {
  font-size: 12px; font-weight: 300;
  color: rgba(245,244,240,0.45);
}
.ev-map-frame {
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Footer row */
.ev-footer-row {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.ev-text-link {
  font-size: 12px; letter-spacing: 0.14em;
  color: rgba(245,244,240,0.4); text-decoration: none;
  transition: color 0.2s;
}
.ev-text-link:hover { color: var(--white); }

/* btn-blue for index page */
.btn-blue {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-blue:hover {
  background: rgba(0,110,225,0.08);
  border-color: var(--blue);
}



@media (max-width: 900px) {
  .ev-cards-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .ev-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(245,244,240,0.12) !important;
    padding: 1.5rem 0 !important;
    width: 100% !important;
  }
  .ev-card:last-child {
    border-bottom: none !important;
  }
  .ev-card:nth-child(2),
  .ev-card:nth-child(3) {
    padding-left: 0 !important;
  }
}

@media (max-width: 600px) {
  .ev-cards-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .ev-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(245,244,240,0.12) !important;
    padding: 1.5rem 0 !important;
    width: 100% !important;
  }
  .ev-card:last-child {
    border-bottom: none !important;
  }
  .ev-card:nth-child(2),
  .ev-card:nth-child(3) {
    padding-left: 0 !important;
  }
}