/* =========================================
   CONVIRA DESIGN - STYLES
   ========================================= */

:root {
  --color-black: #000000;
  --color-charcoal: #1A1A1A;
  --color-white: #FFFFFF;
  --color-green: #C6FF00;
  --color-gray: #A0A0A0;
  --font-primary: "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glow System */
.ambient-glow-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb-wrapper {
  position: absolute;
  width: 100%; height: 100%;
}
.w-1 { transform: translateY(calc(var(--scroll-y, 0px) * -0.3)); }
.w-2 { transform: translateY(calc(var(--scroll-y, 0px) * -0.7)); }
.w-3 { transform: translateY(calc(var(--scroll-y, 0px) * -0.5)); }
.w-4 { transform: translateY(calc(var(--scroll-y, 0px) * -0.2)); }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* extreme softness */
}
.orb-1 {
  width: 70vw; height: 70vw;
  top: -10vh; left: -20vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.12) 0%, transparent 60%);
  animation: float1 14s infinite ease-in-out alternate;
}
.orb-2 {
  width: 60vw; height: 60vw;
  top: 80vh; right: -15vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.08) 0%, transparent 60%);
  animation: float2 18s infinite ease-in-out alternate-reverse;
}
.orb-3 {
  width: 80vw; height: 80vw;
  top: 160vh; left: 5vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.1) 0%, transparent 60%);
  animation: float1 16s infinite ease-in-out alternate;
}
.orb-4 {
  width: 90vw; height: 90vw;
  top: 260vh; right: -10vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.09) 0%, transparent 60%);
  animation: float2 22s infinite ease-in-out alternate;
}

@keyframes float1 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(8vw, -5vh); }
}
@keyframes float2 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-6vw, 8vh); }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
}

.text-green { color: var(--color-green); }
.text-gray { color: #A0A0A0; }

/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 4rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-left img {
  height: 35px;
  width: 179px; /* Explicit width based on SVG aspect ratio to prevent 0px rendering */
  object-fit: contain;
  display: block;
}

.header-right {
  justify-self: end;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-green);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-green);
  color: var(--color-black);
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn:hover {
  box-shadow: 0 0 15px rgba(198, 255, 0, 0.4);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.15rem;
  border-radius: 50px; /* Optional fallback for form button */
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 6rem;
}

.hero-content {
  width: 100%;
  max-width: 1600px;
  margin: 8rem auto 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 1000px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 0 3rem 0;
  font-weight: 500;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-proof-strip {
  color: #A0A0A0; /* Light, understated grey */
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  max-width: 100%;
  line-height: 1.4;
}

/* Trust Bar Section */
.trust-section {
  padding: 3rem 2rem 3rem 2rem;
  background-color: transparent;
}

.trust-container {
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  justify-content: flex-start;
  animation: marquee 30s linear infinite;
}

.trust-track:active, .trust-track:hover {
  animation-play-state: paused;
}

.trust-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem; /* Gap between duplicate groups */
}

.trust-logo {
  height: 35px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Case Study Wall */
.casestudy-section {
  padding: 4rem 0 8rem 0;
  background-color: transparent;
  overflow: hidden;
}

.casestudy-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.eyebrow-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #A0A0A0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.casestudy-header h2 {
  font-size: 3.5rem;
  margin: 0;
}

.casestudy-marquee-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 4rem;
}

.casestudy-track {
  display: flex;
  width: max-content;
  animation: marquee-cs 40s linear infinite;
}



.casestudy-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem; /* Ensure seamless gap before the duplicate group */
}

.casestudy-card {
  width: 400px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  box-sizing: border-box;
  background-color: #1A1A1A; /* Neutral placeholder */
  border-radius: 24px;
}

.cs-brand-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 0;
  z-index: 2;
  position: relative;
}

.cs-mockup-wrapper {
  margin-top: auto;
  position: relative;
  z-index: 1;
  transform: rotate(-5deg) translateY(20px) scale(1.05);
  transition: transform 0.4s ease;
}

.casestudy-card:hover .cs-mockup-wrapper {
  transform: rotate(-5deg) translateY(10px) scale(1.08);
}

