/* ═══════════════════════════════════════════════════════════════
   LUXLANY DIGITAL — STYLESHEET v2.0
   Brand-accurate: Deep void black + Electric Magenta + Violet system
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── BACKGROUNDS ── */
  --bg-primary:    #0A0010;   /* Deep Void Black */
  --bg-section:    #120820;   /* Dark Purple-Black */
  --bg-overlay:    #0D0A2A;   /* Midnight Navy */
  --bg-card:       #1A0F35;   /* Card Surface */
  --border-subtle: #2E1A55;   /* Subtle border */

  /* ── BRAND ACCENTS ── */
  --magenta:       #E01EF5;   /* Electric Magenta — primary CTA */
  --fuchsia:       #C41BE0;   /* Hot Fuchsia — hover states */
  --violet:        #9B16D9;   /* Neon Violet — gradient midpoint */
  --purple:        #7B12C8;   /* Vivid Purple */
  --indigo:        #4A0FA8;   /* Deep Indigo — gradient tails */

  /* ── ENERGY / FLOW ── */
  --flame:         #FF5800;   /* Flame Orange */
  --solar:         #FF7200;   /* Solar Orange */
  --amber:         #FFAA00;   /* Golden Amber */
  --coral:         #FF3060;   /* Coral Red */
  --electric-blue: #00A8FF;   /* Electric Blue */
  --teal:          #00E5CC;   /* Teal Glow */

  /* ── TEXT ── */
  --white:         #FFFFFF;
  --off-white:     #F0EAF8;
  --lavender-muted:#B0A0CC;
  --ghost:         #6A5A88;

  /* ── GRADIENTS ── */
  --grad-cta:      linear-gradient(135deg, #E01EF5 0%, #9B16D9 100%);
  --grad-card:     linear-gradient(160deg, #FF5800 0%, #C41BE0 60%, #4A0FA8 100%);
  --grad-hero-fade:linear-gradient(180deg, rgba(10,0,16,0) 0%, #0A0010 100%);
  --lime:          #c8ff00;   /* Electric lime — GET STARTED + CONVERT accent */

  /* ── TYPOGRAPHY ── */
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Inter', 'Barlow', sans-serif;

  /* ── MOTION ── */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── SCROLLBAR ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--indigo);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle radial glow — only visible when no video is active */
.hero:not(:has(.hero__video-bg))::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(224, 30, 245, 0.12) 0%,
    rgba(74, 15, 168, 0.08) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── VIDEO BACKGROUND ────────────────────────────────────────── */
.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Isolate compositing layer */
  isolation: isolate;
}
.hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Force GPU compositing — eliminates jank on all devices */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  /* Prevents iOS Safari flicker/white-flash on load */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  /* Multi-stop overlay: dark at top (nav readable), lighter mid (video shows), 
     dark at bottom (sub-copy readable) */
  background:
    linear-gradient(
      to bottom,
      rgba(10, 0, 16, 0.82) 0%,
      rgba(10, 0, 16, 0.38) 35%,
      rgba(10, 0, 16, 0.45) 65%,
      rgba(10, 0, 16, 0.88) 100%
    );
}

/* ── SPLINE 3D ─────────────────────────────────────────────────── */
/* Sits above video (z:0), below hero text (z:10) and nav (z:100) */
.hero__spline {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Interactive — users can orbit/click the 3D model             */
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__spline spline-viewer {
  width: 100%;
  height: 100%;
  /* Transparent canvas so fluid video shows through               */
  --spline-canvas-background: transparent;
  /* Ensure the viewer itself captures pointer events              */
  pointer-events: auto;
}

/* Override the Spline watermark with a tiny element */
.spline-watermark-override {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 150px;
  height: 42px;
  background: var(--bg-primary); /* matches the dark void */
  color: var(--ghost);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  border-radius: 8px;
  z-index: 20;
  pointer-events: auto;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* space between dot and text */
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.spline-watermark-override::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-online 2s infinite ease-in-out;
}

@keyframes pulse-online {
  0% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.8); }
}

/* ── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 2.5rem;
  background: rgba(10, 0, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav__dot { color: var(--lime); font-size: 0.65rem; }

.nav__links {
  display: flex;
  gap: 2.5rem;
  margin-left: auto;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--off-white);
  transition: color 0.2s;
  position: relative;
}

.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.3s var(--ease-expo);
  box-shadow: 0 0 6px rgba(224, 30, 245, 0.6);
}

.nav__links a:not(.nav__cta):hover { color: var(--lime); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--lime);
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.3);
  transition: box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
}

.nav__cta:hover {
  box-shadow: 0 0 36px rgba(200, 255, 0, 0.55);
  transform: scale(1.04);
}

.nav__cta-arrow { font-size: 0.85rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s;
}

/* ── HERO CONTENT ──────────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  padding: 0 2.5rem 1.5rem;
  /* Let pointer events pass through to Spline below,
     individual child elements restore auto where needed */
  pointer-events: none;
}

/* Restore pointer events on clickable children */
.hero__sub-link,
.hero__sub a {
  pointer-events: auto;
}

/* ── HEADLINE ──────────────────────────────────────────────────── */
.hero__headline-wrap {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 0.1em;
  pointer-events: none;
  user-select: none;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  /* Smaller: roughly half viewport width max */
  font-size: clamp(3rem, 8.5vw, 10rem);
  display: flex;
  flex-direction: column;
  max-width: 55%;
}

.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp 0.9s var(--ease-expo) forwards;
}
.hero__line--1 { animation-delay: 0.1s; }
.hero__line--2 { animation-delay: 0.22s; }
.hero__line--3 { animation-delay: 0.34s; }

.hero__line-accent {
  /* Electric lime on "CONVERT" */
  color: var(--lime);
  -webkit-text-fill-color: var(--lime);
}

/* ── WATERMARK ─────────────────────────────────────────────────── */
.hero__watermark {
  position: absolute;
  bottom: 4rem;
  right: -0.02em;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(8rem, 22vw, 28rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 30, 245, 0.08);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

/* ── BOTTOM ROW ────────────────────────────────────────────────── */
.hero__sub {
  grid-column: 1;
  grid-row: 2;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.7s;
}

.hero__sub p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: var(--lavender-muted);
}

.hero__sub-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--lime);
  border-bottom: 1px solid rgba(200, 255, 0, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s, text-shadow 0.2s;
}
.hero__sub-link:hover {
  border-color: var(--lime);
  text-shadow: 0 0 12px rgba(200, 255, 0, 0.5);
}

.hero__tagline {
  grid-column: 2;
  grid-row: 2;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 0.25rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero__tagline p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.7rem, 1.1vw, 1rem);
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--ghost);
  text-align: right;
}

/* ── TRUSTED STRIP ─────────────────────────────────────────────── */
.trusted {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  padding: 1.2rem 2.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1s;
}

.trusted__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.65rem, 1.1vw, 0.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ghost);
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 5rem);
  flex-wrap: wrap;
}

.trusted__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ghost);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
  user-select: none;
}
.trusted__logo:hover {
  color: var(--lavender-muted);
  text-shadow: 0 0 20px rgba(224, 30, 245, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.v-services {
  position: relative;
  overflow: hidden;
  padding: 8rem 2.5rem;
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Background video container */
.v-services__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
/* Overlay to blend video gently into the dark mode styling */
.v-services__video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-section);
  opacity: 0.4;  /* Significantly reduced opacity to let vibrant video shine through */
  z-index: 1;
}
.v-services__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.v-services__header,
.v-services__grid {
  position: relative;
  z-index: 2; /* keep text/cards above video */
}

.v-services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.v-services__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.v-services__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--lavender-muted);
  font-weight: 400;
}

.v-services__grid {
  display: grid;
  /* 4 columns horizontal layout as requested */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}

.v-service-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 340px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-subtle);
  cursor: default;
}

