/* FOOTER & UTILITY STYLES (100/100 Tier) */
.footer {
  position: relative;
  z-index: 100;
}

.full-container.footer-s {
  background: #080808;
  border-top-left-radius: 2.2rem;
  border-top-right-radius: 2.2rem;
  overflow: hidden;
}

.container.footer-s {
  max-width: 100rem;
  margin: 0 auto;
  padding: 4.4rem 4.2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4.4rem;
}

.headline-h4 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 120%;
  color: white;
}

.footer-mail-2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 120%;
  color: #a5d4ff;
  text-decoration: none;
}

.footer-down {
  border-top: 1px solid #171717;
  padding-top: 4.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info-block {
  display: flex;
  gap: 2.78rem;
}

.footer-terms-links {
  display: flex;
  gap: 1.4rem;
}

.terms-link-2,
.terms-link {
  color: #737373;
  font-size: 1rem;
}

.footer-media-links {
  display: flex;
  gap: 0.28rem;
}

.f-media-link {
  background: #171717;
  color: white;
  padding: 1.32rem;
  border-radius: 0.84rem;
  transition: background 0.2s;
}

.f-media-link:hover {
  background: #262626;
}

.media-link-svg {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stack Contact + Email on smaller screens */
@media (max-width: 768px) {
  .container.footer-s {
    padding: 2.4rem 1.8rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 2.4rem;
  }

  .footer-mail-2 {
    font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  }

  .footer-down {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
}

/* RESPONSIVE VIDEO WRAP */
.ctc-footer-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 50vh;
  overflow: hidden;
  background: #000;
}

/* VIDEO */
.ctc-new-footer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SOFT FADE OVER VIDEO */
.ctc-new-footer-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.95) 15%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.35) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* COPY EMAIL – GLASSY GREEN PILL */
.footer-mail-2.click-to-copy {
  position: relative;
  cursor: pointer;
}

/* glassy green floating pill that follows cursor */
.copy-pill {
position: fixed;
z-index: 9999;
padding: 0.48rem 1.1rem;
border-radius: 1000px;

/* TRUE VISION PRO GLASS */
background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0.16) 0%,
  rgba(180, 190, 200, 0.10) 45%,
  rgba(110, 120, 130, 0.06) 100%
);

/* Soft border (NO glow, no colour outline) */
border: 1px solid rgba(255, 255, 255, 0.22);

/* Depth layering, exactly like Apple panels */
box-shadow:
  0 4px 12px rgba(0, 0, 0, 0.25),
  0 1px 2px rgba(255, 255, 255, 0.2) inset;

/* Typography */
color: rgba(255, 255, 255, 0.92);
font-size: 0.82rem;
letter-spacing: 0.05em;
text-transform: uppercase;
white-space: nowrap;

/* Glass processing */
backdrop-filter: blur(22px) saturate(180%);
-webkit-backdrop-filter: blur(22px) saturate(180%);

pointer-events: none;
opacity: 0;
transform: translate(-50%, -120%);
transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}

/* H. COGNITIVE / VISUAL EXCELLENCE
   Global Typography Overrides (CTC Glass System)
*/

/* H2 HEADINGS → Ppgatwick */
.glass-heading {
  font-family: "Ppgatwick", serif !important;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Highlight span stays gold */
.glass-heading .highlight {
  font-family: "Ppgatwick", serif !important;
}

/* SECTION DESCRIPTIONS → Graphik */
.glass-desc {
  font-family: "Arial", sans-serif !important;
  font-weight: 400;
  letter-spacing: 0;
  color: #eaeaea;
}

/* EVERYTHING ELSE → PP Gatwick */
body,
.stat-row p,
.stat-link,
.icon-wrap,
.event-title,
.event-label,
.event-meta,
.event-button,
.event-tag,
.event-link,
.media-title,
.media-tag,
.media-badge,
.cwm4-number,
.cwm4-text,
.cwm3-title,
.cwm3-text,
.cwm3-icon,
.review-tag,
.review-user span,
.review-text,
.review-card,
.event-card,
.media-card,
.cwm4-card,
.cwm3-card {
  font-family: "Ppgatwick", sans-serif !important;
  font-size:  clamp(15px, 1vw, 22px);
}

/* Weight logic for Gatwick */
.event-title,
.media-title,
.cwm4-number,
.cwm3-title {
  font-weight: 700 !important;
}

.stat-row p,
.event-meta,
.review-text,
.media-tag,
.cwm3-text,
.cwm4-text {
  font-weight: 400 !important;
}

.review-user span {
  font-weight: 600 !important;
}

.event-label,
.media-badge,
.review-tag {
  font-weight: 600 !important;
  letter-spacing: 0.3px;
}

.event-link{
   font-size: clamp(16px, 0.9vw, 20px);
}

.media-tag{
  font-family: "RecklessNeue";
}

.media-title{
  font-size: 21px;
}

.event-button{
  font-size: 10px;
}

.cwm4-number{
    padding: 0px;
    text-align: center;
}

.ctc-swam-emoji-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glass-heading.blk{
  color: #000;
  font-size: clamp(36px, 5vw, 64px);
}

@media (max-width: 900px) {
  .hero3d-title-sub {
    display: none;
  }
}

.willem-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
  z-index: 1;
}

