@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-ExtraBold.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }

:root {
    --bg: #0a0a0a;
    --bg-soft: #101010;
    --surface: #151515;
    --surface-strong: #1b1b1b;
    --text: #f3f3ef;
    --muted: #949490;
    --muted-light: #c5c5be;
    --line: rgba(255, 255, 255, .14);
    --line-strong: rgba(255, 255, 255, .25);
    --accent: #c4ff58;
    --accent-dark: #122000;
    --radius: 1.25rem;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--accent-dark); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.container { width: min(100%, 1280px); margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 4.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; color: var(--accent-dark); background: var(--accent); transform: translateY(-200%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.loading-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 1.5rem; background: var(--bg); transition: opacity .7s ease, visibility .7s ease; }
.loading-screen.is-hidden { opacity: 0; visibility: hidden; }
.loading-mark { display: grid; place-items: center; }
.loading-mark img { width: 4.5rem; height: 4.5rem; border-radius: 1.15rem; animation: logo-intro .8s var(--ease) both; }
.loading-mark span { color: var(--accent); }
.loading-line { width: 7rem; height: 2px; overflow: hidden; background: var(--line); }
.loading-line span { display: block; width: 40%; height: 100%; background: var(--accent); animation: loading 1s var(--ease) infinite; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
@keyframes logo-intro { from { opacity: 0; transform: scale(.7) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.cursor { position: fixed; z-index: 50; width: 1rem; height: 1rem; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s ease, opacity .25s ease; }
.cursor.is-visible { opacity: 1; }
.cursor.is-active { width: 3.25rem; height: 3.25rem; background: rgba(196, 255, 88, .12); }
.scroll-progress { position: fixed; z-index: 40; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: var(--scroll-progress, 0%); height: 100%; background: var(--accent); box-shadow: 0 0 1rem rgba(196, 255, 88, .8); transition: width .12s linear; }

.nav { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; padding: 1.35rem 0; background: linear-gradient(var(--bg), rgba(10, 10, 10, .82), transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 10, 10, .32); transition: border-color .25s ease, background .25s ease; }
.logo:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }
.logo-mark { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; color: var(--accent-dark); background: var(--accent); font-size: .58rem; font-weight: 850; letter-spacing: -.08em; }
.logo-mark-image { width: 1.45rem; height: 1.45rem; flex: 0 0 auto; border-radius: .42rem; transition: transform .35s var(--ease); }
.logo:hover .logo-mark-image { transform: rotate(-8deg) scale(1.08); }
.logo-copy { display: grid; gap: .05rem; }
.logo-name { color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.logo-handle { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .53rem; font-weight: 700; letter-spacing: .14em; line-height: 1; text-transform: uppercase; transition: letter-spacing .25s var(--ease), color .25s ease; }
.logo:hover .logo-handle { color: var(--text); letter-spacing: .2em; }
.nav-panel { display: flex; justify-content: center; }
.navbar { display: flex; align-items: center; gap: .2rem; margin: 0; padding: .3rem; list-style: none; border: 1px solid var(--line); border-radius: 999px; background: rgba(16, 16, 16, .78); backdrop-filter: blur(1rem); }
.nav-menu { display: block; padding: .55rem 1rem; border-radius: 999px; color: var(--muted-light); font-size: .82rem; font-weight: 600; letter-spacing: .01em; transition: color .25s ease, background .25s ease; }
.nav-menu:hover, .nav-menu.is-active { color: var(--text); background: rgba(255, 255, 255, .1); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.25rem; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-size: .84rem; font-weight: 700; white-space: nowrap; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-light { color: #101010; background: var(--text); }
.button-light:hover { background: var(--accent); }
.button-accent { color: var(--accent-dark); background: var(--accent); }
.button-accent:hover { background: #d3ff80; }
.button-small { min-height: 2.55rem; padding: .55rem 1rem; }
.menu-toggle { display: none; width: 2.65rem; height: 2.65rem; padding: .65rem; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--surface); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: .35rem 0; background: currentColor; transition: transform .25s ease; }

.hero { position: relative; display: flex; align-items: center; min-height: 100dvh; padding: 9.5rem 0 5rem; isolation: isolate; overflow: hidden; }
.hero-background { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .8) 45%, rgba(10, 10, 10, .2) 100%), url("../images/g-back.png"), url("../images/Grid.png"); background-position: center, center, center; background-size: cover, cover, 38rem; opacity: .78; }
.hero-background::before { content: ""; position: absolute; inset: -15%; background: radial-gradient(circle at 72% 35%, rgba(196, 255, 88, .2), transparent 20%), radial-gradient(circle at 32% 75%, rgba(100, 120, 255, .12), transparent 24%); opacity: .7; animation: glow-drift 11s ease-in-out infinite alternate; }
.hero-background::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 74% 42%, rgba(196, 255, 88, .12), transparent 26%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); animation: horizon-breathe 8s ease-in-out infinite alternate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(24rem, .9fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.hero-copy { position: relative; z-index: 2; max-width: 45rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.65rem; color: var(--muted-light); font-family: "Poppins", sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-handle { color: var(--accent); letter-spacing: .12em; transition: color .25s ease, transform .25s var(--ease); }
.eyebrow:hover .eyebrow-handle { color: var(--text); transform: translateX(.18rem); }
.status-dot, .section-marker { display: inline-block; width: .5rem; height: .5rem; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .25rem rgba(196, 255, 88, .12); animation: status-pulse 2.4s ease-in-out infinite; }
.section-marker { width: .45rem; height: .45rem; box-shadow: none; animation-name: marker-pulse; animation-duration: 2.8s; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.06em; }
h1 { max-width: 16ch; margin-bottom: 1.75rem; font-size: clamp(3.35rem, 6.2vw, 6.35rem); line-height: .94; }
h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 34rem; margin-bottom: 2rem; color: var(--muted-light); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-size: .9rem; font-weight: 700; }
.text-link span, .project-link span { color: var(--accent); transition: transform .25s var(--ease); }
.text-link:hover span, .project-link:hover span { transform: translate(3px, -3px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: clamp(4rem, 10vh, 7rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: .25rem; }
.meta-label { color: var(--muted); font-family: "Poppins", sans-serif; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-meta strong { font-size: .85rem; font-weight: 600; }
.hero-socials { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.15rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-socials .meta-label { margin-right: .35rem; }
.hero-socials a { color: var(--muted-light); font-size: .82rem; font-weight: 650; transition: color .25s ease, transform .25s var(--ease); }
.hero-socials a span { color: var(--accent); transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .hero-socials a:hover { color: var(--text); transform: translateY(-2px); } .hero-socials a:hover span { display: inline-block; transform: translate(.15rem, -.15rem); } }
.hero-visual { position: relative; min-height: 36rem; }
.hero-art-frame { position: absolute; top: 50%; left: 50%; width: min(36rem, 100%); aspect-ratio: 1.08; transform: translate(-50%, -50%) rotate(3deg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); background: #131313; box-shadow: inset 0 0 5rem rgba(255, 255, 255, .04), 0 2rem 8rem rgba(0, 0, 0, .35); animation: art-float 7s ease-in-out infinite; }
.hero-art-frame::before { content: ""; position: absolute; z-index: 1; top: -35%; left: -10%; width: 120%; height: 28%; background: linear-gradient(180deg, transparent, rgba(196, 255, 88, .16), transparent); pointer-events: none; transform: translateY(-120%) rotate(-6deg); animation: frame-scan 6s ease-in-out infinite; }
.hero-art-frame::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(196, 255, 88, .42); pointer-events: none; }
.hero-art-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.08); transition: transform 1s var(--ease), filter .6s ease; }
.hero-art-frame:hover img { transform: scale(1.05) rotate(-2deg); filter: saturate(1.12) contrast(1.08); }
@keyframes art-float { 0%, 100% { transform: translate(-50%, -50%) rotate(3deg); } 50% { transform: translate(-50%, calc(-50% - .75rem)) rotate(1deg); } }
.cube-stamp { position: absolute; right: 4%; bottom: 9%; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; overflow: hidden; border: 1px solid rgba(196, 255, 88, .5); border-radius: 50%; background: rgba(10, 10, 10, .72); backdrop-filter: blur(1rem); transform: rotate(-12deg); animation: stamp-spin 12s linear infinite; }
.cube-stamp img { width: 180%; max-width: none; opacity: .88; filter: hue-rotate(54deg) saturate(1.4); }
@keyframes stamp-spin { to { transform: rotate(348deg); } }
.cube-frame::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.cube-frame img { position: absolute; top: 50%; left: 50%; width: 125%; max-width: none; transform: translate(-50%, -50%) rotate(-7deg); opacity: .9; filter: saturate(.8) contrast(1.08); }
.visual-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(196, 255, 88, .18); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); pointer-events: none; }
.orbit-one { width: 106%; height: 41%; animation: orbit-one 20s linear infinite; }
.orbit-two { width: 41%; height: 106%; transform: translate(-50%, -50%) rotate(32deg); animation: orbit-two 26s linear infinite reverse; }
.visual-note { position: absolute; z-index: 2; display: grid; gap: .15rem; min-width: 8.5rem; padding: .8rem 1rem; border: 1px solid var(--line); background: rgba(21, 21, 21, .82); backdrop-filter: blur(1rem); }
.visual-note span:not(.status-dot) { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .65rem; }
.visual-note strong { font-size: .88rem; }
.visual-note small { color: var(--muted); font-size: .68rem; }
.note-top { top: 14%; right: 2%; animation: note-float 6s ease-in-out .2s infinite alternate; }
.note-bottom { bottom: 13%; left: 1%; animation: note-float 6s ease-in-out 1.1s infinite alternate-reverse; }
.note-bottom .status-dot { display: inline-block; margin-right: .35rem; vertical-align: middle; width: .4rem; height: .4rem; }
.hero-scroll { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2rem; display: flex; align-items: center; gap: .6rem; color: var(--muted); font-family: "Poppins", sans-serif; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-scroll span { color: var(--accent); font-size: 1rem; }
.hero-scroll span { animation: scroll-nudge 1.8s ease-in-out infinite; }

@keyframes glow-drift { from { transform: translate3d(-2%, -1%, 0) scale(.98); } to { transform: translate3d(3%, 2%, 0) scale(1.04); } }
@keyframes horizon-breathe { from { opacity: .62; } to { opacity: .95; } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 .22rem rgba(196, 255, 88, .12); } 50% { box-shadow: 0 0 0 .48rem rgba(196, 255, 88, .02); } }
@keyframes marker-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .65; } }
@keyframes frame-scan { 0%, 18% { transform: translateY(-120%) rotate(-6deg); opacity: 0; } 34% { opacity: 1; } 64%, 100% { transform: translateY(460%) rotate(-6deg); opacity: 0; } }
@keyframes orbit-one { from { transform: translate(-50%, -50%) rotate(-22deg); } to { transform: translate(-50%, -50%) rotate(338deg); } }
@keyframes orbit-two { from { transform: translate(-50%, -50%) rotate(32deg); } to { transform: translate(-50%, -50%) rotate(-328deg); } }
@keyframes note-float { from { transform: translateY(-.25rem) rotate(-1deg); } to { transform: translateY(.35rem) rotate(1deg); } }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(.35rem); opacity: 1; } }