.cs-mockup-placeholder {
  background-color: #2A2A2A;
  border-radius: 12px;
  width: 120%;
  aspect-ratio: 16/9;
  margin-left: -10%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.casestudy-footer {
  text-align: center;
  padding: 0 2rem;
}

@keyframes marquee-cs {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .casestudy-card {
    width: 300px;
    padding: 1.5rem;
  }
  .casestudy-header h2 {
    font-size: 2.5rem;
  }
}

/* Bento Box Grid */
.bento-section {
  padding: 8rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.bento-card {
  background-color: var(--color-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 4rem 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.bento-card.full-width {
  grid-column: 1 / -1;
  min-height: 600px;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(198, 255, 0, 0.08);
}

.bento-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  color: #A0A0A0;
  margin-bottom: 1rem;
}

.bento-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.bento-link:hover { color: var(--color-green); }

.bento-image-placeholder {
  width: 100%;
  flex-grow: 1;
  margin-top: 2rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: rgba(0,0,0,0.5);
  border: 1px dashed rgba(255,255,255,0.1);
  border-bottom: none;
}

/* Statistics Section */
.stats-section {
  padding: 8rem 4rem;
  text-align: center;
}

.stats-section h2 {
  font-size: 4.5rem;
  margin-bottom: 6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.stat-item h4 {
  font-size: 4.5rem;
  color: var(--color-green);
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: bold;
}

/* About Us Section */


.about-content h2 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #A0A0A0;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
}










/* Global Section */
.global-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem;
  gap: 6rem;
  align-items: center;
}

.globe-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-charcoal);
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.1);
}

.global-content h2 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}
.global-content h2 span { color: var(--color-green); }

.global-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.global-content p {
  color: #A0A0A0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  border-radius: 50px;
}
.btn-outline:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  box-shadow: none;
}

/* Contact Section */
.contact-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
}

.contact-form-container h2 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}
.contact-form-container p {
  color: var(--color-white);
  margin-bottom: 3rem;
  font-weight: 500;
}




input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--color-green);
  box-shadow: 0 10px 10px -10px rgba(198, 255, 0, 0.3);
}


.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; color: #A0A0A0; font-size: 1.1rem;}
.contact-info a { color: var(--color-green); font-weight: 500; }
.contact-info a:hover { color: var(--color-green); }



/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 2rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Footer Lead Capture */
.footer-capture {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 4rem;
}

.capture-primary {
  flex: 1;
  max-width: 500px;
}

.capture-primary h3 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.capture-primary p {
  color: #A0A0A0;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.capture-secondary {
  max-width: 350px;
}

.capture-secondary p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.footer-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.footer-form input:focus {
  outline: none;
  border-color: var(--color-green);
}

.footer-form input.error {
  border-color: #ff4444;
}

.footer-form .btn-green {
  border-radius: 8px;
  padding: 1rem 2rem;
  white-space: nowrap;
}

.footer-form.mini-form input {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.footer-form.mini-form .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.footer-form.mini-form .btn:hover {
  background: rgba(255,255,255,0.2);
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  display: none;
}
.form-message.success { color: var(--color-green); display: block; }
.form-message.error-text { color: #ff4444; display: block; }

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

.footer-logo img { max-height: 25px; margin-bottom: 1.5rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: #A0A0A0; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--color-green); }

.footer-bottom {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr 1fr; padding: 1.5rem 2rem; }
  .header-center { display: none; } /* Hide nav on mobile instead of logo */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.full-width { grid-column: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section, .global-section, .contact-section { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-capture { flex-direction: column; gap: 2rem; }
  .footer-form { flex-direction: column; }
  .footer-form .btn-green { width: 100%; }
}

/* Convira Design - Booking Button Styles */
.booking-container {
    margin-top: 2rem;
    max-width: 500px;
}

.booking-subtitle {
    color: #FFFFFF;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.convira-booking-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #C6FF00; /* Convira Green */
    color: #000000; /* Convira Black */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 40px;
    border-radius: 50px; /* Pill shape to match your screenshot */
    text-decoration: none;
    border: 2px solid #C6FF00;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(198, 255, 0, 0.2); /* Soft ambient glow */
    cursor: pointer;
}

/* The Anti-Gravity Hover Effect */
.convira-booking-btn:hover {
    background-color: #000000;
    color: #C6FF00;
    border-color: #C6FF00;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(198, 255, 0, 0.4); /* Expanded glow on hover */
}

/* Guarantee Block Section */
.guarantee-section {
  padding: 8rem 2rem;
  background-color: #050505; /* slightly darker to offset */
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin: 0 0 8rem 0;
  text-align: center;
}

.guarantee-content {
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-seal {
  margin-bottom: 2rem;
}

.guarantee-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.guarantee-subtext {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem; /* space for custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-green) #222;
}

.testimonials-carousel::-webkit-scrollbar {
  height: 8px;
}
.testimonials-carousel::-webkit-scrollbar-track {
  background: #222;
  border-radius: 4px;
}
.testimonials-carousel::-webkit-scrollbar-thumb {
  background: var(--color-green);
  border-radius: 4px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem); /* 3 cards across desktop */
  min-width: 350px;
  background-color: #1A1A1A; /* Matches dark card system */
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
}

.testimonial-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background-color: var(--color-black);
  border: 2px solid var(--color-green);
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.testimonial-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 1.5rem 0 1.5rem 0;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.author-name {
  color: var(--color-white);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem); /* 2 across on tablet */
  }
}

@media (max-width: 768px) {
  .testimonials-header h2 {
    font-size: 2.5rem;
  }
  .testimonial-card {
    flex: 0 0 85%; /* Single swipeable card on mobile, showing next card peeking */
    min-width: unset;
  }
}

/* FAQ Section */
.faq-section {
  padding: 8rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover, .faq-item.active .faq-question {
  color: var(--color-green);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-gray);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-green);
}

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

.faq-answer p {
  padding-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .faq-container h2 {
    font-size: 2.5rem;
  }
  .faq-question {
    font-size: 1.15rem;
    padding: 1.5rem 0;
  }
}


/* ==== QA PASS APPENDS ==== */

/* P0.1 - Mobile hero + bento */
@media (max-width: 768px) {
  .hero { padding: 0 1.5rem; }
  .hero-content { margin-top: 6rem; }
  .hero-title { font-size: clamp(2.25rem, 8vw, 3.25rem); }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 2rem; }
  .bento-card,
  .bento-card.full-width { min-height: auto; padding: 2.5rem 1.5rem; }
  .bento-image-placeholder { min-height: 180px; }
}

/* P0.2 - In-page anchor offset */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* P1.1 - Background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 15% 20%, rgba(198,255,0,0.06), transparent 60%),
    radial-gradient(70vw 70vw at 85% 75%, rgba(198,255,0,0.05), transparent 60%);
}

