@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;900&display=swap');

:root {
  --ink: #0a0d17;
  --paper: #f5f2ec;
  --accent: #2952e3;
  --accent2: #e84b1e;
  --accent3: #16a34a;
  --muted: #5a6478;
  --card: #ffffff;
  --border: rgba(10,13,23,0.1);
  --mono: 'Plus Jakarta Sans', sans-serif;
  --display: 'Plus Jakarta Sans', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
  --radius: 16px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--body); background:var(--paper); color:var(--ink); overflow-x:hidden; }

body::before {
  content:''; position:fixed; inset:0; z-index:9999; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='https://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity:0.3; mix-blend-mode:multiply;
}

/* ── NAV ── */
#mainNav {
  position:fixed; top:0; left:0; right:0; z-index:900;
  background:rgba(245,242,236,0.93); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border); transition:box-shadow 0.3s;
}
#mainNav.scrolled { box-shadow:0 2px 30px rgba(0,0,0,0.08); }
.navbar-brand {
  font-family:var(--display); font-size:1.1rem; font-weight:700;
  letter-spacing:0.01em; color:var(--ink)!important;
}
.navbar-brand em { color:var(--accent); font-style:italic; font-size:0.75rem; font-family:var(--mono); letter-spacing:0.08em; }
.nav-link {
  font-family:var(--mono); font-size:0.7rem!important; letter-spacing:0.1em!important;
  text-transform:uppercase!important; color:var(--muted)!important;
  padding:0.4rem 0.85rem!important; border-radius:6px; transition:all 0.2s!important;
}
.nav-link:hover, .nav-link.active { color:var(--accent)!important; background:rgba(41,82,227,0.07)!important; }
.btn-hire {
  font-family:var(--mono); font-size:0.7rem; letter-spacing:0.1em;
  background:var(--ink); color:var(--paper); border-radius:8px;
  padding:0.5rem 1.2rem; text-decoration:none; transition:all 0.2s; border:1px solid var(--ink);
}
.btn-hire:hover { background:var(--accent); border-color:var(--accent); color:#fff; }

/* ── HERO ── */
#hero {
  min-height:100vh; padding-top:72px; position:relative; overflow:hidden;
  background:var(--paper);
}
.hero-lines {
  position:absolute; inset:0; z-index:0;
  background-image: repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(10,13,23,0.04) 79px,rgba(10,13,23,0.04) 80px);
}
.hero-strip {
  position:absolute; right:-80px; top:0; bottom:0; width:44%; z-index:0;
  background:linear-gradient(175deg,rgba(41,82,227,0.06) 0%,rgba(41,82,227,0.02) 60%,transparent 100%);
  clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);
}
.hero-circle {
  position:absolute; bottom:-120px; right:5%; width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle at 40% 40%,rgba(41,82,227,0.1),transparent 70%);
  z-index:0;
}
.hero-inner { position:relative; z-index:1; padding:80px 0 60px; }

.eyebrow-pill {
  display:inline-flex; align-items:center; gap:0.6rem;
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.16em; color:var(--accent);
  background:rgba(41,82,227,0.08); border:1px solid rgba(41,82,227,0.2);
  border-radius:100px; padding:0.35rem 0.9rem; margin-bottom:1.75rem;
}
.eyebrow-pill .dot { width:6px; height:6px; border-radius:50%; background:var(--accent); animation:pulse 1.6s ease infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:.5} }

.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-headline .name-first { color: var(--ink); }
.hero-headline .name-last {
  -webkit-text-stroke: 0;
  color: var(--accent);
  display: inline;
}
.hero-headline .tagline-word {
  display: block; font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em;
  color: var(--muted); margin-top: 0.75rem; -webkit-text-stroke: 0;
}
.hero-row { min-height: 88vh; }

.passion-statement {
  max-width:520px; font-size:1rem; color:var(--muted); line-height:1.8;
  margin-bottom:2.25rem; border-left:3px solid var(--accent); padding-left:1.1rem;
}

.love-tags { display:flex; flex-wrap:wrap; gap:0.45rem; margin-bottom:2.5rem; }
.love-tag {
  font-family:var(--mono); font-size:0.65rem; letter-spacing:0.04em;
  background:#fff; border:1px solid var(--border);
  padding:0.28rem 0.7rem; border-radius:6px; color:var(--ink);
  transition:all 0.2s; cursor:default;
}
.love-tag:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-1px); }

