/* ============================================================
   PREMIUM PORTFOLIO — Muhammad Bilal Khan / The Content Drop
   ============================================================ */

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

/* ---- TOKENS ---- */
:root {
  --bg:          #04040b;
  --surface:     #080812;
  --surface-2:   #0d0d1e;
  --card-bg:     #0a0a18;
  --border:      rgba(255,255,255,0.06);
  --border-hi:   rgba(124,58,237,0.5);
  --accent:      #7c3aed;
  --accent-l:    #a78bfa;
  --accent-2:    #4f46e5;
  --gradient:    linear-gradient(135deg,#4f46e5 0%,#7c3aed 45%,#a855f7 100%);
  --glow:        rgba(124,58,237,0.35);
  --glow-sm:     rgba(124,58,237,0.18);
  --text:        #f8fafc;
  --text-2:      #e2e8f0;
  --muted:       #64748b;
  --muted-2:     #94a3b8;
  --radius:      20px;
  --radius-sm:   12px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --spring:      cubic-bezier(0.34,1.56,0.64,1);
  --font:        'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageIn .6s ease both;
}

@keyframes pageIn { from { opacity:0 } to { opacity:1 } }

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); }

/* Grain texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 1002;
  box-shadow: 0 0 10px var(--glow);
  transition: width .04s linear;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }
.section-alt { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 72px; }

.section-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-l);
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.22);
  padding: 6px 18px; border-radius: 100px;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: clamp(2.1rem,4.2vw,3rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.03em; margin-bottom: 16px;
}

.section-header p { color: var(--muted-2); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px;
  background: var(--gradient);
  color: #fff; border-radius: 100px;
  font-weight: 700; font-size: .9rem; border: none;
  position: relative; overflow: hidden;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease);
  will-change: transform;
}

/* shimmer sweep */
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transition: left .55s var(--ease);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 52px var(--glow); }
.btn-primary:hover::before { left: 150%; }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px;
  background: transparent; color: var(--text);
  border-radius: 100px; font-weight: 600; font-size: .9rem;
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color .25s var(--ease), color .25s var(--ease),
              background .25s var(--ease), transform .3s var(--spring);
  will-change: transform;
}

.btn-ghost:hover {
  border-color: var(--accent-l);
  color: var(--accent-l);
  background: rgba(124,58,237,.07);
  transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* Magnetic wrapper — JS adds inline translate */
.btn-magnetic { transition: transform .35s cubic-bezier(0.23,1,0.32,1),
                             box-shadow .3s var(--ease); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease);
}

#navbar.scrolled {
  background: rgba(4,4,11,.9);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1232px; margin: 0 auto; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .35s var(--ease);
}

#navbar.scrolled .nav-container { padding-top: 16px; padding-bottom: 16px; }

/* Default state — over lime green hero */
.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; color: #0a0a0a; }
.logo span { color: #0a0a0a; -webkit-text-fill-color: #0a0a0a; }
.logo-img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a { font-size: .86rem; font-weight: 500; color: rgba(0,0,0,.55); transition: color .2s var(--ease); }
.nav-links a:not(.nav-cta):hover { color: #0a0a0a; }

.nav-links a.nav-cta {
  padding: 10px 24px;
  background: #0a0a0a; color: #c5ef75;
  border-radius: 100px; font-weight: 700;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); opacity: .88; }

/* Scrolled state — over dark sections */
#navbar.scrolled .logo { color: var(--text); }
#navbar.scrolled .logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#navbar.scrolled .nav-links a:not(.nav-cta) { color: var(--muted-2); }
#navbar.scrolled .nav-links a:not(.nav-cta):hover { color: var(--text); }
#navbar.scrolled .nav-links a.nav-cta { background: #c5ef75; color: #0a0a0a; }
#navbar.scrolled .nav-links a.nav-cta:hover { opacity: 1; box-shadow: 0 10px 28px rgba(197,239,117,.35); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #0a0a0a; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid var(--border);
  background: rgba(4,4,11,.97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  padding: 8px 0 24px;
}
.mobile-menu a { padding: 15px 28px; font-size: .95rem; font-weight: 500; color: var(--muted-2); transition: color .2s, background .2s; }
.mobile-menu a:hover { color: var(--text); background: rgba(124,58,237,.06); }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
#hero {
  background: #c5ef75;
  overflow: hidden;
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: stretch;
  gap: 28px;
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 140px 28px 0;
}

