/*
Theme Name: BlankSlate Gravity
Theme URI: https://blankslate.com/
Description: Custom Architect build for Gravity Media Agency.
Author: Gravity Builder
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: blankslate
*/

/* =========================
   RESET + GLOBALS
   ========================= */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* kill sideways scroll */
}

body{
  background: #ffffff;
  color: #000000;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  padding-top: 80px;
}

/* If any element still causes horizontal scroll, this prevents it */
#gravity-site{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

:root { --orange:#FC5F2B; }

/* NAV WRAPPER */
.nav{
  position: fixed;
  top: 30px;
  left: 16px;
  right: 16px;
  z-index: 3000;
  background: rgba(0,0,0,.60);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* NAV LAYOUT (desktop) */
.nav-inner{
  display: grid;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto; /* logo | links | right */
  padding: 6px 5px 6px 20px;
  position: relative;
}

/* LOGO */
.g-logo-img{
  height: 34px;
  width: auto;
  display: block;
}

/* LINKS (desktop) */
.nav-links{
  justify-self: center;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.nav-links a:hover{
  background: rgba(255,255,255,.10);
}

/* CTA (desktop) */
.nav-cta{
  justify-self: end;
}

.nav-cta-button{
  background: var(--orange);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  outline: none;
  height: 44px;
  padding: 0 50px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(252,95,43,.22);
}

/* Mobile CTA inside menu (hidden on desktop) */
.mobile-cta-only{ display: none; }

/* BURGER (hidden on desktop) */
.menu-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  position: relative;
  justify-self: end;
}

/* Burger lines */
.hamburger{
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger::before,
.hamburger::after{
  content: "";
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: transform 0.2s ease, top 0.2s ease;
}

.hamburger::before{ top: -8px; }
.hamburger::after{ top: 8px; }

/* Burger -> X */
.menu-toggle.is-active .hamburger{ background: transparent; }
.menu-toggle.is-active .hamburger::before{ top: 0; transform: rotate(45deg); }
.menu-toggle.is-active .hamburger::after{ top: 0; transform: rotate(-45deg); }

/* =========================
   HERO
   ========================= */
.hero-wrapper{
  background: #ffffff;
  padding: 30px 0 90px 0;
  margin-top: -85px;
  position: relative;
  z-index: 1;
}

.hero-floating-screen{
  max-width: 1400px;
  height: calc(90vh + 10px);
  margin: 0 16px;
  background-image:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)),
    url("https://assets.codepen.io/16441250/gravity-gradients-5.png");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content{
  max-width: 1100px;
  text-align: center;
  padding: 150px 60px 60px 60px;
}

.hero-title{
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle{
  color: rgba(255,255,255,0.95);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 48px auto;
}

/* Optional: make the hero CTA slightly tighter */
.hero-cta-override{
  padding: 0 42px;
}

/* =========================
   HERO - MOBILE
   ========================= */
@media (max-width: 768px){

  /* reduce the space AFTER the hero */
  .hero-wrapper{
    padding-bottom: 40px; /* was 90px */
  }

  /* reduce the space BEFORE the benefits section */
  .benefits-section{
    padding-top: 50px; /* was 100px */
  }
}

/* =========================
   BENEFITS
   ========================= */
.benefits-section {
  background-color: #ffffff;
  padding-top: 100px;      
  padding-bottom: 120px;   
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: center;
}

.benefits-container {
  max-width: 1200px;
  width: calc(100% - 32px);
}

/* THE H3 HEADER */
.benefits-header {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
  max-width: 900px;
}

.benefits-header span {
  color: #666666; /* Dark Gray for the secondary thought */
  font-weight: 500;
}

/* THE GRID (No Borders) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px; /* Large gaps replace the need for borders */
}

/* THE CARDS */
.benefit-card {
  display: flex;
  flex-direction: column;
}

.benefit-icon {
  font-family: monospace; /* Adds a "Technical/Architect" vibe */
  color: #FF5C00; /* Gravity Orange */
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.benefit-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a4a4a; /* Medium Gray for readability */
}

/* =========================
   TRAPS
   ========================= */
.traps-section {
  background-color: #f9f9f9; /* Light gray to separate from the White Benefits */
  padding: 120px 20px;
  display: flex;
  justify-content: center;
}

.traps-container {
  max-width: 1400px;
  width: calc(100% - 32px); /* Perfectly aligned with Hero/Nav */
}

.traps-sub-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: #666; /* Sophisticated gray */
  max-width: 800px; /* Prevents the text from stretching too wide */
  margin: -40px 0 60px 0; /* Pulls it closer to the title, keeps space above cards */
  font-weight: 400;
}

.traps-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
  color: #000;
}