.section-snapshot { padding-block: 3.75rem; border-block: 1px solid var(--line); background: var(--accent); color: var(--accent-dark); }
.snapshot-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 4rem; }
.snapshot-intro h2 { max-width: 12ch; margin: 0; font-size: clamp(2.4rem, 4vw, 4.3rem); line-height: .95; letter-spacing: -.07em; }
.snapshot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.snapshot-stat { display: grid; gap: .35rem; padding-left: 1.25rem; border-left: 1px solid rgba(18, 32, 0, .35); }
.snapshot-stat strong { font-size: clamp(3.25rem, 6vw, 5.75rem); line-height: .9; letter-spacing: -.08em; }
.snapshot-stat span { font-size: 1rem; font-weight: 750; }
.snapshot-stat small { max-width: 14rem; font-size: .82rem; line-height: 1.45; opacity: .72; }

.section-currently { background: #0d0d0d; }
.currently-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.currently-intro { position: relative; }
.currently-intro h2 { max-width: 9ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.currently-intro > p:not(.eyebrow) { max-width: 24rem; margin-bottom: 2rem; color: var(--muted); line-height: 1.7; }
.currently-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.current-card { position: relative; display: flex; min-height: 15rem; flex-direction: column; padding: 1.4rem; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), border-color .35s ease, background .35s ease; }
.current-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-110%); opacity: 0; }
.current-card::after { content: "↗"; position: absolute; top: 1.2rem; right: 1.3rem; color: var(--accent); opacity: .35; transition: transform .35s var(--ease), opacity .35s ease; }
.current-card:hover { transform: translateY(-.4rem); border-color: rgba(196, 255, 88, .5); background: var(--surface-strong); }
@media (hover: hover) and (pointer: fine) { .current-card:hover::before { opacity: 1; animation: card-sweep 1.1s var(--ease-in-out); } .current-card:hover::after { opacity: 1; transform: translate(.2rem, -.2rem); } }
.current-card-feature { grid-row: span 2; min-height: 31rem; justify-content: flex-start; border-color: rgba(196, 255, 88, .34); background: linear-gradient(145deg, rgba(196, 255, 88, .1), transparent 70%), var(--surface); }
.current-index { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.current-card h3 { max-width: 12ch; margin: 2.25rem 0 .7rem; font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: .98; }
.current-card:not(.current-card-feature) h3 { margin-top: auto; }
.current-card p { max-width: 25rem; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.current-signal { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 2rem; padding: .9rem 0; border-block: 1px solid var(--line); }
.current-signal span { color: var(--muted-light); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.current-signal span::before { content: "+"; margin-right: .35rem; color: var(--accent); }
.current-tag { display: inline-flex; width: fit-content; margin-top: 1.5rem; padding: .35rem .55rem; border: 1px solid var(--line); color: var(--muted-light); font-family: "Poppins", sans-serif; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.current-card-feature .current-tag { margin-top: auto; }

.section { padding: clamp(3.25rem, 5vw, 5.75rem) 0; }
.section-about { border-top: 1px solid var(--line); }
.section-intro { max-width: 55rem; padding-bottom: 3.25rem; border-bottom: 1px solid var(--line); }
.section-intro h2, .section-heading h2, .process-title h2, .contact-copy h2 { max-width: 12ch; margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); padding-top: 3.5rem; }
.about-statement { max-width: 34rem; }
.lead { margin-bottom: 1.5rem; color: var(--text); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.04em; }
.about-statement > p:not(.lead) { max-width: 31rem; margin-bottom: 2.25rem; color: var(--muted); line-height: 1.75; }
.about-facts { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 3.2rem 1fr; gap: .4rem 1.5rem; padding: 1.45rem 0; border-top: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s ease; }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact > strong { grid-row: span 2; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .75rem; font-weight: 400; }
.fact > span { font-size: 1.1rem; font-weight: 650; }
.fact p { grid-column: 2; margin: 0; color: var(--muted); font-size: .92rem; }
@media (hover: hover) and (pointer: fine) { .fact:hover { transform: translateX(.45rem); border-color: rgba(196, 255, 88, .45); } }

.section-capabilities { background: var(--bg-soft); }
.section-heading { display: grid; gap: 1.2rem; margin-bottom: 3rem; }
.section-heading-copy { max-width: 36rem; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.capability-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.capability-card { position: relative; display: flex; flex-direction: column; min-height: 23rem; padding: 1.5rem; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), border-color .35s ease, background .35s ease; }
.capability-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-110%); opacity: 0; }
.capability-card::after { content: ""; position: absolute; right: -25%; bottom: -35%; width: 65%; aspect-ratio: 1; border-radius: 50%; background: rgba(196, 255, 88, .07); filter: blur(1.5rem); opacity: 0; transform: scale(.8); transition: opacity .4s ease, transform .5s var(--ease); pointer-events: none; }
.capability-card:hover { transform: translateY(-.4rem); border-color: var(--line-strong); background: var(--surface-strong); }
@media (hover: hover) and (pointer: fine) { .capability-card:hover::before { opacity: 1; animation: card-sweep 1.1s var(--ease-in-out); } .capability-card:hover::after { opacity: 1; transform: scale(1); } }
.capability-feature { justify-content: space-between; min-height: 25rem; border-color: rgba(196, 255, 88, .34); background: linear-gradient(145deg, rgba(196, 255, 88, .1), transparent 70%), var(--surface); }
.card-topline { display: flex; justify-content: space-between; color: var(--muted); font-family: "Poppins", sans-serif; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.card-topline span:first-child { color: var(--accent); }
.capability-card h3 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 2.3vw, 2.35rem); line-height: 1; }
.capability-card p { max-width: 24rem; margin: 0; color: var(--muted); line-height: 1.7; }
.skill-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.skill-list span { padding: .4rem .65rem; border: 1px solid var(--line); color: var(--muted-light); font-family: "Poppins", sans-serif; font-size: .68rem; }
.card-arrow { position: absolute; right: 1.5rem; bottom: 1.4rem; color: var(--accent); font-size: 1.3rem; }
.card-arrow { transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .capability-card:hover .card-arrow { transform: translate(.25rem, -.25rem) rotate(8deg); } }
@keyframes card-sweep { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

.section-stack { background: #0d0d0d; }
.stack-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.stack-copy h2 { max-width: 10ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.stack-copy > p:last-child { max-width: 24rem; margin: 0; color: var(--muted); line-height: 1.7; }
.stack-kicker { margin-bottom: 1.2rem; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.stack-explorer { padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(196, 255, 88, .08), transparent 48%), var(--surface); }
.stack-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-button { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-light); background: transparent; cursor: pointer; font-size: .76rem; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.filter-button:hover, .filter-button.is-active { border-color: var(--accent); color: var(--accent-dark); background: var(--accent); transform: translateY(-2px); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: .7rem; min-height: 8.25rem; align-content: start; }
.skill-chip { padding: .7rem .85rem; border: 1px solid rgba(255, 255, 255, .16); color: var(--text); background: rgba(255, 255, 255, .035); cursor: pointer; font-size: .9rem; transition: transform .3s var(--ease), color .25s ease, border-color .25s ease, background .25s ease; }
.skill-chip { animation: chip-pop .6s var(--ease) both; }
.skill-chip:nth-child(2) { animation-delay: 45ms; }
.skill-chip:nth-child(3) { animation-delay: 90ms; }
.skill-chip:nth-child(4) { animation-delay: 135ms; }
.skill-chip:nth-child(5) { animation-delay: 180ms; }
.skill-chip:nth-child(6) { animation-delay: 225ms; }
.skill-chip:nth-child(7) { animation-delay: 270ms; }
.skill-chip:nth-child(8) { animation-delay: 315ms; }
.skill-chip:nth-child(9) { animation-delay: 360ms; }
.skill-chip:nth-child(10) { animation-delay: 405ms; }
.skill-chip:nth-child(11) { animation-delay: 450ms; }
.skill-chip:nth-child(12) { animation-delay: 495ms; }
.skill-chip:nth-child(13) { animation-delay: 540ms; }
.skill-chip:nth-child(14) { animation-delay: 585ms; }
.skill-chip:hover, .skill-chip.is-selected { border-color: var(--accent); color: var(--accent); background: rgba(196, 255, 88, .08); transform: translateY(-4px) rotate(-2deg); }
.skill-chip.is-hidden { display: none; }
.skill-detail { min-height: 1.3rem; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

.ticker { overflow: hidden; padding: 1.5rem 0; border-block: 1px solid var(--line); background: var(--accent); color: var(--accent-dark); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { padding-inline: 1.4rem; font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 750; letter-spacing: -.06em; white-space: nowrap; }
.ticker i { font-size: 1rem; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes chip-pop { from { opacity: 0; transform: translateY(.5rem) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker-track { animation-play-state: paused; } }

.section-projects { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.project-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), border-color .35s ease; }
.project-card::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; width: 35%; height: 1px; background: var(--accent); opacity: 0; transform: translateX(-120%); pointer-events: none; }
.project-card:hover { transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-.4rem); border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .project-card:hover::before { opacity: 1; animation: card-sweep 1s var(--ease-in-out); } }
.project-card:nth-child(1), .project-card:nth-child(5) { grid-column: span 7; }
.project-card:nth-child(2), .project-card:nth-child(3), .project-card:nth-child(6) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }
.project-large, .project-wide { grid-row: auto; }
.project-image { height: clamp(16rem, 22vw, 22rem); overflow: hidden; background: #1d1d1d; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s ease; }
.project-card:hover .project-image img { transform: scale(1.04); filter: saturate(1.1); }
.project-image-code { background: radial-gradient(circle at 70% 25%, rgba(196, 255, 88, .25), transparent 35%), #202020; }
.project-image-code img { object-fit: contain; padding: 2rem; }
.project-content { display: grid; flex: 1; grid-template-columns: 1fr auto; align-content: space-between; gap: 1.35rem; min-height: 10.5rem; padding: 1.7rem; }
.project-content h3 { margin: .6rem 0 0; font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.05; }
.project-type { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.project-content p { grid-column: 1; max-width: 34rem; margin: 0; color: var(--muted-light); font-size: 1rem; line-height: 1.6; }
.project-link { align-self: end; display: inline-flex; gap: .5rem; color: var(--text); font-size: .92rem; font-weight: 700; white-space: nowrap; }
.project-trigger { padding: 0; border: 0; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.project-trigger:hover { color: var(--accent); }
.project-image-cintlami img { object-position: 8% center; }
.project-image-estampyx { background: #f6f6f3; }
.project-image-estampyx img { object-fit: contain; object-position: center; padding: .55rem; filter: none; }
.project-image-sanamu img { object-position: left center; }
.project-image-bikini { background: radial-gradient(circle at 50% 20%, rgba(196, 255, 88, .24), transparent 40%), #121b23; }
.project-image-bikini img { object-fit: cover; padding: 0; opacity: .95; filter: saturate(.9) contrast(1.05); }
.project-image-te-amo { background: linear-gradient(120deg, #f8b8dc, #b9c9f4); }
.project-image-te-amo img { object-position: center; filter: saturate(1.05) contrast(1.02); }
.project-image-te-amo-gatito { background: #152733; }
.project-image-te-amo-gatito img { object-position: center; filter: saturate(1.04) contrast(1.04); }
.project-content h3 { transition: color .25s ease, transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .project-card:hover .project-content h3 { color: var(--accent); transform: translateX(.25rem); } }

.section-career { background: var(--bg); }
.career-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.career-intro h2 { max-width: 9ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.career-intro > p { max-width: 24rem; margin-bottom: 2rem; color: var(--muted); line-height: 1.7; }
.career-timeline { display: grid; }
.career-item { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s ease; }
.career-item:last-child { border-bottom: 1px solid var(--line); }
.career-item > span, .career-item > time { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .68rem; }
.career-item h3 { margin: 0 0 .5rem; font-size: 1.2rem; letter-spacing: -.04em; }
.career-item p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.career-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-bottom: .5rem; }
.career-heading h3 { margin: 0; }
.career-heading > span { padding: .2rem .4rem; border: 1px solid rgba(196, 255, 88, .35); color: var(--accent); font-family: "Poppins", sans-serif; font-size: .56rem; letter-spacing: .08em; }
@media (hover: hover) and (pointer: fine) { .career-item:hover { transform: translateX(.45rem); border-color: rgba(196, 255, 88, .45); } }

.section-education { background: var(--bg); }
.education-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.education-intro { position: relative; }
.education-intro h2 { max-width: 10ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.education-intro > p:not(.eyebrow) { max-width: 24rem; margin: 0 0 1.75rem; color: var(--muted); line-height: 1.7; }
.education-note { display: inline-flex; padding: .4rem .55rem; border: 1px solid rgba(196, 255, 88, .28); color: var(--accent); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.education-list { position: relative; display: grid; }
.education-list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 9.2rem; width: 1px; background: linear-gradient(var(--accent), transparent 92%); opacity: .42; transform-origin: top; animation: education-line 6s ease-in-out infinite alternate; }
.education-item { position: relative; display: grid; grid-template-columns: 8.7rem 1fr; gap: 1.25rem; padding: 1.45rem 0 1.45rem 0; border-top: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s ease; }
.education-item:last-child { border-bottom: 1px solid var(--line); }
.education-item::before { content: ""; position: absolute; top: 1.82rem; left: 8.95rem; width: .5rem; height: .5rem; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); animation: education-dot 2.8s ease-in-out infinite; }
.education-item > time { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .66rem; line-height: 1.45; }
.education-type { color: var(--muted); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.education-item h3 { margin: .45rem 0 .35rem; font-size: 1.35rem; line-height: 1.05; }
.education-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .education-item:hover { transform: translateX(.45rem); border-color: rgba(196, 255, 88, .45); } }

.section-certifications { background: var(--bg-soft); }
.certification-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.certification-intro h2 { max-width: 11ch; margin: 0 0 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.certification-intro > p:not(.eyebrow) { max-width: 24rem; margin: 0 0 2rem; color: var(--muted); line-height: 1.7; }
.certification-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.certification-card { display: grid; gap: 2rem; min-height: 15rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), border-color .35s ease, background .35s ease; }
.certification-card { position: relative; overflow: hidden; }
.certification-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-110%); opacity: 0; }
.certification-card:hover { transform: translateY(-.4rem); border-color: rgba(196, 255, 88, .5); background: var(--surface-strong); }
@media (hover: hover) and (pointer: fine) { .certification-card:hover::before { opacity: 1; animation: card-sweep 1.1s var(--ease-in-out); } }
.certification-card > span { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .66rem; letter-spacing: .08em; }
.certification-card h3 { margin: 0 0 .6rem; font-size: 1.15rem; line-height: 1.1; }
.certification-card p { margin: 0 0 1.15rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.certification-card small { color: var(--muted-light); font-size: .7rem; }

.project-modal { width: min(92vw, 38rem); padding: 0; border: 1px solid var(--line-strong); color: var(--text); background: var(--surface-strong); box-shadow: 0 2rem 8rem rgba(0, 0, 0, .5); }
.project-modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(.35rem); }
.modal-inner { position: relative; padding: clamp(2rem, 5vw, 3.5rem); background: radial-gradient(circle at 90% 0%, rgba(196, 255, 88, .1), transparent 35%), var(--surface-strong); }
.modal-close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: transparent; cursor: pointer; font-size: 1.4rem; transition: transform .25s var(--ease), color .25s ease, border-color .25s ease; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
.project-modal h2 { margin: .6rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; }
.project-modal #modal-description { max-width: 31rem; color: var(--muted-light); line-height: 1.75; }
.modal-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 2rem; }
.modal-tags span { padding: .4rem .65rem; border: 1px solid var(--line); color: var(--muted-light); font-family: "Poppins", sans-serif; font-size: .68rem; }

.section-process { background: var(--bg-soft); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 10vw, 10rem); }
.process-title > p:last-child { max-width: 22rem; margin-top: 1.75rem; color: var(--muted); line-height: 1.7; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.65rem 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--accent); font-family: "Poppins", sans-serif; font-size: .7rem; }
.process-list h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.process-list p { max-width: 32rem; margin: 0; color: var(--muted); font-size: .93rem; }
.process-list li { transition: transform .3s var(--ease), border-color .3s ease; }
@media (hover: hover) and (pointer: fine) { .process-list li:hover { transform: translateX(.45rem); border-color: rgba(196, 255, 88, .45); } }

.contact-section { padding-top: 5rem; background: var(--bg); }
.contact-box { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(3rem, 7vw, 7rem); border: 1px solid var(--line-strong); background: linear-gradient(110deg, rgba(10, 10, 10, .75), rgba(10, 10, 10, .35)), url("../images/gr-back.png") center / cover; }
.contact-box { position: relative; overflow: hidden; }
.contact-box::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle, rgba(196, 255, 88, .14), transparent 35%); opacity: .45; pointer-events: none; animation: contact-glow 9s ease-in-out infinite alternate; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-copy > p:not(.eyebrow) { max-width: 25rem; margin: 1.75rem 0 2.75rem; color: var(--muted-light); line-height: 1.7; }
.contact-direct { display: grid; gap: .35rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.contact-direct span { color: var(--muted); font-family: "Poppins", sans-serif; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-direct a { width: fit-content; color: var(--accent); font-size: .95rem; font-weight: 650; }
.contact-direct a { transition: transform .25s var(--ease), color .25s ease; }
@media (hover: hover) and (pointer: fine) { .contact-direct a:hover { transform: translateX(.3rem); color: var(--text); } }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1.1rem; align-content: start; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-recaptcha { display: grid; gap: .45rem; min-height: 4.85rem; }
.form-recaptcha .g-recaptcha { transform-origin: left top; }
.form-recaptcha .form-error.is-visible { display: block; }
.form-row { display: grid; gap: .6rem; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { color: var(--muted-light); font-size: .76rem; font-weight: 650; }
.form-row label span { color: var(--accent); }
.form-row input, .form-row textarea { width: 100%; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; outline: none; color: var(--text); background: transparent; font-size: .95rem; transition: border-color .25s ease; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #666662; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent); }
.form-row.has-error label { color: #ff9c9c; }
.form-row.has-error input, .form-row.has-error textarea { border-color: #ff6b6b; }
.form-row.has-error input:focus, .form-row.has-error textarea:focus { border-color: #ff9c9c; }
.form-error { display: none; margin: -.15rem 0 0; color: #ff9c9c; font-size: .72rem; line-height: 1.4; }
.form-row.has-error .form-error { display: block; }
.contact-form .button { justify-self: start; margin-top: .5rem; }
.form-status { grid-column: 1 / -1; min-height: 1.5rem; margin: 0; color: var(--accent); font-size: .8rem; }

.footer { padding: 2rem 0 1.5rem; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 2rem; padding-block: 2rem 4rem; border-top: 1px solid var(--line); }
.footer-top > p { max-width: 15rem; margin: 0; color: var(--muted); font-size: .85rem; }
.footer-handle { color: var(--accent); }
.social-links { display: flex; justify-content: end; flex-wrap: wrap; gap: 1.1rem; }
.social-links a { color: var(--muted-light); font-size: .8rem; transition: color .25s ease; }
.social-links a:hover { color: var(--accent); }
.social-links span { color: var(--accent); }
.manual-link { color: var(--accent) !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-family: "Poppins", sans-serif; font-size: .65rem; }
.footer-bottom a:hover { color: var(--text); }
.magnetic { --mag-x: 0px; --mag-y: 0px; will-change: transform; }
.magnetic.button { transform: translate(var(--mag-x), var(--mag-y)); }
.magnetic.button:hover { transform: translate(var(--mag-x), calc(var(--mag-y) - 2px)); }
.magnetic:not(.button) { transition: color .25s ease, transform .25s var(--ease); }
.magnetic:not(.button):hover { transform: translate(var(--mag-x), calc(var(--mag-y) - 2px)); }
.quick-contact { position: fixed; z-index: 15; right: 5.25rem; bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; padding: .7rem .75rem .7rem 1rem; border: 1px solid rgba(196, 255, 88, .34); background: rgba(16, 16, 16, .86); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .28); backdrop-filter: blur(1rem); animation: quick-contact-in .8s var(--ease) 1.4s both, quick-contact-float 5s ease-in-out 2.2s infinite alternate; }
.quick-contact-copy { display: grid; gap: .12rem; }
.quick-contact-copy span { display: flex; align-items: center; gap: .35rem; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.quick-contact-copy i { display: inline-block; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .2rem rgba(196, 255, 88, .1); animation: status-pulse 2.4s ease-in-out infinite; }
.quick-contact-copy strong { color: var(--text); font-size: .76rem; }
.quick-contact-link { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem; color: var(--accent-dark); background: var(--accent); font-size: .7rem; font-weight: 750; transition: background .25s ease, transform .25s var(--ease); }
.quick-contact-link:hover { background: #d3ff80; }
.quick-contact-link span { transition: transform .25s var(--ease); }
.quick-contact-link:hover span { transform: translate(.15rem, -.15rem); }
.back-to-top { position: fixed; z-index: 10; right: 1.5rem; bottom: 1.5rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent-dark); background: var(--accent); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(1rem); transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #d3ff80; }
.back-to-top.is-visible { animation: back-top-in .5s var(--ease) both; }

@keyframes contact-glow { from { transform: translate(-12%, -8%) scale(.9); } to { transform: translate(10%, 8%) scale(1.1); } }
@keyframes back-top-in { from { opacity: 0; transform: translateY(1rem) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes quick-contact-in { from { opacity: 0; transform: translateY(1rem) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes quick-contact-float { from { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .28); } to { box-shadow: 0 1.25rem 3.5rem rgba(196, 255, 88, .08); } }

.reveal { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-enabled .reveal { opacity: 0; transform: translateY(1.5rem); }
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

/* Motion layer: cada sección tiene una señal visual propia, no solo texto que aparece. */
.section-about, .section-capabilities, .section-stack, .section-projects, .section-process, .section-career, .section-education, .section-certifications, .contact-section, .section-currently { position: relative; isolation: isolate; overflow: hidden; }
.section-about > .container, .section-capabilities > .container, .section-stack > .container, .section-projects > .container, .section-process > .container, .section-career > .container, .section-education > .container, .section-certifications > .container, .contact-section > .container, .section-currently > .container { position: relative; z-index: 1; }
.section-currently::before { content: "03 / NOW"; position: absolute; top: 8%; right: 5%; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .16em; opacity: .5; animation: section-label 4.5s ease-in-out infinite; pointer-events: none; }
.section-currently::after { content: ""; position: absolute; left: -8rem; bottom: -12rem; width: 28rem; aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .1); border-radius: 50%; animation: project-orbit 24s linear infinite; pointer-events: none; }
.section-education::before { content: "04 / STUDIES"; position: absolute; top: 8%; right: 5%; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .16em; opacity: .5; animation: section-label 4.5s ease-in-out infinite reverse; pointer-events: none; }
.section-education::after { content: ""; position: absolute; right: -10rem; bottom: -14rem; width: 32rem; aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .08); border-radius: 50%; animation: career-orbit 22s linear infinite reverse; pointer-events: none; }
.section-about::before { content: ""; position: absolute; inset: -12%; z-index: -1; background-image: linear-gradient(rgba(196, 255, 88, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 255, 88, .07) 1px, transparent 1px); background-size: 5rem 5rem; opacity: .32; transform: rotate(-4deg) translate3d(0, 0, 0); animation: profile-grid 24s linear infinite; pointer-events: none; }
.section-about::after { content: "01 / PERFIL"; position: absolute; top: 9%; right: 5%; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .65rem; letter-spacing: .18em; opacity: .36; animation: section-label 4s ease-in-out infinite; pointer-events: none; }
.section-intro { position: relative; }
.section-intro::before { content: ""; position: absolute; top: -1.5rem; left: 0; width: 5rem; height: 1px; background: var(--accent); transform-origin: left; animation: intro-line 3.5s var(--ease-in-out) infinite alternate; }
.section-intro::after { content: "CONTEXTO / 01"; position: absolute; right: 0; bottom: 1.2rem; color: var(--muted); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .14em; opacity: .7; animation: section-label 5s ease-in-out infinite reverse; }
.about-grid { position: relative; }
.about-grid::after { content: ""; position: absolute; right: 4%; top: 8%; width: clamp(7rem, 15vw, 13rem); aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .22); border-radius: 50%; opacity: .65; transform: rotate(-18deg); animation: profile-orbit 12s linear infinite; pointer-events: none; }
.about-statement { position: relative; z-index: 1; }
.about-statement::before { content: "↗"; position: absolute; top: -.9rem; left: -.2rem; color: var(--accent); font-family: "Poppins", sans-serif; font-size: 1.2rem; opacity: .8; animation: arrow-breathe 2.4s ease-in-out infinite; }

.section-snapshot { position: relative; overflow: hidden; }
.section-snapshot::before { content: ""; position: absolute; inset: -35% -15%; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); opacity: .35; transform: translateX(-60%) rotate(-8deg); animation: snapshot-scan 9s ease-in-out infinite; pointer-events: none; }
.snapshot-stat { position: relative; overflow: hidden; transition: transform .35s var(--ease), opacity .3s ease; }
.snapshot-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 3rem; height: 1px; background: var(--accent-dark); opacity: .55; transform: scaleX(.35); transform-origin: left; transition: transform .35s var(--ease); }
.snapshot-stat::after { content: "↗"; position: absolute; top: 0; right: .2rem; opacity: .28; transform: translate(-.2rem, .2rem); transition: transform .35s var(--ease), opacity .35s ease; }
@media (hover: hover) and (pointer: fine) { .snapshot-stat:hover { transform: translateY(-.45rem); } .snapshot-stat:hover::before { transform: scaleX(1); } .snapshot-stat:hover::after { opacity: .8; transform: translate(0, 0); } }

.section-capabilities::before { content: ""; position: absolute; top: 8%; right: -8rem; width: 22rem; aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .12); border-radius: 50%; opacity: .7; animation: capability-ring 16s linear infinite; pointer-events: none; }
.section-heading { position: relative; }
.section-heading::after { content: "↗"; position: absolute; right: 0; top: 0; color: var(--accent); font-size: 1.5rem; opacity: .7; animation: heading-mark 3s ease-in-out infinite; }

.section-stack::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(196, 255, 88, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 255, 88, .04) 1px, transparent 1px); background-size: 4rem 4rem; opacity: .5; transform: translate3d(0, 0, 0); animation: stack-grid 20s linear infinite; pointer-events: none; }
.stack-copy { position: relative; }
.stack-copy::after { content: "02 / TOOLKIT"; position: absolute; top: -.25rem; right: 0; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .14em; opacity: .55; animation: section-label 4.5s ease-in-out infinite; }
.stack-explorer { position: relative; overflow: hidden; animation: panel-float 8s ease-in-out infinite alternate; }
.stack-explorer::before { content: ""; position: absolute; inset: .65rem; border: 1px solid rgba(196, 255, 88, .12); pointer-events: none; animation: panel-border 5s ease-in-out infinite alternate; }
.stack-filters, .skill-cloud, .skill-detail { position: relative; z-index: 1; }
.skill-detail { transition: color .25s ease, transform .25s var(--ease), opacity .25s ease; }
.skill-detail.is-changing { animation: detail-change .35s var(--ease) both; }

.section-projects::before { content: ""; position: absolute; left: -15rem; bottom: 5%; width: 32rem; aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .1); border-radius: 50%; opacity: .7; animation: project-orbit 20s linear infinite reverse; pointer-events: none; }
.projects-grid { position: relative; }

.section-process::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 48%, rgba(196, 255, 88, .05) 49% 50%, transparent 51%); background-size: 7rem 7rem; opacity: .35; animation: process-grid 18s linear infinite; pointer-events: none; }
.process-list { position: relative; }
.process-list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.45rem; width: 1px; background: linear-gradient(var(--accent), transparent 80%); transform-origin: top; animation: process-line 5s ease-in-out infinite alternate; }
.process-list li { position: relative; }
.process-list li::before { content: ""; position: absolute; top: 1.9rem; left: 1.2rem; width: .55rem; height: .55rem; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg-soft); transform: scale(.85); animation: process-dot 2.8s ease-in-out infinite; }
.process-list li > span { position: relative; z-index: 1; }

.section-career::before { content: ""; position: absolute; top: 12%; right: -12rem; width: 34rem; aspect-ratio: 1; border: 1px solid rgba(196, 255, 88, .11); border-radius: 50%; transform: rotate(20deg); animation: career-orbit 22s linear infinite; pointer-events: none; }
.career-timeline { position: relative; }
.career-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 8.95rem; width: 1px; background: linear-gradient(var(--accent), transparent 90%); opacity: .42; transform-origin: top; animation: career-line 6s ease-in-out infinite alternate; }
.career-item { position: relative; }
.career-item::before { content: ""; position: absolute; top: 1.82rem; left: 8.7rem; width: .5rem; height: .5rem; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); animation: career-dot 2.6s ease-in-out infinite; }

.section-certifications::before { content: "CERTIFICACIONES / LINKEDIN"; position: absolute; z-index: 4; top: 7rem; right: clamp(1.25rem, 5vw, 5rem); padding: .35rem .55rem; border: 1px solid rgba(196, 255, 88, .28); color: var(--accent); background: rgba(10, 10, 10, .78); font-family: "Poppins", sans-serif; font-size: .72rem; letter-spacing: .18em; white-space: nowrap; opacity: .72; transform: none; animation: certification-label 5s ease-in-out infinite; pointer-events: none; }
.certification-list { position: relative; }
.certification-list::before { content: ""; position: absolute; z-index: 0; inset: 10% -4% -10%; border: 1px solid rgba(196, 255, 88, .1); transform: rotate(1deg); animation: certification-frame 8s ease-in-out infinite alternate; pointer-events: none; }
.certification-card { z-index: 1; }

.contact-section::before { content: ""; position: absolute; left: 5%; bottom: 4%; width: 12rem; height: 1px; background: var(--accent); opacity: .5; transform-origin: left; animation: contact-line 4s ease-in-out infinite alternate; pointer-events: none; }
.form-row { transition: transform .25s var(--ease); }
.form-row:focus-within { transform: translateX(.35rem); }
.form-row label { transition: color .25s ease, transform .25s var(--ease); }
.form-row:focus-within label { color: var(--accent); transform: translateX(.2rem); }

.footer { position: relative; overflow: hidden; }
.footer::before { content: "DAVID RODRIGUEZ · FULL STACK · BOGOTÁ · AVAILABLE FOR NEW CHALLENGES · "; position: absolute; top: .4rem; left: 0; width: max-content; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .58rem; letter-spacing: .18em; opacity: .23; white-space: nowrap; animation: footer-drift 32s linear infinite; pointer-events: none; }
.footer-top, .footer-bottom { position: relative; z-index: 1; }

@keyframes profile-grid { from { transform: rotate(-4deg) translate3d(-2rem, -1rem, 0); } to { transform: rotate(-4deg) translate3d(2rem, 1rem, 0); } }
@keyframes section-label { 0%, 100% { opacity: .22; transform: translateY(0); } 50% { opacity: .55; transform: translateY(.25rem); } }
@keyframes intro-line { from { transform: scaleX(.2); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
@keyframes profile-orbit { from { transform: rotate(-18deg) translateX(0); } to { transform: rotate(342deg) translateX(1.5rem); } }
@keyframes arrow-breathe { 0%, 100% { transform: translate(0, 0); opacity: .45; } 50% { transform: translate(.3rem, -.3rem); opacity: 1; } }
@keyframes snapshot-scan { 0%, 20% { transform: translateX(-60%) rotate(-8deg); } 70%, 100% { transform: translateX(60%) rotate(-8deg); } }
@keyframes capability-ring { from { transform: rotate(0deg) translateX(0); } to { transform: rotate(360deg) translateX(1rem); } }
@keyframes heading-mark { 0%, 100% { transform: translate(0, 0) rotate(0); opacity: .45; } 50% { transform: translate(.35rem, -.35rem) rotate(8deg); opacity: 1; } }
@keyframes stack-grid { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(2rem, 2rem, 0); } }
@keyframes panel-float { from { transform: translateY(0); } to { transform: translateY(-.45rem); } }
@keyframes panel-border { from { opacity: .25; transform: scale(.985); } to { opacity: .75; transform: scale(1); } }
@keyframes detail-change { from { opacity: .2; transform: translateY(.4rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes project-orbit { from { transform: rotate(0deg) translateX(0); } to { transform: rotate(360deg) translateX(2rem); } }
@keyframes process-grid { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(7rem, 0, 0); } }
@keyframes process-line { from { transform: scaleY(.35); opacity: .3; } to { transform: scaleY(1); opacity: .8; } }
@keyframes process-dot { 0%, 100% { transform: scale(.8); box-shadow: 0 0 0 0 rgba(196, 255, 88, .2); } 50% { transform: scale(1.1); box-shadow: 0 0 0 .4rem rgba(196, 255, 88, .05); } }
@keyframes career-orbit { from { transform: rotate(20deg) translateX(0); } to { transform: rotate(380deg) translateX(1rem); } }
@keyframes career-line { from { transform: scaleY(.4); opacity: .2; } to { transform: scaleY(1); opacity: .7; } }
@keyframes career-dot { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1.25); box-shadow: 0 0 0 .35rem rgba(196, 255, 88, .05); } }
@keyframes education-line { from { transform: scaleY(.42); opacity: .22; } to { transform: scaleY(1); opacity: .7; } }
@keyframes education-dot { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1.2); box-shadow: 0 0 0 .3rem rgba(196, 255, 88, .05); } }
@keyframes certification-frame { from { transform: rotate(1deg) scale(.98); opacity: .3; } to { transform: rotate(-1deg) scale(1); opacity: .75; } }
@keyframes certification-label { 0%, 100% { opacity: .42; transform: translateY(0); } 50% { opacity: .82; transform: translateY(.2rem); } }
@keyframes contact-line { from { transform: scaleX(.25); opacity: .25; } to { transform: scaleX(1); opacity: .8; } }
@keyframes footer-drift { from { transform: translateX(-12%); } to { transform: translateX(38%); } }

@media (max-width: 900px) {
    .nav-panel { position: absolute; top: calc(100% + .25rem); right: clamp(1.25rem, 4vw, 4.5rem); left: clamp(1.25rem, 4vw, 4.5rem); display: none; }
    .nav-panel.is-open { display: block; }
    .navbar { display: grid; gap: .25rem; padding: .5rem; border-radius: 1rem; }
    .nav-menu { border-radius: .6rem; }
    .menu-toggle { display: block; }
    .menu-toggle[aria-expanded="true"] span:not(.sr-only):first-child { transform: translateY(.22rem) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(-.22rem) rotate(-45deg); }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-copy { max-width: 48rem; }
    .hero-visual { min-height: min(40rem, 85vw); }
    .hero-art-frame { width: min(36rem, 88vw); }
    .note-top { right: 8%; }
    .note-bottom { left: 8%; }
    .snapshot-grid, .stack-layout, .career-grid, .education-grid, .certification-grid { grid-template-columns: 1fr; gap: 3rem; }
    .snapshot-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .currently-grid { grid-template-columns: 1fr; gap: 3rem; }
    .snapshot-intro h2, .stack-copy h2, .career-intro h2 { max-width: 14ch; }
    .section-heading { align-items: start; flex-direction: column; gap: 1.5rem; }
    .section-heading-copy { max-width: 34rem; }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .capability-feature { grid-column: 1 / -1; min-height: 20rem; }
    .process-grid, .contact-box { grid-template-columns: 1fr; gap: 3.5rem; }
    .career-timeline::before { left: .2rem; }
    .career-item::before { left: -.05rem; }
    .education-list::before { left: .2rem; }
    .education-item::before { left: -.05rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top > p { justify-self: end; }
    .social-links { grid-column: 1 / -1; justify-content: start; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .nav { padding-top: 1rem; }
    .nav .button-light { display: none; }
    .logo { padding: .55rem .75rem; }
    .logo-name { font-size: .72rem; }
    .hero { min-height: auto; padding-top: 8.5rem; padding-bottom: 4rem; }
    .hero-background { background-image: linear-gradient(180deg, rgba(10, 10, 10, .86), rgba(10, 10, 10, .6)), url("../images/g-back.png"), url("../images/Grid.png"); }
    h1 { max-width: 10ch; font-size: clamp(3.2rem, 15vw, 5.5rem); }
    .hero-description { font-size: .96rem; }
    .hero-meta { gap: 1.35rem; margin-top: 3.5rem; }
    .hero-meta div { min-width: 7rem; }
    .hero-visual { min-height: 21rem; margin-top: 1rem; }
    .hero-art-frame { width: min(25rem, 90vw); }
    .cube-stamp { right: -1%; bottom: 6%; width: 4.4rem; height: 4.4rem; }
    .visual-note { min-width: 7.5rem; padding: .65rem .75rem; }
    .note-top { top: 5%; right: 0; }
    .note-bottom { bottom: 3%; left: 0; }
    .hero-scroll { display: none; }
    .section { padding: 3.5rem 0; }
    .section-intro { padding-bottom: 2.5rem; }
    .section-intro h2, .section-heading h2, .process-title h2, .contact-copy h2 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
    .about-grid { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 3.5rem; }
    .snapshot-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .snapshot-stat:last-child { grid-column: auto; }
    .currently-board { grid-template-columns: 1fr; }
    .current-card-feature { grid-row: auto; min-height: 22rem; }
    .fact { grid-template-columns: 2.2rem 1fr; gap: .4rem .8rem; }
    .capability-grid, .projects-grid { grid-template-columns: 1fr; }
    .capability-feature, .project-large, .project-card:nth-child(4), .project-wide, .project-card:nth-child(1), .project-card:nth-child(2), .project-card:nth-child(3), .project-card:nth-child(5), .project-card:nth-child(6) { grid-column: 1 / -1; grid-row: auto; display: flex; }
    .capability-feature { min-height: 22rem; }
    .capability-card { min-height: 19rem; }
    .ticker { padding: 1.1rem 0; }
    .ticker span { padding-inline: .8rem; font-size: 1.7rem; }
    .project-large .project-image, .project-image { height: 14rem; }
    .project-content { grid-template-columns: 1fr; gap: .9rem; }
    .project-link { grid-column: 1; justify-self: start; }
    .contact-section { padding-top: 1rem; }
    .section-heading::after { right: .5rem; }
    .section-intro::after { right: .25rem; }
    .section-certifications::before { top: 5rem; right: 1.25rem; font-size: .58rem; letter-spacing: .12em; }
    .process-list::before { left: .25rem; }
    .process-list li::before { left: 0; }
    .contact-box { padding: 2rem 1.25rem 2.5rem; }
    .contact-form { grid-template-columns: 1fr; }
    .form-row-full, .form-status { grid-column: auto; }
    .form-recaptcha .g-recaptcha { transform: scale(.88); width: 114%; }
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 3rem; }
    .footer-top > p { justify-self: start; }
    .social-links { grid-column: auto; gap: .9rem 1.2rem; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .career-item { grid-template-columns: 1fr; gap: .55rem; }
    .education-item { grid-template-columns: 1fr; gap: .55rem; padding-left: 1.15rem; }
    .education-list::before { left: .2rem; }
    .education-item::before { left: -.05rem; }
    .certification-list { grid-template-columns: 1fr; }
    .stack-explorer { padding: 1.1rem; }
    .skill-chip { font-size: .78rem; }
    .quick-contact { right: 1rem; bottom: 4.75rem; left: 1rem; justify-content: space-between; }
    .back-to-top { right: 1rem; bottom: 1rem; }
}

@media (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .16s !important; }
    .reveal { opacity: 1; transform: none; }
    /* El movimiento decorativo baja de ritmo, pero no desaparece en el portafolio. */
    .hero-background::before { animation-duration: 18s !important; }
    .hero-background::after { animation-duration: 14s !important; }
    .hero-art-frame { animation-duration: 14s !important; }
    .cube-stamp { animation-duration: 24s !important; }
    .orbit-one { animation-duration: 38s !important; }
    .orbit-two { animation-duration: 46s !important; }
    .note-top, .note-bottom { animation-duration: 9s !important; }
    .ticker-track { animation-duration: 46s !important; animation-iteration-count: infinite !important; }
    .contact-box::before { animation-duration: 14s !important; }
}
