/* ==========================================================
   Adnan Hossain — Portfolio theme (dark / red-orange)
   Layered on top of Bootstrap 5.3 dark mode
   ========================================================== */
:root {
  --ink: #080607;
  --panel: #110d0f;
  --ember: #ff7a1a;
  --ember-light: #ffb26b;
  --crimson: #f0352c;
  --bone: #f2edeb;
  --muted: #a49da0;
  --line: rgba(255, 255, 255, .085);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --bs-body-bg: var(--ink);
  --bs-body-color: var(--bone);
  --bs-body-font-family: "Inter", system-ui, sans-serif;
  --bs-border-color: var(--line);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }
body { background: var(--ink); color: var(--bone); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(255,122,26,.32); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #0a0809; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ember), #c32824); border-radius: 99px; border: 2px solid #0a0809; }
a { color: inherit; } a:hover { color: var(--ember-light); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ember); color: #1b0a04; padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Background layers */
.bg-net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 560px at 80% -8%, rgba(240,53,44,.14), transparent 65%),
              radial-gradient(760px 500px at 6% 14%, rgba(255,122,26,.08), transparent 68%); }
main, .site-footer, .marquee-bar { position: relative; z-index: 1; }

/* Typography helpers */
.font-display { font-family: var(--font-display); }
.mono, .mono-small, .mono-label, .mono-num { font-family: var(--font-mono); }
.mono-label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #ff8f4d; font-weight: 500; }
.mono-small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.mono-num { font-size: 10px; letter-spacing: .16em; color: rgba(255,122,26,.6); }
.text-gradient { background: linear-gradient(100deg,#ffc08a 0%,#ff8a2b 38%,#ff4d2d 72%,#ff3b3b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-ember { color: var(--ember) !important; } .text-ember-light { color: var(--ember-light) !important; }
.text-muted-2 { color: var(--muted) !important; }
.min-w-0 { min-width: 0; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem,4.4vw,3.25rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; margin-top: 1.25rem; }
.section-kicker { display: flex; align-items: center; gap: .75rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; color: rgba(255,255,255,.35); }
.section-kicker i { height: 1px; width: 32px; background: linear-gradient(90deg, rgba(255,122,26,.7), rgba(240,53,44,.4)); }
.section { padding: 88px 0; } @media (min-width: 768px) { .section { padding: 112px 0; } }
.section + .section { border-top: 1px solid var(--line); }
.hr-line { height: 1px; background: var(--line); display: block; }

/* Header */
.site-header { transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(8,6,7,.9); backdrop-filter: blur(16px); border-color: var(--line); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--ember), var(--crimson), var(--ember)); transition: width .15s; }
.navbar { padding: .9rem 0; }
.navbar-brand { color: var(--bone) !important; }
.brand-mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,122,26,.35);
  background: linear-gradient(135deg, rgba(255,122,26,.2), rgba(255,255,255,.03), rgba(240,53,44,.2)); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--ember-light); box-shadow: 0 0 26px -8px rgba(255,90,30,.8); }
.brand-dot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #34d399; border: 2px solid var(--ink); }
.brand-text { line-height: 1; } .brand-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .22em; color: rgba(255,255,255,.4); margin-top: 4px; }
.navbar-nav .nav-link { color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500; padding: .5rem .9rem; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--bone); }
.navbar-nav .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ember), transparent); }
.navbar-toggler { border: 1px solid rgba(255,255,255,.12); color: var(--bone); font-size: 1.3rem; padding: .25rem .55rem; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255,122,26,.35); }
.mobile-nav { background: rgba(10,8,9,.98); backdrop-filter: blur(20px); width: 300px; }
.mobile-link { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: 12px; color: rgba(255,255,255,.65); text-decoration: none; font-weight: 500; }
.mobile-link:hover, .mobile-link.active { background: rgba(255,122,26,.08); color: var(--bone); }