/* THE GRID */
.traps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* THE CARDS */
.trap-card {
  background: #ffffff;
  padding: 48px;
  border-radius: 32px;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.trap-card:hover {
  transform: translateY(-5px);
}

.trap-tag {
  font-family: monospace;
  color: #FF5C00;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trap-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.trap-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.trap-reality {
  font-size: 1.1rem;
  color: #000;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.5;
  padding-left: 15px;
  border-left: 2px solid #FF5C00; /* A "Gravity" accent line */
}

.trap-footer {
  margin-top: auto;
  font-size: 1rem;
  color: #888;
  line-height: 1.4;
}

.trap-footer strong {
  color: #000;
}

/* =========================
   GRAVITY ENGINE
   ========================= */
.engine-section {
  background-color: #ffffff;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
}

.engine-container {
  max-width: 1200px;
  width: 100%;
}

.engine-header {
  margin-bottom: 80px;
  border-left: 4px solid #FF5C00;
  padding-left: 30px;
}

.engine-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}

.engine-lead-text {
  font-size: 1.4rem;
  color: #666;
  margin-top: 10px;
}

.engine-blueprint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e0e0e0;
}

.blueprint-item {
  padding: 60px 40px;
  border-bottom: 1px solid #e0e0e0;
}

.blueprint-item:nth-child(odd) {
  border-right: 1px solid #e0e0e0;
  padding-left: 0;
}

.blueprint-item:nth-child(even) {
  padding-right: 0;
}

.item-number {
  font-family: monospace;
  color: #FF5C00;
  font-weight: 700;
  margin-bottom: 20px;
}

.item-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.item-text {
  font-size: 1.1rem;
  line-height: 1.6; /* Fixed value */
  color: #444;
} 

/* =========================
   GRAVITY ENGINE - MOBILE
   ========================= */
@media (max-width: 768px){
  .engine-blueprint{
    grid-template-columns: 1fr; /* stack */
  }

  /* remove the vertical divider + odd/even padding assumptions */
  .blueprint-item:nth-child(odd){
    border-right: 0;
    padding-left: 0;
  }

  .blueprint-item:nth-child(even){
    padding-right: 0;
  }

  /* optional: make spacing feel nicer on mobile */
  .blueprint-item{
    padding: 32px 0;
  }
}

/* =========================
   PLANS & PRICING
   ========================= */

.superpower-pricing {
  background-color: #ffffff !important;
  padding: 160px 80px 60px 80px;
  display: flex !important;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.pricing-wrap {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: 60px;
}

/* LEFT SIDE SPACING (70%) */
.pricing-main {
  flex: 0 0 65%;
}

.section-label {
  color: #FC5F2B !important;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700 !important;
  margin: 0 0 20px 0; /* 20px gap to Execution */
}

.main-heading {
  font-size: 3.5rem;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  margin: 0 0 20px 0; /* 20px gap to features */
  color: #000 !important;
}

/* FEATURE BLOCKS */
.descriptions-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #FC5F2B !important;
  color: #fff !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  margin-top: 4px;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 700 !important;
  margin: 0 0 8px 0;
  color: #111 !important;
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666 !important;
  margin: 0;
}

/* STICKY SIDEBAR (30%) */
.pricing-sidebar {
  flex: 0 0 30%;
}

.sticky-card {
  border: 1px solid #eaeaea !important;
  border-radius: 24px;
  padding: 40px;
  position: sticky;
  top: 100px;
  background: #fff !important;
}

.tier-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.price-box {
  margin: 8px 0 32px 0;
}

.currency {
  font-size: 2.5rem;
  font-weight: 800 !important;
  color: #000 !important;
}

.period {
  color: #888;
  font-size: 1rem;
}

.terms-list {
  border-top: 1px solid #eee;
  padding-top: 24px;
  margin-bottom: 32px;
}

