/* =========================================================
   Garima Dandotiya — Portfolio
   Light theme · Fraunces + Plus Jakarta Sans
   ========================================================= */
:root {
  --bg: #FBF8F4;
  --bg-2: #F4EFE8;
  --surface: #FFFFFF;
  --ink: #16131F;
  --ink-2: #4A4557;
  --ink-3: #8A8497;
  --line: #E9E3DA;
  --rose: #E5486F;
  --rose-soft: color-mix(in srgb, var(--rose) 12%, #fff);
  --indigo: #4B3FD6;
  --indigo-soft: color-mix(in srgb, var(--indigo) 11%, #fff);
  --amber: #F2A541;
  --green: #17A673;
  --green-soft: #E2F6EE;
  --mid: #A8449E;
  --grad: linear-gradient(115deg, var(--rose) 0%, var(--mid) 45%, var(--indigo) 100%);
  --btn-r: 999px;
  --sec-pad: 120px;
  --heading: var(--sans);
  --rose-tint: color-mix(in srgb, var(--rose) 30%, #fff);
  --indigo-tint: color-mix(in srgb, var(--indigo) 22%, #fff);
  --rose-light: color-mix(in srgb, var(--rose) 40%, #fff);
  --shadow-sm: 0 1px 2px rgba(22,19,31,.05), 0 2px 8px rgba(22,19,31,.04);
  --shadow: 0 2px 4px rgba(22,19,31,.04), 0 12px 32px -8px rgba(22,19,31,.12);
  --shadow-lg: 0 30px 60px -20px color-mix(in srgb, var(--indigo) 25%, transparent), 0 18px 36px -18px color-mix(in srgb, var(--rose) 25%, transparent);
  --r: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,.brand,.kpi-value,.camp-main b,.fact-v { font-family: var(--heading); }
h1,h2,h3,h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
strong { font-weight: 700; color: var(--ink); }
::selection { background: var(--rose); color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--rose) 10%, transparent), color-mix(in srgb, var(--indigo) 6%, transparent) 40%, transparent 70%);
  transform: translate(-50%,-50%); left: -500px; top: -500px; transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--btn-r);
  font-weight: 700; font-size: 15px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  border: 1.5px solid transparent; white-space: nowrap; will-change: transform; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(22,19,31,.5); position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before { content:""; position:absolute; inset:0; background: var(--grad); opacity:0; transition: opacity .4s; z-index:-1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-primary svg { transition: transform .35s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--rose); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1180px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 18px; border-radius: var(--btn-r); background: rgba(255,255,255,.6);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(233,227,218,.8); transition: box-shadow .4s, background .4s, top .4s; }
.nav.scrolled { background: rgba(255,255,255,.86); box-shadow: var(--shadow); top: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: var(--grad); font-size: 13px; letter-spacing: .04em; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--rose) 60%, transparent); }
.brand .dot { color: var(--rose); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--btn-r); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--bg-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; z-index: 0; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; opacity: .55; animation: float 16s ease-in-out infinite; }
.blob-a { width: 460px; height: 460px; background: var(--rose-tint); top: -80px; right: 8%; }
.blob-b { width: 380px; height: 380px; background: var(--indigo-tint); bottom: -60px; left: -80px; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-30px) scale(1.06); } 66% { transform: translate(-20px,20px) scale(.96); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--btn-r);
  background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--green)); position: relative; }
.pulse::after { content:""; position:absolute; inset:-5px; border-radius:50%; border: 2px solid var(--dot, var(--green)); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.hero-title { margin: 26px 0 22px; font-weight: 800; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .word { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) .word { transition-delay: .12s; }
.hero-title .line:nth-child(3) .word { transition-delay: .24s; }
.loaded .hero-title .word { transform: translateY(0); }
.hero-title .small { font-size: .46em; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); margin-top: 10px; }
.hero-title .small em { color: var(--rose); }
.name-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 8s ease-in-out infinite; }
@keyframes shine { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 32px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.hero-roles i { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-socials { display: flex; gap: 10px; margin-top: 30px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); transition: transform .35s var(--ease), color .3s, border-color .3s, box-shadow .3s; }
.soc svg { width: 19px; height: 19px; }
.soc:hover { transform: translateY(-4px); color: var(--rose); border-color: var(--rose); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--rose) 60%, transparent); }

