
@font-face {
  font-family: "Archia";
  src: url("../fonts/Archia-Regular.otf") format("opentype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}

/* Hide horizontal carousel scrollbars only. Keep main page scrollbars visible
   so users have a sense of scroll progress on long pages. */
.carousel-container::-webkit-scrollbar { display: none; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  /* dvh = dynamic viewport height; properly accounts for the mobile URL bar.
     The 100vh line is kept as a fallback for older browsers. */
  height: 100vh;
  height: 100dvh;
  overscroll-behavior-y: none;
}

body {
  color: #fff;
  background: #000000;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

body::selection {
  background: var(--accent-color);
  color: white;
  text-shadow: none;
}

h1, h2, h3, h4, h5, h6, button, a {
  color: #fff;
  font-family: "Archia";
  font-size: 1rem;
  text-decoration: none;
}

h1 {
  font-size: clamp(1.5rem, 7vw, 3rem);
  text-transform: capitalize;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.25rem, 5vw, 2rem);
  margin: 0;
  margin-top: 1rem;
}

h3 {
  font-family: "Montserrat";
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
  margin: 0;
  margin-bottom: 0.5rem;
}

h5 {
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

h6 {
  font-family: "Montserrat";
  font-style: italic;
  color: #bbbbbb;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 2rem;
}

p {
  font-family: "Montserrat";
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 2rem;
}

a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  text-transform: none;
  transition: color 0.25s ease-in-out;
}

a:hover {
  color: var(--accent-color);
  transition: color 0.25s ease-in-out;
}

/* Shared button styling. The .btn class is so anchors styled like buttons
   (e.g. <a class="btn" href="..."> for cross-page links) match real <button>s. */
button, input, .btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 3rem;
  padding: 0 1rem;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  cursor: pointer;
  text-decoration: none;
  font-family: "Archia";
  font-size: 1rem;
  line-height: 1;
}

button:hover, .btn:hover, a.btn:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.5);
}

.social-icons a:hover {
    color: var(--accent-color);
}


footer {
  display: flex;
  align-items: flex-end;
  height: auto;
  width: 100%;
  padding: 1rem 1.5rem;
}
.footer-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
footer .icon-gplab-logo {
  font-size: 1.5rem;
}
footer a {
  padding: 0 0.25rem;
}



.flash-text {
  white-space: pre-wrap; /* 🔑 preserves spaces AND allows wrapping */
  word-break: normal;
}

.flash-text span {
  display: inline; /* 🔑 critical change */
  /* transition: color 600ms ease; */
  color: inherit;
}

.flash-text span.active {
  color: var(--accent-color);
}


/* Brand palette. Pages choose an accent via a body class (.accent-ice etc).
   The default :root --accent-color is purple; body classes override per page. */
:root {
  --gplab-purple: #5d31ff;
  --gplab-blue:   #0091ff;
  --gplab-pink:   #f200ff;
  --gplab-ice:    #74d3ff;
  --accent-color: var(--gplab-purple);
}
body.accent-ice    { --accent-color: var(--gplab-ice); }
body.accent-blue   { --accent-color: var(--gplab-blue); }
body.accent-pink   { --accent-color: var(--gplab-pink); }
body.accent-purple { --accent-color: var(--gplab-purple); }

section {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
}

.intro {
  padding-bottom: 2rem;
  padding-top: 10rem;
  justify-content: flex-end;
}

.intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.intro-text p {
  width: 100%;
  align-self: center;
}

.media-banner {
  position: relative;
  width: 100%;
  height: 30rem;
  min-height: 20rem;
  overflow: hidden;
  border-radius: 6rem;
}

#tall-video {
  height: 40rem;
}

.video-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 0;
}

.video-layer video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0);
  object-position: 50% 50%;
}

.photo-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Legacy support for inline background-image declarations. */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-layer > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.gradient-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: inset 0 0px 48px var(--accent-color);
  background-color: transparent;
  z-index: 5;
}

.text-layer {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  z-index: 10;
}