.hero-headline, .hero-desc { max-width: 620px; }

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-photo {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  margin-bottom: 0;
}

.hero-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.name-sm {
  font-size: .95rem;
  font-weight: 400;
  color: #1a1a1a;
}

.name-lg {
  font-size: 1.5rem;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -.03em;
}

.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 48px;
}

.hero-headline {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: #1a1a1a;
  letter-spacing: -.03em;
  margin-bottom: 28px;
}

.hero-headline strong {
  font-weight: 900;
  color: #050505;
}

.hero-desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.hero-desc p {
  font-size: .9rem;
  line-height: 1.65;
  color: #2d2d2d;
  max-width: 440px;
}

.btn-letstalk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border: 2.5px solid #0a0a0a;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0a0a0a;
  width: fit-content;
  background: linear-gradient(to right, #0a0a0a 50%, transparent 50%);
  background-size: 201% 100%;
  background-position: 100% center;
  transition: background-position .42s cubic-bezier(.4,0,.2,1), color .42s, transform .2s var(--spring);
}

.btn-letstalk:hover {
  background-position: 0% center;
  color: #c5ef75;
}
.btn-letstalk:active { transform: scale(.96); }

.hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: 2.5px solid #0a0a0a;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: transparent;
  transition: background .28s, color .28s, transform .2s var(--spring);
}
.btn-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; transform: translateY(-2px); }
.btn-whatsapp:active { transform: scale(.96); }

@keyframes slideUpFade { from { opacity:0; transform:translateY(28px) } to { opacity:1; transform:none } }

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.quote-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px clamp(24px,5vw,80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-strip p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.4;
}