.hero-cta { display:flex; gap:1rem; flex-wrap:wrap; }
.btn-solid {
  font-family:var(--mono); font-size:0.75rem; letter-spacing:0.08em;
  background:var(--ink); color:var(--paper); border:none;
  border-radius:10px; padding:0.8rem 1.8rem; text-decoration:none;
  display:inline-flex; align-items:center; gap:0.5rem;
  transition:all 0.25s; cursor:pointer;
}
.btn-solid:hover { background:var(--accent); color:#fff; transform:translateY(-2px); box-shadow:0 10px 28px rgba(41,82,227,0.3); }
.btn-ghost {
  font-family:var(--mono); font-size:0.75rem; letter-spacing:0.08em;
  background:transparent; color:var(--ink);
  border:1.5px solid var(--border); border-radius:10px; padding:0.8rem 1.8rem;
  text-decoration:none; display:inline-flex; align-items:center; gap:0.5rem;
  transition:all 0.25s; cursor:pointer;
}
.btn-ghost:hover { border-color:var(--accent); color:var(--accent); }

/* hero photo */
.hero-photo-col { display:flex; justify-content:center; align-items:center; }
.photo-frame { position:relative; width:340px; height:380px; }
.photo-bg-shape {
  position:absolute; inset:0; border-radius:40% 60% 55% 45% / 45% 40% 60% 55%;
  background:linear-gradient(135deg,rgba(41,82,227,0.13),rgba(41,82,227,0.04));
  animation:morph 8s ease infinite;
}
@keyframes morph {
  0%,100%{border-radius:40% 60% 55% 45% / 45% 40% 60% 55%;}
  33%{border-radius:55% 45% 40% 60% / 60% 55% 45% 40%;}
  66%{border-radius:45% 55% 60% 40% / 40% 60% 55% 45%;}
}
.photo-avatar {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:260px; height:260px; border-radius:50%;
  background:linear-gradient(135deg,#dbe4ff,#c5d3ff);
  border:5px solid #fff; box-shadow:0 20px 60px rgba(0,0,0,0.12);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:4.5rem; font-weight:900;
  color:var(--accent); letter-spacing:-0.02em; user-select:none;
}
.photo-badge {
  position:absolute; background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:0.6rem 1rem; box-shadow:0 6px 24px rgba(0,0,0,0.09);
}
.photo-badge .num { font-family:var(--display); font-size:1.5rem; font-weight:900; color:var(--accent); }
.photo-badge .lbl { font-size:0.64rem; color:var(--muted); white-space:nowrap; font-family:var(--mono); }
.badge-tl { top:10px; left:-10px; }
.badge-br { bottom:30px; right:-15px; }

.scroll-cue {
  display:flex; align-items:center; gap:0.6rem;
  font-family:var(--mono); font-size:0.65rem; letter-spacing:0.12em; color:var(--muted);
  margin-top:3rem;
}
.scroll-line { width:40px; height:1px; background:var(--muted); }

/* ── STATS BAND ── */
.stats-band {
  background:#fff; padding:60px 0;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.stat-item { text-align:center; }
.stat-num { font-family:var(--display); font-size:3rem; font-weight:900; color:var(--accent); line-height:1; }
.stat-lbl { font-family:var(--mono); font-size:0.65rem; letter-spacing:0.12em; color:var(--muted); margin-top:0.4rem; }

/* ── PASSION SECTION ── */
.passions-section {
  padding:100px 0 80px; background:var(--ink); position:relative; overflow:hidden;
}
.passions-section::before {
  content:''; position:absolute; top:-2px; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent2),var(--accent3),var(--accent));
}
.passions-eyebrow { font-family:var(--mono); font-size:0.65rem; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.35); margin-bottom:0.5rem; }
.passions-title { font-family:var(--display); font-size:clamp(2rem,4vw,3.2rem); font-weight:900; color:#fff; line-height:1.08; margin-bottom:0.75rem; }
.passions-sub { color:rgba(255,255,255,0.45); font-size:0.9rem; line-height:1.75; max-width:560px; }

.passion-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius); padding:1.75rem; height:100%;
  transition:all 0.3s; cursor:default; position:relative; overflow:hidden;
}
.passion-card::before {
  content:''; position:absolute; inset:0; border-radius:var(--radius);
  background:linear-gradient(135deg,rgba(41,82,227,0.08),transparent);
  opacity:0; transition:opacity 0.3s;
}
.passion-card:hover { border-color:rgba(41,82,227,0.4); transform:translateY(-4px); }
.passion-card:hover::before { opacity:1; }
.passion-num { font-family:var(--mono); font-size:0.62rem; letter-spacing:0.15em; color:rgba(255,255,255,0.2); margin-bottom:1.25rem; }
.passion-icon-wrap { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:1rem; }
.passion-name { font-family:var(--display); font-weight:700; font-size:1rem; color:#fff; margin-bottom:0.5rem; }
.passion-desc { font-size:0.82rem; color:rgba(255,255,255,0.45); line-height:1.65; margin-bottom:1rem; }
.passion-chips { display:flex; flex-wrap:wrap; gap:0.3rem; }
.pchip { font-family:var(--mono); font-size:0.6rem; letter-spacing:0.05em; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.5); padding:0.2rem 0.5rem; border-radius:5px; }