/* P1.3 - Heavy side padding on phones */
@media (max-width: 768px) {
  .bento-section, .stats-section, .global-section, .contact-section,
  .testimonials-section, .faq-section { padding: 5rem 1.5rem; }
  .stats-section h2 { font-size: 2.5rem; margin-bottom: 3rem; }
  .contact-form-container h2, .global-content h2 { font-size: 2.5rem; }
  .casestudy-header h2, .testimonials-header h2 { font-size: 2.25rem; }
}

/* P1.4 - Perf + reduced-motion */
.orb-wrapper { will-change: transform; }
@media (max-width: 768px) { .glow-orb { filter: blur(50px); } }
@media (prefers-reduced-motion: reduce) {
  .trust-track, .casestudy-track, .glow-orb { animation: none !important; }
}

/* P2.1 - Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================= */
/* KING KONG-STYLE HEADINGS — ALL CAPS + tight tracking          */
/* Heading elements only. Body/subtext, FAQ questions, buttons   */
/* are untouched.                                                 */
/* ============================================================= */
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Big display headings — tighter for that dense KK impact */
.hero-title,
.stats-section h2,
.global-content h2,
.casestudy-header h2,
.testimonials-header h2,
.faq-container h2,
.contact-form-container h2,
.capture-primary h3,
.guarantee-headline {
  letter-spacing: -0.03em;
}

/* Exception — this h3 is a full supporting sentence; keep it     */
/* sentence-case & readable, like KK's sub-headlines.             */
.global-content h3 {
  text-transform: none;
  letter-spacing: normal;
}

/* ============================================================= */
/* KING KONG HEADING TYPEFACE — heavy condensed display (Anton)  */
/* Headings only. All body copy stays Helvetica Neue.            */
/* ============================================================= */
h1, h2, h3, h4, h5, h6,
.hero-title,
.stats-section h2,
.global-content h2,
.casestudy-header h2,
.testimonials-header h2,
.faq-container h2,
.contact-form-container h2,
.capture-primary h3,
.guarantee-headline {
  font-family: 'Anton', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;        /* Anton ships one weight and renders black */
  letter-spacing: 0;       /* reset last turn's -0.03em — Anton is already tight, */
                           /* extra negative tracking makes the caps collide */
  line-height: 1.05;       /* condensed faces run tall; tighten multi-line headings */
}

/* Supporting sentence-headline stays readable Helvetica, sentence-case */
.global-content h3 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: none;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
}

/* Stats thin aesthetic */
.stat-number { font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 300; letter-spacing: -0.02em; }

/* Increased sizes via condensed typography width */
.hero-title { font-size: clamp(4rem, 7.5vw, 6.5rem); }
.stats-section h2, .casestudy-header h2, .testimonials-header h2,
.faq-container h2, .contact-form-container h2 { font-size: 4.5rem; }

