:root {
    --paper: #f4f3ef;
    --paper-soft: #faf9f6;
    --ink: #171b1d;
    --muted: #61696b;
    --line: #d9d9d3;
    --line-dark: #bfc3bd;
    --green: #0f5f4d;
    --green-light: #dcebe5;
    --green-bright: #7dd3b4;
    --dark: #172321;
    --dark-soft: #21302d;
    --white: #fff;
    --radius: 18px;
    --display: 'Manrope', system-ui, sans-serif;
    --body: 'DM Sans', system-ui, sans-serif;
    --max: 1180px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .4; background-image: radial-gradient(rgba(23,27,29,.07) .55px, transparent .55px); background-size: 7px 7px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: var(--white); background: var(--green); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 9999; transform: translateY(-160%); padding: .7rem 1rem; color: white; background: var(--green); border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #ef9d65; outline-offset: 3px; }

.site-nav { position: fixed; inset: 0 0 auto; z-index: 1000; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, transform .3s; }
.site-nav.scrolled { background: rgba(244,243,239,.92); border-color: var(--line); backdrop-filter: blur(14px); }
.site-nav.nav-hidden { transform: translateY(-100%); }
.nav-shell { width: min(calc(100% - 40px), var(--max)); min-height: 74px; margin: auto; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; overflow: hidden; color: white; background: #07101d; border-radius: 50%; font-size: .75rem; letter-spacing: .05em; }
.brand-mark img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; object-position: center; transform: scale(1.14); }
.brand-name { font-size: .9rem; }
.nav-links { display: flex; align-items: center; gap: 1.55rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: #434a4b; text-decoration: none; font-size: .83rem; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-resume { padding: .58rem .95rem; border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 700; }
.nav-resume:hover { color: white; background: var(--green); border-color: var(--green); }
.nav-toggle { display: none; width: 34px; height: 28px; padding: 4px; border: 0; background: transparent; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 4px; width: 26px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle span:nth-child(1) { top: 5px; }.nav-toggle span:nth-child(2) { top: 13px; }.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.active span:nth-child(1) { top: 13px; transform: rotate(45deg); }.nav-toggle.active span:nth-child(2) { opacity: 0; }.nav-toggle.active span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

.hero { width: min(calc(100% - 40px), var(--max)); min-height: min(900px, 100svh); margin: auto; padding: 130px 0 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.hero-copy, .profile-card { min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 1.2rem; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--green); }
.hero h1 { max-width: 780px; margin: 0; font: 700 clamp(2.9rem, 4.9vw, 4.85rem)/1.01 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.hero-intro { max-width: 700px; margin: 1.8rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75; }
.hero-intro strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .84rem; font-weight: 700; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: #0a493b; }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line-dark); }
.button-secondary:hover { background: white; border-color: var(--ink); }

.profile-card { overflow: hidden; border: 1px solid var(--line-dark); border-radius: 120px 120px var(--radius) var(--radius); background: var(--paper-soft); box-shadow: 0 24px 70px rgba(38,52,48,.11); }
.profile-photo { aspect-ratio: 4/3.75; overflow: hidden; background: var(--green-light); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(.82) contrast(1.02); }
.profile-body { padding: 1.5rem; }
.availability { display: flex; align-items: center; gap: .5rem; color: var(--green); font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #29a278; box-shadow: 0 0 0 4px rgba(41,162,120,.13); }
.profile-body h2 { margin: .8rem 0 .1rem; font: 800 1.4rem var(--display); letter-spacing: -.03em; }
.profile-body > p { margin: 0; color: var(--muted); font-size: .84rem; }
.profile-body ul { margin: 1.1rem 0; padding: 1rem 0; border-block: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .75rem; }
.profile-body li + li { margin-top: .35rem; }
.profile-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.profile-links a { min-width: 0; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .42rem; padding: .55rem .4rem; border: 1px solid rgba(148,163,184,.14); border-radius: 10px; color: var(--green); background: rgba(255,255,255,.025); font-size: .65rem; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), color .25s, border-color .25s, background .25s; }
.profile-links a i { font-size: .9rem; }.profile-links a:hover { transform: translateY(-3px); color: var(--green-bright); border-color: rgba(99,230,190,.42); background: rgba(99,230,190,.075); }

.impact-strip { max-width: 1380px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) max(20px, calc((100% - var(--max))/2)); color: white; background: var(--dark); }
.impact-strip > p { margin: 0 0 2.5rem; color: #aab9b5; font-size: .77rem; text-transform: uppercase; letter-spacing: .13em; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-grid article { min-height: 145px; padding: .5rem 1.7rem; border-left: 1px solid rgba(255,255,255,.14); }
.impact-grid article:first-child { padding-left: 0; border: 0; }
.impact-grid strong { display: block; margin-bottom: 1rem; color: var(--green-bright); font: 700 clamp(2.2rem, 4vw, 3.4rem) var(--display); letter-spacing: -.05em; }
.impact-grid span { display: block; max-width: 22ch; color: #c6d0cd; font-size: .83rem; line-height: 1.55; }

.section { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; margin-bottom: 4rem; align-items: end; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -.8rem; }
.section-heading h2 { margin: 0; font: 700 clamp(2.5rem, 5vw, 4.7rem)/1 var(--display); letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 580px; margin: 0; color: var(--muted); font-size: 1rem; }

.timeline { border-top: 1px solid var(--line-dark); }
.job { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.job-meta { display: flex; flex-direction: column; gap: .3rem; color: var(--muted); font-size: .76rem; }
.job-meta time { color: var(--ink); font-weight: 700; }
.job-title { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.job-title h3 { margin: 0; font: 800 clamp(1.3rem, 2vw, 1.7rem) var(--display); letter-spacing: -.035em; }
.job-title p { margin: .25rem 0 0; color: var(--green); font-weight: 700; }
.job-type { flex: none; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .66rem; }
.job-content > ul { max-width: 800px; margin: 1.5rem 0; padding: 0; list-style: none; }
.job-content > ul li { position: relative; padding-left: 1.3rem; color: #495153; font-size: .93rem; }
.job-content > ul li + li { margin-top: .65rem; }
.job-content > ul li::before { content: '—'; position: absolute; left: 0; color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tags span { padding: .32rem .6rem; border-radius: 5px; color: #43504c; background: #e7e8e3; font-size: .66rem; font-weight: 700; }

.skills-section { width: auto; max-width: 1380px; padding-inline: max(20px, calc((100% - var(--max))/2)); color: white; background: var(--dark); }
.skills-section .section-kicker { color: var(--green-bright); }
.skills-section .section-heading > p:last-child { color: #aab9b5; }
.skills-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; }
.skill-groups { border-top: 1px solid rgba(255,255,255,.15); }
.skill-group { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.skill-group h3 { margin: 0; color: var(--green-bright); font: 700 .9rem var(--display); }
.skill-group p { margin: 0; color: #c6d0cd; font-size: .86rem; line-height: 1.7; }
.cube-panel { position: sticky; top: 100px; min-height: 680px; padding-bottom: 1.5rem; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: var(--dark-soft); }
.cube-copy { position: relative; z-index: 5; padding: 1.4rem 1.4rem 0; }
.cube-copy span { color: var(--green-bright); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.cube-copy h3 { margin: .2rem 0 0; font: 700 1.4rem var(--display); }
.cube-copy p { margin: .25rem 0 0; color: #9badaa; font-size: .75rem; }
.skills-3d-container { position: relative; z-index: 2; height: 560px; padding: 0 clamp(.5rem, 2vw, 1.5rem); display: grid; place-items: center; perspective: 1200px; overflow: visible; }
.skills-cube-wrapper { --cube-scale: .95; position: relative; width: 300px; height: 300px; transform-style: preserve-3d; cursor: grab; touch-action: none; will-change: transform; }
.skills-cube-wrapper.dragging { cursor: grabbing; }
.cube-face { position: absolute; width: 300px; height: 300px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid rgba(125,211,180,.25); background: rgba(17,31,28,.88); box-shadow: inset 0 0 36px rgba(125,211,180,.05); backface-visibility: visible; }
.cube-face.front { transform: translateZ(150px); }.cube-face.back { transform: rotateY(180deg) translateZ(150px); }.cube-face.right { transform: rotateY(90deg) translateZ(150px); }.cube-face.left { transform: rotateY(-90deg) translateZ(150px); }.cube-face.top { transform: rotateX(90deg) translateZ(150px); }.cube-face.bottom { transform: rotateX(-90deg) translateZ(150px); }
.skill-item-cube { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.035); text-align: center; }
.skill-icon { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-size: 1.55rem; }.skill-icon i { line-height: 1; }.skill-name { color: #e5ece9; font-size: .68rem; font-weight: 700; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.project { overflow: hidden; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper-soft); }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.project-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #dfe4df; }
.project-featured .project-image { aspect-ratio: auto; min-height: 410px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.project:hover .project-image img { transform: scale(1.025); }
.project-copy { padding: 1.5rem; }
.project-featured .project-copy { display: flex; flex-direction: column; justify-content: center; padding: 2.4rem; }
.project-type { margin: 0 0 .6rem; color: var(--green); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.project-copy h3 { margin: 0; font: 800 1.45rem var(--display); letter-spacing: -.035em; }
.project-copy > p:not(.project-type) { color: var(--muted); font-size: .87rem; }
.project-copy .tags { margin: 1.2rem 0; }
.project-copy > a { color: var(--green); font-size: .78rem; font-weight: 800; text-decoration: none; }

.credentials { border-top: 1px solid var(--line-dark); }
.credential-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 1rem; }
.credential-card { min-height: 280px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-soft); }
.credential-label { color: var(--green); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.credential-card h3 { margin: 3.5rem 0 .8rem; font: 800 1.3rem/1.25 var(--display); letter-spacing: -.03em; }
.credential-card p, .credential-card small, .credential-card li { color: var(--muted); font-size: .82rem; }
.credential-card p { margin: 0 0 .25rem; }.credential-card ul { margin: 1rem 0 0; padding-left: 1.1rem; }.credential-card li + li { margin-top: .5rem; }

.contact-section { max-width: 1380px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) max(20px, calc((100% - var(--max))/2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: end; color: white; background: var(--green); }
.contact-section .section-kicker { color: #bfe9d8; }
.contact-copy h2 { max-width: 720px; margin: 0; font: 700 clamp(2.8rem, 5.5vw, 5.3rem)/1 var(--display); letter-spacing: -.065em; }
.contact-copy > p:not(.section-kicker) { max-width: 620px; color: #d0e5dd; }
.contact-details { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; margin-top: 2rem; color: #e5f4ef; font-size: .78rem; }
.contact-details a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-actions { display: flex; flex-direction: column; gap: .75rem; }
.contact-actions .button-primary { color: var(--green); background: white; }.contact-actions .button-secondary { color: white; border-color: rgba(255,255,255,.45); }.contact-actions .button-secondary:hover { color: var(--green); }
.text-link { margin-top: .5rem; color: #d0e5dd; text-align: center; text-decoration: none; font-size: .78rem; }

footer { padding: 2rem 20px; color: #8e9694; background: var(--dark); }
footer > div { width: min(100%, var(--max)); margin: auto; display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }.reveal.visible { opacity: 1; transform: none; }

/* WhatsApp recruiter contact widget */
.wa-widget { position: fixed; right: 24px; bottom: 24px; z-index: 940; }
.wa-widget--hidden { opacity: 0; pointer-events: none; }
.wa-fab { width: 58px; height: 58px; border: 0; border-radius: 50%; color: white; background: #167c5f; box-shadow: 0 10px 30px rgba(15,95,77,.3); cursor: pointer; font-weight: 800; font-size: .72rem; }
.wa-form { position: absolute; right: 0; bottom: 70px; width: min(360px, calc(100vw - 32px)); overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(12px) scale(.98); border: 1px solid #cdd4d0; border-radius: 16px; background: white; box-shadow: 0 25px 70px rgba(20,35,31,.2); transition: .25s var(--ease); }
.wa-widget.open .wa-form { opacity: 1; pointer-events: auto; transform: none; }
.wa-form-header { display: flex; justify-content: space-between; align-items: start; padding: 1.1rem; color: white; background: var(--dark); }
.wa-form-header strong { display: block; font-family: var(--display); }.wa-form-header div > span { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; color: #b9cbc5; font-size: .68rem; }
.wa-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }
.wa-form-close { border: 0; color: white; background: transparent; font-size: 1.35rem; cursor: pointer; }
.wa-form-body { display: grid; gap: .85rem; padding: 1rem; }
.wa-field { display: grid; gap: .3rem; color: #4d5855; font-size: .72rem; font-weight: 700; }
.wa-field input, .wa-field textarea, .wa-select-trigger { width: 100%; padding: .7rem .75rem; border: 1px solid #d6dcd8; border-radius: 9px; color: var(--ink); background: #fbfcfb; font-size: .8rem; font-weight: 400; }
.wa-field textarea { resize: vertical; }.wa-select { position: relative; }.wa-select-trigger { display: flex; justify-content: space-between; cursor: pointer; }
.wa-select-options { position: absolute; z-index: 2; inset: calc(100% + 4px) 0 auto; display: none; overflow: hidden; border: 1px solid #d6dcd8; border-radius: 9px; background: white; box-shadow: 0 10px 30px rgba(0,0,0,.1); }.wa-select.open .wa-select-options { display: grid; }
.wa-select-option { padding: .65rem .75rem; border: 0; text-align: left; color: #4d5855; background: white; cursor: pointer; font-size: .78rem; }.wa-select-option:hover, .wa-select-option--active { color: var(--green); background: #edf6f2; }
.wa-send { min-height: 45px; border: 0; border-radius: 999px; color: white; background: var(--green); cursor: pointer; font-weight: 700; font-size: .78rem; }

@media (max-width: 980px) {
    .nav-links, .nav-resume { display: none; }.nav-toggle { display: block; }
    .nav-links.active { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; background: var(--paper); }.nav-links.active a { font: 700 1.5rem var(--display); }
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; }.hero h1 { max-width: 900px; }.profile-card { width: min(100%, 430px); justify-self: center; }
    .impact-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }.impact-grid article:nth-child(3) { border-left: 0; padding-left: 0; }
    .skills-layout { grid-template-columns: 1fr; }.cube-panel { position: relative; top: 0; }
    .credential-grid { grid-template-columns: 1fr 1fr; }.credential-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .nav-shell, .hero, .section { width: min(calc(100% - 32px), var(--max)); }
    .hero { gap: 3rem; padding-block: 110px 4rem; }.hero h1 { font-size: clamp(2.65rem, 11.7vw, 3.5rem); overflow-wrap: break-word; }.hero-intro { font-size: 1rem; }
    .eyebrow { align-items: flex-start; font-size: .65rem; line-height: 1.55; }
    .hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
    .profile-card { border-radius: 90px 90px 16px 16px; }
    .impact-grid { grid-template-columns: 1fr; }.impact-grid article, .impact-grid article:nth-child(3) { min-height: 0; padding: 1.5rem 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }.impact-grid article:first-child { border-top: 0; }.impact-grid span { max-width: 34ch; }
    .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }.section-heading .section-kicker { margin-bottom: 0; }.section-heading h2 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
    .job { grid-template-columns: 1fr; gap: 1.1rem; padding: 2.2rem 0; }.job-meta { flex-direction: row; justify-content: space-between; }.job-title { display: block; }.job-type { display: inline-block; margin-top: .75rem; }.job-content > ul li { font-size: .88rem; }
    .skill-group { grid-template-columns: 1fr; gap: .6rem; }.cube-panel { min-height: 570px; }.skills-3d-container { height: 475px; }.skills-cube-wrapper { --cube-scale: .76; }
    .project-grid, .project-featured { display: grid; grid-template-columns: 1fr; }.project-featured { grid-column: auto; }.project-featured .project-image { min-height: 0; aspect-ratio: 16/9; }.project-featured .project-copy { padding: 1.5rem; }
    .credential-grid { grid-template-columns: 1fr; }.credential-card:last-child { grid-column: auto; }.credential-card { min-height: 240px; }
    .contact-section { grid-template-columns: 1fr; gap: 2.5rem; }.contact-copy h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
    footer > div { flex-direction: column; }
    .wa-widget { right: 16px; bottom: 16px; }.wa-fab { width: 52px; height: 52px; }
}

@media (max-width: 420px) {
    .brand-name { display: none; }.job-meta { display: grid; }.skills-cube-wrapper { --cube-scale: .64; }.booking-actions, .contact-secondary-actions { grid-template-columns: 1fr; }
}

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

@media print {
    .site-nav, .wa-widget, .javi-fab-container, .cube-panel, footer { display: none !important; }
    body { background: white; font-size: 10pt; }.hero, .section, .skills-section, .impact-strip, .contact-section { width: 100%; max-width: none; padding: 24px; color: black; background: white; }.hero { min-height: 0; display: block; }.profile-card { display: none; }.reveal { opacity: 1; transform: none; }.job { break-inside: avoid; }.impact-grid { grid-template-columns: repeat(4, 1fr); }.impact-grid strong, .section-kicker, .eyebrow { color: black; }
}

/* ============================================================
   IMMERSIVE TECH EDITION
   Dark, high-depth presentation with restrained cinematic motion
   ============================================================ */
:root {
    --paper: #070b14;
    --paper-soft: #0c1220;
    --ink: #f5f7fb;
    --muted: #9ca9bd;
    --line: rgba(148, 163, 184, .14);
    --line-dark: rgba(148, 163, 184, .22);
    --green: #63e6be;
    --green-light: rgba(99, 230, 190, .12);
    --green-bright: #8ff7d5;
    --dark: #050811;
    --dark-soft: #0a111e;
    --violet: #8b7cf8;
    --cyan: #49c6e5;
    --radius: 22px;
}

body {
    background: var(--paper);
    color: var(--ink);
}

body::before {
    opacity: .38;
    background-image: radial-gradient(rgba(137, 164, 196, .13) .65px, transparent .65px);
    background-size: 9px 9px;
    mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.7) 48%, transparent 100%);
}

.ambient-scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; width: 48vw; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .14; animation: ambientFloat 16s ease-in-out infinite alternate; }
.ambient-orb-one { top: -24vw; left: -8vw; background: #3ad6ae; }
.ambient-orb-two { top: 12vh; right: -27vw; background: #6958ef; animation-delay: -7s; }
.ambient-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(117,142,177,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(117,142,177,.07) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 78%); }
.ambient-noise { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.cursor-light { position: fixed; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; opacity: .16; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(99,230,190,.22), rgba(72,142,238,.08) 38%, transparent 70%); transition: opacity .3s; }
.scroll-progress { position: fixed; z-index: 1200; inset: 0 auto auto 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet)); box-shadow: 0 0 16px rgba(99,230,190,.65); }
@keyframes ambientFloat { to { transform: translate3d(7vw, 9vh, 0) scale(1.12); } }

.site-nav.scrolled { background: rgba(7, 11, 20, .76); border-color: rgba(148,163,184,.12); box-shadow: 0 12px 45px rgba(0,0,0,.25); }
.brand-mark { position: relative; color: #07110e; background: #07101d; box-shadow: 0 0 0 1px rgba(143,247,213,.2), 0 0 24px rgba(99,230,190,.12); }
.brand-mark::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.14); border-radius: inherit; pointer-events: none; }
@keyframes logoOrbit { 50% { transform: rotate(180deg) scale(1.08); border-color: rgba(139,124,248,.3); } to { transform: rotate(360deg); } }
.nav-links a { color: #9da9ba; transition: color .25s, text-shadow .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--green-bright); text-shadow: 0 0 18px rgba(99,230,190,.35); }
.nav-resume { color: #d9e4ef; background: rgba(255,255,255,.025); border-color: rgba(143,247,213,.2); }
.nav-resume:hover { color: #04100c; background: var(--green-bright); border-color: var(--green-bright); box-shadow: 0 8px 28px rgba(99,230,190,.2); }
.nav-toggle span { background: var(--ink); }

.hero { position: relative; min-height: max(780px, 100svh); padding-top: 120px; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; width: 680px; height: 680px; top: 3%; right: -12%; border-radius: 50%; border: 1px solid rgba(99,230,190,.08); box-shadow: 0 0 0 80px rgba(99,230,190,.018), 0 0 0 160px rgba(139,124,248,.012); animation: heroHalo 10s ease-in-out infinite; }
.hero::after { content: 'SYSTEMS  •  CLOUD  •  AUTOMATION  •  RELIABILITY'; position: absolute; z-index: -1; right: -30px; top: 50%; color: rgba(144,164,191,.15); font: 700 .58rem/1 var(--display); letter-spacing: .4em; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
@keyframes heroHalo { 50% { transform: scale(1.05); border-color: rgba(139,124,248,.15); } }
.eyebrow { color: var(--green-bright); }
.eyebrow::before { background: linear-gradient(90deg, var(--green), transparent); box-shadow: 0 0 10px rgba(99,230,190,.55); }
.eyebrow::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(99,230,190,.1), 0 0 18px rgba(99,230,190,.8); animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 50% { transform: scale(.7); opacity: .55; } }
.hero h1 { color: #f7f9fd; background: linear-gradient(115deg, #fff 12%, #dbe7f4 48%, #87e8ca 78%, #78c7e4); background-size: 180% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: titleSheen 8s ease-in-out infinite alternate; text-shadow: 0 16px 70px rgba(0,0,0,.25); }
@keyframes titleSheen { to { background-position: 100% center; } }
.hero-intro { color: #a6b2c3; }
.hero-intro strong { color: #eef6f3; }
.button { position: relative; overflow: hidden; }
.button::before { content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-24deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); transition: transform .65s var(--ease); }
.button:hover::before { transform: translateX(120%) skewX(-24deg); }
.button-primary { color: #06120e; background: linear-gradient(135deg, #a3f5da, #4dd1aa); box-shadow: 0 12px 34px rgba(46,204,158,.16), inset 0 1px rgba(255,255,255,.5); }
.button-primary:hover { background: linear-gradient(135deg, #b6ffe8, #68e5bf); box-shadow: 0 16px 40px rgba(46,204,158,.25); }
.button-secondary { color: #d9e3ef; background: rgba(255,255,255,.025); border-color: rgba(148,163,184,.22); backdrop-filter: blur(10px); }
.button-secondary:hover { color: white; background: rgba(255,255,255,.06); border-color: rgba(143,247,213,.42); }

.profile-card { position: relative; overflow: visible; border-color: rgba(151,172,201,.2); background: linear-gradient(155deg, rgba(17,26,43,.92), rgba(8,13,24,.94)); box-shadow: 0 40px 100px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.025) inset, 0 0 75px rgba(99,230,190,.06); backdrop-filter: blur(16px); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; }
.profile-card:hover { box-shadow: 0 48px 110px rgba(0,0,0,.55), 0 0 70px rgba(99,230,190,.12); }
.profile-card::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--profile-angle, 0deg), transparent 65%, rgba(99,230,190,.8), rgba(139,124,248,.7), transparent 92%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; animation: profileBorder 7s linear infinite; }
@property --profile-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes profileBorder { to { --profile-angle: 360deg; } }
.profile-photo { position: relative; border-radius: 120px 120px 0 0; background: #101a28; }
.profile-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(74,220,180,.07), transparent 35%, rgba(6,10,18,.28)); pointer-events: none; }
.profile-photo img { filter: saturate(.9) contrast(1.04); transition: transform .7s var(--ease), filter .7s; }
.profile-card:hover .profile-photo img { transform: scale(1.035); filter: saturate(1) contrast(1.05); }
.profile-body { color: #eff4fa; }
.availability { color: var(--green-bright); }
.profile-body > p, .profile-body li { color: #91a0b4; }
.profile-body ul { border-color: rgba(148,163,184,.13); }
.profile-links a { color: var(--green-bright); }
.profile-orbit { position: absolute; z-index: -2; border: 1px solid rgba(99,230,190,.13); border-radius: 50%; pointer-events: none; animation: orbitSpin 13s linear infinite; }
.profile-orbit::after { content: ''; position: absolute; width: 7px; height: 7px; top: 16%; left: 8%; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.profile-orbit-one { width: 125%; aspect-ratio: 1; top: -12%; left: -12%; }
.profile-orbit-two { width: 148%; aspect-ratio: 1; top: -22%; left: -24%; animation-direction: reverse; animation-duration: 19s; border-color: rgba(139,124,248,.09); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.console-status { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }.console-cursor { color: var(--green-bright); animation: consoleBlink .8s steps(1) infinite; }
@keyframes consoleBlink { 50% { opacity: 0; } }
.hero-developer-dock { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: -1rem; padding-top: 1.2rem; border-top: 1px solid rgba(148,163,184,.13); }
.developer-github { display: inline-flex; align-items: center; gap: .7rem; min-width: 220px; padding: .62rem .75rem; border: 1px solid rgba(148,163,184,.15); border-radius: 11px; color: #dce7f2; background: rgba(255,255,255,.022); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.developer-github:hover { transform: translateY(-3px); border-color: rgba(99,230,190,.34); background: rgba(99,230,190,.055); }
.developer-github > span:nth-child(2) { display: grid; margin-right: auto; }
.developer-github strong { font: 700 .75rem var(--display); }
.developer-github small { color: #77879b; font-size: .59rem; }
.developer-console { width: 440px; height: 126px; overflow: hidden; border: 1px solid rgba(148,163,184,.16); border-radius: 13px; color: #9fb0c3; background: rgba(3,7,13,.78); box-shadow: 0 14px 35px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025); font-size: .66rem; }
.developer-console-bar { height: 33px; display: flex; align-items: center; gap: 6px; padding: 0 .8rem; border-bottom: 1px solid rgba(148,163,184,.11); background: rgba(255,255,255,.025); }
.developer-console-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #526071; }
.developer-console-bar > span:first-child { background: #ff6b6b; }.developer-console-bar > span:nth-child(2) { background: #ffd166; }.developer-console-bar > span:nth-child(3) { background: #63e6be; }
.developer-console-bar small { margin-left: .35rem; color: #69798d; font-size: .58rem; letter-spacing: .04em; }
.developer-console-bar b { margin-left: auto; color: var(--green); font-size: .54rem; letter-spacing: .1em; animation: liveBlink 1.4s ease-in-out infinite; }
.developer-console pre { height: calc(100% - 33px); margin: 0; padding: .75rem .9rem; overflow: hidden; color: #91a3b7; font: 500 .66rem/1.55 'SFMono-Regular', Consolas, monospace; white-space: pre-wrap; }
.developer-console pre::after { content: '▌'; color: var(--green-bright); animation: consoleBlink .7s steps(1) infinite; }
.terminal-prompt { color: var(--green); }
@keyframes liveBlink { 50% { opacity: .35; } }

/* Continuous skill lanes */
.skills-marquee { position: relative; left: 50%; width: 100vw; max-width: none; margin-left: -50vw; padding: 3.25rem 0 3.6rem; overflow: hidden; border: 0; background: transparent; }
.skills-marquee-heading { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 1.5rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.skills-marquee-heading span { color: var(--green); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.skills-marquee-heading h2 { margin: 0; color: #eff5fb; font: 700 clamp(1.5rem, 2.8vw, 2.2rem) var(--display); letter-spacing: -.04em; }
.skills-lane { width: 100%; overflow: hidden; padding: .35rem 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(34px, 5vw, 90px), #000 calc(100% - clamp(34px, 5vw, 90px)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 clamp(34px, 5vw, 90px), #000 calc(100% - clamp(34px, 5vw, 90px)), transparent 100%); }
.skills-track { display: flex; width: max-content; will-change: transform; animation: skillFlow 34s linear infinite; }
.skills-lane-reverse .skills-track { animation-name: skillFlowReverse; animation-duration: 38s; }
.skills-set { display: flex; flex: none; gap: .7rem; padding-right: .7rem; }
.tech-badge { min-width: max-content; height: 48px; display: inline-flex; align-items: center; gap: .65rem; padding: 0 1rem; border: 1px solid rgba(121,130,255,.16); border-radius: 12px; color: #9da9bd; background: linear-gradient(145deg, rgba(26,29,61,.72), rgba(13,18,38,.82)); box-shadow: inset 0 1px rgba(255,255,255,.025); font-size: .82rem; font-weight: 700; transition: color .25s, border-color .25s, background .25s, transform .25s; }
.tech-badge i { min-width: 25px; color: #8792ff; font-size: 1.05rem; line-height: 1; text-align: center; }
.tech-badge:hover { color: #eef3fa; border-color: rgba(99,230,190,.36); background: rgba(99,230,190,.07); transform: translateY(-3px); }
.tech-badge:hover i { color: var(--green-bright); }
@keyframes skillFlow { to { transform: translateX(-50%); } }
@keyframes skillFlowReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.impact-strip { position: relative; overflow: hidden; border-block: 1px solid rgba(148,163,184,.12); background: linear-gradient(130deg, #07110f, #0a101c 55%, #101025); }
.impact-strip::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(99,230,190,.05) 45%, transparent 68%); transform: translateX(-100%); animation: impactSweep 9s ease-in-out infinite; }
@keyframes impactSweep { 45%,100% { transform: translateX(100%); } }
.impact-strip > p { position: relative; color: #7f918e; }
.impact-grid { position: relative; }
.impact-grid article { border-color: rgba(255,255,255,.1); transition: transform .35s var(--ease), background .35s; }
.impact-grid article:hover { transform: translateY(-6px); background: rgba(255,255,255,.025); }
.impact-grid strong { background: linear-gradient(135deg, #b7ffe6, #63e6be, #65bce5); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 28px rgba(99,230,190,.14); }
.impact-grid span { color: #aebdbb; }
.impact-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(148,163,184,.12); }
.impact-github { display: inline-flex; align-items: center; gap: .75rem; min-width: 245px; padding: .7rem .85rem; border: 1px solid rgba(148,163,184,.14); border-radius: 12px; color: #dce7f2; background: rgba(255,255,255,.025); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.impact-github:hover { transform: translateY(-3px); border-color: rgba(99,230,190,.35); background: rgba(99,230,190,.055); }
.github-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; color: #06120e; background: var(--green); font: 800 .65rem var(--display); }
.impact-github > span:nth-child(2) { display: grid; margin-right: auto; }
.impact-github strong { font: 700 .78rem var(--display); }
.impact-github small { color: #7f8da0; font-size: .61rem; }
.impact-console { display: flex; align-items: center; gap: .65rem; width: max-content; padding: .7rem .9rem; border: 1px solid rgba(148,163,184,.14); border-radius: 10px; color: #93a5b8; background: rgba(5,9,17,.55); box-shadow: 0 14px 35px rgba(0,0,0,.2); font-size: .67rem; }
.impact-console b { color: var(--green); font-weight: 600; }

.section-heading h2 { color: #f5f8fc; }
.section-heading > p:last-child { color: #8f9db0; }
.section-kicker { color: var(--green); }
.timeline { position: relative; border-color: rgba(148,163,184,.18); }
.timeline::before { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; left: 236px; width: 1px; background: linear-gradient(to bottom, var(--green), var(--violet), transparent); transform-origin: top; transform: scaleY(var(--timeline-progress, 0)); transition: transform .1s linear; box-shadow: 0 0 14px rgba(99,230,190,.35); }
.job { position: relative; border-color: rgba(148,163,184,.11); transition: padding .35s var(--ease), background .35s; }
.job::before { content: ''; position: absolute; z-index: 3; top: 3.35rem; left: 231px; width: 11px; height: 11px; border: 2px solid #071019; border-radius: 50%; background: #627081; box-shadow: 0 0 0 5px rgba(99,230,190,0); transition: background .35s, box-shadow .35s, transform .35s; }
.job.is-inview::before, .job:hover::before { background: var(--green); box-shadow: 0 0 0 5px rgba(99,230,190,.1), 0 0 18px rgba(99,230,190,.7); transform: scale(1.12); }
.job:hover { padding-inline: 1.2rem; background: linear-gradient(90deg, transparent, rgba(99,230,190,.025), transparent); }
.job-meta { color: #758399; }
.job-meta time { color: #dbe4ef; }
.job-title h3 { color: #f5f8fc; }
.job-title p { color: var(--green); }
.job-type { color: #9cabc0; border-color: rgba(148,163,184,.18); background: rgba(255,255,255,.02); }
.job-content > ul li { color: #a5b1c1; }
.job-content > ul li::before { color: var(--green); }
.job-content strong { color: #e9fff8; }
.tags span { color: #a9b8c7; background: rgba(148,163,184,.09); border: 1px solid rgba(148,163,184,.08); transition: color .25s, background .25s, transform .25s; }
.tags span:hover { color: var(--green-bright); background: rgba(99,230,190,.1); transform: translateY(-2px); }

.skills-section { position: relative; overflow: hidden; border-block: 1px solid rgba(148,163,184,.12); background: radial-gradient(circle at 82% 45%, rgba(91,71,208,.13), transparent 30%), radial-gradient(circle at 15% 25%, rgba(44,194,153,.08), transparent 25%), #050913; }
.skills-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(117,142,177,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(117,142,177,.08) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent, black 45%, black); }
.skills-section > * { position: relative; }
.skill-groups { border-color: rgba(148,163,184,.15); }
.skill-group { position: relative; border-color: rgba(148,163,184,.11); transition: transform .35s var(--ease), background .35s, padding .35s; }
.skill-group::before { content: ''; position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(99,230,190,.08), transparent); transition: opacity .35s; }
.skill-group:hover { transform: translateX(10px); padding-inline: 1rem; }.skill-group:hover::before { opacity: 1; }
.skill-group h3, .skill-group p { position: relative; }.skill-group h3 { color: var(--green-bright); }.skill-group p { color: #aab7c8; }
.cube-panel { border-color: rgba(119,143,177,.14); background: transparent; box-shadow: none; }
.cube-panel::after { content: ''; position: absolute; inset: auto 10% 6% 10%; height: 35px; border-radius: 50%; background: rgba(99,230,190,.15); filter: blur(24px); animation: cubeShadow 5s ease-in-out infinite; }
@keyframes cubeShadow { 50% { transform: scale(.72); opacity: .55; } }
.cube-face { border-color: rgba(99,230,190,.28); background: rgba(7,17,28,.84); box-shadow: inset 0 0 45px rgba(99,230,190,.055), 0 0 25px rgba(72,141,214,.035); backdrop-filter: blur(5px); }
.skill-item-cube { border-color: rgba(148,163,184,.12); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: background .25s, border-color .25s, transform .25s; }
.skill-item-cube:hover { transform: translateZ(8px); border-color: rgba(99,230,190,.45); background: rgba(99,230,190,.08); }
.skill-icon { color: var(--green-bright); text-shadow: 0 0 16px rgba(99,230,190,.4); }

.project { position: relative; border-color: rgba(148,163,184,.16); background: linear-gradient(145deg, rgba(16,24,39,.9), rgba(8,13,24,.95)); box-shadow: 0 20px 55px rgba(0,0,0,.16); transition: transform .45s var(--ease), border-color .4s, box-shadow .4s; }
.project::after { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0; background: linear-gradient(135deg, rgba(99,230,190,.4), transparent 40%, rgba(139,124,248,.35)); transition: opacity .4s; }
.project:hover { transform: translateY(-9px); border-color: rgba(99,230,190,.25); box-shadow: 0 34px 80px rgba(0,0,0,.35), 0 0 38px rgba(99,230,190,.06); }.project:hover::after { opacity: 1; }
.project-image { position: relative; background: #09101c; }
.project-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,9,16,.72)); pointer-events: none; }
.project-image img { filter: saturate(.82) brightness(.82); }.project:hover .project-image img { transform: scale(1.045); filter: saturate(1) brightness(.95); }
.project-image-veoplaca { background: radial-gradient(ellipse 42% 135% at 102% 50%, #34ebce 0 77%, transparent 78%), linear-gradient(115deg, #014341 0 58%, #08756e 100%); }
.project-image-veoplaca::before { content: ''; position: absolute; z-index: 0; width: 62%; height: 165%; top: -38%; left: 12%; border: clamp(28px, 4vw, 58px) solid rgba(37,252,218,.34); border-radius: 50%; transform: rotate(28deg); pointer-events: none; }
.project-image-veoplaca img { position: relative; z-index: 1; object-fit: contain; object-position: center; padding: 1.2%; filter: saturate(.96) brightness(.98); }
.project-image-veoplaca::after { z-index: 2; background: linear-gradient(180deg, transparent 72%, rgba(5,9,16,.34)); }
.project:hover .project-image-veoplaca img { transform: scale(1.025); filter: saturate(1.06) brightness(1.02); }
.project-copy h3 { color: #f2f6fb; }.project-copy > p:not(.project-type) { color: #96a4b7; }.project-type, .project-copy > a { color: var(--green); }

.credentials { border-color: rgba(148,163,184,.16); }
.credential-card { position: relative; overflow: hidden; border-color: rgba(148,163,184,.15); background: linear-gradient(145deg, rgba(16,24,39,.84), rgba(8,13,24,.92)); transition: transform .4s var(--ease), border-color .4s; }
.credential-card::before { content: ''; position: absolute; width: 160px; height: 160px; top: -90px; right: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(99,230,190,.13), transparent 68%); transition: transform .5s; }
.credential-card:hover { transform: translateY(-7px); border-color: rgba(99,230,190,.3); }.credential-card:hover::before { transform: scale(1.5); }
.credential-label { color: var(--green); }.credential-card h3 { color: #f2f6fb; }.credential-card p, .credential-card small, .credential-card li { color: #94a2b4; }

.contact-section { position: relative; overflow: hidden; background: radial-gradient(circle at 88% 20%, rgba(126,108,240,.2), transparent 30%), linear-gradient(125deg, #071b17, #09251e 48%, #101329); border-top: 1px solid rgba(143,247,213,.2); }
.contact-section::before { content: ''; position: absolute; width: 560px; height: 560px; right: -180px; bottom: -380px; border: 1px solid rgba(99,230,190,.16); border-radius: 50%; box-shadow: 0 0 0 65px rgba(99,230,190,.025), 0 0 0 130px rgba(139,124,248,.018); animation: contactOrbit 10s ease-in-out infinite; }
@keyframes contactOrbit { 50% { transform: scale(1.08) translateY(-20px); } }
.contact-copy, .contact-actions { position: relative; }.contact-section .section-kicker { color: var(--green-bright); }.contact-copy > p:not(.section-kicker) { color: #aabcb8; }.contact-details { color: #d7ebe5; }
.contact-actions .button-primary { color: #06120e; background: linear-gradient(135deg, #b9ffe8, #64ddb8); }.contact-actions .button-secondary { color: white; background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.22); }.contact-actions .button-secondary:hover { color: white; background: rgba(255,255,255,.08); }.text-link { color: #abc6bd; }
.booking-copy { margin-bottom: .45rem; }.booking-copy > span { color: var(--green-bright); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }.booking-copy h3 { margin: .45rem 0 .65rem; color: #f4f8f7; font: 700 clamp(1.45rem, 2.3vw, 2rem)/1.15 var(--display); letter-spacing: -.035em; }.booking-copy p { margin: 0; color: #9dafaa; font-size: .82rem; line-height: 1.65; }
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .35rem 0 .6rem; }
.booking-button { min-width: 0; min-height: 112px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid rgba(143,247,213,.24); border-radius: 16px; color: #eef8f5; background: linear-gradient(145deg, rgba(99,230,190,.09), rgba(126,108,240,.08)); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s; }
.booking-button > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--green-bright); background: rgba(99,230,190,.12); font-size: 1.22rem; }
.booking-button span { min-width: 0; display: grid; line-height: 1.25; }.booking-button strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }.booking-button small { margin-top: .3rem; color: #91aaa2; font-size: .59rem; line-height: 1.45; }.booking-button b { color: #78918a; font-size: .78rem; }
.booking-button:hover { transform: translateY(-3px); border-color: rgba(143,247,213,.42); background: linear-gradient(145deg, rgba(99,230,190,.13), rgba(126,108,240,.1)); box-shadow: 0 16px 38px rgba(0,0,0,.2); }
.contact-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .25rem; }.contact-secondary-actions .button { min-width: 0; padding-inline: .65rem; font-size: .68rem; }
.direct-contact { position: relative; grid-column: 1 / -1; margin-top: clamp(3rem, 7vw, 6rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(143,247,213,.16); }
.direct-contact-heading { max-width: 650px; margin: 0 auto 2.2rem; text-align: center; }.direct-contact-heading .section-kicker { margin-bottom: .55rem; color: var(--green-bright); }.direct-contact-heading h3 { margin: 0; color: #f7f9fd; font: 700 clamp(2.5rem, 5vw, 4.25rem)/1 var(--display); letter-spacing: -.055em; }.direct-contact-heading > p:last-child { margin: .9rem auto 0; color: #96aaa4; font-size: .9rem; }
.direct-contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; align-items: stretch; }
.whatsapp-message-form, .direct-contact-info { padding: clamp(1.2rem, 2.4vw, 2rem); border: 1px solid rgba(148,163,184,.16); border-radius: 20px; background: linear-gradient(145deg, rgba(15,24,38,.82), rgba(7,12,23,.9)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.whatsapp-message-form { display: grid; gap: 1rem; }
.whatsapp-form-field { display: grid; gap: .42rem; }.whatsapp-form-field label { color: #dce6e3; font-size: .72rem; font-weight: 700; }.whatsapp-form-field input, .whatsapp-form-field textarea { width: 100%; border: 1px solid rgba(148,163,184,.18); border-radius: 11px; outline: none; color: #f1f6f5; background: rgba(255,255,255,.035); font: 500 .78rem/1.5 var(--body); transition: border-color .25s, background .25s, box-shadow .25s; }.whatsapp-form-field input { min-height: 48px; padding: 0 .9rem; }.whatsapp-form-field textarea { min-height: 135px; padding: .8rem .9rem; resize: vertical; }.whatsapp-form-field input::placeholder, .whatsapp-form-field textarea::placeholder { color: #64746f; }.whatsapp-form-field input:focus, .whatsapp-form-field textarea:focus { border-color: rgba(99,230,190,.55); background: rgba(99,230,190,.035); box-shadow: 0 0 0 3px rgba(99,230,190,.08); }
.whatsapp-form-submit { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid rgba(143,247,213,.4); border-radius: 12px; color: #06120e; background: linear-gradient(135deg, #aaffdf, #4fd8ad); box-shadow: 0 12px 30px rgba(50,211,161,.14); cursor: pointer; font: 800 .75rem var(--body); text-transform: uppercase; letter-spacing: .025em; transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }.whatsapp-form-submit i { font-size: 1rem; }.whatsapp-form-submit:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 17px 38px rgba(50,211,161,.22); }
.whatsapp-form-note, .whatsapp-form-status { margin: 0; text-align: center; font-size: .62rem; }.whatsapp-form-note { color: #748781; }.whatsapp-form-status { min-height: 1em; color: var(--green-bright); }
.direct-contact-info { display: grid; gap: .75rem; }
.direct-contact-card { min-height: 76px; display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid rgba(148,163,184,.13); border-radius: 14px; color: #edf4f2; background: rgba(255,255,255,.025); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, background .25s; }.direct-contact-card > i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 11px; color: var(--green-bright); background: rgba(99,230,190,.08); font-size: 1.12rem; }.direct-contact-card span { min-width: 0; display: grid; }.direct-contact-card strong { font-size: .78rem; }.direct-contact-card small { overflow: hidden; margin-top: .2rem; color: #8fa09b; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.direct-contact-card[href]:hover { transform: translateX(5px); border-color: rgba(99,230,190,.35); background: rgba(99,230,190,.055); }
.direct-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: .35rem; }.direct-social-links a { position: relative; width: 50px; height: 50px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: #aab7b3; background: rgba(255,255,255,.03); text-decoration: none; transition: color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s; }.direct-social-links a::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%,-50%); transition: width .4s var(--ease), height .4s var(--ease); }.direct-social-links a.instagram::before { background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); }.direct-social-links a.facebook::before { background: #1877f2; }.direct-social-links a.youtube::before { background: #f00; }.direct-social-links a.linkedin::before { background: #0077b5; }.direct-social-links a.github::before { background: #333; }.direct-social-links a i { position: relative; z-index: 1; transition: color .25s, transform .3s; }.direct-social-links a:hover { transform: translateY(-4px) scale(1.1); color: white; border-color: transparent; box-shadow: 0 8px 24px rgba(129,140,248,.3); }.direct-social-links a:hover::before { width: 105%; height: 105%; }.direct-social-links a:hover i { color: white; transform: scale(1.05); }

@media (max-width: 860px) {
    .direct-contact-grid { grid-template-columns: 1fr; }
}
footer { color: #718094; background: #04070d; border-top: 1px solid rgba(148,163,184,.1); }

/* Floating CV viewer */
.cv-modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), visibility .3s; }
.cv-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.cv-modal-backdrop { position: absolute; inset: 0; background: rgba(2,5,11,.78); backdrop-filter: blur(12px); }
.cv-modal-window { position: relative; width: min(980px, 100%); height: min(860px, calc(100svh - 48px)); overflow: hidden; border: 1px solid rgba(143,247,213,.24); border-radius: 22px; background: #0a111d; box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 70px rgba(99,230,190,.08); transform: translateY(22px) scale(.975); transition: transform .35s var(--ease); }
.cv-modal.is-open .cv-modal-window { transform: none; }
.cv-modal-window::before { content: ''; position: absolute; inset: 0 0 auto; z-index: 3; height: 1px; background: linear-gradient(90deg, transparent, var(--green), var(--violet), transparent); }
.cv-modal-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(148,163,184,.13); background: rgba(9,16,27,.96); }
.cv-modal-header span { color: var(--green); font-size: .61rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.cv-modal-header h2 { margin: .15rem 0 0; color: #f3f7fb; font: 700 1rem var(--display); }
.cv-modal-actions { display: flex; align-items: center; gap: .7rem; }
.cv-modal-actions a { padding: .55rem .8rem; border: 1px solid rgba(143,247,213,.22); border-radius: 999px; color: var(--green-bright); text-decoration: none; font-size: .7rem; font-weight: 700; }
.cv-modal-actions a:hover { color: #06120e; background: var(--green); }
.cv-modal-actions button { width: 38px; height: 38px; border: 1px solid rgba(148,163,184,.18); border-radius: 50%; color: #dce5ef; background: rgba(255,255,255,.035); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.cv-modal-actions button:hover { color: white; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.cv-modal-body { height: calc(100% - 78px); padding: 12px; background: #111827; }
.cv-modal-body iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #e8ebee; }
.cv-modal-fallback { display: none; }
body.cv-modal-open { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(5px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; filter: none; }

.wa-fab { background: linear-gradient(135deg, #26ca94, #0f795d); box-shadow: 0 10px 32px rgba(35,203,148,.32), 0 0 0 7px rgba(35,203,148,.06); }
.wa-form { color: #edf4f8; background: #0b1320; border-color: rgba(148,163,184,.18); box-shadow: 0 28px 80px rgba(0,0,0,.55); }.wa-form-header { background: #08100e; }.wa-form-body { background: #0b1320; }.wa-field { color: #aeb9c7; }.wa-field input, .wa-field textarea, .wa-select-trigger { color: #eef3f8; background: rgba(255,255,255,.035); border-color: rgba(148,163,184,.18); }.wa-select-options { background: #101a29; border-color: rgba(148,163,184,.18); }.wa-select-option { color: #aeb9c7; background: #101a29; }.wa-select-option:hover, .wa-select-option--active { color: var(--green); background: rgba(99,230,190,.08); }.wa-send { color: #06120e; background: var(--green); }

@media (max-width: 980px) {
    .nav-links.active { background: rgba(7,11,20,.98); backdrop-filter: blur(20px); }
    .profile-card { margin-bottom: 2rem; }
    .timeline::before { left: 0; }.job::before { left: -5px; }.job { padding-left: 28px; }
}

@media (max-width: 700px) {
    .cursor-light { display: none; }
    .ambient-grid { background-size: 46px 46px; opacity: .18; }
    .hero { width: auto; max-width: calc(100vw - 32px); margin-inline: 16px; padding-top: 112px; overflow: hidden; }
    .hero-copy { width: 100%; max-width: 100%; overflow: hidden; }
    .hero::before { width: 420px; height: 420px; right: -55%; top: 15%; }
    .hero::after { display: none; }
    .hero h1 { width: 100%; max-width: 100%; font-size: clamp(2.35rem, 10.4vw, 3.15rem); overflow-wrap: anywhere; }
    .hero-intro { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
    .hero-actions { width: 100%; max-width: 100%; }
    .hero-developer-dock { align-items: stretch; flex-direction: column; margin-top: 0; }
    .developer-github, .developer-console { width: 100%; max-width: 100%; }
    .developer-console { width: 100%; height: 118px; }
    .developer-console pre { font-size: .56rem; }
    .skills-marquee { padding-block: 2.5rem; }
    .skills-marquee-heading { align-items: start; flex-direction: column; margin-bottom: 1.2rem; }
    .skills-marquee-heading h2 { font-size: 1.65rem; }
    .tech-badge { height: 43px; padding-inline: .8rem; font-size: .75rem; }
    .skills-track { animation-duration: 27s; }
    .skills-lane-reverse .skills-track { animation-duration: 30s; }
    .profile-orbit-one { width: 112%; left: -6%; }.profile-orbit-two { display: none; }
    .impact-strip { border-radius: 0; }
    .impact-footer { align-items: stretch; flex-direction: column; }
    .impact-github, .impact-console { width: 100%; max-width: 100%; }
    .impact-console { overflow: hidden; font-size: .58rem; }
    .timeline::before { left: 0; }.job::before { top: 2.55rem; left: -5px; }.job, .job:hover { padding-left: 24px; padding-right: 0; }
    .skills-section::before { background-size: 38px 38px; }
    .project:hover, .credential-card:hover { transform: translateY(-4px); }
    .cv-modal { padding: 10px; }
    .cv-modal-window { height: calc(100svh - 20px); border-radius: 16px; }
    .cv-modal-header { min-height: 70px; padding: .8rem; }
    .cv-modal-header span { display: none; }
    .cv-modal-header h2 { font-size: .86rem; }
    .cv-modal-actions a { padding: .48rem .65rem; font-size: .62rem; }
    .cv-modal-actions button { width: 34px; height: 34px; }
    .cv-modal-body { height: calc(100% - 70px); padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb, .profile-orbit, .profile-card::before, .impact-strip::before, .contact-section::before, .console-cursor, .brand-mark::after { animation: none !important; }
    .cursor-light { display: none; }
    .skills-lane { overflow-x: auto; scrollbar-width: none; }
    .skills-lane::-webkit-scrollbar { display: none; }
    .skills-track { animation: none !important; transform: none !important; }
    .skills-set[aria-hidden="true"] { display: none; }
}