.term {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.term strong { color: #111; }
.term span { color: #666; }

.cta-button-orange {
  display: flex;
  background: #FC5F2B !important;
  color: #fff !important;
  text-decoration: none;
  padding: 18px;
  border-radius: 12px;
  justify-content: center;
  font-weight: 700 !important;
  margin-top: 20px;
  transition: transform 0.2s ease;
}

.cta-button-orange:hover {
  transform: translateY(-2px);
}

.cta-note {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 16px;
}

/* =========================
   PRICING MOBILE FIXES
   ========================= */
@media (max-width: 768px){

  /* Plans & Pricing section spacing + side padding */
  .superpower-pricing{
    padding-left: 10px !important;
    padding-right: 10px !important;

    /* reduce top/bottom so it doesn’t collide with FAQ */
    padding-top: 40px !important;
    padding-bottom: 70px !important;

    /* safety: keep it in normal flow */
    position: relative !important;
    z-index: 1 !important;
  }

  /* tighten gap between engine and pricing */
  .engine-section{
    padding-bottom: 40px !important;
  }

  /* stack main + card and remove the big empty space */
  .pricing-wrap{
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .pricing-main{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* This is usually the culprit for the HUGE gap */
  .descriptions-stack{
    gap: 18px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* pricing card full width, not sticky, not floating */
  .pricing-sidebar{
    width: 100% !important;
    margin-top: 0 !important;
  }

  .sticky-card{
    position: static !important;   /* stops “hovering” behavior */
    top: auto !important;
    z-index: auto !important;

    width: 100% !important;
    margin: 0 !important;
  }

  /* extra safety so FAQ always sits below */
  .gravity-faq{
    position: relative !important;
    z-index: 2 !important;
  }
}


/* =========================
   FAQ
   ========================= */
.gravity-faq {
  background-color: #ffffff !important;
  padding: 40px 80px 120px 80px;
  display: flex;
  justify-content: center;
}

.faq-container {
  max-width: 1000px; /* Matching your 1000px content width */
  width: 100%;
}

.faq-header {
  margin-bottom: 60px;
}

.faq-label {
  color: #FC5F2B !important;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700 !important;
  margin-bottom: 20px;
}

.faq-title {
  font-size: 3rem;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  color: #000 !important;
}

/* THE ACCORDION ITEMS */
.faq-list {
  border-top: 1px solid #eee; /* The starting line */
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 30px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item summary {
  list-style: none; /* Removes default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
  outline: none;
}

/* Hide default Chrome/Safari arrow */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: #ccc;
  font-weight: 300;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* OPEN STATE LOGIC */
.faq-item[open] .faq-icon {
  transform: rotate(45deg); /* Turns the + into an x */
  color: #FC5F2B;
}

.faq-content {
  padding-top: 20px;
  max-width: 800px;
}

.faq-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .gravity-faq {
    padding: 80px 24px;
  }
  .faq-title {
    font-size: 2.2rem;
  }
  .faq-item summary {
    font-size: 1.1rem;
  }
}

/* =========================
   FINAL CTA
   ========================= */
/* THE OUTER WRAPPER (White Canvas) */
.cta-wrapper {
  background-color: #ffffff !important;
  padding: 80px 20px 120px 20px; /* Space around the floating card */
  display: flex;
  justify-content: center;
}

/* THE FLOATING ORANGE CARD */
.final-cta-floating {
  width: 100%;
  max-width: 1200px;
  height: 400px; /* Exact Max Height */
  
  /* SHADES OF ORANGE GRADIENT */
  background: radial-gradient(circle at center, #FC5F2B 0%, #E64A19 100%);
  
  /* MATCHING HERO BORDER RADIUS */
  border-radius: 20px; 
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(252, 95, 43, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
  padding: 40px;
  max-width: 700px;
}

.cta-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

/* THE OBSIDIAN BUTTON */
.cta-primary-dark {
  background-color: #0A0A0A !important;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700 !important;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-primary-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-availability {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .final-cta-floating {
    height: auto; /* Allow it to grow if text wraps on small screens */
    min-height: 350px;
    padding: 40px 20px;
  }
}

/* =========================
   FOOTER
   ========================= */
/* LOGO & QUOTE */
.footer-logo-img {
  height: 50px; /* Adjust based on your logo's aspect ratio */
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline em {
  color: #888;
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
}

/* NAVIGATION LINKS (Unified State) */
.footer-link {
  display: flex;
  align-items: center;
  color: #666; /* Neutral color for all links, including Get Started */
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

/* Arrow remains orange on hover for that 'Superpower' pop */
.arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  margin-left: 8px;
  color: #FC5F2B; 
  font-weight: 800;
}

.footer-link:hover {
  color: #111; /* Text darkens on hover */
}

.footer-link:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* SECTION STRUCTURE */
.gravity-footer {
  background-color: #ffffff !important;
  padding: 100px 80px 60px 80px;
  border-top: 1px solid #eaeaea;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 100px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000;
  margin-bottom: 24px;
  font-weight: 700;
}

.social-label {
  margin-top: 40px;
}

.footer-bottom {
  grid-column: 1 / span 2;
  border-top: 1px solid #f5f5f5;
  margin-top: 80px;
  padding-top: 30px;
  color: #bbb;
  font-size: 0.85rem;
}

@media screen and (max-width: 768px){

  .gravity-footer{
    padding: 70px 15px 50px 15px !important;
  }

  .footer-container{
    max-width: 100% !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Ensure order: nav, brand, bottom */
  .footer-nav{ order: 1 !important; }
  .footer-brand{ order: 2 !important; }
  .footer-bottom{ order: 3 !important; }

  /* Two columns, centered as a whole */
  .footer-nav{
    width: 100% !important;
    max-width: 380px !important;  /* tweak 340–420 */
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 26px !important;
  }

  .footer-col h4{
    margin-bottom: 16px !important;
  }

  .footer-link{
    justify-content: flex-start !important;
  }

  /* Brand centered */
  .footer-brand{
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }

  .footer-logo-img{
    margin: 0 !important;
  }

  .footer-tagline{
    margin: 0 !important;
  }

  /* Footer bottom centered */
  .footer-bottom{
    grid-column: 1 / -1 !important;
    text-align: center !important;
    margin-top: 18px !important;
    padding-top: 18px !important;
  }

  .social-label{
    margin-top: 22px !important;
  }
}


/* =========================
   MOBILE NAV (single source of truth)
   Paste at VERY BOTTOM
   ========================= */
@media screen and (max-width: 768px){

  /* pill positioning */
  .nav{
    top: 12px !important;
    left: 16px !important;
    right: 16px !important;
    margin: 12px 0 0 0 !important; /* keep the top gap only */
    z-index: 3000 !important;
  }
	
	/* iOS Safari fix: blur breaks fixed overlays */
.nav{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

  /* bar layout */
  .nav .nav-inner{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 8px 12px 8px 14px !important;
  }

  /* hide desktop CTA */
  .nav .desktop-only{
    display: none !important;
  }

  /* burger on the far right */
  .nav .menu-toggle{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    background: transparent !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 3002 !important;
  }

  /* burger lines */
  .nav .hamburger{
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .nav .hamburger::before,
  .nav .hamburger::after{
    content: "" !important;
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    position: absolute !important;
    left: 0 !important;
    transition: transform .2s ease, top .2s ease !important;
  }

  .nav .hamburger::before{ top: -8px !important; }
  .nav .hamburger::after{ top:  8px !important; }

  /* X state */
  .nav .menu-toggle.is-active .hamburger{ background: transparent !important; }
  .nav .menu-toggle.is-active .hamburger::before{ top: 0 !important; transform: rotate(45deg) !important; }
  .nav .menu-toggle.is-active .hamburger::after{ top: 0 !important; transform: rotate(-45deg) !important; }

  /* menu CLOSED by default */
  .nav .nav-links{
    display: none !important;
  }

  /* menu OPEN */
  .nav .nav-links.is-open{
  display: flex !important;
  position: fixed !important;

  top: 70px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100vw !important;
  height: calc(100vh - 92px) !important;

  background: rgba(0,0,0,.92) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  padding: 18px 16px 150px 16px !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;

  z-index: 2001 !important;
  overflow-y: auto !important;
}

    /* below the pill */
    top: 92px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    background: rgba(0,0,0,.92) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;

    /* EVEN left/right spacing */
    padding: 18px 16px 18px 16px !important;

    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;

    overflow-y: auto !important;
    z-index: 3001 !important;
  }

  /* nav links: left aligned + tap friendly */
  .nav .nav-links.is-open > a{
    width: 100% !important;
    text-align: left !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    padding: 16px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,.92) !important;
    text-decoration: none !important;
  }

  /* CTA at bottom, full width */
  .nav .nav-links.is-open .mobile-cta-only{
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
  }

  .nav .nav-links.is-open .mobile-cta-only .nav-cta-button{
    width: 100% !important;
    height: 52px !important;
    border-radius: 16px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