/* ================================================================ */
/* CONVIRA — MOBILE OVERRIDE LAYER                                   */
/* ---------------------------------------------------------------- */
/* PASTE THIS AT THE VERY END OF styles.css. It MUST stay last.      */
/*                                                                  */
/* Why: the Anton + size-bump blocks were appended after the mobile */
/* fixes, so their desktop sizes were winning on phones (later CSS  */
/* wins at equal specificity). This layer is scoped to <=768px and  */
/* uses !important on the sizes that kept overflowing, so it wins    */
/* regardless of what sits above it. Keep it at the bottom.          */
/* ================================================================ */
@media (max-width: 768px) {

  /* --- Loosen heading line-height: stops multi-line Anton --- */
  /* --- headings colliding (letter, guarantee, etc.)       --- */
  h1, h2, h3, h4, h5, h6 { line-height: 1.12; }

  /* ---------------- HEADER (button was off-screen) ---------- */
  .header { padding: 1rem 1.25rem; }
  .header-left img { width: auto; height: 26px; }   /* kill the fixed 179px width */
  .header .btn { padding: 0.55rem 0.9rem; font-size: 0.72rem; }

  /* ---------------- HERO (headline was oversized) ----------- */
  .hero { padding: 0 1.5rem; min-height: auto; }
  .hero-content { margin-top: 5.5rem; margin-bottom: 3rem; }
  .hero .hero-title { font-size: clamp(2.1rem, 8.5vw, 2.9rem) !important; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .hero-proof-strip, .condensed-proof-strip { font-size: 0.78rem; word-break: break-word; }

  /* ---------------- BUTTONS (blobby oversized pills) -------- */
  .btn-large { width: 100%; max-width: 360px; padding: 0.9rem 1.25rem !important; font-size: 1rem !important; }
  .convira-booking-btn { width: 100%; box-sizing: border-box; padding: 14px 18px; font-size: 14px; }

  /* ---------------- SECTION PADDING (big black gaps) -------- */
  .bento-section, .stats-section, .global-section, .contact-section,
  .testimonials-section, .faq-section { padding: 4rem 1.5rem; }
  .casestudy-section { padding: 4rem 0; }
  .casestudy-header, .casestudy-footer { padding-left: 1.5rem; padding-right: 1.5rem; }

  /* ---------------- SECTION HEADINGS (oversized) ------------ */
  .casestudy-header h2, .testimonials-header h2 { font-size: 2.25rem !important; }
  .stats-section h2 { font-size: 2.1rem !important; margin-bottom: 2.5rem; }
  .faq-container h2 { font-size: 2.1rem !important; margin-bottom: 2.5rem; }
  .contact-form-container h2 { font-size: 2.1rem !important; }   /* "CONSULTATION" was overflowing */
  .global-content h2 { font-size: 2.25rem !important; }
  .capture-primary h3 { font-size: 2rem; }
  .footer-col h4 { font-size: 1.15rem; }

  /* ---------------- THE LETTER (heading/body overlap) ------- */
  /* Inline styles on this section need !important to beat.     */
  .letter-content { padding: 3.5rem 1.5rem !important; }
  .letter-content h2 { font-size: 2rem !important; line-height: 1.2 !important; margin-bottom: 1.25rem !important; }

  /* ---------------- STATS (numbers overflowing/clipped) ----- */
  .stats-grid { gap: 2.5rem 1.25rem; }
  .stats-section .stat-item h4 { font-size: 2.4rem !important; }
  .stat-item p { font-size: 0.78rem; }

  /* ---------------- GUARANTEE (headline lines overlapping) -- */
  .guarantee-section { padding: 4rem 1.5rem; margin: 0 0 4rem 0; }
  .guarantee-headline { font-size: 1.85rem !important; line-height: 1.2; }
  .guarantee-subtext { font-size: 1rem; }

  /* ---------------- BENTO (tall empty cards) ---------------- */
  .bento-card, .bento-card.full-width { min-height: auto; padding: 2.5rem 1.5rem; }
  .bento-card h3 { font-size: 1.8rem; }
  .bento-image-placeholder { min-height: 150px; flex-grow: 0; }

  /* ---------------- CASE STUDY CARDS (mockup overflow) ------ */
  .casestudy-card { width: 270px; padding: 1.5rem; }

  /* ---------------- TESTIMONIAL CARDS ----------------------- */
  .testimonial-headline { font-size: 1.9rem; }
}


/* ============================================================= */
/* ALIVE PACK — ANIMATION & INTERACTION POLISH                   */
/* ============================================================= */

/* 1. Cursor-reactive spotlight */
.cursor-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%),
              rgba(198,255,0,0.07), transparent 60%);
}
@media (hover: none) { .cursor-glow { display: none; } }

/* 2. Film grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Button shine sweep + press state */
.btn, .convira-booking-btn { position: relative; overflow: hidden; }
.btn::after, .convira-booking-btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn:hover::after, .convira-booking-btn:hover::after { left: 125%; }
.btn:active, .convira-booking-btn:active { transform: translateY(0) scale(0.97); }