.v-service-card:hover {
  background: rgba(46, 26, 85, 0.4);
  border-color: rgba(200, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.v-service-card__images {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

/* Recreating Tailwind animation states natively */
.v-img-back, .v-img-front {
  position: absolute;
  width: 176px;
  height: auto;
  border-radius: 8px;
  transition: all 0.4s var(--ease-smooth);
}

.v-img-back {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: rotate(-6deg);
}

.v-img-front {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
  transform: rotate(3deg);
}

.v-service-card:hover .v-img-back {
  transform: rotate(-10deg) scale(1.05);
  box-shadow: 0 10px 15px rgba(200, 255, 0, 0.05);
}

.v-service-card:hover .v-img-front {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 15px 25px rgba(200, 255, 0, 0.15);
}

.v-service-card__title {
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-top: auto;
  letter-spacing: 0.02em;
}

/* Handle mobile screen squishing gracefully */
@media (max-width: 1024px) {
  .v-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .v-services__grid {
    grid-template-columns: 1fr;
  }
  .v-services__header {
    margin-bottom: 3rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════ */
.contact-section {
  position: relative;
  background: var(--bg-primary);
  padding: 8rem 2.5rem;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video Background */
.contact-section__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.contact-section__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9; 
  filter: contrast(1.1) saturate(1.1);
}

.contact-section__video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  /* Matching the exact vibrancy setting from Services (0.4) */
  opacity: 0.4;
  pointer-events: none;
}

/* Magenta radial glow */
.contact-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center,
    rgba(224, 30, 245, 0.1) 0%,
    rgba(74, 15, 168, 0.05) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.contact-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1024px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: 1fr;
  /* Next level UI touch: corners */
}

@media (min-width: 768px) {
  .contact-card {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Plus Icons in corners */
.contact-card__plus {
  position: absolute;
  color: var(--ghost);
  width: 24px;
  height: 24px;
}
.contact-card__plus.top-left { top: -12px; left: -12px; }
.contact-card__plus.top-right { top: -12px; right: -12px; }
.contact-card__plus.bottom-left { bottom: -12px; left: -12px; }
.contact-card__plus.bottom-right { bottom: -12px; right: -12px; }

/* Contact Info Side */
.contact-card__info {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.1;
}

.contact-card__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--lavender-muted);
  max-width: 500px;
  line-height: 1.6;
}

.contact-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .contact-card__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.c-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}
.c-info.col-span-2 {
  grid-column: 1 / -1;
}

.c-info__icon {
  background: rgba(46, 26, 85, 0.4);
  padding: 0.75rem;
  border-radius: 8px;
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-info__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.c-info__value {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ghost);
}

/* Form Side */
.contact-card__form-wrap {
  padding: 3rem 2rem;
  background: rgba(10, 0, 16, 0.3); /* slightly darker */
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .contact-card__form-wrap {
    border-top: none;
    border-left: 1px solid var(--border-subtle);
  }
}

.c-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--off-white);
}

.form-input {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(200, 255, 0, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--lime);
  padding: 0.85rem 1.5rem;
  border-radius: 6px; /* slightly different from pill buttons for a formal form */
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(200, 255, 0, 0.2);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 255, 0, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--lavender-muted);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--ghost);
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ghost);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--lime); }

/* ══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .services__header { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    padding: 0 1.2rem 1.2rem;
  }
  .hero__headline-wrap { grid-column: 1; }
  .hero__sub { grid-column: 1; grid-row: 2; max-width: 100%; }
  .hero__tagline { grid-column: 1; grid-row: 3; justify-content: flex-start; padding-top: 0.5rem; }
  .hero__tagline p { text-align: left; }
  .hero__watermark { font-size: clamp(5rem, 40vw, 12rem); bottom: 5rem; }

  .nav { padding: 1.2rem 1.5rem; }
  .trusted { padding: 1.2rem 1.5rem; }
  .services { padding: 4rem 1.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .cta-block { padding: 5rem 1.5rem; }
  .footer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: clamp(2.2rem, 12vw, 4.5rem); max-width: 100%; }
}

/* ── MOBILE MENU (JS toggled) ──────────────────────────────────── */
.nav--open .nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 16, 0.98);
  z-index: 999;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8rem;
  gap: 2.5rem;
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
}
.nav--open .nav__cta { display: flex; }
.nav--open .nav__burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════ */
.testimonials {
  position: relative;
  padding: 7rem 2.5rem 4rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.testimonials__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.testimonials__video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  opacity: 0.4;
  z-index: 1;
}
.testimonials__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.testimonials__header {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.testimonials__tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--lime);
  padding-top: 0.6rem;
  flex-shrink: 0;
}