/* ── SECTION COMMON ── */
.sec-wrap { padding:90px 0 60px; }
.sec-eyebrow { font-family:var(--mono); font-size:0.65rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--accent); margin-bottom:0.5rem; }
.sec-title { font-family:var(--display); font-size:clamp(1.9rem,4vw,2.8rem); font-weight:900; line-height:1.08; margin-bottom:1rem; }
.sec-desc { color:var(--muted); max-width:560px; line-height:1.75; font-size:0.95rem; }

/* ── SKILL CARDS ── */
.skill-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:1.75rem; transition:all 0.25s; height:100%;
}
.skill-card:hover { transform:translateY(-4px); box-shadow:0 14px 44px rgba(0,0,0,0.08); border-color:rgba(41,82,227,0.22); }
.sk-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:1rem; }
.sk-title { font-family:var(--display); font-weight:700; font-size:0.98rem; margin-bottom:0.4rem; }
.sk-desc { font-size:0.82rem; color:var(--muted); line-height:1.65; margin-bottom:1rem; }
.sk-tags { display:flex; flex-wrap:wrap; gap:0.3rem; }
.stag { font-family:var(--mono); font-size:0.6rem; background:var(--paper); border:1px solid var(--border); padding:0.18rem 0.5rem; border-radius:5px; color:var(--ink); }