/* Scoped Safari fix: inside .media-banner the text-layer needs an
   explicit anchor (Safari follows spec on absolute positioning and
   leaves it at static-flow position, which Chrome computes as 0,0
   silently). Using `inset: 0; margin: auto;` instead of `top/left: 0`
   alone — on desktop the text-layer is constrained to width: 70vw by
   the media-query lower in this file, so anchoring only the left
   edge would pin that narrower box to the left of the banner. With
   all four sides at 0 + margin: auto, the box re-centers horizontally
   and vertically inside .media-banner regardless of its computed
   width. */
.media-banner > .text-layer {
  inset: 0;
  margin: auto;
}

.model-banner {
  position: relative;
  width: 100%;
  height: 30rem;
  min-height: 20rem;
  overflow: hidden;
  border-radius: 6rem;
}

.mission {
  width: 100%;
  height: 100vh;
}

.mission h3 {
  width: 100%;
}

.ethos {
  width: 100%;
  height: 200vh;
}

.ethos-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(10, minmax(20px,1fr));
  grid-template-rows: repeat(12, minmax(20px, 1fr));
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.ethos-grid-vid {
  position: relative;
  width: 10rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 2rem;
  justify-self: center;
  align-self: center;
}

.ethos-grid-vid.big {
  width: 16rem;
  height: 10rem;
  border-radius: 3rem;
}

.ethos-grid-vid:nth-child(1) { grid-column: 3; grid-row: 1; }
.ethos-grid-vid:nth-child(2) { grid-column: 8; grid-row: 2; }
.ethos-grid-vid:nth-child(3) { grid-column: 1; grid-row: 3; }
.ethos-grid-vid:nth-child(4) { grid-column: 5; grid-row: 4; }
.ethos-grid-vid:nth-child(5) { grid-column: 2; grid-row: 6; }
.ethos-grid-vid:nth-child(6) { grid-column: 9; grid-row: 5; }
.ethos-grid-vid:nth-child(7) { grid-column: 7; grid-row: 7; }
.ethos-grid-vid:nth-child(8) { grid-column: 4; grid-row: 9; }
.ethos-grid-vid:nth-child(9) { grid-column: 9; grid-row: 10; }
.ethos-grid-vid:nth-child(10) { grid-column: 3; grid-row: 12; }

.motorsport {
  width: 100%;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.motorsport .text-layer {
  height: 100vh;
}

.video-bg {
  width: 100vw;
  height: 98vh;
  overflow: hidden;
  position: relative;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 1) 100%);
}

.full-height {
  height: 100vh;
}

.center-pill-grid {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1;
  grid-auto-rows: 3;
  justify-content: center;
  align-items: center;
  gap: 0rem;
  padding: 4rem 2rem;
}

.center-pill-item {
  justify-self: center;
  align-self: center;
  text-align: center;
}

#pill-video {
  position: relative;
  width: 20rem;
  height: 30rem;
  min-height: 20rem;
  overflow: hidden;
  border-radius: 10rem;
  justify-self: center;
  text-align: center;
  order: 1;
  margin-bottom: 2rem;
}

#center-pill-heading {
  justify-self: center;
  text-align: center;
  order: 2;
}

#center-pill-text {
  justify-self: center;
  text-align: center;
  order: 3;
}

.development {
  padding-bottom: 6rem;
}

.development .gradient-layer {
  background-color: rgba(0, 0, 0, 0.2);
}

.text-only, .blurb {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 80vh;
}
.blurb {
  min-height: fit-content;
}



/* SUBPAGES */

.pill-text-grid {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1;
  grid-auto-rows: 2;
  justify-content: center;
  align-items: center;
  gap: 0rem;
  padding: 2rem;
}

.pill-text-grid-item {
  justify-self: center;
  align-self: center;
  text-align: center;
}

