.map1 .google-map {
  padding: 0;
  box-sizing: border-box;
}
.map1 .google-map iframe {
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: none;
} /* Separate the location map from the Contact Us section that follows it. */
.map1 {
  margin-bottom: clamp(56px, 8vw, 112px);
} /* Keep the Find Us heading and map wrapper free of any background fill. */
.ff-location-heading,
.ff-location {
  background: transparent !important;
}
.ff-location-heading {
  padding: clamp(32px, 4vw, 56px) 0 20px;
}
.ff-location-heading .ff-section-title {
  background: transparent !important;
}
@media (max-width: 600px) {
  .map1 {
    margin-bottom: 56px;
  }
} /* Teaser: contained, responsive frame with a graceful direct-YouTube fallback. */
.ff-teaser-frame {
  position: relative;
  width: min(800px, calc(100vw - 32px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 18px;
  box-sizing: border-box;
  background: #080a10;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.035),
    0 0 22px rgba(0, 229, 255, 0.08);
}
.ff-teaser-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.ff-teaser-fallback {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.82);
  color: #00e5ff;
  font:
    600 11px/1.2 Sora,
    sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ff-teaser-fallback:hover {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.18);
}
@media (max-width: 600px) {
  .ff-teaser-frame {
    width: calc(100vw - 32px);
    border-radius: 14px;
  }
  .ff-teaser-fallback {
    right: 8px;
    bottom: 8px;
    font-size: 9px;
    padding: 7px 9px;
  }
}

/* Hero ordinal suffixes: keep superscript suffixes attached to their numbers.
   The parent uses tracking for the futuristic date style;reset it on <sup>
   so "th" does not inherit exaggerated letter spacing on narrow screens. */
#ff-hero .ff-hero-edition sup,
#ff-hero .ff-hero-meta-item sup {
  display: inline-block;
  margin-left: 0.04em;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  line-height: 0;
  vertical-align: super;
} /* Batch completion: About, event search, schedule hover and calmer event labels */
.tg-title,
.tg-eyebrow,
.tg-subtitle,
.tg-card h3 {
  -webkit-user-select: none;
  user-select: none;
}
.tg-card {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s ease,
    box-shadow 0.42s ease,
    background 0.38s ease !important;
}
.tg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(0, 229, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.02) 65%,
    transparent 100%
  );
  transform: translateX(-125%) skewX(-16deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.46s ease;
}
.tg-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(0, 229, 255, 0.12),
    0 0 24px rgba(0, 229, 255, 0.08) !important;
}
.tg-card:hover::before {
  opacity: 1;
  animation: ff-card-sheen 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tg-chip {
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease !important;
}
.tg-chip:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08) !important;
}
@keyframes ff-card-sheen {
  0% {
    transform: translateX(-125%) skewX(-16deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateX(125%) skewX(-16deg);
    opacity: 0;
  }
}
.ff-event-search-wrap {
  max-width: 520px;
  margin: 0 auto 42px;
  padding: 0 2px;
}
#ff-event-search {
  width: 100%;
  box-sizing: border-box;
  background: rgba(9, 18, 26, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  color: #dce8ee;
  padding: 14px 16px;
  font: 600 0.95rem var(--p3-font-b, sans-serif);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
#ff-event-search:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}
.ff-event-searching .ff-day-header {
  display: none !important;
}
.ff-event-searching .ff-event-day-group {
  margin-top: 1px !important;
  padding-bottom: 50px !important;
} /* .ff-event-searching .ff-event-day-group{display:contents}*/
.ff-event-card.ff-search-hidden {
  display: none !important;
}
#schedule .ff-tl__event-link {
  transition: color 0.22s ease;
}
#schedule .ff-tl__event-link:hover,
#schedule .ff-tl__event-link:focus-visible {
  color: var(--p3-cyan, #00e5ff);
}
.ff-card-badge {
  background: rgba(168, 85, 247, 0.13) !important;
  box-shadow: none !important;
  border-color: rgba(168, 85, 247, 0.32) !important;
}
.badge-tech,
.badge-code {
  background: rgba(0, 229, 255, 0.11) !important;
  border-color: rgba(0, 229, 255, 0.25) !important;
} /* About-section floating chips: keep hover feedback restrained instead of
   switching to saturated neon fills. */
#aboutus .tg-chip:hover,
#aboutus .tg-chip:focus-visible {
  color: #e8f4f8 !important;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.15),
    rgba(155, 48, 255, 0.12)
  ) !important;
  border-color: rgba(0, 229, 255, 0.42) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 12px 26px rgba(0, 229, 255, 0.12),
    0 0 18px rgba(155, 48, 255, 0.12) !important;
}
#aboutus .tg-chip.c2:hover,
#aboutus .tg-chip.c2:focus-visible {
  color: #eadcff !important;
  background: linear-gradient(
    135deg,
    rgba(155, 48, 255, 0.16),
    rgba(0, 229, 255, 0.1)
  ) !important;
  border-color: rgba(155, 48, 255, 0.38) !important;
  box-shadow:
    0 12px 26px rgba(155, 48, 255, 0.12),
    0 0 18px rgba(0, 229, 255, 0.1) !important;
}
.tg-starfield {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 9998;
}
.tg-star-caption {
  position: absolute;
  top: 56%;
  left: 50%;
  color: #b8f7ff;
  font:
    600 clamp(0.8rem, 1.8vw, 1.35rem) Sora,
    sans-serif;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(88, 235, 255, 0.85);
  transform: translateX(-50%);
  white-space: nowrap;
}
.tg-star-title {
  position: absolute;
  top: 42%;
  left: 50%;
  margin: 0;
  width: min(94vw, 1400px);
  color: transparent;
  font-family: var(--p3-font-d, "Tektur", sans-serif);
  font-size: clamp(1.7rem, 8vw, 9rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.38);
  transform: translate(-50%, -50%);
  white-space: normal;
  background: linear-gradient(
    110deg,
    #b8f7ff 0%,
    #00e5ff 25%,
    #ffffff 47%,
    #c58cff 68%,
    #00e5ff 86%,
    #b8f7ff 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: tgGradientText 8s linear infinite;
}
@keyframes tgGradientText {
  to {
    background-position: 240% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-star-title {
    animation: none;
    background-position: 50% center;
  }
} /* Meet the Team contact overlay */
.ff-contact-open {
  overflow: hidden;
}
.ff-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}
.ff-contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ff-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 13, 0.56);
  backdrop-filter: blur(9px) saturate(0.8);
  -webkit-backdrop-filter: blur(9px) saturate(0.8);
}
.ff-contact-dialog {
  position: relative;
  width: min(548px, 100%);
  padding: 40px 34px 34px;
  border: 1px solid rgba(142, 161, 179, 0.22);
  border-radius: 28px;
  background: rgba(20, 22, 25, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  text-align: center;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.24s ease;
}
.ff-contact-modal.is-open .ff-contact-dialog {
  transform: translateY(0) scale(1);
}
.ff-contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(150, 170, 190, 0.24);
  border-radius: 12px;
  background: transparent;
  color: #d8e3ec;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.ff-contact-close:hover {
  border-color: rgba(50, 210, 235, 0.5);
  color: #42d9f1;
}
.ff-contact-logo {
  width: 136px;
  height: 136px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(160, 175, 188, 0.28);
  border-radius: 22px;
  color: #bfc5ca;
  font-size: 74px;
  font-weight: 800;
  font-style: italic;
}
.ff-contact-dialog h2 {
  margin: 0;
  color: #f1f4f6;
  font-size: clamp(28px, 5vw, 40px);
}
.ff-contact-role {
  margin: 10px 0;
  color: #c4c7cb;
  font-size: 20px;
  font-weight: 700;
}
.ff-contact-instagram {
  margin: 0 0 12px;
  color: #42d9f1;
  font-size: 18px;
  font-weight: 600;
  min-height: 1.2em;
}
.ff-contact-phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #c9cdd1;
  font-size: 19px;
  font-weight: 600;
  flex-wrap: wrap;
}
.ff-contact-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(62, 210, 235, 0.32);
  border-radius: 9px;
  padding: 8px 11px;
  background: rgba(0, 190, 220, 0.08);
  color: #6de6f7;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ff-contact-copy svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.ff-contact-copied {
  height: 18px;
  margin: 10px 0 0;
  color: #6de6f7;
  font-size: 13px;
}
@media (max-width: 480px) {
  .ff-contact-modal {
    padding: 16px;
  }
  .ff-contact-dialog {
    padding: 34px 20px 26px;
    border-radius: 22px;
  }
  .ff-contact-logo {
    width: 104px;
    height: 104px;
    margin-bottom: 20px;
    font-size: 58px;
  }
  .ff-contact-role {
    font-size: 17px;
  }
  .ff-contact-phone-row {
    font-size: 16px;
  }
} /* Search results: filtering must not change the event layout model or escape
   the shared section gutters. Keep both day grids as stable responsive grids. */