/* portrait */
.hero-visual { display: flex; justify-content: center; }
.portrait-wrap { position: relative; width: min(420px, 100%); aspect-ratio: 4/5; transform-style: preserve-3d; transition: transform .6s var(--ease);
  opacity: 0; scale: .94; }
.loaded .portrait-wrap { opacity: 1; scale: 1; transition: transform .6s var(--ease), opacity 1.2s var(--ease) .3s, scale 1.2s var(--ease) .3s; }
.ring { position: absolute; inset: -14px; border-radius: 240px 240px 36px 36px; background: var(--grad); opacity: .9; z-index: 0;
  animation: ringspin 10s linear infinite; background-size: 300% 300%; }
@keyframes ringspin { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.portrait { position: absolute; inset: 0; border-radius: 230px 230px 28px 28px; overflow: hidden; z-index: 1; background: var(--bg-2);
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-lg); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.portrait-wrap:hover .portrait img { transform: scale(1.09); }

.float-card { text-align: left; position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid rgba(233,227,218,.9); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite; transform: translateZ(40px); }
.float-card b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.float-card small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.fc-1 { top: 12%; left: -18%; }
.fc-2 { top: 46%; right: -16%; animation-delay: -2s; }
.fc-3 { bottom: 6%; left: -10%; animation-delay: -4s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.fc-icon svg { width: 22px; height: 22px; }
.fc-icon.meta { background: #E7F0FF; color: #0866FF; }
.fc-icon.green { background: var(--green-soft); color: var(--green); }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; padding: 0 4px; }
.mini-bars i { width: 6px; border-radius: 3px; background: var(--grad); animation: grow 2.4s var(--ease) infinite alternate; }
.mini-bars i:nth-child(1){height:35%} .mini-bars i:nth-child(2){height:55%;animation-delay:.2s} .mini-bars i:nth-child(3){height:45%;animation-delay:.4s}
.mini-bars i:nth-child(4){height:75%;animation-delay:.6s} .mini-bars i:nth-child(5){height:100%;animation-delay:.8s}
@keyframes grow { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
.mini-bars i { transform-origin: bottom; }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-3); }
.mouse { width: 22px; height: 34px; border: 2px solid var(--ink-3); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 2px; background: var(--rose); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 20px 0; transform: rotate(-1.2deg); margin: -10px 0 0; width: 104%; margin-left: -2%; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.marquee-group b { color: var(--rose); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--sec-pad) 0; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--rose); margin-bottom: 18px; }
.eyebrow.light { color: var(--rose-light); }
.section-title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.section-title em { color: var(--indigo); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-desc { margin-top: 16px; color: var(--ink-2); font-size: 17px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-left { position: sticky; top: 120px; }
.about-right p { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.about-right .lead { font-size: 22px; line-height: 1.55; color: var(--ink); }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.fact { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.fact-k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-3); }
.fact-v { display: block; font-size: 20px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }

/* ---------- results ---------- */
.results { background: linear-gradient(180deg, var(--bg) 0%, #fff 30%, #fff 70%, var(--bg) 100%); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { position: relative; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.kpi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.kpi:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.kpi:hover::after { opacity: 1; }
.kpi-label { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.kpi-value { font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.kpi-value sup { font-size: .5em; color: var(--rose); top: -.7em; margin-left: 2px; }
.kpi-note { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.kpi-note.good { color: var(--green); font-weight: 700; }
.kpi-note.good::before { content: "▼ "; font-size: .8em; }

.kpi-feature { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.kpi-feature::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rose) 55%, transparent), color-mix(in srgb, var(--indigo) 35%, transparent) 50%, transparent 70%); filter: blur(10px); }
.kpi-feature .kpi-label { color: rgba(255,255,255,.6); position: relative; }
.kpi-feature .kpi-value { font-size: clamp(72px, 10vw, 128px); position: relative; margin: 10px 0 20px; }
.kpi-feature .kpi-value sup { color: var(--rose-light); }
.lead-mix { position: relative; }
.mix-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; background: rgba(255,255,255,.1); }
.mix-bar span { width: 0; transition: width 1.6s var(--ease); border-radius: 999px; }
.in .mix-bar span { width: var(--w); }
.mix-bar .m2 { transition-delay: .2s; } .mix-bar .m3 { transition-delay: .4s; }
.m1 { background: #25D366; } .m2 { background: #FF8FA9; } .m3 { background: #9D93FF; }
.mix-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.mix-legend li { display: flex; align-items: center; gap: 8px; }
.mix-legend i { width: 10px; height: 10px; border-radius: 3px; }
.mix-legend b { color: #fff; font-size: 16px; }

/* breakdown */
.breakdown { margin-top: 90px; }
.breakdown-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.breakdown-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.tabs { position: relative; display: flex; padding: 5px; border-radius: var(--btn-r); background: var(--bg-2); border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 20px; border-radius: var(--btn-r);
  font: 700 14.5px var(--sans); color: var(--ink-2); cursor: pointer; transition: color .3s; }
.tab.active { color: var(--ink); }
.tab-dot { width: 9px; height: 9px; border-radius: 50%; }
.meta-dot { background: #0866FF; } .google-dot { background: conic-gradient(#EA4335 0 25%, #FBBC04 0 50%, #34A853 0 75%, #4285F4 0); }
.tab-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: var(--btn-r); background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), width .5s var(--ease); }

.panel[hidden] { display: none; }
.panel.active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.camp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.camp { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.camp:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.camp header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--btn-r); background: var(--indigo-soft); color: var(--indigo); }
.badge-best { font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: var(--btn-r); background: var(--rose-soft); color: var(--rose); }
.camp-main { margin: 20px 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.camp-main b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.camp-main span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.camp dl { margin: 0; display: grid; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line); }
.camp dl div { display: flex; justify-content: space-between; font-size: 14px; }
.camp dt { color: var(--ink-3); font-weight: 500; }
.camp dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.chart-card { margin-top: 22px; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chart-head h4 { font-size: 19px; font-weight: 800; }
.chart-sub { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.hbars { display: grid; gap: 14px; }
.hbars li { display: grid; grid-template-columns: 190px 1fr 70px; gap: 16px; align-items: center; font-size: 14px; }
.hb-label { font-weight: 600; color: var(--ink-2); }
.hb-track { height: 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.hb-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--indigo-tint), var(--indigo)); transition: width 1.4s var(--ease); }
.hb-fill.best { background: linear-gradient(90deg, var(--rose-light), var(--rose)); }
.in .hb-fill { width: var(--v); }
.hbars li:nth-child(2) .hb-fill { transition-delay: .1s } .hbars li:nth-child(3) .hb-fill { transition-delay: .2s }
.hbars li:nth-child(4) .hb-fill { transition-delay: .3s } .hbars li:nth-child(5) .hb-fill { transition-delay: .4s } .hbars li:nth-child(6) .hb-fill { transition-delay: .5s }
.hb-val { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: end; height: 260px; padding-top: 30px; }
.vb { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: flex-end; }
.vb-bar { position: relative; width: min(56px, 100%); height: 0; border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--rose-light), var(--rose)); transition: height 1.4s var(--ease); }
.vb-bar.alt { background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 60%, #fff), var(--indigo)); }
.in .vb-bar { height: calc(var(--h) * .78); }
.vb-bar em { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 800; font-size: 13px; white-space: nowrap; }
.vb-l { font-size: 12px; text-align: center; color: var(--ink-3); font-weight: 600; line-height: 1.35; }
.vb:nth-child(2) .vb-bar { transition-delay: .1s } .vb:nth-child(3) .vb-bar { transition-delay: .2s } .vb:nth-child(4) .vb-bar { transition-delay: .3s }
.vb:nth-child(5) .vb-bar { transition-delay: .4s } .vb:nth-child(6) .vb-bar { transition-delay: .5s }

/* ---------- skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skill-card { padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s; }
.skill-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rose) 14%, transparent), transparent 70%); transition: transform .8s var(--ease); }
.skill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.skill-card:hover::before { transform: scale(1.6); }
.sc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); margin-bottom: 20px;
  transition: transform .5s var(--ease), background .4s, color .4s; }
.sc-icon svg { width: 26px; height: 26px; }
.skill-card:hover .sc-icon { transform: rotate(-8deg) scale(1.08); background: var(--ink); color: #fff; }
.skill-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips li { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: var(--btn-r); background: var(--bg); border: 1px solid var(--line); color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--rose-soft); color: var(--rose); border-color: var(--rose-tint); }

.meters { margin-top: 40px; padding: 36px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 48px; }
.meter-top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 10px; gap: 12px; }
.meter-top b { color: var(--rose); }
.meter-track { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.meter-track span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.6s var(--ease); }
.in .meter-track span { width: var(--p); }

.tools { margin-top: 56px; text-align: center; }
.tools-title { font-size: 15px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); font-weight: 800; margin-bottom: 22px; }
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tool { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: var(--btn-r); background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px; transition: transform .4s var(--ease), box-shadow .4s; }
.tool:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow); }
.tool-logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); font-size: 12px; font-weight: 800; }

/* ---------- experience ---------- */
.experience { background: var(--bg-2); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 48px; }
.tl-line { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-dot { position: absolute; left: -48px; top: 30px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .5s; }
.tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .5s, transform .5s var(--ease); }
.tl-item.in .tl-dot { border-color: var(--rose); }
.tl-item.in .tl-dot::after { background: var(--rose); transform: scale(1.2); }
.tl-card { padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.tl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.tl-top h3 { font-size: 24px; font-weight: 800; }
.tl-role { color: var(--rose); font-weight: 700; font-size: 15px; margin-top: 4px; }
.tl-time { font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: var(--btn-r); background: var(--ink); color: #fff; }
.tl-card > p { color: var(--ink-2); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tl-tags li { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: var(--btn-r); background: var(--indigo-soft); color: var(--indigo); }

/* ---------- education ---------- */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.col-title svg { width: 26px; height: 26px; color: var(--rose); }
.edu-card, .cert-card { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 16px; transition: transform .5s var(--ease), box-shadow .5s; }
.edu-card:hover, .cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.edu-year { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--indigo); background: var(--indigo-soft); padding: 5px 11px; border-radius: var(--btn-r); margin-bottom: 12px; }
.edu-card h4, .cert-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.edu-card p, .cert-card p { color: var(--ink-2); font-size: 14.5px; }
.cert-card { display: flex; gap: 18px; align-items: flex-start; }
.cert-badge { flex: 0 0 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.15;
  color: #fff; background: linear-gradient(135deg, #FF7A45, #E5486F); box-shadow: 0 10px 20px -10px rgba(229,72,111,.7); }
.cert-badge.alt { background: linear-gradient(135deg, #2BA6F5, #4B3FD6); box-shadow: 0 10px 20px -10px rgba(75,63,214,.7); }
.cert-verified { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: var(--btn-r); }

/* ---------- contact ---------- */
.contact { padding-top: 40px; }
.contact-card { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 80px); border-radius: calc(var(--r) * 1.6); background: var(--ink); color: #fff; text-align: center; }
.cc-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--rose) 35%, transparent), color-mix(in srgb, var(--indigo) 35%, transparent), rgba(242,165,65,.25), color-mix(in srgb, var(--rose) 35%, transparent));
  filter: blur(90px); opacity: .55; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-card > *:not(.cc-glow) { position: relative; }
.contact-title { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.contact-title em { color: var(--rose-light); }
.contact-sub { margin: 20px auto 40px; max-width: 560px; color: rgba(255,255,255,.72); font-size: 17px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1.1fr 1.35fr 1fr; gap: 14px; max-width: 1000px; margin: 0 auto; }
.c-btn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s, border-color .3s; min-width: 0; }
.c-btn svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: #fff; color: var(--ink); }
.c-btn span { display: flex; flex-direction: column; font-weight: 700; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.c-btn.mail span { font-size: 13.5px; }
.c-btn small { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 2px; }
.c-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); transform: translateY(-5px); }
.c-btn.wa svg { background: #25D366; color: #fff; }
.c-btn.call svg { background: var(--rose-light); color: var(--ink); }
.c-btn.mail svg { background: #FFD58A; color: var(--ink); }
.c-btn.li svg { background: #0A66C2; color: #fff; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 36px; font-size: 14.5px; color: rgba(255,255,255,.72); font-weight: 600; }
.contact-meta a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-meta a:hover { border-color: #FFB3C4; color: #FFB3C4; }

/* ---------- footer ---------- */
.footer { padding: 36px 0 44px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.to-top { font-weight: 700; color: var(--ink); }
.to-top:hover { color: var(--rose); }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); transition: transform .4s var(--ease);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.2s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateX(10px); transition: .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .camp-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 76px; left: 14px; right: 14px; flex-direction: column; padding: 12px; border-radius: 24px; background: rgba(255,255,255,.97);
    border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .35s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .menu-toggle { display: block; }
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-roles, .hero-actions, .hero-socials { justify-content: center; }
  .hero-visual { order: -1; }
  .portrait-wrap { width: min(300px, 74vw); }
  .fc-1 { left: -22%; } .fc-2 { right: -22%; } .fc-3 { left: -14%; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-left { position: static; }
  .edu-grid { grid-template-columns: 1fr; gap: 20px; }
  .meters { grid-template-columns: 1fr; }
  .section { padding: calc(var(--sec-pad) * .75) 0; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .nav-cta .btn { display: none; }
  .kpi-grid, .g-grid, .camp-grid, .skills-grid, .contact-actions { grid-template-columns: 1fr; }
  .kpi-feature { grid-column: auto; grid-row: auto; }
  .float-card { padding: 9px 12px 9px 9px; border-radius: 14px; gap: 8px; }
  .float-card b { font-size: 16px; } .float-card small { font-size: 10.5px; }
  .fc-icon { width: 32px; height: 32px; } .mini-bars { height: 28px; }
  .fc-1 { left: -14%; top: 8%; } .fc-2 { right: -14%; } .fc-3 { left: -8%; bottom: 4%; }
  .hbars li { grid-template-columns: 1fr 64px; gap: 6px 12px; }
  .hb-label { grid-column: 1 / -1; font-size: 13px; }
  .vbars { gap: 8px; height: 220px; }
  .vb-bar em { font-size: 11px; }
  .vb-l { font-size: 10.5px; }
  .chart-card, .meters { padding: 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .breakdown-head { flex-direction: column; align-items: flex-start; }
  .tab { padding: 10px 14px; }
  .timeline { padding-left: 36px; }
  .tl-dot { left: -36px; width: 24px; height: 24px; }
  .tl-line { left: 11px; }
  .tl-card { padding: 22px; }
  .marquee { padding: 16px 0; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= admin-controlled options ================= */
.hero.photo-left .hero-inner { grid-template-columns: .85fr 1.15fr; }
.hero.photo-left .hero-visual { order: -1; }
.hero.no-photo .hero-inner { grid-template-columns: 1fr; max-width: 860px; }
.fc-icon.g { background: #F1F5FF; } .fc-icon.wa { background: #E3F9EC; color: #25D366; } .fc-icon.rose { background: var(--rose-soft); color: var(--rose); }
.tl-dates { font-size: 13.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.tl-now { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: var(--btn-r); background: var(--green-soft); color: var(--green); margin-left: 6px; vertical-align: middle; }
.edu-grid.single { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.kpi-grid.no-feature { grid-template-columns: repeat(4, 1fr); }

/* photo frames */
.frame-circle { aspect-ratio: 1 / 1; }
.frame-circle .ring, .frame-circle .portrait { border-radius: 50%; }
.frame-rounded .ring { border-radius: calc(var(--r) * 2.2); } .frame-rounded .portrait { border-radius: calc(var(--r) * 1.8); }
.frame-square .ring { border-radius: 14px; } .frame-square .portrait { border-radius: 8px; }
.frame-blob .ring { border-radius: 58% 42% 46% 54% / 46% 52% 48% 54%; } .frame-blob .portrait { border-radius: 56% 44% 46% 54% / 46% 52% 48% 54%; }

/* icon styles */
.icons-solid .sc-icon { background: var(--grad); color: #fff; }
.icons-outline .sc-icon { background: transparent; border: 1.5px solid var(--indigo); color: var(--indigo); }
.icons-accent .sc-icon { background: var(--rose-soft); color: var(--rose); }

/* animation levels */
.anim-subtle .blob, .anim-subtle .float-card, .anim-subtle .ring, .anim-subtle .cc-glow, .anim-subtle .name-grad { animation: none; }
.anim-subtle .cursor-glow { display: none; }
.anim-off *, .anim-off *::before, .anim-off *::after { animation: none !important; transition: none !important; }
.anim-off .reveal { opacity: 1; transform: none; }
.anim-off .hero-title .word { transform: none; }
.anim-off .portrait-wrap { opacity: 1; scale: 1; }
.anim-off .cursor-glow { display: none; }
.anim-off .mix-bar span { width: var(--w); } .anim-off .hb-fill { width: var(--v); } .anim-off .meter-track span { width: var(--p); } .anim-off .vb-bar { height: calc(var(--h) * .78); }

@media (max-width: 1080px) { .kpi-grid.no-feature { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero.photo-left .hero-inner, .hero.no-photo .hero-inner { grid-template-columns: 1fr; }
  .frame-circle { width: min(280px, 70vw); }
}
@media (max-width: 600px) { .kpi-grid.no-feature { grid-template-columns: 1fr; } }