.pills-grid {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.pills-grid-item {
  justify-self: center;
  align-self: center;
  text-align: center;
  width: auto;
  height: 20rem;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.highlights h1 {
  margin-bottom: 2rem;
}

.highlights-grid {
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}


.faq-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 2rem;
}

.faq-section h1 {
  margin-bottom: 1.5rem;
}

.faq-item {
  width: 100%;
}

.faq-question {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.faq-answer p {
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem 0;
}

.menu-grid {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0;
}

.menu-grid-item {
  justify-self: center;
  align-self: center;
  text-align: center;
  width: 100%;
  min-height: 20rem;
}

.menu-grid-item .gradient-layer {
  backdrop-filter: blur(0px);
  transition: filter 0.3s ease;
}
.menu-grid-item .text-layer {
  background: rgba(0, 0, 0, 0.6);
}


.carousel-wrapper#events .text-layer {
  background: rgba(0, 0, 0, 0.6);
}
.carousel-wrapper#events h2 {
  margin-top: 0;
}
.carousel-wrapper#events h4 {
  margin-top: 1rem;
}
.carousel-wrapper#events p {
  max-width: 70%;
}
.carousel-wrapper#events .text-layer button{
  margin-top: 1rem;
}

a:hover .gradient-layer, .menu-grid-item.is-active .gradient-layer {
  backdrop-filter: blur(5px);
}

.menu-grid-item a:hover {
  color: #fff;
}

.menu-grid-item .text-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-grid-item .primary h4 {
  margin: 0;
  margin-top: 0.5rem; /* adjust to taste */
}

.menu-grid-item .secondary p,
.menu-grid-item .secondary h4,
.menu-grid-item .secondary h6 {
  margin: 0;
}

.menu-grid-item .secondary {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.45s ease;
}

.menu-grid-item .secondary p {
  margin: 1rem 0;
}
.menu-grid-item .secondary h6 {
  color: white;
  margin-top: 1rem;
}

/* When expanded, allow room */
.menu-grid-item:hover .secondary,
.menu-grid-item.is-active .secondary {
  max-height: 300px; /* increase if your secondary content grows */
  opacity: 1;
  transform: translateY(0);
}
.menu-grid-item .secondary > * {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-grid-item:hover .secondary > *,
.menu-grid-item.is-active .secondary > *  {
  opacity: 1;
  transform: translateY(0);
}

.menu-grid-item:hover .secondary > *:nth-child(1) { transition-delay: 0.05s; }
.menu-grid-item:hover .secondary > *:nth-child(2) { transition-delay: 0.12s; }
.menu-grid-item:hover .secondary > *:nth-child(3) { transition-delay: 0.18s; }


@media only screen and (min-width: 390px) {
  .intro {
    min-height: 60vh;
    height: auto;
  }
}


@media only screen and (min-width: 768px) {
  .intro-text, .motorsport .text-layer, .video-container .text-layer, .text-only, .mission h3, .blurb{
    width: 70vw;
  }
}


@media only screen and (min-width: 1024px) {


  section {
    padding: 3rem 4rem;
  }

  footer {
    padding: 1rem 4rem;
  }


  #tall-video {
    height: 30rem;
  }

  .mission h3 {
    font-size: 2.5rem;
  }

  .center-pill-grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }

  .center-pill-item {
    justify-self: center;
    align-self: center;
  }

  #pill-video {
    position: relative;
    width: 20rem;
    height: 30rem;
    min-height: 20rem;
    overflow: hidden;
    border-radius: 10rem;
    order: 2;
    margin: 0;
  }

  #center-pill-heading {
    justify-self: flex-end;
    text-align: right;
    order: 1;
  }

  #center-pill-text {
    justify-self: flex-start;
    text-align: left;
    order: 3;
  }

  /* SUBPAGES */
  .drivers {
    gap: 4rem;
  }

  .roadmap {
    padding-top: 10rem;
  }

  .pill-text-grid {
    width: 80%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }

  .pill-text-grid-item {
    justify-self: center;
    align-self: center;
  }

  .pills-grid {
    width: 80%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }

  .pills-grid-item {
    justify-self: center;
    align-self: center;
  }

  .pills-grid-item#pill-video {
    width: 100%;
    height: 30rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-grid > :last-child:nth-child(odd) {
    grid-column: 1/3;
  } 

  .download-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: row;
  }
}