.qs-dot { color: #c5ef75; font-weight: 900; }
.qs-accent { color: #c5ef75; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex; align-items: center;
  justify-content: center;
}

.stat-item { flex: 1; text-align: center; padding: 16px 32px; }

.stat-number {
  font-size: clamp(2.8rem,5.5vw,4.2rem);
  font-weight: 900; line-height: 1;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.stat-label { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.stat-divider { width: 1px; height: 64px; background: var(--border); flex-shrink: 0; }

/* ============================================================
   SERVICES BENTO
   ============================================================ */
.services-bento {
  background: var(--bg);
  padding: 80px 0;
}

/* Wider container so 4 columns land at ~282px like the reference */
.services-bento > .container { max-width: 1232px; }

.bento-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -.03em;
  margin-bottom: 36px;
}

.bento-title strong { font-weight: 900; color: #c5ef75; }

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

/* Grid placement — matches reference exactly */
.bi-1        { grid-column: 1 / 3; grid-row: 1; }       /* seminar image — wide landscape */
.bc-creative { grid-column: 3;     grid-row: 1; }       /* "Move deals" — portrait */
.bc-video    { grid-column: 4;     grid-row: 1 / 3; }   /* "Turn consistency" — tall portrait */
.bc-social   { grid-column: 1;     grid-row: 2 / 4; }   /* "Create momentum" — tall portrait */
.bc-landing  { grid-column: 2 / 4; grid-row: 2; }       /* "Adopt strategies" — WIDE landscape */
.bi-2        { grid-column: 2 / 5; grid-row: 3; }       /* auditorium image — wide landscape */

.bento-card {
  background: #3e3e3e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.bento-card:hover {
  border-color: rgba(197,239,117,.5);
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(197,239,117,.1);
}

.bento-card-title {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
}

.bento-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-top: auto;
  padding-top: 24px;
  max-width: 90%;
}

/* Photo slots */
.bento-img {
  border-radius: 16px;
  overflow: hidden;
  background: #2a2a2a;
}

.bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bi-1 { background: #2a2a2a; }
.bi-2 { background: #2a2a2a; }

.bento-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bento-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.bento-cta .btn-letstalk {
  background: linear-gradient(to right, #c5ef75 50%, #1a1a1a 50%);
  background-size: 201% 100%;
  background-position: 100% center;
  border-color: rgba(255,255,255,.2);
  color: #ffffff;
  padding: 18px 52px;
  font-size: .82rem;
}

.bento-cta .btn-letstalk:hover {
  background-position: 0% center;
  border-color: #c5ef75;
  color: #0a0a0a;
}

/* ============================================================
   WHY ME — CREATIVE SPLIT
   ============================================================ */
.why-section {
  background: #0a0a0a;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Giant background watermark */
.why-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(160px, 28vw, 320px);
  font-weight: 900;
  color: rgba(255,255,255,.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
  white-space: nowrap;
  z-index: 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* LEFT — sticky title */
.why-left {
  position: sticky;
  top: 120px;
}

.why-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c5ef75;
  margin-bottom: 20px;
}

.why-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -.04em;
}

.why-accent {
  font-weight: 900;
  color: #c5ef75;
}

/* RIGHT — checklist */
.why-right {
  display: flex;
  flex-direction: column;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  transition: padding-left .3s var(--ease);
}

.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #c5ef75;
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.why-item:hover { padding-left: 18px; }
.why-item:hover::before { width: 3px; }

.why-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }

.why-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #c5ef75;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  margin-top: 2px;
  transition: transform .3s var(--spring), box-shadow .3s ease;
}
.why-item:hover .why-check {
  transform: scale(1.2);
  box-shadow: 0 0 0 7px rgba(197,239,117,.12);
}

.why-item p {
  font-size: .92rem;
  line-height: 1.72;
  color: rgba(255,255,255,.75);
}

/* ============================================================
   PORTFOLIO WORK SCROLL
   ============================================================ */
.work-section {
  padding: 100px 0;
}

.work-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.work-left {
  flex: 0 0 340px;
}

.work-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c5ef75;
  margin-bottom: 12px;
}

.work-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.work-accent { color: #c5ef75; }

.work-desc {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.work-right {
  flex: 1;
  display: flex;
  gap: 10px;
  height: 520px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.work-col { flex: 1; overflow: hidden; }
.work-col-down .work-track { animation-direction: reverse; }

.work-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: workUp var(--dur, 24s) var(--delay, 0s) linear infinite;
}

@keyframes workUp {
  to { transform: translateY(-50%); }
}

.work-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder colours — replace with real images */
.wc-a { background: linear-gradient(145deg, #3d2b6b 0%, #c5ef75 100%); }
.wc-b { background: linear-gradient(145deg, #1a3a2a 0%, #4ecb71 100%); }
.wc-c { background: linear-gradient(145deg, #6b2b2b 0%, #e8734a 100%); }
.wc-d { background: linear-gradient(145deg, #1a2e5c 0%, #4a8fe8 100%); }
.wc-e { background: linear-gradient(145deg, #5c4a1a 0%, #e8c84a 100%); }
.wc-f { background: linear-gradient(145deg, #2b1a5c 0%, #7b4ae8 100%); }
.wc-g { background: linear-gradient(145deg, #5c1a4a 0%, #e84aac 100%); }
.wc-h { background: linear-gradient(145deg, #1a5c2b 0%, #4ae86b 100%); }
.wc-i { background: linear-gradient(145deg, #5c2b1a 0%, #e86b4a 100%); }
.wc-j { background: linear-gradient(145deg, #1a5c5c 0%, #4ae8e8 100%); }

@media (max-width: 1024px) {
  .work-inner { gap: 40px; padding: 0 24px; }
  .work-left { flex: 0 0 280px; }
}

@media (max-width: 768px) {
  .work-section { padding: 60px 0; }
  .work-inner { flex-direction: column; gap: 40px; padding: 0 24px; }
  .work-left { flex: none; width: 100%; }
  .work-right { width: 100%; height: 400px; }
}

@media (max-width: 480px) {
  .work-right { height: 340px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-section {
  background: #0a0a0a;
  padding: 100px 0 90px;
  overflow: hidden;
}

.testi-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -.03em;
  margin-bottom: 64px;
}

.testi-accent {
  font-weight: 900;
  color: #c5ef75;
}

/* Track — clips slides */
.testi-track {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

/* Individual slide */
.testi-slide {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}

.testi-slide.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testi-slide.exit {
  opacity: 0;
  transform: translateX(-60px);
}

/* Large opening quote */
.testi-open-quote {
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: .7;
  color: rgba(197,239,117,.25);
  margin-bottom: 18px;
  display: block;
  text-align: center;
}

/* Quote body */
.testi-body {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.8;
  color: rgba(255,255,255,.78);
  font-weight: 300;
  font-style: italic;
  max-width: 860px;
  margin-bottom: 44px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Footer: author left, nav arrows right */
.testi-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #c5ef75;
  color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .01em;
}

.testi-role {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

/* Navigation arrows */
.testi-nav {
  display: flex;
  gap: 10px;
}

.testi-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  background: transparent;
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .22s ease, color .22s ease, background .22s ease, transform .2s var(--spring);
  cursor: pointer;
  flex-shrink: 0;
}

.testi-btn:hover {
  border-color: #c5ef75;
  color: #c5ef75;
  background: rgba(197,239,117,.07);
  transform: scale(1.1);
}
.testi-btn:active { transform: scale(.93); }

/* Dot indicators */
.testi-dots {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background .25s ease, transform .25s ease;
}
.testi-dot::after {
  content: '';
  position: absolute;
  inset: -14px;
}

.testi-dot.active {
  background: #c5ef75;
  transform: scale(1.3);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: #000000;
  padding: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

/* LEFT */
.contact-left {
  padding: 80px 64px 80px max(64px, calc((100vw - 1232px) / 2 + 28px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-eyebrow {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: #c5ef75;
  margin-bottom: 18px;
}

.contact-heading {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: #ffffff;
  letter-spacing: -.03em;
  margin-bottom: 36px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: auto;
  transition: color .2s;
}

.contact-email-link:hover { color: #c5ef75; }

/* LinkedIn newsletter */
.li-newsletter { margin-top: 32px; margin-bottom: 36px; }

.li-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #0A66C2;
  color: #ffffff !important;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: .02em;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
  text-decoration: none !important;
}

.li-subscribe-btn:hover {
  background: #0958a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,102,194,.35);
}

.contact-brand {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  margin-top: 48px;
}

/* RIGHT: white card */
.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  margin: 40px 56px 40px 0;
  align-self: center;
  max-width: 480px;
  width: 100%;
}

/* Form fields */
.cf-group { margin-bottom: 12px; }

.cf-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.cf-input {
  width: 100%;
  background: #f0f0f0;
  border: none;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: .875rem;
  font-family: var(--font);
  color: #1a1a1a;
  outline: none;
  transition: background .2s, box-shadow .2s;
  resize: none;
}

.cf-input:focus {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px rgba(197,239,117,.7);
}

.cf-textarea { min-height: 88px; }

/* Phone row: code box + input */
.cf-phone-row {
  display: flex;
  gap: 7px;
}

.cf-code-wrap { position: relative; flex-shrink: 0; }

.cf-code {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0f0f0;
  border: none;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: .875rem;
  font-family: var(--font);
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  width: 108px;
  cursor: pointer;
  outline: none;
  transition: background .2s, box-shadow .2s;
}
.cf-code:focus,
.cf-code[aria-expanded="true"] {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px rgba(197,239,117,.7);
}
.cf-code svg { transition: transform .2s; flex-shrink: 0; opacity: .55; }
.cf-code[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown panel */
.cf-code-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 272px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  z-index: 300;
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.cf-code-panel.open { display: flex; }

.cf-code-search {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid #ebebeb;
  font-size: .85rem;
  font-family: var(--font);
  color: #1a1a1a;
  background: #f8f8f8;
  outline: none;
  flex-shrink: 0;
}
.cf-code-search::placeholder { color: #bbb; }

.cf-code-list {
  list-style: none;
  max-height: 224px;
  overflow-y: auto;
  padding: 4px 0;
  scroll-behavior: smooth;
}
.cf-code-list::-webkit-scrollbar { width: 3px; }
.cf-code-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.cf-code-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .1s;
}
.cf-code-item:hover { background: #f5fde8; }
.cf-code-item.active { background: rgba(197,239,117,.45); }

.ci-flag { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }
.ci-name { flex: 1; font-size: .78rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-dial { font-size: .8rem; font-weight: 700; color: #1a1a1a; flex-shrink: 0; }

.cf-code-empty { padding: 16px; text-align: center; font-size: .82rem; color: #bbb; }

.cf-phone { flex: 1; }

/* Submit button */
.cf-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: #c5ef75;
  border: none;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font);
  color: #1a1a1a;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .22s ease, transform .2s var(--spring), box-shadow .22s ease;
  margin-top: 4px;
}

.cf-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .55s ease;
}

.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,239,117,.4); }
.cf-submit:hover::before { left: 150%; }
.cf-submit:active { transform: scale(.97); box-shadow: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 28px 40px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-label {
  font-size: .9rem;
  font-weight: 500;
  color: #c5ef75;
  white-space: nowrap;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  background: linear-gradient(to right, #c5ef75 50%, transparent 50%);
  background-size: 201% 100%;
  background-position: 100% center;
  transition: background-position .38s cubic-bezier(.4,0,.2,1), border-color .38s, color .38s, transform .2s var(--spring);
}

.footer-pill:hover {
  background-position: 0% center;
  border-color: #c5ef75;
  color: #0a0a0a;
  transform: translateY(-2px);
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px;
  text-align: center;
}

.footer-copy p { font-size: .7rem; color: rgba(255,255,255,.2); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 6% 0 round 16px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), clip-path .75s var(--ease);
}
[data-animate].visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0% 0 round 16px);
}


/* Stagger: stats */
.stats-grid .stat-item:nth-child(1) { transition-delay: .0s; }
.stats-grid .stat-item:nth-child(2) { transition-delay: .1s; }
.stats-grid .stat-item:nth-child(3) { transition-delay: .2s; }
.stats-grid .stat-item:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- Tablet / small laptop ---- */
@media (max-width: 1024px) {
  .section { padding: 90px 0; }

  /* Hero */
  .hero-inner { gap: 24px; padding-top: 130px; }
  .hero-photo { max-width: 460px; }

  /* Bento → 2 columns, auto height */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(240px, auto);
  }
  .bi-1, .bc-creative, .bc-video, .bc-social, .bc-landing, .bi-2 {
    grid-column: auto;
    grid-row: auto;
  }

  /* Why → tighter gap */
  .why-inner { gap: 48px; }
}

/* ---- Large phone / portrait tablet ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section   { padding: 72px 0; }

  /* Hero → stack, image below text */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 110px 24px 0;
    gap: 0;
  }
  .hero-left     { padding-bottom: 32px; }
  .hero-headline { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-right    { justify-content: center; }
  .hero-photo    { max-width: 100%; margin: 0 auto; }

  /* Bento → 1 column */
  .bento-grid  { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); }
  .bento-title { margin-bottom: 28px; }

  /* Why → 1 column, drop sticky */
  .why-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-left  { position: static; top: auto; }

  /* Testimonials */
  .testi-title  { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 32px; }
  .testi-body   { font-size: 1rem; margin-bottom: 28px; }
  .testi-footer { flex-direction: column; align-items: center; gap: 20px; }
  .testi-track  { min-height: auto; }

  /* Hero photo — cap height so portrait image doesn't dominate on mobile */
  .hero-right  { max-height: 380px; overflow: hidden; }
  .hero-photo  { max-height: 380px; }

  /* Contact → stack */
  .contact-layout  { grid-template-columns: 1fr; }
  .contact-left    { padding: 52px 24px 28px; justify-content: flex-start; gap: 16px; }
  .contact-heading { font-size: clamp(3rem, 12vw, 4.5rem); margin-bottom: 0; }
  .contact-brand   { margin-top: 8px; }
  .contact-card    { margin: 0 16px 48px; padding: 24px 20px; max-width: none; width: calc(100% - 32px); }
  .cf-input        { font-size: 16px; }
  .cf-code         { font-size: 16px; }
  .cf-submit       { padding: 14px; font-size: 1rem; }

  /* Footer → wrap pills */
  .footer-bar  { gap: 16px 24px; padding: 24px; flex-wrap: wrap; justify-content: center; }
  .footer-item { gap: 10px; }
}

/* ---- Phone ---- */
@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero-inner    { padding: 100px 20px 0; }
  .hero-headline { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .hero-desc p   { font-size: .88rem; }
  .name-lg       { font-size: 1.2rem; }
  .hero-right    { max-height: 300px; }
  .hero-photo    { max-width: 100%; max-height: 300px; }
  .cf-code       { width: 108px; }

  .bento-title      { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .bento-card       { padding: 24px 20px; }
  .bento-card-title { font-size: 1.45rem; }

  .why-title   { font-size: clamp(2rem, 9vw, 2.6rem); }
  .testi-title { font-size: clamp(2rem, 9vw, 2.6rem); }

  .contact-left    { padding: 44px 20px 24px; }
  .contact-heading { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .contact-card    { margin: 0 16px 40px; padding: 22px 18px; }

  .footer-bar  { gap: 10px; flex-direction: row; justify-content: center; flex-wrap: wrap; padding: 24px 16px; }
  .footer-label { display: none; }
  .footer-item  { gap: 0; }
  .footer-pill  { font-size: .8rem; padding: 8px 18px; }
}

/* ============================================================
   HERO ENTRANCE ANIMATIONS
   ============================================================ */
#hero .hero-name    { animation: hIn .85s cubic-bezier(.16,1,.3,1) .08s both; }
#hero .hero-desc    { animation: hIn .85s cubic-bezier(.16,1,.3,1) .42s both; }
#hero .hero-btns { animation: hIn .85s cubic-bezier(.16,1,.3,1) .58s both; }
.hero-right         { animation: hRight 1.1s cubic-bezier(.16,1,.3,1) .12s both; }

@keyframes hIn {
  from { opacity:0; transform:translateY(32px); filter:blur(5px); }
  to   { opacity:1; transform:none; filter:none; }
}
@keyframes hRight {
  from { opacity:0; transform:translateX(56px); }
  to   { opacity:1; transform:none; }
}

/* Hero headline — each line staggered via .hl spans (JS) */
.hl {
  display: inline-block;
  animation: hlIn .8s cubic-bezier(.16,1,.3,1) calc(.2s + var(--i,0) * .16s) both;
}
@keyframes hlIn {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:none; }
}



/* ============================================================
   BENTO — STAGGER + ENHANCED HOVER
   ============================================================ */
.bento-grid > *:nth-child(1) { transition-delay:.04s; }
.bento-grid > *:nth-child(2) { transition-delay:.12s; }
.bento-grid > *:nth-child(3) { transition-delay:.20s; }
.bento-grid > *:nth-child(4) { transition-delay:.28s; }
.bento-grid > *:nth-child(5) { transition-delay:.36s; }
.bento-grid > *:nth-child(6) { transition-delay:.44s; }

/* ============================================================
   WHY ITEMS — STAGGER
   ============================================================ */
.why-item:nth-child(1) { transition-delay:.03s; }
.why-item:nth-child(2) { transition-delay:.10s; }
.why-item:nth-child(3) { transition-delay:.17s; }
.why-item:nth-child(4) { transition-delay:.24s; }
.why-item:nth-child(5) { transition-delay:.31s; }
.why-item:nth-child(6) { transition-delay:.38s; }


/* ============================================================
   PRINT / PDF EXPORT  (one continuous desktop-width page)
   ============================================================ */
@media print {
  @page { size: 1280px 6620px; margin: 0; }

  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  html { height: 100% !important; }
  html, body { width: 1280px !important; background: var(--bg) !important; }
  body { animation: none !important; }

  /* hide floating chrome */
  #navbar, #scroll-progress, #hamburger, .mobile-menu { display: none !important; }

  /* force scroll-reveal content to be fully visible */
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