/* ── EXPERIENCE ── */
.exp-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:1.75rem 2rem; margin-bottom:1.25rem; position:relative; transition:all 0.2s;
}
.exp-card:hover { box-shadow:0 8px 32px rgba(0,0,0,0.07); border-color:rgba(41,82,227,0.2); }
.exp-card::before { content:''; position:absolute; left:0; top:1.5rem; bottom:1.5rem; width:3px; background:var(--accent); border-radius:0 3px 3px 0; opacity:0; transition:opacity 0.2s; }
.exp-card:hover::before { opacity:1; }
.exp-date { font-family:var(--mono); font-size:0.65rem; color:var(--accent); background:rgba(41,82,227,0.07); padding:0.25rem 0.65rem; border-radius:6px; display:inline-block; margin-bottom:0.75rem; }
.exp-title { font-family:var(--display); font-weight:700; font-size:1.05rem; margin-bottom:0.2rem; }
.exp-company { font-size:0.85rem; color:var(--accent); font-weight:600; margin-bottom:0.2rem; }
.exp-location { font-size:0.78rem; color:var(--muted); margin-bottom:0.75rem; }
.exp-bullets { list-style:none; }
.exp-bullets li { font-size:0.84rem; color:#374151; line-height:1.7; padding:0.18rem 0 0.18rem 1.1rem; position:relative; }
.exp-bullets li::before { content:'→'; position:absolute; left:0; color:var(--accent); font-size:0.75rem; }
.tl-dot { width:12px; height:12px; border-radius:50%; background:var(--accent); border:2px solid var(--paper); box-shadow:0 0 0 2px var(--accent); flex-shrink:0; margin-top:6px; }
.tl-line { width:2px; background:var(--border); flex:1; min-height:28px; }
.tl-conn { display:flex; flex-direction:column; align-items:center; margin-right:1.25rem; }
.tl-spacer { margin-left:30px; height:18px; border-left:2px solid var(--border); }

/* ── PROJECTS ── */
.proj-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; transition:all 0.28s; height:100%; display:flex; flex-direction:column;
}
.proj-card:hover { transform:translateY(-5px); box-shadow:0 16px 50px rgba(0,0,0,0.1); border-color:rgba(41,82,227,0.25); }
.proj-gallery { position:relative; height:200px; overflow:hidden; background:#e8ecf5; flex-shrink:0; }
.proj-gallery img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 0.55s ease; }
.proj-gallery img.active { opacity:1; }
.gallery-dots { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); display:flex; gap:4px; z-index:2; }
.gdot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.5); cursor:pointer; transition:all 0.2s; border:none; padding:0; }
.gdot.active { background:#fff; width:14px; border-radius:3px; }
.gallery-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.85); border:none; border-radius:50%; width:28px; height:28px; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; font-size:0.7rem; color:var(--ink); transition:all 0.2s; box-shadow:0 2px 8px rgba(0,0,0,0.15); }
.gallery-nav:hover { background:#fff; transform:translateY(-50%) scale(1.1); }
.gallery-nav.prev { left:8px; }
.gallery-nav.next { right:8px; }
.gallery-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#dce4ff,#c8d4f8); font-family:var(--display); font-size:2.5rem; font-weight:900; color:rgba(41,82,227,0.25); }
.proj-body { padding:1.4rem; flex:1; display:flex; flex-direction:column; }
.proj-type { font-family:var(--mono); font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; padding:0.22rem 0.55rem; border-radius:5px; display:inline-block; margin-bottom:0.65rem; }
.proj-name { font-family:var(--display); font-weight:700; font-size:0.98rem; margin-bottom:0.35rem; }
.proj-desc { font-size:0.8rem; color:var(--muted); line-height:1.65; flex:1; }
.proj-tags { display:flex; flex-wrap:wrap; gap:0.3rem; margin-top:0.85rem; }

.proj-filter-btn { font-family:var(--mono); font-size:0.68rem; letter-spacing:0.07em; border-radius:8px; background:#fff; border:1.5px solid var(--border); color:var(--muted); transition:all 0.2s; padding:0.4rem 0.9rem; }
.proj-filter-btn.active, .proj-filter-btn:hover { background:var(--accent); color:#fff; border-color:var(--accent); }
.proj-item { transition:opacity .3s, transform .3s; }
.proj-item.hidden { opacity:0; pointer-events:none; transform:scale(.96); height:0; overflow:hidden; padding:0; margin:0; }

/* ── ABOUT ── */
.about-val { background:#fff; border:1px solid var(--border); border-radius:14px; padding:1.5rem; text-align:center; transition:all 0.2s; }
.about-val:hover { box-shadow:0 8px 32px rgba(0,0,0,0.07); }
.about-val .num { font-family:var(--display); font-size:2.5rem; font-weight:900; color:var(--accent); }
.about-val .lbl { font-size:0.78rem; color:var(--muted); margin-top:0.2rem; }

/* ── CONTACT ── */
.contact-card { background:#fff; border:1px solid var(--border); border-radius:24px; padding:3rem; box-shadow:0 8px 40px rgba(0,0,0,0.05); }
.contact-row { display:flex; align-items:center; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--border); }
.contact-row:last-child { border-bottom:none; }
.ci { width:46px; height:46px; border-radius:13px; background:rgba(41,82,227,0.08); display:flex; align-items:center; justify-content:center; color:var(--accent); font-size:1rem; flex-shrink:0; }
.clbl { font-family:var(--mono); font-size:0.62rem; letter-spacing:0.1em; color:var(--muted); text-transform:uppercase; }
.cval { font-size:0.95rem; font-weight:600; color:var(--ink); text-decoration:none; }
.cval:hover { color:var(--accent); }

/* ── SKILL BARS ── */
.bar-wrap { margin-bottom:1rem; }
.bar-lbl { display:flex; justify-content:space-between; font-size:0.75rem; margin-bottom:0.3rem; font-family:var(--mono); }
.bar-track { height:5px; background:var(--border); border-radius:100px; overflow:hidden; }
.bar-fill { height:100%; border-radius:100px; background:var(--accent); width:0%; transition:width 1.4s cubic-bezier(.4,0,.2,1); }

/* ── INFRA BADGES ── */
.ibadge { display:inline-flex; align-items:center; gap:0.5rem; background:#fff; border:1px solid var(--border); border-radius:9px; padding:0.55rem 0.95rem; font-size:0.8rem; font-weight:600; transition:all 0.2s; cursor:default; }
.ibadge:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,0.06); }
.ibadge i { font-size:1rem; color:var(--accent); }
.lbadge { display:inline-flex; align-items:center; gap:0.4rem; font-size:0.78rem; font-weight:500; background:#fff; border:1px solid var(--border); border-radius:8px; padding:0.42rem 0.85rem; }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:none; }

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  padding: 3rem 0 2rem;
}
 
/* Top: brand + socials */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
 
.footer-brand {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}
.footer-brand em {
  color: var(--accent);
  font-style: italic;
}
 
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.fsoc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.fsoc:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
 
/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}
 
/* Middle: nav + availability */
.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
 
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
  background: rgba(41,82,227,0.1);
}
 
.footer-avail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.favail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 1.8s ease infinite;
  flex-shrink: 0;
}
 
