/*
Theme Name: Bogdan Vazhenin — Digital Resume
Theme URI: https://example.com/
Author: Bogdan Vazhenin
Description: Одностраничная WordPress-тема цифрового резюме Богдана Важенина.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bogdan-vazhenin-resume
*/


@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --font-main: "Manrope";
  --font-display: "Unbounded";
}
body.admin-bar .site-header { top: 50px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 56px; }
}

@font-face {
  font-family: "Russo One";
  src: url("assets/fonts/russo-one-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Russo One";
  src: url("assets/fonts/russo-one-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #07090e;
  --panel: #0d1119;
  --line: rgba(255,255,255,.12);
  --text: #f2f3ed;
  --muted: #9299a9;
  --lime: #d7ff45;
  --purple: #9c78ff;
  --blue: #52a9ff;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --scroll: 0%;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); }
body { width: 100%; max-width: 100%; margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-main), sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { color: #06080c; background: var(--lime); }

.particle-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.pointer-glow { position: fixed; left: var(--pointer-x); top: var(--pointer-y); width: 440px; height: 440px; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(122,86,255,.1), transparent 68%); pointer-events: none; z-index: 1; }
.scroll-line { position: fixed; z-index: 100; top: 0; left: 0; width: var(--scroll); height: 3px; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
main { position: relative; z-index: 2; width: 100%; max-width: 100%; overflow-x: clip; }

.site-header { position: fixed; z-index: 50; top: 18px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 34px)); height: 62px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,11,17,.68); backdrop-filter: blur(20px); box-shadow: 0 18px 60px rgba(0,0,0,.2); }
.brand { display: flex; gap: 9px; align-items: baseline; font-family: var(--font-display); }
.brand b { font-size: 20px; }
.brand span { color: var(--lime); font-size: 9px; }
.nav { display: flex; gap: 30px; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.nav a, .header-contact { transition: color .2s; }
.nav a:hover, .header-contact:hover { color: var(--lime); }
.header-contact { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.menu-button { display: none; width: 34px; height: 34px; padding: 8px 5px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: none; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 100svh; max-width: 1360px; margin: auto; padding: 150px 6vw 70px; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(340px,.7fr); align-items: center; overflow: visible; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c9cdd7; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 1.8s infinite; }
.hero h1, .section h2, .contact h2 { margin: 28px 0 24px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.055em; line-height: .87; }
.hero h1 { font-family: "Russo One", var(--font-display), sans-serif; font-size: clamp(56px, 8.4vw, 136px); font-weight: 400; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.outline { color: transparent; -webkit-text-stroke: 1px rgba(242,243,237,.78); }
.hero-role { display: flex; align-items: center; gap: 20px; margin: 26px 0; }
.hero-role p { margin: 0; padding: 11px 14px; color: #080a0f; background: var(--lime); font: 800 11px var(--font-display); transform: rotate(-1deg); }
.hero-role span { max-width: 330px; color: var(--muted); font-size: 10px; letter-spacing: .13em; line-height: 1.7; }
.hero-lead { max-width: 700px; margin: 0; color: #b5bbc8; font-size: clamp(15px,1.3vw,19px); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { min-width: 175px; padding: 15px 18px; display: inline-flex; justify-content: center; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: #07090e; background: var(--lime); border-color: var(--lime); }
.button.ghost:hover { color: var(--bg); background: var(--text); }
.hero-visual { display: flex; justify-content: center; translate: clamp(80px,7vw,115px) 0; }

.orbit { position: relative; width: min(46vw,620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(99,70,199,.28), transparent 56%); filter: drop-shadow(0 22px 50px rgba(0,0,0,.28)); }
.orbit::before { content: ""; position: absolute; inset: 7%; border: 1px dashed rgba(255,255,255,.15); border-radius: 50%; animation: spin 32s linear infinite; }
.orbit-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.ring-one { inset: 18%; }
.ring-two { inset: 32%; border-style: dashed; animation: spinReverse 24s linear infinite; }
.orbit-core { position: absolute; inset: 38%; display: grid; place-content: center; text-align: center; border: 1px solid var(--lime); border-radius: 50%; background: var(--lime); box-shadow: 0 16px 40px rgba(0,0,0,.48), 0 0 30px rgba(215,255,69,.28); }
.orbit-core span { color: #fff; font: 400 clamp(28px,3.2vw,52px) "Russo One", var(--font-display), sans-serif; line-height: .9; -webkit-text-stroke: .7px rgba(5,8,12,.95); text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.orbit-core small { margin-top: 6px; color: #fff; font: 400 9px "Russo One", var(--font-display), sans-serif; text-transform: uppercase; letter-spacing: .16em; -webkit-text-stroke: .3px rgba(5,8,12,.9); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.orbit-node { --node-color: var(--lime); position: absolute; left: 0; top: 0; display: grid; place-content: center; width: 88px; height: 88px; color: #07090e; border: 1px solid var(--lime); border-radius: 50%; background: var(--lime); box-shadow: 0 14px 35px rgba(0,0,0,.5), 0 0 24px rgba(215,255,69,.24); font: 400 17px "Russo One", var(--font-display), sans-serif; line-height: 1; letter-spacing: .02em; -webkit-text-stroke: 0; text-shadow: none; will-change: transform; }
.node-web, .node-seo, .node-bot, .node-ai { --node-color: var(--lime); color: #07090e; }

.marquee { position: relative; z-index: 3; overflow: hidden; padding: 17px 0; color: #0a0c11; background: var(--lime); transform: rotate(-1deg) scale(1.02); font: 700 15px var(--font-display); white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span { flex: none; }

.section { position: relative; max-width: 1240px; margin: auto; padding: 130px 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.section h2, .contact h2 { font-size: clamp(42px,6vw,86px); }
.section h2 em, .contact h2 em { color: var(--lime); font-style: normal; }
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.64fr); gap: clamp(48px,6vw,88px); align-items: center; }
.about-grid h2 { min-width: 0; font-size: clamp(44px,4.1vw,60px); }
.about-copy { max-width: 410px; justify-self: end; color: #b9bfcc; font-size: 16px; line-height: 1.75; }
.about-copy p { margin: 0 0 18px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 90px; border: 1px solid var(--line); }
.stats article { min-height: 175px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: rgba(13,17,25,.5); }
.stats article:last-child { border: 0; }
.stats strong { font: 700 clamp(36px,4vw,58px) var(--font-display); letter-spacing: -.06em; }
.stats span { color: var(--muted); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }

.timeline { border-top: 1px solid var(--line); }
.section.experience { padding-top: 0; padding-bottom: 0; border-bottom: 0; }
.experience .timeline { border-top: 0; }
.timeline-row { display: grid; grid-template-columns: 210px 1fr; padding: 46px 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--lime); font: 700 10px var(--font-display); letter-spacing: .08em; }
.role-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.role-line h3 { margin: 0 0 25px; font: 700 clamp(21px,2.3vw,34px) var(--font-display); letter-spacing: -.04em; }
.role-line span { flex: none; padding: 8px 10px; color: var(--muted); border: 1px solid var(--line); font-size: 9px; letter-spacing: .1em; }
.timeline-main ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: #b5bbc8; }
.timeline-main li { position: relative; padding-left: 20px; line-height: 1.55; }
.timeline-main li::before { content: "↳"; position: absolute; left: 0; color: var(--lime); }
.timeline-main p { margin: 0 0 10px; color: #c9ccd4; }
.timeline-main .muted { color: var(--muted); }
.timeline-row.compact { padding-block: 34px; }

.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,360px); align-items: end; gap: clamp(40px,7vw,100px); margin-bottom: 55px; }
.section-heading h2 { margin: 0; }
.section-heading p { max-width: 360px; color: var(--muted); line-height: 1.65; }
.projects { padding-top: 92px; padding-bottom: 100px; }
.projects .section-heading { margin-bottom: 36px; }
.projects .section-heading h2 { font-size: clamp(40px,5.2vw,72px); }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.project-card { position: relative; min-height: 500px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid var(--line); background: rgba(13,17,25,.78); transition: border-color .3s, transform .3s; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(215,255,69,.5); }
.project-card.featured { grid-row: span 2; min-height: 1015px; }
.project-num { display: none; }
.project-card h3 { margin: 13px 0; font: 700 clamp(27px,3vw,43px) var(--font-display); line-height: 1.07; letter-spacing: -.045em; }
.project-card p { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pill { display: inline-block; color: var(--lime); font-size: 9px; letter-spacing: .12em; }
.project-graphic { position: relative; margin: auto; display: grid; place-content: center; width: min(88%,400px); aspect-ratio: 1; }
.project-card:not(.featured) .project-graphic { width: min(68%,300px); }
.projects .section-heading {
  position: relative;
  grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr);
  align-items: center;
  padding-bottom: 38px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.projects .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: clamp(110px,18vw,250px);
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(215,255,69,.45);
}
.projects .section-heading h2 { line-height: .88; letter-spacing: -.06em; }
.projects .section-heading p {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--lime);
  background: rgba(215,255,69,.035);
}
.project-grid { gap: 18px; }
.project-card, .project-card.featured { grid-row: auto; min-height: 640px; }
.project-card.featured .project-graphic { width: min(72%,340px); }
.project-graphic.knowledge { border: 1px solid rgba(215,255,69,.4); border-radius: 50%; box-shadow: inset 0 0 60px rgba(215,255,69,.06); }
.knowledge::before, .knowledge::after { content: ""; position: absolute; inset: 14%; border: 1px dashed var(--line); border-radius: 50%; animation: spin 20s linear infinite; }
.knowledge::after { inset: 30%; animation-direction: reverse; }
.knowledge span { font: 700 60px var(--font-display); z-index: 2; }
.knowledge i { position: absolute; width: 12px; height: 12px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 14px var(--lime); }
.knowledge i:nth-of-type(1) { top: 10%; left: 33%; }.knowledge i:nth-of-type(2) { right: 8%; top: 52%; }.knowledge i:nth-of-type(3) { left: 19%; bottom: 12%; }
.tours { isolation: isolate; border: 0; background: radial-gradient(circle, rgba(202,255,50,.08) 0 29%, transparent 30%); }
.tours::before { content: ""; position: absolute; inset: 8%; z-index: -1; border: 1px solid rgba(202,255,50,.42); border-radius: 50%; box-shadow: inset 0 0 55px rgba(202,255,50,.035), 0 0 40px rgba(202,255,50,.04); }
.tours::after { content: ""; position: absolute; inset: 25%; z-index: -1; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; }
.tours span { position: relative; z-index: 2; color: var(--lime); font-size: 78px; line-height: 1; text-shadow: 0 0 24px rgba(202,255,50,.28); transform: rotate(-35deg) translate(5px,-5px); }
.tours b { position: absolute; left: 50%; bottom: 11%; color: rgba(244,245,239,.28); font: 800 27px var(--font-display); letter-spacing: .18em; transform: translateX(-50%); }
.tours i { position: absolute; inset: 18% 9%; z-index: -1; border: 0; border-top: 2px dashed rgba(202,255,50,.34); border-radius: 50%; transform: rotate(-18deg); }
.tours i::before, .tours i::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(202,255,50,.8); }
.tours i::before { left: 8%; top: 18%; }
.tours i::after { right: 5%; top: 36%; }
.web { grid-template-columns: repeat(3,1fr); gap: 8px; align-items: end; }
.web span { position: absolute; inset: 0; display: grid; place-content: center; font: 800 56px var(--font-display); color: rgba(255,255,255,.12); }
.web i { height: 44%; border: 1px solid var(--line); background: rgba(215,255,69,.08); }.web i:nth-of-type(2) { height: 76%; }.web i:nth-of-type(3) { height: 58%; }

.skills-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,370px); align-items: end; gap: clamp(40px,7vw,100px); margin-bottom: 65px; }
.skills-heading h2 { margin: 0; }
.skills-heading p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.skill-list { border-top: 1px solid var(--line); }
.skill-row { --accent: var(--lime); display: grid; grid-template-columns: 390px 1fr; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--line); }
.skill-row:nth-child(2) { --accent: var(--blue); }
.skill-row:nth-child(3) { --accent: var(--purple); }
.skill-row:nth-child(4) { --accent: #ffb454; }
.skill-row > div { display: flex; gap: 22px; align-items: center; }
.skill-row > div > span { display: none; }
.skill-row h3 { margin: 0; font: 700 clamp(26px,2.4vw,38px) var(--font-display); letter-spacing: -.045em; }
.skill-row ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.skill-row li { position: relative; padding: 12px 16px 12px 29px; color: #cbd0da; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), rgba(255,255,255,.02)); font-size: 12px; transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease; }
.skill-row li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px color-mix(in srgb, var(--accent) 65%, transparent); transform: translateY(-50%); }
.skill-row li:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 62%, transparent); background: color-mix(in srgb, var(--accent) 11%, transparent); transform: translateY(-2px); }
.side-skills.skill-row { --accent: #ff6fb1; margin-top: 0; border-bottom: 1px solid var(--line); }
.side-skills.skill-row h3 { color: var(--purple); }

.contact { min-height: 95svh; padding: 120px max(6vw,30px) 30px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(156,120,255,.09), transparent 50%); scroll-margin-top: 96px; }
.contact h2 { margin: 8vh 0; font-size: clamp(58px,11vw,170px); }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a { display: grid; grid-template-columns: 120px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(14px,2vw,24px); transition: color .2s, padding .2s; }
.contact-links a:hover { padding-left: 10px; color: var(--lime); }
.contact-links span { color: var(--muted); font-size: 9px; letter-spacing: .13em; }
footer { margin-top: 65px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .1em; }
footer b { color: var(--text); font-family: var(--font-display); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes pulse { 50% { opacity: .45; transform: scale(.75); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-25%); } }

@media (max-width: 900px) {
  .site-header { top: 10px; }
  .nav { position: absolute; left: 0; right: 0; top: 70px; padding: 25px; display: none; flex-direction: column; background: #0b0e15; border: 1px solid var(--line); border-radius: 15px; }
  .nav.is-open { display: flex; }
  .header-contact { display: none; }
  .menu-button { display: flex; }
  .hero { padding-top: 130px; grid-template-columns: 1fr; overflow: hidden; }
  .hero-visual { position: absolute; z-index: -1; right: -150px; top: 22%; opacity: .45; translate: none; transform: none; }
  .orbit { width: 430px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 680px; justify-self: start; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stats article:nth-child(2) { border-right: 0; }.stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline-row, .skill-row { grid-template-columns: 1fr; gap: 22px; }
  .skills-heading { display: block; }
  .skills-heading p { max-width: 620px; margin-top: 24px; }
  .project-card.featured { min-height: 700px; }
  .section-heading { display: block; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 20px); }
  .hero { padding-inline: 20px; }
  .hero-visual { right: -235px; top: 17%; opacity: .22; }
  .hero-visual .orbit-node { display: none; }
  .hero h1 { font-size: clamp(48px,15.5vw,78px); }
  .hero-role { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 90px 20px; }
  .section h2 { font-size: clamp(34px,10.5vw,46px); overflow-wrap: anywhere; }
  .about-grid h2 { font-size: clamp(26px,8vw,34px); white-space: nowrap; overflow-wrap: normal; }
  .stats { margin-top: 55px; }
  .stats article { min-height: 145px; padding: 20px; }
  .role-line { flex-direction: column; gap: 12px; }
  .role-line h3 { margin-bottom: 0; }
  .role-line span { order: -1; align-self: flex-start; }
  .project-grid { grid-template-columns: 1fr; }
  .projects { padding-block: 72px; }
  .projects .section-heading { margin-bottom: 28px; }
  .project-card, .project-card.featured { grid-row: auto; min-height: 540px; padding: 20px; }
  .project-graphic { max-width: 280px; }
  .skill-row > div { gap: 15px; }
  .skill-row { padding: 34px 0; }
  .skill-row h3 { font-size: 27px; }
  .skill-row li { padding-block: 10px; font-size: 11px; }
  .contact { padding-inline: 20px; }
  .contact h2 { margin-left: -8px; font-size: clamp(50px,15vw,72px); }
  .contact-links a { grid-template-columns: 1fr; gap: 8px; overflow-wrap: anywhere; }
  footer { gap: 18px; flex-direction: column; }
  .pointer-glow { display: none; }
}

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