/* Buttons & pills */
.btn { border-radius: 10px; font-size: 13px; font-weight: 600; padding: .7rem 1.2rem; }
.btn-sm { padding: .5rem .9rem; font-size: 12px; }
.btn-ember { background: linear-gradient(90deg, var(--ember), var(--crimson)); color: #1b0a04; border: 0; box-shadow: 0 14px 40px -16px rgba(255,90,30,.9); transition: transform .2s, box-shadow .2s; }
.btn-ember:hover { color: #1b0a04; transform: translateY(-2px); box-shadow: 0 20px 46px -16px rgba(255,90,30,1); }
.btn-ghost { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.85); font-weight: 500; }
.btn-ghost:hover { border-color: rgba(255,122,26,.45); background: rgba(255,122,26,.07); color: #fff; transform: translateY(-2px); }
.btn-outline-ember { border: 1px solid rgba(255,122,26,.3); background: rgba(255,122,26,.07); color: var(--ember-light); }
.btn-outline-ember:hover { border-color: rgba(255,122,26,.6); background: rgba(255,122,26,.12); color: var(--ember-light); }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 99px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.status-pill.green { border-color: rgba(52,211,153,.2); background: rgba(52,211,153,.06); color: rgba(110,231,183,.9); }
.pulse-dot, .dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px rgba(74,222,128,.85); }
.dot { width: 5px; height: 5px; margin-right: 6px; box-shadow: none; vertical-align: middle; }
.dot.ember { background: var(--ember); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(74,222,128,.55); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
.chip { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035);
  font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,.7); transition: .25s; }
.chip:hover { border-color: rgba(255,122,26,.4); color: var(--ember-light); }
.tag { position: absolute; padding: .25rem .5rem; border-radius: 4px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; z-index: 2; }
.tag.est { top: 14px; left: 14px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.45); color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.tag.active { position: static; border: 1px solid rgba(52,211,153,.25); background: rgba(52,211,153,.1); color: #6ee7b7; display: inline-flex; align-items: center; }
.tag.active.top-right { position: absolute; top: 14px; right: 14px; }
.icon-box { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(135deg, rgba(255,255,255,.07), transparent); color: rgba(255,255,255,.65); font-size: 1.1rem; flex-shrink: 0; transition: .3s; }
.icon-box.lg { width: 48px; height: 48px; border-color: rgba(255,122,26,.25); background: linear-gradient(135deg, rgba(255,122,26,.18), rgba(240,53,44,.06)); color: var(--ember-light); box-shadow: 0 0 30px -12px rgba(255,110,30,.8); }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.45); text-decoration: none; }
.icon-btn:hover { border-color: rgba(255,122,26,.4); color: var(--ember); }

/* Cards */
.card-dark { background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.014) 46%, rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(10px);
  transition: border-color .35s, transform .35s, box-shadow .35s; }
.card-dark:hover { border-color: rgba(255,122,26,.38); }
.service-card, .role-card { padding: 1.4rem; position: relative; overflow: hidden; }
.service-card:hover, .role-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(255,80,30,.45); }
.service-card .idx { position: absolute; top: 16px; right: 16px; color: rgba(255,255,255,.15); }
.service-card:hover .icon-box { border-color: rgba(255,122,26,.35); background: rgba(255,122,26,.15); color: var(--ember-light); }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--ember), var(--crimson)); transition: width .5s; }
.service-card:hover::after { width: 100%; }
.cert-card { display: flex; align-items: center; gap: .9rem; padding: .85rem; margin-bottom: .6rem; }
.cert-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--ember-light); flex-shrink: 0; }
.cert-card .sep { display: inline-block; width: 1px; height: 10px; background: rgba(255,255,255,.15); margin: 0 .5rem; }
.check-item { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255,255,255,.62); font-size: 12.5px; margin-bottom: .45rem; }
.check-item i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,122,26,.3); background: rgba(255,122,26,.1); color: var(--ember-light); font-size: 9px; flex-shrink: 0; margin-top: 2px; }
.quote-card { position: relative; overflow: hidden; border: 1px solid rgba(255,122,26,.15); border-radius: 14px; padding: 1.25rem; background: linear-gradient(135deg, rgba(255,122,26,.09), rgba(255,255,255,.02), rgba(240,53,44,.05)); }
.quote-card > i { position: absolute; right: -6px; top: -14px; font-size: 5rem; color: rgba(255,122,26,.09); }
.quote-card p { font-family: var(--font-display); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1.5rem 1.75rem; border-radius: 18px; border: 1px solid rgba(255,122,26,.15);
  background: linear-gradient(110deg, rgba(255,122,26,.12), rgba(240,53,44,.06) 45%, rgba(255,255,255,.015)); }