.testimonials__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}

/* ── CAROUSEL STAGE ─────────────────────────────────────────── */
.testimonials__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

/* ── INDIVIDUAL CARD ────────────────────────────────────────── */
.t-card {
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
  padding: 2rem;
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.t-card:hover {
  border-color: rgba(200, 255, 0, 0.2);
}

/* center (active) card styles */
.t-card--center {
  background: var(--lime);
  border-color: var(--lime);
  cursor: default;
  z-index: 10 !important;
}

/* diagonal corner accent line */
.t-card__corner {
  position: absolute;
  display: block;
  right: -2px;
  top: 48px;
  width: 70.7px; /* Math.sqrt(5000) */
  height: 2px;
  background: var(--border-subtle);
  transform-origin: right top;
  transform: rotate(45deg);
}
.t-card--center .t-card__corner {
  background: rgba(10, 0, 16, 0.2);
}

/* avatar */
.t-card__avatar {
  width: 48px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  display: block;
  box-shadow: 3px 3px 0px var(--bg-primary);
  flex-shrink: 0;
}
.t-card--center .t-card__avatar {
  box-shadow: 3px 3px 0px rgba(200,255,0,0.5);
}

/* quote text */
.t-card__quote {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--off-white);
}
.t-card--center .t-card__quote {
  color: #0A0010;
}

/* attribution */
.t-card__by {
  position: absolute;
  bottom: 1.8rem;
  left: 2rem;
  right: 2rem;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ghost);
}
.t-card--center .t-card__by {
  color: rgba(10, 0, 16, 0.6);
}

/* ── NAV BUTTONS ────────────────────────────────────────────── */
.testimonials__nav-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.testimonials__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  color: var(--off-white);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.testimonials__btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A0010;
  transform: scale(1.08);
}
.testimonials__btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials { padding: 4rem 1.5rem 3rem; }
  .testimonials__header { flex-direction: column; gap: 1.5rem; }
  .testimonials__stage { height: 520px; }
}

/* ── BRAND LOGO TYPOGRAPHY ────────────────────────────────────────── */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  gap: 0 !important;
}
.brand-logo__main {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  color: #fff;
  display: block;
  line-height: 1;
}
.brand-logo__sub {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  color: #C8FF00;
  display: block;
}

/* Base sizing for Header (Nav) */
.nav__brand.brand-logo .brand-logo__main {
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  margin-right: -0.35em; /* counteract trailing space */
}
.nav__brand.brand-logo .brand-logo__sub {
  font-size: 0.45rem;
  letter-spacing: 0.5em;
  margin-top: 2px;
  margin-right: -0.5em;
}

/* Base sizing for Footer */
.footer__brand.brand-logo .brand-logo__main {
  font-size: 2rem;
  letter-spacing: 0.35em;
  margin-right: -0.35em;
}
.footer__brand.brand-logo .brand-logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  margin-top: 4px;
  margin-right: -0.5em;
}

/* Responsive tweaks for smaller mobile */
@media (max-width: 480px) {
  .nav__brand.brand-logo .brand-logo__main {
    font-size: 1.1rem;
  }
  .nav__brand.brand-logo .brand-logo__sub {
    font-size: 0.35rem;
  }
  .footer__brand.brand-logo .brand-logo__main {
    font-size: 1.5rem;
  }
  .footer__brand.brand-logo .brand-logo__sub {
    font-size: 0.5rem;
  }
}