/* ── Event detail page components ─────────────────────────────────────
   Used on event-<slug>.html pages. Sticky reserve CTA, day-by-day
   schedule, circuit-spec module. Generic enough to reuse across events;
   each page provides its own content. */

/* Floating "Reserve Spot" pill that appears once the visitor has
   scrolled past the intro. js/sticky-cta.js manages visibility based
   on IntersectionObserver — hidden by default, shown when neither the
   intro nor the closing CTA section is in view. */
.sticky-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  /* Make sure the pill button looks distinct from inline buttons:
     filled accent background instead of outline. */
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
  backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover {
  /* Override the global .btn:hover which would turn it accent color
     on accent background — invisible. Instead darken slightly. */
  color: #000;
  border-color: var(--accent-color);
  filter: brightness(0.92);
}

/* ── Day-by-day schedule ────────────────────────────────────────── */

.schedule {
  padding: 4rem 1.5rem;
}
.schedule-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.schedule-heading h2 {
  font-family: "Archia";
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0 0 0.5rem;
}
.schedule-heading p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.schedule-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
.schedule-day {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}
.schedule-day-label {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.schedule-day-label .day {
  font-family: "Archia";
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.schedule-day-label .date {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-color);
}
.schedule-times {
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule-times li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}
.schedule-times li:first-child {
  border-top: 0;
}
.schedule-times time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.schedule-times .what {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .schedule-list {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 3rem 2rem;
  }
}

/* ── Circuit module ─────────────────────────────────────────────── */

.circuit {
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}
.circuit-info h3 {
  font-family: "Archia";
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 0 0 1.5rem;
}
.circuit-info p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.5rem;
  text-align: left;
  max-width: 36rem;
}
.circuit-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  text-align: left;
}
.circuit-stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.circuit-stats strong {
  font-family: "Archia";
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--accent-color);
  font-weight: 400;
}
.circuit-stats .label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}
.circuit-map {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}
.circuit-map svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .circuit {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

/* ── FAQ on event pages ─────────────────────────────────────────────
   The existing .faq-section in this file was authored as a flex
   container without flex-direction:column, which breaks when there
   are multiple .faq-item children. Override for event pages where we
   stack FAQs vertically. */
.event-faq.faq-section {
  display: block;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.event-faq .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.event-faq .faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.event-faq .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-family: "Archia";
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  height: auto;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.event-faq .faq-question:hover {
  color: var(--accent-color);
}
.event-faq .faq-question::after {
  content: '+';
  font-family: "Archia";
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.25s ease;
  line-height: 1;
}
.event-faq .faq-question[aria-expanded="true"]::after,
.event-faq .faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}
.event-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.event-faq .faq-answer p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  margin: 0 0 1.5rem;
  padding: 0 1rem 0 0;
}

/* ── Stripe Buy Button wrapper ────────────────────────────────────────
   When events-render.js replaces a Reserve anchor with a
   <stripe-buy-button>, it's nested in <div class="gp-buy-button-wrap">.
   This wrapper keeps the embedded button aligned with the layout the
   anchor used to sit in — centered with the other button styles. */
.gp-buy-button-wrap {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto;
}

/* ── Trailing cursor (GSAP-driven follow of img/963.svg) ──────────────
   js/cursor.js injects a .gp-cursor element on pages that include it;
   these styles position and reveal it. Negative z-index puts the SVG
   between the body background and page content so it reads as a ghost
   trailing behind text/images. Disabled on touch + reduced-motion via
   guards inside cursor.js. */
.gp-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  /* Half-size negative margins center the element on the GSAP x/y. */
  margin: -30px 0 0 -30px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.gp-cursor.is-active { opacity: 1; }
.gp-cursor img {
  width: 100%;
  height: 100%;
  display: block;
}