/* 4. Staggered reveals */
.js .reveal .bento-card, .js .reveal .stat-item, .js .reveal .faq-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.is-visible .bento-card,
.js .reveal.is-visible .stat-item,
.js .reveal.is-visible .faq-item { opacity: 1; transform: none; }

.js .reveal.is-visible .bento-card:nth-child(2), .js .reveal.is-visible .stat-item:nth-child(2), .js .reveal.is-visible .faq-item:nth-child(2){ transition-delay: .07s; }
.js .reveal.is-visible .bento-card:nth-child(3), .js .reveal.is-visible .stat-item:nth-child(3), .js .reveal.is-visible .faq-item:nth-child(3){ transition-delay: .14s; }
.js .reveal.is-visible .bento-card:nth-child(4), .js .reveal.is-visible .stat-item:nth-child(4), .js .reveal.is-visible .faq-item:nth-child(4){ transition-delay: .21s; }
.js .reveal.is-visible .bento-card:nth-child(5), .js .reveal.is-visible .stat-item:nth-child(5), .js .reveal.is-visible .faq-item:nth-child(5){ transition-delay: .28s; }
.js .reveal.is-visible .stat-item:nth-child(6), .js .reveal.is-visible .faq-item:nth-child(6){ transition-delay: .35s; }
.js .reveal.is-visible .stat-item:nth-child(7){ transition-delay: .42s; }
.js .reveal.is-visible .stat-item:nth-child(8){ transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .bento-card, .js .reveal .stat-item, .js .reveal .faq-item {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* 5. Hero entrance on load */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.js .hero-title       { animation: riseIn .5s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-subtitle    { animation: riseIn .5s cubic-bezier(.2,.7,.2,1) .08s both; }
.js .hero-cta-wrapper { animation: riseIn .5s cubic-bezier(.2,.7,.2,1) .16s both; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title, .js .hero-subtitle, .js .hero-cta-wrapper { animation: none; }
}

/* 6. Card cursor-spotlight */
.bento-card::before, .testimonial-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(450px circle at var(--cx, 50%) var(--cy, 50%),
              rgba(198,255,0,0.12), transparent 40%);
  opacity: 0; transition: opacity .35s ease;
}
.bento-card:hover::before, .testimonial-card:hover::before { opacity: 1; }
.bento-card > *, .testimonial-card > * { position: relative; z-index: 1; }  /* keep text above the glow */

/* 7. Animated nav underlines */
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--color-green); transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }

/* 8. Placeholder shimmer */
.bento-image-placeholder, .globe-placeholder, .cs-mockup-placeholder { position: relative; overflow: hidden; }
.bento-image-placeholder::after, .globe-placeholder::after, .cs-mockup-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  transform: translateX(-100%); animation: shimmer 2.6s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .bento-image-placeholder::after, .globe-placeholder::after, .cs-mockup-placeholder::after { animation: none; }
}

/* 9. Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1001;
  background: var(--color-green); box-shadow: 0 0 10px rgba(198,255,0,0.6);
}

/* 10. Guarantee lime accent */
.guarantee-section {
  border-top: 1px solid rgba(198,255,0,0.25) !important;
  border-bottom: 1px solid rgba(198,255,0,0.25) !important;
}
.guarantee-seal svg { filter: drop-shadow(0 0 12px rgba(198,255,0,0.5)); }



/* ============================================================= */
/* LENIS SMOOTH SCROLL BASE STYLES                               */
/* ============================================================= */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* ============================================================= */
/* HERO 2-COLUMN LAYOUT EXPERIMENT                               */
/* ============================================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.hero-mobile-img {
  max-width: 100%;
  height: auto;
  transform: translateY(-25px);
  animation: floatHero 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.4));
}

@keyframes floatHero {
  0% { transform: translateY(-25px); }
  50% { transform: translateY(-50px); }
  100% { transform: translateY(-25px); }
}

@keyframes floatHeroMobile {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image-col {
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: -3rem;
  }
  .hero-mobile-img {
    max-width: 80%;
    transform: translateY(0px);
    animation: floatHeroMobile 6s ease-in-out infinite;
  }
}

@media (max-width: 600px) {
  .hero-mobile-img {
    max-width: 100%;
  }
  .trust-logo {
    height: 25px !important;
  }
}



/* ================================================================ */
/* CONVIRA — IMAGE FIT FIX  (bento cards, case studies, globe)       */
/* ---------------------------------------------------------------- */
/* APPEND AT THE VERY END of styles.css — must sit after the mobile  */
/* override layer, since it undoes two rules from it.                */
/*                                                                  */
/* Fixes: (1) dead strip under card images, (2) the two half-width   */
/* cards misaligning, (3) images clipped/cut off on mobile.          */
/*                                                                  */
/* Cause: the image BOX was flex-growing but the <img> kept its own  */
/* aspect ratio, so it never filled the box. Making the image the    */
/* growing element + object-fit:cover makes every card bottom align  */
/* regardless of how many lines the heading wraps to.                */
/* ================================================================ */

