/* ═══════════════════════════════════════════
       DESIGN TOKENS
    ═══════════════════════════════════════════ */
:root {
  --uf-primary: #150028;
  --uf-secondary: #2E3192;
  --uf-accent: #EC008C;
  --uf-dark: #140027;
  --uf-primary-glow: rgba(21, 0, 40, 0.35);
  --uf-secondary-glow: rgba(46, 49, 146, 0.35);
  --uf-accent-glow: rgba(236, 0, 140, 0.35);

  /* mesh colours */
  --mesh-a: #150028;
  --mesh-b: #2E3192;
  --mesh-c: #EC008C;
  --mesh-d: #150028;

  --radius-sm: 8px;
  --radius-md: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --ff-display: 'Poppins', sans-serif;
  --ff-body: 'Poppins', sans-serif;

  /* Methodology Pillars */
  --pillar-1: #EC008C;
  /* Pink/Purple - Analysis */
  --pillar-2: #007BFF;
  /* Blue/Cyan - Experience */
  --pillar-3: #9B5CF6;
  /* Indigo/Purple - Growth */
}

[data-theme="dark"] {
  --bg: #070B14;
  --bg-2: #0D1220;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-h: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(0, 120, 164, 0.5);
  --text: #F0F2F7;
  --text-muted: #8A93A8;
  --invert-logo: 1;
  --particles: #150028;

}

[data-theme="light"] {
  --bg: #F1F1F1;
  --bg-2: #ECEEF5;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-h: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-h: rgba(0, 120, 164, 0.4);
  --text: #0D1220;
  --text-muted: #5A6478;
  --invert-logo: 0;
  --particles: #3561b8;
}

[data-theme="light"] .logo-img {
  filter: invert(1) brightness(0.15);
}

.theme-btn {
  background: var(--uf-accent);
  color: white;
}

/* ═══════════════════════════════════════════
       RESET & BASE
    ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
  cursor: none;
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--uf-secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.3s, height 0.3s, background 0.3s, margin 0.3s, mix-blend-mode 0.3s;
  margin-left: -10px;
  margin-top: -10px;
  box-sizing: border-box;
}

#custom-cursor.hovered {
  width: 40px;
  height: 40px;
  background: rgba(46, 49, 146, 0.1);
  border-color: rgba(46, 49, 146, 0.5);
  margin-left: -20px;
  margin-top: -20px;
  mix-blend-mode: exclusion;
}

a,
button,
.service-card {
  cursor: none;
}

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

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

section {
  padding: 96px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
       TYPOGRAPHY
    ═══════════════════════════════════════════ */
.display {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.headline {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(130deg, #007BFF, #92278F, #EC008C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════
       NAV
    ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 32px 0;
  min-height: 100px;
  max-height: 160px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  background: rgba(7, 11, 20, 0.75);
  border-bottom: none;
  transition: background var(--transition);
}

[data-theme="light"] nav {
  background: rgba(167, 184, 212, 0.75);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 28px;
  width: auto;
  transition: filter var(--transition);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme toggle */
.theme-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 40px;
  height: 22px;
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition);
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text);
  transition: transform var(--transition);
}

[data-theme="light"] .theme-toggle::after {
  transform: translateX(18px);
}

.btn-nav {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ff-body);
  background: var(--uf-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-nav:hover {
  background: var(--uf-secondary);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
       HERO — MESH GRADIENT
    ═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 120px 8% 80px;
  position: relative;
  overflow: hidden;
}

/* Animated mesh canvas */
#mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Noise grain overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.hero-badge-shopify-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(0.6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uf-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-h1 {
  font-size: clamp(48px, 9vw, 108px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text);
  max-width: 560px;
  margin: 0 0 48px 0;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-ctas {
  gap: 12px;
  flex-wrap: nowrap;
}
.btn-primary, .btn-ghost {
  padding: 14px 28px!important;
}
}

.btn-primary {
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  background: var(--uf-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--uf-secondary-glow);
}

.btn-primary:hover::after {
  animation: sweep-light 0.6s ease-out forwards;
}