/* Bottom: copyright + tagline */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
 
.footer-copy {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25);
}
 
.footer-tagline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.22);
}
 
/* Responsive */
@media (max-width: 576px) {
  .footer-top,
  .footer-mid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-socials { margin-top: 0.25rem; }
  .footer-avail   { margin-top: 0.25rem; }
}
 

/* ═══════════════════════════════════════════
   ── TESTIMONIALS ──
═══════════════════════════════════════════ */
.testi-section {
  background: var(--ink);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.testi-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.testi-section::after {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .07; pointer-events: none; border-radius: 50%;
  z-index: 0;
}
.testi-section > .container { position: relative; z-index: 1; }

.testi-eyebrow {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .6rem;
}
.testi-heading {
  font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: .5rem;
}
.testi-sub { font-size: .88rem; color: rgba(255,255,255,.4); max-width: 480px; }

.testi-total-badge {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--accent); background: rgba(41,82,227,.12);
  border: 1px solid rgba(41,82,227,.25);
  border-radius: 100px; padding: .35rem 1rem;
}

/* ── Card ── */
.testi-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 2rem 2rem 1.75rem; position: relative;
  backdrop-filter: blur(6px); transition: border-color .3s, transform .3s;
}
.testi-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.testi-card-grid { height: 100%; display: flex; flex-direction: column; }

.testi-qmark {
  font-family: Georgia, serif; font-size: 4.5rem; line-height: .8;
  color: var(--accent); opacity: .15;
  position: absolute; top: 1.25rem; left: 1.75rem;
  pointer-events: none; user-select: none;
}

.testi-quote {
  font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.85;
  font-style: italic; margin: 1rem 0 1.5rem; position: relative; z-index: 1;
  flex: 1;
}

.testi-read-more {
  display: inline-block;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--accent); background: none; border: none; padding: 0;
  cursor: pointer; margin-left: .25rem;
  text-decoration: underline; text-underline-offset: 3px;
  transition: opacity .2s;
}
.testi-read-more:hover { opacity: .75; }

.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: .85rem;
  color: #fff; flex-shrink: 0;
}
.testi-name { font-family: var(--display); font-weight: 700; font-size: .95rem; color: #fff; line-height: 1.3; }
.testi-role { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .1rem; }
.testi-company { font-size: .75rem; color: var(--accent); }

/* ── Pagination ── */
.testi-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testi-page-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.6); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background .25s, border-color .25s, color .25s;
}
.testi-page-btn:hover:not(:disabled) {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.testi-page-btn:disabled {
  opacity: .3; cursor: not-allowed;
}

.testi-page-dots {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.testi-page-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s, border-radius .3s;
}
.testi-page-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.testi-page-counter {
  font-family: var(--mono); font-size: .72rem;
  color: rgba(255,255,255,.3); letter-spacing: .08em;
}
.testi-page-counter span { color: rgba(255,255,255,.7); }

/* ── Modal ── */
.modal          { z-index: 1055; }
.modal-backdrop { z-index: 1050; }

.testi-modal .modal-dialog { max-width: 660px; }

.testi-modal-content {
  background: #0f1422;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1056;
}

.testi-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.testi-modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: background .2s, color .2s;
}
.testi-modal-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.testi-modal-body {
  padding: 2rem 2rem 2.5rem;
  position: relative;
}