/* ---------- BENTO CARDS ---------- */

/* Case A: <img> is a direct child of .bento-card */
.bento-card > img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 240px;
  margin-top: 2rem;
  object-fit: cover;
  object-position: top center;
  align-self: stretch;
}

/* Fix text and bottom cropping on the full-width Premium Listing Images card by stretching edge-to-edge */
.bento-card.full-width {
  min-height: auto;
}
.bento-card.full-width > img {
  width: calc(100% + 8rem);
  max-width: calc(100% + 8rem);
  margin-left: -4rem;
  margin-right: -4rem;
  margin-bottom: 0;
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: bottom center;
}

@media (max-width: 768px) {
  .bento-card.full-width > img {
    width: calc(100% + 3rem);
    max-width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }
}

/* Case B: <img> sits inside .bento-image-placeholder */
.bento-image-placeholder {
  flex: 1 1 auto;
  width: 100%;
  min-height: 240px;
  margin-top: 2rem;
  overflow: hidden;
  border: none;              /* dashed placeholder border no longer needed */
  background: none;          /* remove the grey fill behind real images   */
}
.bento-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Optional: also align the TOP of both half-width card images by     */
/* reserving 2 lines for the heading. Delete if you prefer it tight.  */
@media (min-width: 901px) {
  .bento-card:not(.full-width) h3 { min-height: 2.2em; }
}

/* ---------- CASE STUDY CARDS ---------- */
.casestudy-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- GLOBE ---------- */
.globe-placeholder {
  border: none;
  background: none;
  overflow: hidden;
}
.globe-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- MOBILE: undo the clipping ---------- */
/* The earlier mobile layer pinned these to min-height:150px and     */
/* flex-grow:0, which cropped the images inside overflow:hidden.     */
@media (max-width: 768px) {
  .bento-card > img,
  .bento-image-placeholder {
    min-height: 200px !important;
    flex: 1 1 auto !important;
    height: auto;
  }
  .bento-card { padding-bottom: 0; }
}

/* ---------- REMOVE THE PLACEHOLDER SHIMMER ---------- */
/* Effect #8 from the Alive Pack was for EMPTY boxes. Now that real  */
/* images are in, it animates a sheen over your artwork. Kill it.    */
/* (Better: delete the shimmer block from the Alive Pack entirely.)  */
.bento-image-placeholder::after,
.globe-placeholder::after,
.cs-mockup-placeholder::after { content: none !important; animation: none !important; }

/* ---- Case Study Wall: drag + swipe carousel ---- */
.casestudy-marquee-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;              /* must beat html{scroll-behavior:smooth} */
  overscroll-behavior-x: contain;     /* stop browser back-swipe hijack */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;              /* Firefox */
  -ms-overflow-style: none;
  cursor: grab;
}
.casestudy-marquee-container::-webkit-scrollbar { display: none; }
.casestudy-marquee-container.is-dragging { cursor: grabbing; }

/* JS drives the motion now — kill the CSS keyframe marquee */
.casestudy-track { animation: none !important; }

/* Stop the browser's image-drag ghost and text selection while dragging */
.casestudy-track img { -webkit-user-drag: none; user-select: none; pointer-events: auto; }
.casestudy-marquee-container.is-dragging img { pointer-events: none; } /* Only disable clicks DURING a drag */
.casestudy-marquee-container.is-dragging,
.casestudy-marquee-container.is-dragging * { user-select: none; }


/* ================================================================ */
/* LIGHTBOX MODAL                                                   */
/* ================================================================ */

/* Modal Base State */
.modal-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

/* Modal Overlay & Container */
#case-study-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background-color: #1A1A1A;
    border: 1px solid rgba(198, 255, 0, 0.2);
    border-radius: 8px;
    overflow-y: auto;
    z-index: 10000;
    /* Custom dark scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #C6FF00 #1A1A1A;
}

/* Full Width Image inside Modal */
#case-study-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Close Button */
.close-btn {
    position: sticky;
    top: 20px;
    left: 95%;
    background: #000000;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #000000;
    background-color: #C6FF00;
    border-color: #C6FF00;
}

/* ---- Case study lightbox polish ---- */
.close-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  left: auto;
  margin: 0;
}

/* Don't upscale the tall case-study artwork past its native width */
#case-study-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Clickable cards feel clickable; the Coming Soon card doesn't */
.casestudy-card[data-case-study] {
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
.casestudy-card[data-case-study]:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(198, 255, 0, 0.18);
}




/* Fix hover shadow cropping */
.casestudy-marquee-container {
  padding: 30px 0 60px 0;
}