#events.ff-event-searching .ff-event-day-group {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  box-sizing: border-box;
}
#events.ff-event-searching .ff-day-grid {
  width: 100%;
  max-width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  box-sizing: border-box;
  margin: 0;
}
#events.ff-event-searching .ff-event-card {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  justify-self: stretch;
}
@media (max-width: 900px) {
  #events.ff-event-searching .ff-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}
@media (max-width: 600px) {
  #events.ff-event-searching .ff-event-day-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #events.ff-event-searching .ff-day-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}
.ff-contact-instagram a {
  color: inherit;
  text-decoration: none;
}
.ff-contact-instagram a:hover,
.ff-contact-instagram a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   INERTIAL SCROLL - cross-origin iframe interaction shields
   ========================================================= */
html.ff-inertia-scrolling {
  scroll-behavior: auto !important;
}

.google-map,
.ff-teaser-frame {
  position: relative;
}

.google-map[data-scroll-safe-map] iframe,
.ff-teaser-frame[data-scroll-safe-teaser] iframe {
  pointer-events: none;
}

.google-map[data-scroll-safe-map].is-interactive iframe,
.ff-teaser-frame[data-scroll-safe-teaser].is-interactive iframe {
  pointer-events: auto;
}

.ff-scroll-shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.ff-scroll-shield__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 9, 16, 0.72);
  color: #b9f8ff;
  font:
    700 10px/1.2 Sora,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.ff-scroll-shield:hover .ff-scroll-shield__label,
.ff-scroll-shield:focus-visible .ff-scroll-shield__label {
  opacity: 1;
  transform: translateY(0);
}

.ff-scroll-shield:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: -3px;
}

@media (max-width: 768px), (pointer: coarse) {
  .ff-scroll-shield {
    display: none;
  }
  .google-map__activate {
    display: none !important;
  }
  .google-map[data-scroll-safe-map] iframe,
  .ff-teaser-frame[data-scroll-safe-teaser] iframe {
    pointer-events: auto;
  }
}