@keyframes sweep-light {
  100% {
    left: 200%;
  }
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  border-color: var(--uf-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  background: var(--bg-card-h);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

.scroll-cue span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════════
       MARQUEE STRIP
    ═══════════════════════════════════════════ */
.marquee-section {
  padding: 0 0 16px 0;
  /* border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); */
  overflow: hidden;
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 24px 0;
  animation: marquee 56s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

.marquee-logo {
  height: auto;
  width: auto;
  max-height: 48px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
  flex-shrink: 0;
}

[data-theme="dark"] .marquee-logo {
  filter: grayscale(1) invert(1);
  opacity: 0.3;
}


.marquee-header {
  padding: 24px 0 4px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
       SERVICES
    ═══════════════════════════════════════════ */
#services {
  background: var(--bg);
}

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

@media (max-width: 480px) {
  .section-header {
  margin-bottom: 32px;
}

}

.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--uf-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  background: var(--bg-card-h);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  position: relative;
}

/* Glowing 3D effect for icons */
.service-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  z-index: 0;
}

.icon-teal {
  background: linear-gradient(135deg, #150028, #00C2FF);
  box-shadow: 0 8px 24px rgba(0, 120, 164, 0.5), 0 0 40px rgba(0, 120, 164, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-blue {
  background: linear-gradient(135deg, #0047CC, #007BFF);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.5), 0 0 40px rgba(0, 123, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-purple {
  background: linear-gradient(135deg, #140027, #5A00CC);
  box-shadow: 0 8px 24px rgba(90, 0, 204, 0.5), 0 0 40px rgba(90, 0, 204, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-cyan {
  background: linear-gradient(135deg, #00838F, #00C2FF);
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.4), 0 0 40px rgba(0, 194, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-indigo {
  background: linear-gradient(135deg, #3730A3, #6366F1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 0 40px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-emerald {
  background: linear-gradient(135deg, #065F46, #10B981);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 40px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
       PORTFOLIO BENTO GRID
    ═══════════════════════════════════════════ */
#portfolio {
  background: var(--bg-2);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

/* Spanning rules */
.bento-item:nth-child(1) {
  grid-column: span 7;
}

.bento-item:nth-child(2) {
  grid-column: span 5;
}

.bento-item:nth-child(3) {
  grid-column: span 4;
}

.bento-item:nth-child(4) {
  grid-column: span 4;
}

.bento-item:nth-child(5) {
  grid-column: span 4;
}

.bento-item:nth-child(6) {
  grid-column: span 12;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.bento-item:hover {
  border-color: var(--border-h);
  transform: scale(1.01);
}

.bento-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.bento-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bento-item:nth-child(1) .bento-img {
  aspect-ratio: 16/8;
}

.bento-item:nth-child(6) .bento-img {
  aspect-ratio: 21/6;
}

.bento-img>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-img>img {
  transform: scale(1.04);
}

.project-logo {
  position: absolute;
  bottom: 16px;
  left: 24px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.project-logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: none;
}

/* Placeholder gradient when no real image */
.bento-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.bento-meta {
  padding: 20px 24px 24px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 120, 164, 0.12);
  color: var(--uf-accent);
  border: 1px solid rgba(0, 120, 164, 0.2);
}

.tag-purple {
  background: rgba(90, 0, 204, 0.1);
  color: #9B5CF6;
  border-color: rgba(90, 0, 204, 0.2);
}

.tag-blue {
  background: rgba(0, 123, 255, 0.1);
  color: #60A5FA;
  border-color: rgba(0, 123, 255, 0.2);
}

.tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.2);
}

.bento-meta h3 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bento-client {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
       STATS STRIP
    ═══════════════════════════════════════════ */
#stats {
  background: var(--bg);
  padding: 64px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--uf-primary), #EC008C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
       FOUNDER
    ═══════════════════════════════════════════ */
#founder {
  background: var(--bg-2);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.founder-img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(135deg, var(--uf-primary), var(--uf-secondary), #140027);
  border-radius: calc(var(--radius-xl) + 2px);
}

.founder-img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
}

.founder-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

[data-theme="light"] .founder-badge {
  background: rgba(247, 249, 252, 0.85);
}

.founder-badge-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--uf-primary), var(--uf-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 800;
  color: white;
}

.founder-badge-text {
  line-height: 1.3;
}

.founder-badge-name {
  font-size: 13px;
  font-weight: 600;
}

.founder-badge-role {
  font-size: 11px;
  color: var(--text-muted);
}

.founder-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}

.founder-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.founder-shopify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.founder-shopify img {
  height: 20px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
       TECH PARTNERS
    ═══════════════════════════════════════════ */
#partners {
  background: var(--bg-2);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.partner-card:hover {
  border-color: #ffffff;
  background: #ffffff;
  transform: translateY(-3px);
}

.partner-card:hover h4,
.partner-card:hover p {
  color: #000000;
}

.partner-card.logo-light img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

[data-theme="dark"] .partner-card.logo-light img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.partner-card.logo-light:hover img,
.partner-card.logo-light.logo-revealed img {
  filter: brightness(0) invert(1) drop-shadow(1px 0 0 #222) drop-shadow(-1px 0 0 #222) drop-shadow(0 1px 0 #222) drop-shadow(0 -1px 0 #222);
  opacity: 1;
}

.partner-card img {
  height: 28px;
  width: auto;
  max-width: 120px;
  filter: grayscale(1);
  opacity: 0.45;
  transition: filter var(--transition), opacity var(--transition);
}

[data-theme="dark"] .partner-card img {
  filter: grayscale(1) invert(1);
}

.partner-card:hover img {
  filter: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════
       CONTACT
    ═══════════════════════════════════════════ */
#contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.form-input {
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  border-color: var(--uf-primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 164, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  background: var(--uf-dark);
  color: #F9F9F9;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--uf-primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 24px 0;
}

.footer-top {
  display: none;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  height: 32px;
  margin-bottom: 20px;
}

[data-theme="light"] .footer-brand .footer-logo {
  filter: invert(1) brightness(0.15);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--uf-primary);
  background: rgba(0, 120, 164, 0.1);
}

.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--uf-primary);
}

/* Big wordmark */
.footer-wordmark {
  text-align: center;
  padding: 40px 0;
  overflow: hidden;
  opacity: 0.1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.footer-wordmark:hover {
  opacity: 1;
}

.logo-footer-large {
  fill: var(--text);
  color: var(--text);
  transition: filter 0.6s ease;
}

.logo-footer-large path {
  transition: fill 0.4s ease;
}

.footer-wordmark:hover .logo-footer-large path {
  fill: url(#uf-logo-sweep);
}

.footer-wordmark:hover .logo-footer-large {
  filter: drop-shadow(0 0 18px rgba(236, 0, 140, 0.45));
}

.footer-wordmark span {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 160px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--border) 0%, var(--border) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

[data-theme="dark"] .footer-wordmark span {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .footer-wordmark span {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 28px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════════
       LEGAL MODALS
    ═══════════════════════════════════════════ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 24px;
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.legal-modal-inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  margin: auto;
}

.legal-modal.is-open .legal-modal-inner {
  transform: translateY(0);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-2);
  border-radius: 16px 16px 0 0;
  z-index: 1;
}

.legal-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.legal-modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.legal-modal-close:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-card-h);
}

.legal-modal-body {
  padding: 32px 36px 40px;
}

.legal-effective {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-modal-body h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 32px 0 10px;
}

.legal-modal-body h3:first-of-type {
  margin-top: 0;
}

.legal-modal-body p,
.legal-modal-body li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
}

.legal-modal-body li {
  margin-bottom: 6px;
}

.legal-modal-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal-body a:hover {
  opacity: 0.75;
}

@media (max-width: 600px) {
  .legal-modal {
    padding: 16px 12px;
  }
  .legal-modal-header,
  .legal-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ═══════════════════════════════════════════
       ANIMATIONS — REVEAL ON SCROLL
    ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════ */
@media (max-width: 900px) {

  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .bento-item:nth-child(1),
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5),
  .bento-item:nth-child(6) {
    grid-column: span 12;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .faq-grid,
  .audit-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }



  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .contact-info {
    display: contents;
  }

  .contact-text {
    order: 1;
  }

  .contact-form-wrap {
    order: 2;
    padding-bottom: 0;
    /* Remove the bottom padding on mobile as the image serves as the bottom */
  }

  .founder-image-container {
    order: 3;
    margin-top: 20px;
  }

  .audit-right {
    padding-top: 15%;
  }

  .audit-content {
    padding: 40px 24px;
    text-align: center;
  }

  .audit-visual {
    min-height: 300px;
  }

  .founder-merged {
    flex-direction: column;
    text-align: center;
  }

  .founder-merged img {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
       STRATEGIC UX & INDUSTRIES
    ═══════════════════════════════════════════ */
#strategy-ux {
  background: var(--bg);
  padding: 100px 24px;
}

.strategy-container {
  max-width: 1100px;
  margin: 0 auto;
}

.strategy-intro {
  margin-bottom: 64px;
}

.strategy-h2 {
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.1;
  font-family: var(--ff-display);
  font-weight: 700;
  max-width: 900px;
  margin-bottom: 48px;
}

.industry-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.industry-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.industry-tag:hover {
  background: var(--bg-card-h);
  border-color: var(--pillar-2);
  color: var(--text);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
       OUR METHODOLOGY — PILLARS
    ═══════════════════════════════════════════ */
#methodology {
  background: var(--bg-2);
  padding: 120px 24px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 24px;
}

.method-pillar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  height: max-content;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--pillar-color, var(--uf-primary));
}

.pillar-intro {
  padding: 0 4px 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.pillar-intro-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EC008C;
  margin-bottom: 10px;
}

.pillar-intro-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.pillar-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  pointer-events: none;
}

.pillar-number {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  max-width: 70%;
  line-height: 1.4;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  /* Prevent jagged artifacts during scale transitions in Safari/Chrome */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pillar-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  /* Ensure supreme stroke rendering quality */
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
}

/* Style attributes of the embedded SVGs */
.pillar-svg g {
  /* Disable hardcoded Figma drop shadows embedded in SVGs */
  filter: none !important;
}

.pillar-svg path[stroke] {
  stroke: var(--text-muted);
  transition: stroke var(--transition);
}

.pillar-card:hover .pillar-svg path[stroke] {
  stroke: var(--pillar-color) !important;
}

.pillar-main-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.pillar-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.4s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover .pillar-reveal {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
}

.pillar-card:hover {
  border-color: var(--pillar-color);
  box-shadow: 0 4px 40px -10px var(--pillar-color);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-reveal p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-tag {
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #3561b8;
}

/* Specific pillar colors */
.pillar-analysis {
  --pillar-color: var(--pillar-1);
}

.pillar-experience {
  --pillar-color: var(--pillar-2);
}

.pillar-growth {
  --pillar-color: var(--pillar-3);
}

/* ═══════════════════════════════════════════
       QUICK AUDIT
    ═══════════════════════════════════════════ */
#free-audit {
  padding: 140px 24px;
  background: var(--bg);
  overflow: hidden;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.audit-left .headline {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin-top: 12px;
}

.audit-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audit-animation-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Spirograph / Background Lines */
.audit-bg-lines {
  position: absolute;
  width: 130%;
  height: 130%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.bg-line-square {
  position: absolute;
  border-radius: 40px;
  width: 70%;
  height: 70%;
  transition: transform 0.2s ease-out;
  background: linear-gradient(130deg, #007BFF, #92278F, #EC008C);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.2px;
  /* Border thickness */
  opacity: 0.5;
}

/* Card Styling */
.audit-card-premium {
  position: relative;
  width: 340px;
  backdrop-filter: blur(20px);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(13, 18, 32, 0.95), rgba(13, 18, 32, 0.85)) padding-box,
    /* Inner color */
    linear-gradient(to right, #00C2FF, #92278F, #EC008C) border-box;
  /* Border gradient */
  border-radius: 32px;
  padding: 48px 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

[data-theme="light"] .audit-card-premium {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.audit-card-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Clock Styling */
.audit-clock-wrap {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.audit-clock {
  position: relative;
  width: 180px;
  height: 180px;
}

.audit-clock svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(0, 194, 255, 0.3));
}

.clock-face {
  fill: none;
  stroke: #00C2FF;
  stroke-width: 1.5;
  opacity: 0.8;
}

.hand {
  stroke: #00C2FF;
  stroke-width: 2.5;
  stroke-linecap: round;
  transform-origin: 50px 50px;
}

.clock-center {
  fill: #00C2FF;
}

.tick {
  stroke: #00C2FF;
  stroke-width: 2;
  opacity: 0.6;
}

.clock-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: #00C2FF;
  letter-spacing: 0.1em;
}

.clock-label.top {
  top: 15px;
}

.clock-label.bottom {
  bottom: 15px;
}

/* Info & Button */
.audit-card-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.audit-price {
  font-size: 16px;
  color: var(--text) !important;
  margin-bottom: 32px !important;
  line-height: 1.6;
}

.audit-price s {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 4px;
}

.audit-price small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-audit {
  background: #3561b8;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}

.btn-audit:hover {
  background: #254d9a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(53, 97, 184, 0.4);
}

/* ═══════════════════════════════════════════
       WHY US? — FAQS
    ═══════════════════════════════════════════ */
#faq {
  padding: 120px 24px;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(255, 255, 255, 0.01);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ── FAQ coloured outline + ripple ── */
.faq-item:nth-child(3n+1) { --faq-color: #007BFF; --faq-glow: rgba(0, 123, 255, 0.18); }
.faq-item:nth-child(3n+2) { --faq-color: #EC008C; --faq-glow: rgba(236, 0, 140, 0.18); }
.faq-item:nth-child(3n+0) { --faq-color: #9B5CF6; --faq-glow: rgba(155, 92, 246, 0.18); }

@keyframes faq-ripple {
  0%   { box-shadow: 0 0 0 10px var(--faq-glow), 0 0 0 2px var(--faq-color); border-color: var(--faq-color); }
  55%  { box-shadow: 0 0 0 0px transparent,       0 0 0 1px var(--faq-color); border-color: var(--faq-color); }
  100% { box-shadow: 0 0 14px var(--faq-glow),    0 0 0 1px var(--faq-color); border-color: var(--faq-color); }
}

.faq-item.visible {
  border-color: var(--faq-color);
  animation: faq-ripple 1s ease-out forwards;
}

.faq-item.reveal-delay-1.visible { animation-delay: 0.1s; }
.faq-item.reveal-delay-2.visible { animation-delay: 0.2s; }
.faq-item.reveal-delay-3.visible { animation-delay: 0.3s; }
.faq-item.reveal-delay-4.visible { animation-delay: 0.4s; }
.faq-item.reveal-delay-5.visible { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════
       LET'S TALK — MERGED
    ═══════════════════════════════════════════ */
#contact {
  padding: 120px 24px 0 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: end;
}

.contact-form-wrap {
  padding-bottom: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.founder-image-container {
  position: relative;
  display: flex;
  margin-top: auto;
  width: 100%;
}

.founder-flush-img {
  width: 100%;
  max-width: 500px;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

.founder-bio-badge {
  position: absolute;
  bottom: 32px;
  left: 24px;
  background: rgba(14, 18, 30, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  width: clamp(300px, 100%, 500px);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.founder-badge-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0055ff, #112266);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-badge-avatar img {
  width: 24px;
  height: auto;
}

.founder-bio-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fb-name {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.fb-role {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.fb-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
  line-height: 1;
  font-size: 12px;

}

.founder-bio-badge:hover .fb-expanded,
.founder-bio-badge:active .fb-expanded {
  max-height: 280px;
  opacity: 1;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .contact-layout {
    display: flex !important;
    flex-direction: column;
    gap: 40px;
  }

  .contact-info {
    display: contents !important;
  }

  .contact-text {
    order: 1;
  }

  .founder-image-container {
    order: 2;
    margin-top: 20px !important;
    width: 100%;
  }

  .contact-form-wrap {
    order: 3;
    padding-bottom: 0px !important;
    width: 100%;
  }

  .founder-bio-badge {
    bottom: 16px;
    left: 0;
  }

}


/* ═══════════════════════════════════════════
       PARTNER GRID UPDATES
    ═══════════════════════════════════════════ */
.partner-card {
  flex-direction: column;
  padding: 32px 24px;
  text-align: center;
}

.partner-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
  margin-top: 16px;
  font-weight: 600;
  opacity: 1;
  transition: color var(--transition);
}

.partner-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color var(--transition);
}

/* ═══════════════════════════════════════════
       METHODOLOGY MOBILE OVERRIDES
       (Moved to end to ensure precedence)
    ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .method-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .method-pillar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .pillar-intro {
    margin-bottom: 16px !important;
    flex-shrink: 0;
  }

  .pillar-cards {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    margin: 0 -24px !important;
    padding: 0 24px 24px 24px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .pillar-cards::-webkit-scrollbar {
    display: none !important;
  }

  .pillar-card {
    flex: 0 0 85vw !important;
    scroll-snap-align: start !important;
    min-width: 280px !important;
    margin-bottom: 0 !important;
    height: auto !important;
  }

  .pillar-reveal {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 16px !important;
    overflow: visible !important;
  }

  .audit-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-bottom {
    flex-direction: column;
  }

  #contact {
    padding-bottom: 40px;
  }

}

/* ═══════════════════════════════════════════
       PARTNERS GRID MOBILE — 2-row horizontal scroll
    ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .partners-grid {
    display: grid !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-template-columns: unset !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 62vw !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 24px !important;
    gap: 12px !important;
    margin: 0 -24px !important;
    padding: 0 24px 16px 24px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .partners-grid::-webkit-scrollbar {
    display: none !important;
  }

  .partner-card {
    scroll-snap-align: start !important;
    width: 100% !important;
  }
}