.testi-qmark-modal {
  position: absolute; top: 1rem; left: 1.75rem;
  font-size: 5rem; line-height: .8;
  font-family: Georgia, serif;
  color: var(--accent); opacity: .12;
  pointer-events: none; user-select: none;
}

.testi-quote-modal {
  font-size: .95rem; line-height: 1.9;
  margin-top: 1.5rem; margin-bottom: 0;
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════════════
   ── TEAM ──
═══════════════════════════════════════════ */
.team-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 100px;
}
.team-section::before {
  content: '';
  position: absolute; bottom: -160px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .06; border-radius: 50%; pointer-events: none;
}
.team-section > .container { position: relative; z-index: 1; }
.team-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.08); border-color: var(--accent); }
.team-card-top { padding: 2rem 2rem 1.25rem; position: relative; }
.team-avatar-wrap { position: relative; display: inline-block; margin-bottom: 1.1rem; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff;
  letter-spacing: -.02em;
}
.team-status-dot {
  position: absolute; bottom: 3px; right: 3px;
  width: 14px; height: 14px; background: #22c55e;
  border-radius: 50%; border: 2px solid #fff;
}
.team-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: .15rem; line-height: 1.3; }
.team-role { font-size: .8rem; color: var(--accent); font-weight: 600; margin-bottom: .2rem; }
.team-company { font-size: .75rem; color: var(--muted); margin-bottom: .15rem; }
.team-location { font-size: .73rem; color: var(--muted); display: flex; align-items: center; gap: .3rem; }
.team-location-icon { color: var(--accent); font-size: .68rem; }
.team-divider { height: 1px; background: var(--border); margin: 0 2rem; }
.team-card-body { padding: 1.25rem 2rem 1.5rem; }
.team-bio { font-size: .83rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.team-skills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.team-skill {
  font-family: var(--mono); font-size: .67rem; letter-spacing: .06em;
  padding: .25rem .6rem; border-radius: 4px;
  background: var(--paper); color: var(--muted); border: 1px solid var(--border);
  transition: background .2s, color .2s;
}
.team-card:hover .team-skill { background: rgba(41,82,227,.07); color: var(--ink); }
/* .team-linkedin {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  text-decoration: none; border: 1px solid var(--border);
  border-radius: 6px; padding: .4rem .85rem; transition: background .2s, border-color .2s, color .2s;
}
.team-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; } */
/* Container: wraps all social pills in a tight flex row */
.team-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
 
/* Each pill button */
.team-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.38rem 0.75rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
 
.team-social-btn i {
  font-size: 0.85rem;
  color: var(--social-color, var(--accent));
  transition: color 0.2s;
}
 
.team-social-btn:hover {
  background: var(--social-color, var(--accent));
  border-color: var(--social-color, var(--accent));
  color: #fff;
  transform: translateY(-2px);
}
 
.team-social-btn:hover i {
  color: #fff;
}
.team-card-ghost {
  background: transparent; border: 2px dashed var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem 2rem; text-align: center; min-height: 320px; transition: border-color .3s;
}
.team-card-ghost:hover { border-color: var(--accent); }
.team-ghost-icon {
  width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--muted); margin-bottom: 1rem;
}
.team-ghost-text { font-size: .82rem; color: var(--muted); line-height: 1.7; }
.team-ghost-strong { color: var(--ink); display: block; margin-bottom: .35rem; font-weight: 700; }
.team-stat-strip {
  background: var(--ink); border-radius: 12px; padding: 1.5rem 2rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-around; margin-top: 3.5rem;
}
.team-stat-item { text-align: center; }
.team-stat-num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.team-stat-lbl { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .08em; font-family: var(--mono); text-transform: uppercase; margin-top: .2rem; }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .hero-headline { font-size:clamp(2.5rem,11vw,3.3rem); }
  .photo-frame { width:260px; height:290px; }
  .photo-avatar { width:200px; height:200px; font-size:3rem; }
  .badge-tl { top: 10px; left: -10px; }
  .badge-br { 
    bottom: 60px;   /* pushed up so it clears badge-bm */
    right: -15px; 
  }
  .badge-bm { 
    bottom: -10px; 
    left: 50%; 
    transform: translateX(-50%); 
  }
  .contact-card { padding:1.75rem; }
  .passions-section { padding:70px 0 60px; }
  .testi-card { padding:1.75rem 1.5rem; }
  .testi-heading { font-size:1.7rem; }
  .team-card-top { padding:1.5rem 1.5rem 1rem; }
  .team-card-body { padding:1rem 1.5rem 1.25rem; }
  .team-divider { margin:0 1.5rem; }
}
/* ── TESTIMONIALS – 3-per-view ──
   Replace the old .testi-slide rule with these.
   The JS sets --per-page on .testi-track at runtime,
   falling back to 1 on mobile via the media query.
   ─────────────────────────────────────────────── */

