.skill-grid { grid-template-columns: repeat(2, 1fr); }
.logo { width: 48px; height: 48px; display: block; border-radius: 50%; padding: 2px; background: var(--white); border: 2px solid var(--green); box-shadow: 0 5px 16px rgba(23,34,29,.15); overflow: hidden; }
.logo img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.analytics-focus { background: var(--ink); color: #fff; }
.analytics-focus .kicker, .analytics-focus em { color: var(--lime); }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.analytics-copy { font-size: 18px; color: #cad2ce; }
.analytics-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.analytics-points span { font-size: 14px; color: #fff; }
.analytics-points i { color: var(--lime); margin-right: 8px; }
.project-grid { grid-template-columns: repeat(2, 1fr); }
.profile-tech { position: absolute; z-index: 4; width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border: 1px solid #e2e8e3; border-radius: 16px; box-shadow: 0 13px 30px rgba(23,34,29,.18); animation: tech-float 4.2s ease-in-out infinite; transition: transform .25s, box-shadow .25s; }
.profile-tech:hover { transform: translateY(-7px) scale(1.08); box-shadow: 0 18px 38px rgba(23,34,29,.24); }
.profile-tech i { font-size: 28px; }
.tech-react { top: -22px; left: 22%; animation-delay: -.4s; }
.tech-node { top: 31%; right: -42px; animation-delay: -1.1s; }
.tech-codeigniter { top: 54%; left: -42px; animation-delay: -1.8s; }
.tech-mysql { bottom: 14%; right: -42px; animation-delay: -2.5s; }
.tech-postgres { bottom: -22px; left: 44%; animation-delay: -3.2s; }
.tech-laravel { top: 5%; right: 12%; animation-delay: -3.8s; }
@keyframes tech-float { 0%,100% { margin-top: 0; } 50% { margin-top: -10px; } }
.personal-section { background: #e8eee8; }
.personal-card { display: grid; grid-template-columns: .9fr 1.4fr; gap: 50px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(23,34,29,.08); }
.personal-profile { display: flex; gap: 20px; align-items: center; }
.personal-profile img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 5px solid var(--mint); }
.personal-profile h3 { margin: 3px 0; font: 700 25px "Playfair Display"; }
.personal-profile p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.details-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0; }
.details-list div { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.details-list dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.details-list dt i { color: var(--green); margin-right: 7px; }
.details-list dd { margin: 5px 0 0; font-weight: 600; }
.social-links { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.resume-print { display: none; }
.contact .social-links a { display: flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; transition: .25s; }
.contact .social-links a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
@media (max-width: 850px) {
  .analytics-grid { grid-template-columns: 1fr; gap: 20px; }
  .skill-grid, .project-grid { grid-template-columns: 1fr; }
  .personal-card { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .details-list { grid-template-columns: 1fr; } .personal-profile { align-items: flex-start; } .profile-tech { width: 43px; height: 43px; border-radius: 13px; } .profile-tech i { font-size: 23px; } .tech-node,.tech-mysql { right: -5px; } .tech-codeigniter { left: -5px; } }
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .header { padding: 9px 0; }
  .header.scrolled { background: rgba(245,243,237,.97); }
  .logo { width: 43px; height: 43px; }
  .menu-toggle { padding: 7px; font-size: 20px; }
  .nav-links { inset: 60px 16px auto; max-height: calc(100vh - 76px); overflow-y: auto; padding: 20px; gap: 4px; border: 1px solid var(--line); }
  .nav-links a { padding: 10px 8px; border-bottom: 1px solid #eef1ee; }
  .hero { min-height: auto; padding: 92px 0 55px; overflow: hidden; }
  .hero-grid { gap: 42px; }
  .two-col { gap: 20px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.55px; white-space: nowrap; }
  .eyebrow span { width: 18px; margin-right: 6px; }
  .hero h1 { margin: 15px 0 17px; font-size: clamp(38px, 12vw, 48px); line-height: 1.03; letter-spacing: -.8px; }
  .hero-text { font-size: 15.5px; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 24px 0 0; }
  .button { width: 100%; min-height: 52px; display: flex; justify-content: center; align-items: center; padding: 12px 17px; font-size: 14px; }
  .button.secondary i { margin: 0 9px 0 0; }
  .quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
  .quick-facts div { align-content: start; }
  .quick-facts strong { font-size: 22px; }
  .quick-facts span { max-width: 95px; font-size: 9.5px; line-height: 1.35; }
  .portrait-wrap { width: calc(100% - 34px); max-width: 390px; margin: 10px auto 20px; }
  .portrait-frame { height: 410px; border-radius: 145px 145px 22px 22px; box-shadow: 12px 15px 0 var(--mint); }
  .profile-tech { width: 40px; height: 40px; border-radius: 12px; }
  .profile-tech i { font-size: 21px; }
  .tech-react { top: -14px; left: 23%; }
  .tech-laravel { top: 3%; right: 10%; }
  .tech-node { top: 33%; right: -13px; }
  .tech-mysql { right: -13px; bottom: 16%; }
  .tech-codeigniter { left: -13px; top: 56%; }
  .tech-postgres { bottom: -14px; left: 44%; }
  .orb-one { width: 180px; height: 180px; right: -100px; opacity: .28; }
  .orb-two { display: none; }
  .scroll-hint { display: none; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { margin: 12px 0; font-size: 36px; line-height: 1.06; }
  .about-copy { font-size: 15.5px; line-height: 1.7; }
  .personal { gap: 10px; display: grid; }
  .timeline { margin: 0; }
  .timeline-item { gap: 8px; padding-bottom: 28px; }
  .timeline-card { padding: 22px 20px; border: 1px solid #ffffff18; border-radius: 16px; }
  .timeline-card h3 { font-size: 25px; }
  .timeline-card>p:last-of-type { font-size: 14px; }
  .skill-grid { gap: 12px; }
  .skill-group { padding: 24px 20px; border-radius: 17px; }
  .skill-group h3 { margin: 12px 0; font-size: 23px; }
  .skill-list span { font-size: 10.5px; }
  .analytics-copy { font-size: 15px; }
  .analytics-points { grid-template-columns: 1fr; gap: 10px; }
  .education-grid, .project-grid { gap: 12px; }
  .edu-card { padding: 22px 20px; }
  .edu-card h3 { font-size: 21px; }
  .project { min-height: 0; padding: 24px 20px; }
  .project h3 { margin: 25px 0 8px; font-size: 24px; }
  .project p { font-size: 14px; }
  .personal-card { padding: 22px 18px; gap: 26px; }
  .personal-profile { flex-direction: column; }
  .personal-profile img { width: 90px; height: 90px; }
  .details-list { gap: 15px; }
  .contact h2 { font-size: 38px; }
  .contact>a { max-width: 100%; overflow-wrap: anywhere; }
  .social-links { justify-content: center; margin-top: 24px; }
  .contact .social-links a { font-size: 12px; padding: 8px 12px; }
  .contact-meta { gap: 10px; align-items: center; font-size: 12px; }
  footer .container { gap: 12px; align-items: center; }
}
@media print {
  @page { size: A4; margin: 0; }
  html, body { width: 210mm; height: 297mm; margin: 0 !important; padding: 0 !important; }
  body { background: #fff; color: #1a1a2e; font-family: "Segoe UI", Arial, sans-serif; font-size: 7.2pt; line-height: 1.3; }
  body > .header, body > main, body > footer, .cursor-glow { display: none !important; }
  .resume-print { display: block !important; width: 210mm; height: 297mm; overflow: hidden; background: #fff; }
  .resume-header { height: 42mm; padding: 10mm 12mm 6mm; background: #17221d !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .resume-header h1 { margin: 0 0 1.5mm; color: #fff !important; font-size: 21pt; line-height: 1; letter-spacing: 1.6pt; }
  .resume-header>p { margin: 0 0 3mm; color: #dff268 !important; font-size: 8.5pt; font-weight: 700; letter-spacing: .6pt; }
  .resume-contact { display: flex; flex-wrap: wrap; gap: 1.5mm 5mm; font-size: 7.2pt; }
  .resume-contact a, .resume-contact span { color: #fff !important; text-decoration: none; }
  .resume-contact i { width: 3mm; color: #dff268 !important; }
  .resume-columns { display: flex; height: 255mm; }
  .resume-sidebar { width: 29%; flex: none; padding: 5mm 4mm 4mm 6mm; background: #edf5ef !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .resume-main { display: block !important; width: 71%; padding: 5mm 7mm 4mm 6mm; }
  .resume-section { margin: 0 0 3.5mm; break-inside: avoid; }
  .resume-section h2 { margin: 0 0 2mm; padding-bottom: 1mm; border-bottom: 1.2pt solid #1e6a4b; color: #17221d !important; font-size: 9pt; line-height: 1.1; letter-spacing: .5pt; }
  .resume-sidebar .resume-section h2 { color: #1e6a4b !important; }
  .resume-section h4 { margin: 2mm 0 1mm; color: #1e6a4b; font-size: 7.2pt; }
  .resume-section p { margin: 0 0 1.4mm; }
  .resume-chips { display: flex; flex-wrap: wrap; gap: 1mm; }
  .resume-chips span { padding: .7mm 1.4mm; border: .5pt solid #b7d5c2; border-radius: 5mm; background: #fff !important; font-size: 6.3pt; font-weight: 600; }
  .resume-edu { display: grid; margin-bottom: 2.3mm; }
  .resume-edu b { color: #1e6a4b; font-size: 7.1pt; }
  .resume-edu span { font-weight: 600; font-size: 6.5pt; }
  .resume-edu small { color: #666; font-size: 6.2pt; font-style: italic; }
  .resume-job { margin-bottom: 2.7mm; }
  .resume-job-head { display: flex; justify-content: space-between; gap: 3mm; }
  .resume-job-head h3, .resume-project h3 { margin: 0; font-size: 8pt; line-height: 1.15; }
  .resume-job-head b { color: #1e6a4b; font-size: 6.6pt; }
  .resume-job-head>span { color: #1e6a4b; white-space: nowrap; font-size: 6.4pt; font-weight: 700; }
  .resume-job ul { margin: 1mm 0 0 4mm; padding: 0; }
  .resume-job li { margin-bottom: .5mm; }
  .resume-project { margin-bottom: 2.2mm; }
  .resume-project p { margin: .5mm 0; }
  .resume-tech { color: #1e6a4b; font-size: 6.2pt; font-weight: 700; }
}