.mobile-join-line {
    display: block;                 
    text-align: center;
    font-family:Ppgatwick;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    backdrop-filter: blur(1.5px);
    border-radius: 10px;
    padding: 6px 10px;
    will-change: opacity, transform;
    text-shadow:
      0 1px 2px rgba(0,0,0,0.25),
      0 4px 12px rgba(0,0,0,0.25);
  }

  .mobile-join-line {
    position: relative;
    z-index: 3;
  }

  .mobile-join-line::before {
    content: "";
    position: absolute;
    inset: -10px -18px;
    z-index: -1;
    pointer-events: none;
  }

.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.18) 40%,
    rgba(0,0,0,0.10) 65%,
    rgba(0,0,0,0.05) 100%
  );
}

.willem-bg-video {
  filter:
    brightness(0.9)
    contrast(0.9)
    saturate(0.95);
  transform: translateZ(0);
  will-change: transform, filter;
}

  .hero3d-join-card {
    width: min(90vw, 310px)!important;
    min-height: 160px;
    padding: 20px 18px 18px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero3d-join-buttons {
    margin-top: 10px;
    gap: 10px;
  }

/* Top "Inbound-style" header inside join card */
.hero3d-call-header {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.hero3d-call-header .mobile-join-line {
  background: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
}

.hero3d-call-header {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero3d-call-header {
  position: relative;
  /* pull divider to card edges */
  margin-left: -18px;
  margin-right: -18px;
}

.hero3d-call-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.hero3d-join-card {
  padding: 0 !important;
}


.hero3d-call-header .mobile-join-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero3d-call-header .mobile-join-line {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.7);
}

.hero3d-call-header::after {
  background: rgba(255,255,255,0.12);
}

  .hero3d-title-main {
    line-height: 1.15;
  }

.hero3d-container {
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.hero3d-call-header {
  position: relative;
  padding: 10px 0 6px;
  text-align: center;
}

.hero3d-call-header {
  position: relative;
  text-align: center;
  padding: 10px;
  overflow: hidden; /* important */
}

.mobile-join-line {
  color: rgba(255,255,255,0.88);
}

@media (min-width: 900px){
.hero3d-join-card{
  min-height: 130px
}}

@media (min-width: 900px){
  .hero3d-title-main {
    text-align: center;
    font-size:1rem;
    padding: 10px;
  }
}

.hero3d-label-small {
text-decoration: none;}

.hero3d-social-grid svg {
  width: 100%;
  height: 100%;
}

/* PRESS CARD MOBILE FIX */
@media (max-width: 900px) {
  .m-card.m-press-card .m-title2 {
    font-size: clamp(18px, 4vw, 26px)
    line-height: 1.2;
    margin-bottom: 8px;
    word-wrap: break-word; /* Prevent overflow */
    hyphens: auto;
  }
  .m-card.m-press-card .m-sub {
    font-size: 15px !important;
    display: block; /* Ensure visibility */
  }
  .m-press-read-more {
    margin-top: 8px;
    font-size: 11px;
    padding: 8px 14px;
  }
}

.m-press-name {
  font-size: clamp(16px, 2.8vw, 24px) !important;
}

/* Ensure content doesn't get pushed out */
.m-card.m-press-card .m-card-content {
  justify-content: flex-end; /* Align bottom */
  gap: 12px;
}

/* === STRUCTURAL & Z-INDEX FIX (Mobile) === */
@media (max-width: 900px) {
  
  /* 1. Force the Container to Grow with Content */
  .ctc-card-hy {
    height: auto !important;       /* CRITICAL: Stops the overlap */
    min-height: 100vh;
    overflow: visible !important;  /* CRITICAL: Allows content to flow down */
    display: block !important;
    position: relative !important;
    z-index: 5;
    background: #000;
  }

  /* 2. Hide Desktop Scroll Elements */
  .app-desktop {
    display: none !important;
  }

  /* 3. Force FAQ & Footer to Sit ON TOP and BELOW the content */
  .ctc-faq, 
  footer, 
  .footer-ctc-footer-with-form, 
  .ctc-footer-video-wrap {
    position: relative !important;
    z-index: 0; /* Ensures it is visually above if scroll overlaps */
    background: #fff;       /* Solid background to prevent see-through */
    margin-top: 0;
    clear: both;
  }

  .ctc-footer-video-wrap {
    background: #000;
  }
}

/* Video in Modal Styling */
/* Fix Luma Checkout Z-Index to appear above the Glass Modal */
iframe[src*="lu.ma"] {
  z-index: 2147483647 !important;
}

/* HIGH CONTRAST MODAL TEXT */
/* Ensure links in modal are visible */
/* === SCOPED LIGHT MODE (JOIN ONLY) === */

/* 1. Force White Background ONLY when is-light-mode is active */
/* 2. Reset Text Color to Black for readability on White */
/* 3. Reset Form Filters (No Dark Mode Inversion) */
/* 4. Dark Close Button (Visible on White) */
/* 5. Premium Black "Open in New Tab" Pill */
/* 6. Mobile Insight Cursor Fix */
@media (max-width: 900px) {
  .m-insight-row { 
    cursor: pointer !important; 
  }
}

/* === VISION PRO GLASS MODE === */

/* 1. Translucent Blurred Background */
/* 2. Seamless Form Container */
/* 3. Dark Close Button */
/* 4. Premium Black Button */
/* 5. Mobile Insights Cursor */
@media (max-width: 900px) {
  .m-insight-row { 
    cursor: pointer !important; 
  }
}
 
/* === 2. LOADING SPINNER (Shared) === */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Ensure iframe covers the spinner once loaded */


/* Ensure footer sits with the exact same viewport inset as index.html */
footer[role="contentinfo"]{
  width:100%;
  box-sizing:border-box;
}




/* FOOTER & UTILITY STYLES (100/100 Tier) */
.footer {
  position: relative;
  z-index: 100;
}

.full-container.footer-s {
  background: #080808;
  border-top-left-radius: 2.2rem;
  border-top-right-radius: 2.2rem;
  overflow: hidden;
}

.container.footer-s {
  max-width: 100rem;
  margin: 0 auto;
  padding: 4.4rem 4.2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4.4rem;
}

.headline-h4 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 120%;
  color: white;
}

.footer-mail-2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 120%;
  color: #a5d4ff;
  text-decoration: none;
}

.footer-down {
  border-top: 1px solid #171717;
  padding-top: 4.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info-block {
  display: flex;
  gap: 2.78rem;
}

.footer-terms-links {
  display: flex;
  gap: 1.4rem;
}

.terms-link-2,
.terms-link {
  color: #737373;
  font-size: 1rem;
}

.footer-media-links {
  display: flex;
  gap: 0.28rem;
}

.f-media-link {
  background: #171717;
  color: white;
  padding: 1.32rem;
  border-radius: 0.84rem;
  transition: background 0.2s;
}

.f-media-link:hover {
  background: #262626;
}

.media-link-svg {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stack Contact + Email on smaller screens */
@media (max-width: 768px) {
  .container.footer-s {
    padding: 2.4rem 1.8rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 2.4rem;
  }

  .footer-mail-2 {
    font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  }

  .footer-down {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
}

/* RESPONSIVE VIDEO WRAP */
.ctc-footer-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 50vh;
  overflow: hidden;
  background: #000;
}

/* VIDEO */
.ctc-new-footer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SOFT FADE OVER VIDEO */
.ctc-new-footer-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.95) 15%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.35) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* COPY EMAIL – GLASSY GREEN PILL */
.footer-mail-2.click-to-copy {
  position: relative;
  cursor: pointer;
}

/* glassy green floating pill that follows cursor */
.copy-pill {
position: fixed;
z-index: 9999;
padding: 0.48rem 1.1rem;
border-radius: 1000px;

/* TRUE VISION PRO GLASS */
background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0.16) 0%,
  rgba(180, 190, 200, 0.10) 45%,
  rgba(110, 120, 130, 0.06) 100%
);

