/* ================================================
   ALL YOU CAN - Pixel-Perfect Clone
   ================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --cream: #F2F0EB;
  --green-dot: #33CC66;
  --text-primary: #0D0D0D;
  --text-muted: rgba(0, 0, 0, 0.45);
  --text-light: rgba(255, 255, 255, 0.65);

  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --max-width: 1320px;
  --section-pad-v: 140px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

/* ================================================
   NAVIGATION
   ================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: none; /* Premium feel: mix of case */
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.nav-logo em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.9);
}

.nav-logo-dots {
  opacity: 0.7;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-dot);
  box-shadow: 0 0 0 0 rgba(51, 204, 102, 0.7);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

#navbar.scrolled .nav-logo {
  color: var(--text-primary);
}

#navbar.scrolled .nav-logo em {
  color: var(--text-primary);
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 204, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(51, 204, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(51, 204, 102, 0);
  }
}

.status-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Nav centre links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0 6px;
  border-radius: 100px;
  height: 40px;
  /* Base: transparent — sits over hero video */
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease,
    box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* Glassmorphism capsule — dark when scrolled for contrast */
#navbar.scrolled .nav-links {
  background: rgba(0, 0, 0, 0.82);
  border-color: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Links always stay white — readable on both dark capsule + dark video */
.nav-link {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* Nav right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Scrolled state adjustments for right side */
#navbar.scrolled .nav-status {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

#navbar.scrolled .status-text {
  color: rgba(0, 0, 0, 0.7);
}

#navbar.scrolled .nav-hamburger span {
  background: var(--black);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

#navbar.scrolled .nav-hamburger span {
  background: var(--black);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: 90vw;
    height: 60vh;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Each list item fills equal vertical space with a separator */
  .nav-links li {
    flex: 1;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-link {
    font-size: 22px;
    font-weight: 500;
    padding: 0 28px;
    border-radius: 0;
    width: 100%;
    text-align: left;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.02em;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
  }

  .nav-status {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}




/* ================================================
   HERO SECTION
   ================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #0a0f0a;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center; /* Centered gives more professional balance */
  justify-content: space-between;
  gap: 80px;
  padding: 120px 64px 80px;
  flex: 1;
}

.hero-left {
  flex: 1;
  max-width: 620px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(42px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.04em;
}

.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  display: block; /* Force the italic part to own line or clear the flow */
}