.testi-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  /* gap between visible cards */
  gap: 1.25rem;
}

.testi-slide {
  /* width = (100% - gaps) / perPage, driven by JS custom prop */
  flex: 0 0 calc((100% - (var(--per-page, 1) - 1) * 1.25rem) / var(--per-page, 1));
  min-width: 0; /* prevent overflow */
  box-sizing: border-box;
  padding: 0; /* gap handles spacing — remove old padding */
}

/* On tablet show 2, on mobile show 1 */
@media (max-width: 991px) {
  .testi-slide {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 575px) {
  .testi-slide {
    flex: 0 0 100%;
  }
}

/* ── LIGHTBOX ── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lb-overlay.open { opacity: 1; pointer-events: all; }

.lb-box {
  position: relative; max-width: 900px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

.lb-img-wrap {
  position: relative; width: 100%; background: #111;
  border-radius: 12px; overflow: hidden;
  max-height: 80vh; display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 12px;
  display: block;
  transition: opacity 0.3s ease;
}
.lb-img-wrap img.fading { opacity: 0; }

.lb-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75); font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: background 0.2s;
}
.lb-close:hover { background: #e84b1e; border-color: #e84b1e; color: #fff; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: background 0.2s;
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); }
.lb-nav.lb-prev { left: 10px; }
.lb-nav.lb-next { right: 10px; }
.lb-nav.hidden { display: none; }

.lb-meta {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45); text-align: center;
}

.lb-dots {
  display: flex; gap: 5px; align-items: center; justify-content: center;
}
.lb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer; border: none; padding: 0;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}
.lb-dot.active { background: var(--accent); width: 18px; border-radius: 3px; }


/* Home  */

/* ── PASTE THESE ADDITIONS INTO style.css ── */

/* New badge position — centered below the avatar */
.badge-bm {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Prevent hero photo column from overflowing on all screen sizes */
.hero-photo-col {
  overflow: visible;
}

/* Constrain the photo-frame so badges don't bleed outside the viewport */
.photo-frame {
  position: relative;
  width: 300px;
  height: 360px;
  margin: 0 auto;
  overflow: visible;   /* ← make sure this is NOT hidden */
  margin-bottom: 30px; /* ← gives badge-bm room below */
}

/* On medium screens tighten the frame so it doesn't push right edge */
@media (max-width: 1199px) {
  .photo-frame {
    width: 270px;
    height: 320px;
  }
  .photo-avatar {
    width: 210px;
    height: 210px;
    font-size: 3.5rem;
  }
  .badge-tl  { top: 5px;   left: -5px;  }
  .badge-br  { bottom: 35px; right: -5px; }
  .badge-bm  { bottom: -10px; }
}

/* Hide all three badges on mobile */
@media (max-width: 768px) {
  .badge-tl,
  .badge-br,
  .badge-bm { display: none; }

  .photo-frame {
    width: 240px;
    height: 270px;
  }
  .photo-avatar {
    width: 185px;
    height: 185px;
    font-size: 2.8rem;
  }
}