/* ================================================================ */
/* FOOTER MOBILE GRID FIX                                           */
/* ================================================================ */
@media (max-width: 900px) {
  .footer-logo {
    grid-column: 1 / -1; /* Forces the logo to span the full width of the row */
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .footer-nav {
    grid-template-columns: 1fr; /* Stacks all columns into a single neat line on small phones */
    gap: 2.5rem;
  }
}

/* ================================================================ */
/* ACCESSIBILITY + MOBILE MENU + HERO TOOLTIP                       */
/* ================================================================ */

/* Visible keyboard focus (mouse clicks don't trigger it) */
a:focus-visible, button:focus-visible, input:focus-visible,
.casestudy-card:focus-visible, .info-tip:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

/* Hero "stats" info tooltip */
.info-tip { position: relative; cursor: help; display: inline-block; }
.info-tip-text {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: max-content; max-width: 280px;
  background: #1A1A1A; color: var(--color-white);
  border: 1px solid rgba(198, 255, 0, 0.3); border-radius: 8px;
  padding: 0.6rem 0.8rem; font-size: 0.8rem; line-height: 1.4;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  z-index: 20;
}
.info-tip:hover .info-tip-text, .info-tip:focus .info-tip-text { opacity: 1; }
@media (max-width: 600px) {
  .info-tip-text { left: auto; right: -40px; transform: none; max-width: 240px; }
}

/* Mobile menu (hamburger) */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .header-right { display: flex; align-items: center; gap: 0.75rem; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 0 9px;
    background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--color-white);
    transition: transform .25s ease, opacity .25s ease;
  }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-center {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; justify-self: stretch;
    background: var(--color-black);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .header.nav-open .header-center { max-height: 300px; }
  .header-center .nav-links {
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .header-center .nav-link { padding: 0.75rem 0; width: 100%; }
}

/* Footer brand description */
.footer-about { color: #A0A0A0; font-size: 0.9rem; line-height: 1.6; max-width: 320px; }

/* Footer profile icons */
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  color: #A0A0A0;
  transition: color 0.3s, border-color 0.3s;
}
.footer-social a:hover { color: var(--color-green); border-color: var(--color-green); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* =========================================
   SITE OVERHAUL (Nov 2026)
   ========================================= */
@font-face {
  font-family: 'Anton';
  src: url('/fonts/anton-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Accessibility */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--color-green); color: var(--color-black);
  padding: 0.75rem 1.25rem; border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-green); outline-offset: 3px;
}
@media (max-width: 900px) {
  .header .nav-link { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 600px) {
  .header .header-cta { font-size: 0.66rem; padding: 0.55rem 0.7rem; letter-spacing: 0; max-width: 11rem; white-space: normal; line-height: 1.15; text-align: center; }
}
.stat-item .stat-number { font-size: 4.5rem; color: var(--color-green); font-weight: 300; margin-bottom: 0.5rem; letter-spacing: -0.02em; line-height: 1.1; }
@media (max-width: 600px) { .stat-item .stat-number { font-size: 3rem; } }
.stat-item { min-width: 0; }
.stat-item .stat-number { overflow-wrap: anywhere; }

/* Shared section heading on the home page */
.section-title { font-size: clamp(2.2rem, 5vw, 3.5rem); text-align: center; margin-bottom: 3rem; }
.section-more { text-align: center; margin-top: 2.5rem; color: var(--color-gray); }
.section-more a:not(.btn) { color: var(--color-green); font-weight: 700; }

/* Results strip */
.results-section { padding: 6rem 2rem 2rem; max-width: 1400px; margin: 0 auto; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.result-card { background: var(--color-charcoal); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 2.5rem 2rem; }
.result-number { font-family: 'Anton', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--color-green); line-height: 1.05; text-transform: uppercase; }
.result-context { color: var(--color-white); margin-top: 0.75rem; font-size: 1.05rem; }
.result-brand { color: var(--color-gray); margin-top: 0.5rem; font-size: 0.85rem; }

/* Home case studies */
.home-cases { max-width: 1400px; margin: 0 auto; padding: 6rem 2rem; text-align: center; }
.home-cases .cs-cards { text-align: left; }
.cs-result { color: var(--color-green) !important; font-weight: 700; margin-top: 0.5rem !important; }

/* Testimonials */
.testimonials-header h2 a { color: inherit; }
.testimonials-header h2 a:hover { color: var(--color-green); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonials-grid .testimonial-card { min-width: 0; margin: 0; padding: 2.5rem 2rem; }
.testimonials-grid .stars { color: var(--color-green); letter-spacing: 0.15em; margin-bottom: 1rem; }
.testimonials-grid .testimonial-quote { margin: 0 0 1.5rem; }
.testimonial-author .via { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--color-gray); }

/* How it works */
.how-section { max-width: 1400px; margin: 0 auto; padding: 4rem 2rem; }

/* Founder note */
.founder-note { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.founder-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--color-charcoal); }
.founder-note h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.founder-note p { color: var(--color-gray); font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.25rem; }
.founder-note .founder-quote { color: var(--color-green); font-size: 1.4rem; font-weight: 700; line-height: 1.4; border-left: 4px solid var(--color-green); padding-left: 1.25rem; }
.founder-note .founder-sign { color: var(--color-white); font-weight: 700; }
.founder-note a { color: var(--color-green); font-weight: 700; }
@media (max-width: 760px) { .founder-note { grid-template-columns: 1fr; } .founder-photo { max-width: 260px; } }

/* Global section list */
.global-section > * { min-width: 0; }
.global-img { width: 100%; height: auto; border-radius: 16px; display: block; }
.global-content h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.global-content .check-list { margin-top: 1.5rem; }

/* Contact block */
.contact-hours { margin-top: 1.5rem; color: var(--color-gray); }
.home-audit { max-width: 1400px; margin: 0 auto 4rem; padding: 3rem 2rem; }

/* CTA pairs */
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.page-hero-cta .btn-outline, .cta-actions .btn-outline { padding: 0.75rem 1.5rem; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
.tier { position: relative; background: var(--color-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 2rem 1.5rem; }
.tier-featured { border-color: var(--color-green); }
.tier-badge { position: absolute; top: -12px; left: 1.25rem; background: var(--color-green); color: var(--color-black); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 100px; }
.tier h3 { margin: 0 0 0.5rem !important; }
.tier-price { color: var(--color-green) !important; font-weight: 700; font-size: 1.2rem !important; }
.tier-time { font-size: 0.9rem !important; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.muted-list li::before { background: #555; }
@media (max-width: 900px) { .tiers, .incl { grid-template-columns: 1fr; } }

/* Free audit page */
.audit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.audit-form { display: grid; gap: 0.6rem; }
.audit-form label { font-weight: 700; font-size: 0.95rem; margin-top: 0.6rem; }
.audit-form input, .audit-form select, .audit-form textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: #111; color: var(--color-white); font: inherit; font-size: 1rem;
}
.audit-form input.error, .audit-form textarea.error { border-color: #ff6b6b; }
.audit-form .btn { margin-top: 1rem; justify-self: start; }
.audit-sample { margin-top: 2rem; }
.audit-sample img { width: 100%; height: auto; border-radius: 12px; background: var(--color-charcoal); }
.audit-sample figcaption { color: var(--color-gray); font-size: 0.85rem; margin-top: 0.5rem; }
@media (max-width: 900px) { .audit-layout { grid-template-columns: 1fr; } }

/* About + contact */
.about-hero { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero .founder-photo { max-width: 260px; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Case-study filter tabs */
.cs-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 3rem; }
.cs-filter button {
  min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--color-white); font: inherit; font-size: 0.9rem; cursor: pointer;
}
.cs-filter button[aria-pressed="true"] { background: var(--color-green); border-color: var(--color-green); color: var(--color-black); font-weight: 700; }
.start-here { margin-top: 1rem; color: var(--color-gray); }
.start-here a { color: var(--color-green); }
@media (max-width: 900px) { .results-grid { grid-template-columns: 1fr; } }

/* Case-study panels (interleaved artwork) */
.cs-panel { margin: 1.75rem 0 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.cs-panel img { width: 100%; height: auto; display: block; }
.cs-hero-visual { margin: 0 0 3rem; border-radius: 16px; overflow: hidden; border: 1px solid rgba(198,255,0,0.2); }
.cs-hero-visual img { width: 100%; height: auto; display: block; }
.cs-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cs-more img { width: 100%; height: auto; display: block; border-radius: 10px; }
.cs-scope { color: var(--color-white); font-weight: 700; margin-top: 1rem; }

.home-cases .cs-cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 900px) { .home-cases .cs-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .home-cases .cs-cards { grid-template-columns: 1fr; } }
.page-section .section-more, .section-more { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }

.guide-card .guide-date { color: var(--color-green); font-size: 0.8rem; margin: 0 0 0.6rem; }

.footer-col .footer-heading { margin-bottom: 1.5rem; font-size: 1.25rem; }
@media (max-width: 600px) { .footer-col .footer-heading { font-size: 1.15rem; } }
.footer-bottom p { color: #8f8f8f; }

.founder-photo-round { aspect-ratio: 1; border-radius: 50%; background: transparent; object-fit: contain; }
.about-hero .founder-photo { aspect-ratio: 1; border-radius: 24px; }
.cta-actions.cta-left { justify-content: flex-start; margin: 1.25rem 0 1.5rem; }