/* Hero */
.hero { position: relative; padding: 130px 0 0; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,122,26,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,122,26,.07) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 35%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 60% 35%, #000, transparent 75%); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.eyebrow .line { width: 24px; height: 1px; background: rgba(255,122,26,.7); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.85rem,7.4vw,5.4rem); line-height: .94; letter-spacing: -.045em; font-weight: 600; }
.hero-index { font-family: var(--font-mono); font-weight: 400; font-size: .22em; color: rgba(255,255,255,.35); margin-left: .5em; vertical-align: top; letter-spacing: 0; }
.typewriter-wrap { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: clamp(1.1rem,2vw,1.4rem); font-weight: 500; color: var(--ember-light); }
.typewriter-wrap .prompt { color: var(--ember); font-family: var(--font-mono); }
.caret { display: inline-block; width: 7px; height: 1.05em; background: var(--ember); margin-left: 3px; vertical-align: -.16em; animation: blink 1.1s step-end infinite; }
.lead-text { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 560px; }
.cert-row span { font-size: 11.5px; color: rgba(255,255,255,.55); } .cert-row i { color: var(--ember); margin-right: 5px; } .cert-row strong { color: rgba(255,255,255,.85); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.hero-stats > div { padding: 0 1rem; border-left: 1px solid var(--line); } .hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; } .hero-stats span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hero-strip { border-top: 1px solid var(--line); background: rgba(255,255,255,.012); padding: .9rem 0; margin-top: 4rem; }

/* Portrait HUD */
.portrait-wrap { position: relative; max-width: 420px; padding: 1rem .5rem 2rem; }
.orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; }
.orbit-1 { width: 105%; height: 105%; border: 1px dashed rgba(255,122,26,.2); animation: spin 34s linear infinite; }
.orbit-1::before { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px 3px rgba(255,122,26,.55); }
.orbit-2 { width: 118%; height: 118%; border: 1px solid rgba(255,255,255,.05); }
.orbit-glow { position: absolute; left: 50%; top: 50%; width: 76%; height: 76%; transform: translate(-50%,-50%); border-radius: 50%; filter: blur(40px); pointer-events: none;
  background: radial-gradient(circle, rgba(240,53,44,.22), rgba(255,122,26,.08) 45%, transparent 70%); animation: glow 5s ease-in-out infinite; }
.portrait-frame { position: relative; }
.hud-c { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(255,138,43,.75); z-index: 3; }
.hud-c.tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; } .hud-c.tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud-c.bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; } .hud-c.br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.portrait { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0b0809;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s; }
.portrait:hover img { transform: scale(1.03); }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,7,.16), transparent 26%, transparent 58%, rgba(8,6,7,.92)); }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,122,26,.85), transparent); box-shadow: 0 0 22px 4px rgba(255,90,30,.35); animation: scan 7s linear infinite; }
.portrait-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; z-index: 2; }
.portrait-caption hr { margin: .7rem 0 .5rem; border-color: rgba(255,255,255,.15); opacity: 1; }
.caption-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.hud-rail { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
.hud-card { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(16,12,13,.95); padding: .75rem; }
.hud-big { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.hud-cert { font-family: var(--font-display); font-size: 10.5px; color: rgba(255,255,255,.85); }
.spark { width: 100%; height: 28px; margin-top: .4rem; }
.portrait-wrap .mono-small { white-space: nowrap; }
.hud-meta { font-size: 8.5px; }

/* Marquee */
.marquee-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0809; overflow: hidden; }
.marquee-label { gap: .5rem; padding: 1rem 1.25rem 1rem 0; border-right: 1px solid var(--line); margin-right: 1rem; white-space: nowrap; }
.marquee { flex: 1; overflow: hidden; padding: 1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 0 1.5rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; color: rgba(255,255,255,.35); white-space: nowrap; }
.marquee-track i { font-size: 6px; color: rgba(255,122,26,.4); }

/* About */
.field-photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.field-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .9; }
.field-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,6,7,.9)); }
.field-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; z-index: 2; }
.field-caption p { font-family: var(--font-display); font-size: 15px; margin: .4rem 0 0; color: rgba(255,255,255,.9); max-width: 360px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; margin: -20px 1.25rem 0; position: relative; z-index: 2; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(14,11,12,.95); overflow: hidden; }
.stats-grid > div { padding: .9rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid > div:nth-child(2n) { border-right: 0; } .stats-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; } .stats-grid small, .stats-grid strong em { color: var(--ember); font-style: normal; }
.stats-grid span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); display: block; margin-top: .4rem; }
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 0; }
.approach-step { background: #0b090a; padding: 1.25rem; transition: background .3s; } .approach-step:hover { background: #120d0e; }
.approach-step .step-line { height: 1px; width: 28px; background: rgba(255,255,255,.1); align-self: center; transition: .3s; } .approach-step:hover .step-line { width: 48px; background: rgba(255,122,26,.5); }
.approach-step h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 1rem 0 .5rem; } .approach-step p { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }

/* Expertise */
.expertise-tabs { gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); padding: .5rem; }
.expertise-tab { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.55); font-size: 12.5px; font-weight: 500; text-align: left; transition: .25s; }
.expertise-tab:hover { background: rgba(255,255,255,.04); color: rgba(255,255,255,.85); }
.expertise-tab.active { border-color: rgba(255,122,26,.3); background: linear-gradient(90deg, rgba(255,122,26,.13), rgba(240,53,44,.05)); color: var(--bone); }
.expertise-tab .tab-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: rgba(255,255,255,.4); flex-shrink: 0; }
.expertise-tab.active .tab-icon { border: 1px solid rgba(255,122,26,.25); background: rgba(255,122,26,.1); color: var(--ember); }
.expertise-tab .bi-chevron-right { font-size: 11px; color: rgba(255,255,255,.2); } .expertise-tab.active .bi-chevron-right { color: rgba(255,122,26,.8); }
@media (max-width: 991px) { .expertise-tabs { flex-direction: row !important; flex-wrap: wrap; } .expertise-tab { width: calc(50% - 2px); } .expertise-tab .mono-small { display: none; } }
.expertise-panel { position: relative; overflow: hidden; padding: 1.5rem; height: 100%; }
@media (min-width: 576px) { .expertise-panel { padding: 1.75rem; } }
.panel-watermark { position: absolute; right: -24px; top: -24px; font-size: 12rem; color: rgba(255,255,255,.045); pointer-events: none; }
.prof-badge { display: flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25); border-radius: 10px; padding: .45rem .75rem; }
.prof-badge strong { font-family: var(--font-display); font-size: 14px; line-height: 1; }
.meter { height: 4px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: .25rem; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ember), var(--crimson), var(--ember-light)); transform-origin: left; animation: grow 1.1s cubic-bezier(.16,1,.3,1) both; }
.tab-pane.show .meter span { animation: grow 1.1s cubic-bezier(.16,1,.3,1) both; }

/* Experience */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(255,122,26,.45), rgba(255,255,255,.1), transparent); }
.timeline-item { display: flex; gap: 1rem; margin-bottom: .6rem; }
.timeline-num { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); background: #0c090a; font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.4); margin-top: 14px; flex-shrink: 0; transition: .3s; }
.timeline-item:hover .timeline-num { border-color: rgba(255,122,26,.5); color: var(--ember); }

/* Contact */
.contact-row { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; text-decoration: none; color: inherit; }
.contact-row strong { display: block; font-family: var(--font-display); font-size: 14.5px; margin-top: .2rem; }
.copy-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.4); flex-shrink: 0; }
.copy-btn:hover { border-color: rgba(255,122,26,.4); color: var(--ember); } .copy-btn.copied { color: #4ade80; border-color: rgba(74,222,128,.4); }
.btn.copy-btn { width: auto; height: auto; display: inline-flex; gap: .4rem; }
.form-card { padding: 1.5rem; position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,122,26,.7), transparent); }
.form-label { display: block; margin-bottom: .35rem; }
.form-control, .form-select { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: rgba(255,255,255,.85); font-size: 13px; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { background: rgba(0,0,0,.3); border-color: rgba(255,122,26,.6); box-shadow: 0 0 0 3px rgba(255,122,26,.12); color: #fff; }
.form-control::placeholder { color: rgba(255,255,255,.25); }
.form-select option { background: #140f10; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: rgba(240,53,44,.6); background-image: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert-success { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.25); color: #a7f3d0; }
.alert-danger { background: rgba(240,53,44,.08); border-color: rgba(240,53,44,.3); color: #fecaca; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0a0809; padding: 3.5rem 0 0; overflow: hidden; }
.footer-links li { margin-bottom: .55rem; } .footer-links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; } .footer-links a:hover { color: var(--bone); }
.contact-list a { display: flex; align-items: center; gap: .5rem; word-break: break-all; } .contact-list i { color: rgba(255,122,26,.7); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding: 1.25rem 0 1.5rem; }
.footer-giant { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem,12vw,10rem); line-height: .8; letter-spacing: -.05em; text-align: center; padding: 0 1rem .5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.055), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; user-select: none; white-space: nowrap; overflow: hidden; }
.floating-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.back-top { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(18,13,14,.95); color: rgba(255,255,255,.6); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .3s; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; } .back-top:hover { border-color: rgba(255,122,26,.5); color: var(--ember); }
.wa-fab { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--ember), var(--crimson)); color: #1c0a04; font-size: 1.3rem; box-shadow: 0 12px 34px -10px rgba(255,90,30,.85); transition: transform .2s; }
.wa-fab:hover { transform: translateY(-2px); color: #1c0a04; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,122,26,.25); animation: ping 2s cubic-bezier(0,0,.2,1) infinite; z-index: -1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Keyframes */
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
@keyframes scan { 0% { top: 4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 96%; opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

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