/* Soft border (NO glow, no colour outline) */
border: 1px solid rgba(255, 255, 255, 0.22);

/* Depth layering, exactly like Apple panels */
box-shadow:
  0 4px 12px rgba(0, 0, 0, 0.25),
  0 1px 2px rgba(255, 255, 255, 0.2) inset;

/* Typography */
color: rgba(255, 255, 255, 0.92);
font-size: 0.82rem;
letter-spacing: 0.05em;
text-transform: uppercase;
white-space: nowrap;

/* Glass processing */
backdrop-filter: blur(22px) saturate(180%);
-webkit-backdrop-filter: blur(22px) saturate(180%);

pointer-events: none;
opacity: 0;
transform: translate(-50%, -120%);
transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}


/* === STRUCTURAL & Z-INDEX FIX (Mobile) === */
@media (max-width: 900px) {
  
 
  /* 3. Force FAQ & Footer to Sit ON TOP and BELOW the content */
  .ctc-faq, 
  footer, 
  .footer-ctc-footer-with-form, 
  .ctc-footer-video-wrap {
    position: relative !important;
    z-index: 0; /* Ensures it is visually above if scroll overlaps */
    background: #fff;       /* Solid background to prevent see-through */
    margin-top: 0;
    clear: both;
  }

  .ctc-footer-video-wrap {
    background: #000;
  }
}


.footer-sc{background: white}