.hero-right {
  flex-shrink: 0;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 8px;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 10px 10px 10px 28px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 100px;
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta:hover {
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.hero-cta:hover .hero-cta-icon {
  transform: rotate(45deg) scale(1.05);
}

/* Hero Logos Slider */
.hero-logos {
  position: relative;
  z-index: 2;
  padding: 32px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 48px;
  overflow: hidden;
  /* Faded edges effect */
  mask-image: linear-gradient(to right,
      transparent,
      black 15%,
      black 85%,
      transparent);
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 15%,
      black 85%,
      transparent);
}

.logos-label {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logos-row {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 60px;
  animation: logos-infinite-scroll 40s linear infinite;
}

.logos-row:hover {
  animation-play-state: paused;
}

@keyframes logos-infinite-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, filter 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 14px;
}

.logo-item:hover {
  color: var(--white);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* ================================================
   SHARED SECTION STYLES
   ================================================ */
.section-light {
  background: var(--cream);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section-heading {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.3;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  overflow: visible;
}

.heading-sans {
  font-family: var(--font-sans);
  font-weight: 700;
  display: block;
  line-height: 0.84;
}

.heading-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  display: block;
  line-height: 0.88;
  padding-bottom: 0.06em;
}

.section-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* ================================================
   PROCESS SECTION
   ================================================ */
#process {
  padding: var(--section-pad-v) 0;
  padding-bottom: calc(var(--section-pad-v) * 0.8);
}

.process-header {
  margin-bottom: 80px;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.process-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-icon {
  width: 64px;
  height: 64px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.process-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.2;
}

.process-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 320px;
}

/* ================================================
   RACE SECTION
   ================================================ */
#race {
  padding: 140px 48px;
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.race-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.race-heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.race-subtext {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 44px;
}

.race-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(180, 210, 220, 0.25);
  border: 1px solid rgba(180, 210, 220, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 16px 32px;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.race-cta:hover {
  background: rgba(180, 210, 220, 0.4);
  border-color: rgba(180, 210, 220, 0.6);
  transform: translateY(-2px);
}

.race-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
}

.race-image {
  width: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

/* ================================================
   WORK / PORTFOLIO SECTION
   ================================================ */
#work {
  padding: var(--section-pad-v) 0;
}

.work-header {
  margin-bottom: 80px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.work-card-offset {
  margin-top: 80px;
}

.work-card-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.work-card-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-image {
  transform: scale(1.04);
}

.work-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-letter {
  font-family: var(--font-serif);
  font-size: 120px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.work-card-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
  transform: scale(1);
}

.work-card-info {
  padding: 0 4px;
}

.work-card-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.work-card-tags {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.work-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.see-all-works-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.see-all-works-btn svg {
  transition: transform 0.2s ease;
}

.see-all-works-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.see-all-works-btn:hover svg {
  transform: translateX(4px) translateY(-4px);
}


/* Nav logo italic */
.nav-logo em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ================================================
   PROBLEM SECTION
   ================================================ */
.problem-section {
  padding: var(--section-pad-v) 0;
}

.problem-header {
  margin-bottom: 72px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.problem-item {
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 36px 32px;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: #f2f0eb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

.problem-content {
  flex: 1;
}

.problem-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.problem-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   WHY CHOOSE US — PILLAR LIST
   ================================================ */
.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-pillar:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.why-pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-pillar-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.why-pillar-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ================================================
   FINAL CTA SECTION
   ================================================ */
.cta-final-section {
  padding: 120px 0;
}

.cta-final-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.cta-final-heading {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-final-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 440px;
}

.cta-final-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  flex-shrink: 0;
}

.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 18px 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.cta-final-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.cta-final-email {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease;
}

.cta-final-email:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .cta-final-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-final-right {
    align-items: flex-start;
  }
}

/* ================================================
   ABOUT / TEAM SECTION
   ================================================ */

.about-section {
  padding: var(--section-pad-v) 0;
  padding-top: calc(var(--section-pad-v) * 0.6);
  overflow: hidden;
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-heading {
  margin-bottom: 40px;
}

.about-lead-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-body-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.about-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.about-logo-item {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.healthline-logo {
  font-weight: 800;
  font-size: 15px;
}

/* Team Photos */
.team-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.team-photo-main {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #c9c2b8;
}

.team-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photos-small {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  width: 100%;
}

.team-photo-small {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  background: #b8bcc2;
}

.team-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */
.testimonials-section {
  padding: var(--section-pad-v) 0;
  padding-bottom: calc(var(--section-pad-v) * 0.8);
  overflow: hidden;
}

.testimonials-header {
  margin-bottom: 64px;
}

/* Track wrapper — full bleed, edge fades */
.testimonials-track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* fade edges */
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
}

/* Scrolling row of cards */
.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 16px 48px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* Individual card */
.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
  cursor: default;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

/* Dark variant card */
.testimonial-card-dark {
  background: #111;
  border-color: transparent;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  flex: 1;
}

.testimonial-card-dark .testimonial-quote {
  color: rgba(255, 255, 255, 0.88);
}

/* Star rating row (optional decorative) */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.testimonial-star {
  color: #f5a623;
  font-size: 14px;
}

/* Author row */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.testimonial-card-dark .testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.testimonial-card-dark .testimonial-name {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.testimonial-card-dark .testimonial-role {
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive: no mask on small screens, single column feel */
@media (max-width: 600px) {
  .testimonial-card {
    width: 300px;
  }

  .testimonials-track {
    padding: 12px 24px;
  }
}

/* ================================================
   BOOKING CARD SECTION
   ================================================ */

.booking-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.booking-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.booking-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.6) 100%);
}

.booking-card {
  position: relative;
  z-index: 2;
  background: rgba(15, 20, 15, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 60px 56px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.booking-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.booking-title em {
  font-style: italic;
}

.booking-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 340px;
}

.booking-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #33CC66;
  color: #000;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 16px 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-cta:hover {
  background: #2db85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(51, 204, 102, 0.35);
}

.booking-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.booking-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.booking-brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.booking-brand-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-section {
  padding: var(--section-pad-v) 0;
}

.services-header {
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: flex-start;
}

.service-item:nth-child(odd) {
  padding-right: 64px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(even) {
  padding-left: 64px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.06);
}

.service-content {
  flex: 1;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 360px;
}

/* ================================================
   PRICING SECTION
   ================================================ */
.pricing-section {
  padding: var(--section-pad-v) 0;
  padding-top: calc(var(--section-pad-v) * 0.7);
}

.pricing-header {
  margin-bottom: 72px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  background: var(--black);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-12px);
}

.pricing-card-featured:hover {
  transform: translateY(-16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #33CC66;
  color: #000;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 16px;
  white-space: nowrap;
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-tier {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-card-featured .pricing-tier {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-amount {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pricing-card-featured .pricing-amount {
  color: var(--white);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card-featured .pricing-period {
  color: rgba(255, 255, 255, 0.45);
}

.pricing-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.pricing-card-featured .pricing-desc {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 28px;
}

.pricing-card-featured .pricing-features {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.pricing-card-featured .pricing-feature {
  color: rgba(255, 255, 255, 0.85);
}

.feature-check {
  font-size: 13px;
  color: #33CC66;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
}

.pricing-card-featured .feature-check {
  color: #33CC66;
}

.feature-cross {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.2);
  font-weight: 400;
  flex-shrink: 0;
  width: 18px;
}

.pricing-feature.feature-muted {
  color: rgba(0, 0, 0, 0.3);
}

.pricing-cta {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  padding: 16px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.pricing-cta-outline {
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
  background: transparent;
}

.pricing-cta-outline:hover {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}

.pricing-cta-solid {
  background: var(--white);
  color: var(--black);
  border: none;
}

.pricing-cta-solid:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

/* ================================================
   NEW FOOTER
   ================================================ */
.footer-new {
  position: relative;
  background: #060a06;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}

.footer-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(30%);
}

.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(6, 10, 6, 0.7) 0%,
      rgba(6, 10, 6, 0.5) 40%,
      rgba(6, 10, 6, 0.85) 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 72px 56px 40px;
  max-width: calc(var(--max-width) + 112px);
  margin: 0 auto;
  width: 100%;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-question {
  max-width: 400px;
}

.footer-q-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.footer-q-email {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.footer-q-email:hover {
  color: var(--white);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-nav-link {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

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

.footer-wordmark-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-size: clamp(72px, 13vw, 210px);
  font-weight: 800;
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: -0.08em;
  white-space: nowrap;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================
   ANIMATIONS & REVEAL
   ================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger children */
.reveal-item.revealed:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-item.revealed:nth-child(3) {
  transition-delay: 0.2s;
}

/* Hero entrance animations */
.hero-eyebrow,
.hero-headline,
.hero-description,
.hero-cta,
.hero-logos {
  opacity: 0;
  transform: translateY(20px);
}

.hero-loaded .hero-eyebrow {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-loaded .hero-headline {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.35s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.hero-loaded .hero-description {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.hero-loaded .hero-cta {
  opacity: 1;
  transform: none;
  transition: all 0.8s ease 0.6s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.hero-loaded .hero-logos {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.7s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

/* Section heading animation — overflow visible to avoid clipping italic descenders */

/* Process card stagger */
.process-card:nth-child(1) {
  transition-delay: 0s;
}

.process-card:nth-child(2) {
  transition-delay: 0.1s;
}

.process-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .about-grid {
    gap: 48px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad-v: 100px;
  }

  .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 80px 32px 48px;
    gap: 32px;
  }

  .hero-right {
    max-width: 100%;
  }

  .hero-logos {
    padding: 0 32px 32px;
  }

  .logos-row {
    gap: 24px;
  }

  #navbar {
    padding: 0 24px;
  }

  .container {
    padding: 0 32px;
  }

  .process-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .service-item:nth-child(even) {
    padding-left: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .team-photo-main {
    max-width: 280px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-card-offset {
    margin-top: 0;
  }

  .footer-inner {
    padding: 56px 32px 32px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 36px;
  }

  .footer-nav-links {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  #race {
    padding: 100px 32px;
  }

  .about-grid {
    padding: 0 32px;
  }

  .booking-card {
    padding: 44px 36px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad-v: 80px;
  }

  .hero-content {
    padding: 72px 24px 40px;
  }

  .hero-logos {
    padding: 0 24px 28px;
  }

  .logos-row {
    gap: 16px;
  }

  #navbar {
    padding: 0 20px;
  }

  .container {
    padding: 0 24px;
  }

  .status-text {
    font-size: 11px;
  }

  .footer-inner {
    padding: 48px 24px 28px;
  }

  .about-grid {
    padding: 0 24px;
  }

  #race {
    padding: 80px 24px;
  }

  .team-photo-main {
    max-width: 240px;
  }

  .booking-card {
    padding: 36px 28px;
  }
}

/* Smooth scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.footer-cta-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-big-text {
  font-family: var(--font-serif);
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 80px;
  letter-spacing: -0.03em;
}

.footer-dots {
  opacity: 0.45;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.footer-link:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-email {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--white);
}

.footer-cta-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 14px 24px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer-cta-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================
   ANIMATIONS & REVEAL
   ================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger children */
.reveal-item.revealed:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-item.revealed:nth-child(3) {
  transition-delay: 0.2s;
}

/* Hero entrance animations */
.hero-eyebrow,
.hero-headline,
.hero-description,
.hero-cta,
.hero-logos {
  opacity: 0;
  transform: translateY(20px);
}

.hero-loaded .hero-eyebrow {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-loaded .hero-headline {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.35s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.hero-loaded .hero-description {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.hero-loaded .hero-cta {
  opacity: 1;
  transform: none;
  transition: all 0.8s ease 0.6s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.hero-loaded .hero-logos {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.7s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

/* Section heading animation — overflow visible to avoid clipping italic descenders */

/* Process card stagger */
.process-card:nth-child(1) {
  transition-delay: 0s;
}

.process-card:nth-child(2) {
  transition-delay: 0.1s;
}

.process-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* ================================================
   FLOATING ACTION BUTTONS
   ================================================ */
.floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  pointer-events: none;
  /* Let underlying elements be clickable between buttons */
}

.floating-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.floating-btn span {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.floating-btn:hover span {
  opacity: 1;
  transform: translateX(0);
}

.btn-email {
  background: var(--black);
}

.btn-whatsapp {
  background: #25D366;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad-v: 100px;
  }

  .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 35vh 32px 48px; /* Push down to clear face */
    gap: 20px;
  }

  .hero-right {
    max-width: 100%;
  }

  .hero-logos {
    padding: 0 32px 32px;
  }

  .logos-row {
    gap: 24px;
  }

  #navbar {
    padding: 0 24px;
  }

  .container {
    padding: 0 32px;
  }

  .process-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .team-photo-main {
    max-width: 280px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-card-offset {
    margin-top: 0;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-cta-button-wrap {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-cta-section {
    padding: 80px 32px 48px;
  }

  #race {
    padding: 100px 32px;
  }

  .about-grid {
    padding: 0 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad-v: 80px;
  }

  .hero-content {
    padding: 42vh 24px 60px; /* Even more push down for small mobile */
    justify-content: flex-end;
    gap: 16px;
  }

  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  .hero-headline {
    font-size: 32px !important;
    line-height: 1.15;
  }

  .hero-headline em {
    font-size: 34px !important;
  }

  .hero-description {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    max-width: 90%;
  }

  .hero-logos {
    padding: 0 24px 28px;
  }

  .logos-row {
    gap: 16px;
  }

  .floating-actions {
    bottom: 24px;
    right: 24px;
    flex-direction: row-reverse;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }

  .floating-btn span {
    display: none;
  }

  #navbar {
    padding: 0 20px;
  }

  .container {
    padding: 0 24px;
  }

  .status-text {
    font-size: 11px;
  }

  .footer-cta-section {
    padding: 64px 24px 40px;
  }

  .about-grid {
    padding: 0 24px;
  }

  #race {
    padding: 80px 24px;
  }

  .team-photo-main {
    max-width: 240px;
  }

  .footer-big-text {
    margin-bottom: 48px;
  }

  .sticky-offer-btn {
    bottom: 24px;
    left: 20px;
    right: auto;
    padding: 12px 20px;
    font-size: 11px;
    border-radius: 12px;
  }
}

/* ================================================
   STICKY OFFER CTA (Mobile Only)
   ================================================ */
.sticky-offer-btn {
  display: none; /* Hidden on Desktop */
}

@media (max-width: 900px) {
  .sticky-offer-btn {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: sticky-offer-pulse 3s infinite;
    overflow: hidden; /* For shimmer */
  }

  .sticky-offer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    animation: shimmer-btn 2.5s infinite;
  }

  .sticky-offer-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: #111;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  }

  @keyframes shimmer-btn {
    0% {
      left: -100%;
    }

    100% {
      left: 100%;
    }
  }

  /* Success State override for small mobile */
  @media (max-width: 600px) {
    .sticky-offer-btn {
      bottom: 24px;
      left: 20px;
      padding: 12px 20px;
      font-size: 11px;
      border-radius: 12px;
    }
  }
}

.sticky-offer-btn-icon {
  width: 18px;
  height: 18px;
  background: #25D366; /* WhatsApp Green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 1;
}

.sticky-offer-btn span {
  position: relative;
  z-index: 1;
}

.sticky-offer-btn-icon svg {
  width: 12px;
  height: 12px;
}

@keyframes sticky-offer-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Smooth scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* ================================================
   NAV — GET IN TOUCH CTA LINK
   ================================================ */
.nav-link-cta {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 100px !important;
  color: var(--white) !important;
  padding: 6px 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
}

.nav-link-cta:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px) !important;
}

#navbar.scrolled .nav-link-cta {
  background: var(--black) !important;
  border-color: var(--black) !important;
  color: var(--white) !important;
}

#navbar.scrolled .nav-link-cta:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

/* ================================================
   LEAD CAPTURE POPUP
   ================================================ */
.lp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-overlay.lp-visible {
  opacity: 1;
  pointer-events: all;
}

.lp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.lp-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 28px;
  max-width: 640px;
  width: 100%;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lp-overlay.lp-visible .lp-card {
  transform: translateY(0) scale(1);
}

/* Card inner — desktop padding (overridden on mobile) */
.lp-card-inner {
  padding: 44px 44px 36px;
}

/* Close button */
.lp-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.lp-close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--black);
}

/* Badge */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 204, 102, 0.1);
  border: 1px solid rgba(51, 204, 102, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #1a7a3c;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lp-badge-dot {
  width: 7px;
  height: 7px;
  background: #33CC66;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(51, 204, 102, 0.7);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* Title */
.lp-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.lp-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.lp-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 520px;
}

/* Social proof */
.lp-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-proof-avatars {
  display: flex;
}

.lp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-right: -10px;
  flex-shrink: 0;
}

.lp-avatar:last-child {
  margin-right: 0;
}

.lp-proof-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  padding-left: 6px;
}

/* Form */
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.lp-field input,
.lp-field textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-primary);
  background: var(--cream);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
  width: 100%;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.lp-field input:focus,
.lp-field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.lp-field input.lp-error,
.lp-field textarea.lp-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
}

/* Submit button */
.lp-submit {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.lp-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
}

.lp-submit:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.lp-submit:active {
  transform: translateY(0);
}

.lp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lp-disclaimer {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin-top: 2px;
}

/* Success state */
.lp-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 16px;
}

.lp-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(51, 204, 102, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a7a3c;
}

.lp-success-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.lp-success-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================
   POPUP — MOBILE BOTTOM SHEET
   ================================================ */
@media (max-width: 600px) {

  /* Overlay: align to bottom instead of center */
  .lp-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  /* Card becomes a bottom sheet */
  .lp-card {
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 0 0 env(safe-area-inset-bottom, 16px);
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* slide up animation */
    transform: translateY(100%);
    box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  .lp-overlay.lp-visible .lp-card {
    transform: translateY(0);
  }

  /* Drag handle pill at top */
  .lp-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    margin: 12px auto 0;
  }

  /* Scrollable content area */
  .lp-card-inner {
    padding: 16px 20px 20px;
  }

  /* Close button — top right, larger tap target */
  .lp-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.07);
  }

  /* Badge — compact */
  .lp-badge {
    font-size: 10.5px;
    padding: 4px 11px;
    margin-bottom: 14px;
  }

  /* Title — readable at mobile size */
  .lp-title {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 8px;
  }

  /* Subtext — tighter */
  .lp-sub {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* Social proof — more compact */
  .lp-proof {
    padding: 10px 14px;
    gap: 10px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .lp-avatar {
    width: 26px;
    height: 26px;
  }

  .lp-proof-text {
    font-size: 12.5px;
  }

  /* Form — single column, larger inputs for thumbs */
  .lp-form {
    gap: 10px;
  }

  .lp-field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lp-field label {
    font-size: 11px;
  }

  .lp-field input,
  .lp-field textarea {
    font-size: 16px;
    /* prevents iOS zoom */
    padding: 13px 15px;
    border-radius: 14px;
  }

  /* Submit button — large, easy tap target */
  .lp-submit {
    padding: 18px 24px;
    font-size: 15px;
    border-radius: 16px;
    margin-top: 8px;
  }

  .lp-disclaimer {
    font-size: 11px;
    margin-top: 8px;
  }
}
