/* kevinnijland.dev – glass + glow */
:root {
    --bg: #05050c;
    --bg-2: #0b0b1a;
    --blue: #2489ff;
    --violet: #4900bf;
    --violet-lt: #9b6bff;
    --text: #ececf5;
    --muted: #9a9bb3;
    --line: rgba(255, 255, 255, .09);
    --glass: rgba(255, 255, 255, .045);
    --grad: linear-gradient(120deg, #2489ff, #4900bf);
    --grad-text: linear-gradient(120deg, #5aa5ff 10%, #9b6bff 90%);
    --r: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --mx: 50%;
    --my: 50%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font: 400 16px/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
::selection { background: rgba(73, 0, 191, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ---------- background: aurora + stardust + grain ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #05050c; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; will-change: transform; }
.a1 { width: 70vw; height: 52vw; left: -18vw; top: -22vw; background: radial-gradient(closest-side, rgba(36, 137, 255, .5), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.a2 { width: 62vw; height: 62vw; right: -22vw; top: 2vh; background: radial-gradient(closest-side, rgba(73, 0, 191, .8), transparent); animation: drift2 32s ease-in-out infinite alternate; }
.a3 { width: 55vw; height: 40vw; left: 14vw; bottom: -24vw; background: radial-gradient(closest-side, rgba(70, 70, 255, .38), transparent); animation: drift1 38s ease-in-out infinite alternate-reverse; }
.beam { position: absolute; width: 38vw; height: 150vh; left: 46%; top: -25vh; transform: rotate(24deg); background: linear-gradient(180deg, rgba(130, 170, 255, .13), transparent 75%); filter: blur(34px); opacity: .8; animation: beam 14s ease-in-out infinite alternate; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: absolute; inset: 0; opacity: .075; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(2, 2, 8, .7)); }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-9vw, 7vw) scale(.9) rotate(20deg); } }
@keyframes beam { to { transform: rotate(14deg) translateX(-6vw); opacity: .45; } }

.cursor-glow {
    position: fixed; top: 0; left: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px;
    background: radial-gradient(circle, rgba(36, 137, 255, .055), transparent 62%);
    pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s; will-change: transform;
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: padding .3s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 10px 0; background: rgba(7, 7, 15, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.logo img { height: 30px; width: auto; filter: drop-shadow(0 0 14px rgba(36, 137, 255, .55)); transition: transform .4s var(--ease); }
.logo:hover img { transform: scale(1.08) rotate(-3deg); }
.logo-name { color: var(--text); }
.links { display: flex; gap: 6px; }
@media (max-width: 560px) { .logo-name { display: none; } }
.links a { position: relative; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .25s, background .25s; }
.links a:hover, .links a.active { color: #fff; background: var(--glass); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s; will-change: transform; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -6px rgba(73, 0, 191, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { box-shadow: 0 12px 40px -4px rgba(36, 137, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: var(--glass); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 140px 0 100px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); font-size: 13.5px; font-weight: 500; color: var(--muted); backdrop-filter: blur(10px); transition: border-color .3s, color .3s; }
.pill:hover { color: #fff; border-color: rgba(120, 150, 255, .5); }
.pill i { font-style: normal; opacity: .5; }
.pill svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--grad); color: #fff; margin-left: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 26px 0 26px; }
h1 .line { display: block; overflow: hidden; padding: .02em 0 .1em; }
h1 .line > span { display: inline-block; }
.js h1 .line[data-reveal] { opacity: 1; transform: none; transition: none; }
.js h1 .line > span { transform: translateY(115%); transition: transform 1.1s var(--ease) var(--d, 0s); }
.js h1 .line.in > span { transform: none; }
.shine { font-style: normal; background: linear-gradient(100deg, #2489ff 20%, #9b6bff 40%, #f0e8ff 50%, #9b6bff 60%, #2489ff 80%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine-text 7s linear infinite; }
@keyframes shine-text { to { background-position: -260% 0; } }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 46px 0 0; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.stats dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.stats dd { margin: 0; }
.stats b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(73, 0, 191, .55), rgba(36, 137, 255, .18) 60%, transparent); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.orb { position: relative; width: min(540px, 92vw); aspect-ratio: 1; transition: transform .25s var(--ease); }
.orb img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 93%, transparent 100%); mask-image: radial-gradient(closest-side, #000 93%, transparent 100%); animation: bob 8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.float, .glass.float { position: absolute; z-index: 2; border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7), 0 0 40px -10px rgba(36, 137, 255, .35); }
.f-code { left: -12%; top: 2%; width: 268px; padding: 14px 16px 16px; background: rgba(10, 10, 26, .72); animation: bob 7s ease-in-out infinite; }
.f-code .dots { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.f-code .dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.f-code .dots i:nth-child(2) { background: #febc2e; }
.f-code .dots i:nth-child(3) { background: #28c840; }
.f-code .dots span { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.f-code pre { margin: 0; font: 12.5px/1.65 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: #d8dcff; }
.cl { display: block; overflow: hidden; white-space: pre; width: 0; animation: typing .9s steps(var(--n)) forwards; animation-delay: calc(1.4s + var(--i) * .85s); }
@keyframes typing { to { width: calc(var(--n) * 1ch); } }
.cl b { font-weight: 400; }
.cl .k { color: #b48bff; } .cl .s { color: #7ee0b8; } .cl .p { color: #8f95b8; } .cl .n { color: #ffa766; }
.f-stack { right: -2%; bottom: 7%; display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13.5px; font-weight: 600; background: rgba(10, 10, 26, .72); animation: bob 6s ease-in-out infinite reverse; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 12px #3ddc97; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 20px 0; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-weight: 700; font-size: 20px; color: var(--muted); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0 20px; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow b { color: var(--violet-lt); margin-right: 8px; font-weight: 700; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.sub { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* glass + spotlight */
.glass { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(73, 140, 255, .07), transparent 45%); }
.glass:hover::before { opacity: 1; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(140, 170, 255, .45), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass:hover::after { opacity: 1; }

/* filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { padding: 9px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s var(--ease); }
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 24px -8px rgba(73, 0, 191, .8); }

/* project cards */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .3s, box-shadow .4s, opacity .4s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(120, 140, 255, .35); box-shadow: 0 30px 60px -30px rgba(73, 0, 191, .8); }
.card.is-hidden { display: none; }
.card.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-img-empty { height: 100%; display: grid; place-items: center; font-size: 46px; color: var(--muted); background: var(--grad); background-blend-mode: soft-light; }
.card-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 15, .85)); opacity: 0; transition: opacity .35s; }
.card-overlay span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-size: 22px; transform: scale(.6); transition: transform .4s var(--ease); box-shadow: 0 10px 30px -6px rgba(73, 0, 191, .9); }
.card:hover .card-overlay { opacity: 1; }
.card:hover .card-overlay span { transform: scale(1); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; transform: translateZ(20px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: #b9c9ff; background: rgba(36, 137, 255, .12); border: 1px solid rgba(36, 137, 255, .22); }
.card h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 14.5px; color: #fff; }
.card-link svg { transition: transform .3s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }
.card-link.is-off { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* skills */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { padding: 34px; transition: transform .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-6px); border-color: rgba(120, 140, 255, .35); }
.service-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: var(--grad); box-shadow: 0 14px 34px -10px rgba(73, 0, 191, .9); margin-bottom: 22px; }
.service h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
.service p { color: var(--muted); }
.meters { margin-top: 24px; padding: 34px; display: grid; gap: 26px; }
.meter-top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.meter-top b { color: var(--blue); font-variant-numeric: tabular-nums; }
.meter-top b::after { content: "%"; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 0 18px rgba(36, 137, 255, .6); transition: width 1.6s var(--ease) .2s; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%); transform: translateX(-100%); animation: shine 3s ease-in-out infinite 1.8s; }
@keyframes shine { to { transform: translateX(100%); } }
.meters.in .bar i { width: var(--w); }
html:not(.js) .bar i { width: var(--w); }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 0; }
.about-img { align-self: stretch; position: relative; background: var(--bg-2); min-height: 340px; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(7, 7, 15, .6)), linear-gradient(0deg, rgba(73, 0, 191, .25), transparent 50%); }
.about-img.is-logo { background: radial-gradient(circle at 30% 20%, rgba(36, 137, 255, .35), transparent 60%), linear-gradient(135deg, rgba(36, 137, 255, .18), rgba(73, 0, 191, .4)); }
.about-img.is-logo img { object-fit: contain; padding: 16%; filter: drop-shadow(0 0 40px rgba(36, 137, 255, .6)); }
.about-img.is-logo::after { display: none; }
.about-text { padding: clamp(28px, 5vw, 56px); }
.about-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.form { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: rgba(36, 137, 255, .06); box-shadow: 0 0 0 4px rgba(36, 137, 255, .15); }
.field.err input, .field.err textarea { border-color: #ff5c7a; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.status { font-size: 14.5px; font-weight: 500; }
.status.ok { color: #3ddc97; }
.status.bad { color: #ff7d95; }
.side { display: grid; gap: 16px; }
.side-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; transition: transform .3s var(--ease), border-color .3s; }
.side-card:hover { transform: translateX(6px); border-color: rgba(120, 140, 255, .35); }
.side-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(36, 137, 255, .12); color: var(--blue); border: 1px solid rgba(36, 137, 255, .25); flex-shrink: 0; }
.side-card small { display: block; color: var(--muted); font-size: 12.5px; }
.side-card b { font-size: 15.5px; word-break: break-word; }

/* footer */
.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14.5px; }
.foot-in { display: flex; align-items: center; gap: 24px; }
.foot-in p { margin-right: auto; }
.foot-logo img { height: 26px; width: auto; opacity: .9; }
.foot-links { display: flex; gap: 10px; }
.foot-links a, .to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); font-size: 18px; transition: all .25s var(--ease); }
.foot-links a:hover, .to-top:hover { color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.to-top svg { transform: rotate(-90deg); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) { .f-code { left: 0; } }
@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; padding: 120px 0 80px; gap: 30px; text-align: center; }
    .lead { margin-inline: auto; }
    .cta, .stats { justify-content: center; margin-inline: auto; }
    .scroll-cue { display: none; }
    .orb { width: min(460px, 100%); }
    .f-stack, .hero-visual::before { display: none; }
    .stats { gap: 14px 30px; }
    .f-code { left: 0; width: 230px; font-size: 11px; } .f-stack { right: 2%; }
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
    .about, .contact { grid-template-columns: 1fr; }
    .about-img { min-height: 280px; }
}
@media (max-width: 760px) {
    .burger { display: block; }
    .nav-cta { display: none; }
    .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 20px 26px; background: rgba(7, 7, 15, .96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; z-index: -1; }
    .links.open { transform: none; visibility: visible; }
    .links a { padding: 14px 16px; font-size: 17px; }
    .nav:has(.links.open) { background: rgba(7, 7, 15, .96); }
    .grid-cards, .two, .form { grid-template-columns: 1fr; }
    .section { padding-top: 80px; }
    .foot-in { flex-wrap: wrap; }
    .f-code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
