:root {
	--bg: #040b14;
	--bg-soft: #071524;
	--surface: #091c33;
	--surface-2: #0c2747;
	--surface-light: #102e50;
	--line: #174c79;
	--line-bright: #2087cb;
	--blue: #129cf3;
	--blue-light: #55c7ff;
	--cyan: #33d4ff;
	--green: #42da8b;
	--text: #f5faff;
	--muted: #a9c3dd;
	--muted-2: #7895af;
	--danger: #ff5f79;
	--font-display: "Space Grotesk", Inter, sans-serif;
	--font-body: Inter, Arial, sans-serif;
	--radius: 18px;
	--radius-small: 10px;
	--shadow: 0 26px 70px rgba(0, 0, 0, .32);
	--shell: 1240px;
}

/* Extended customisable CV, product and contact components -------------- */
.structured-resume-skills, .structured-resume-certifications, .structured-resume-experience { margin-top: 34px; }
.skill-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.skill-card { min-width: 0; padding: 17px; border: 1px solid rgba(32,135,203,.3); border-radius: 11px; background: rgba(4,13,24,.58); }
.skill-card-top { display: flex; align-items: center; gap: 12px; }
.skill-card-top h3 { margin: 0 0 2px; font-size: 1rem; }
.skill-card-top p { margin: 0; color: var(--muted); font-size: 11px; }
.skill-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--blue-light); background: var(--surface); font: 700 13px var(--font-display); }
.skill-meter { height: 5px; margin-top: 14px; border-radius: 999px; background: rgba(120,149,175,.2); overflow: hidden; }
.skill-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.certification-grid { display: grid; gap: 12px; }
.certification-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: center; padding: 17px; border: 1px solid rgba(32,135,203,.3); border-radius: 11px; background: rgba(4,13,24,.58); }
.certification-card > img, .certification-placeholder { width: 80px; height: 66px; display: grid; place-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.certification-placeholder { color: var(--blue); background: linear-gradient(145deg, rgba(9,91,150,.34), rgba(4,19,34,.96)); font-size: 25px; }
.certification-card h3 { margin: 0 0 3px; font-size: 1.05rem; }
.certification-card p, .certification-card small { display: block; margin: 0; color: var(--muted); }
.certification-card .text-link { margin-top: 7px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.testimonial-card { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,13,24,.58); }
.testimonial-card blockquote { margin: 0 0 21px; color: #dcecf9; font-size: 14px; line-height: 1.7; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 11px; }
.testimonial-card figcaption > img, .testimonial-card figcaption > span { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: var(--surface-2); color: white; object-fit: cover; font-weight: 800; }
.testimonial-card figcaption strong, .testimonial-card figcaption small, .testimonial-card figcaption a { display: block; }
.testimonial-card figcaption small { color: var(--muted); font-size: 11px; }
.testimonial-card figcaption a { font-size: 11px; }
.custom-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.custom-cta-panel h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.contact-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.contact-detail-card { min-width: 0; display: block; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); }
.contact-detail-card:hover { border-color: var(--blue); color: var(--text); }
.contact-detail-card small, .contact-detail-card strong, .contact-detail-card span { display: block; overflow-wrap: anywhere; }
.contact-detail-card small { color: var(--blue-light); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail-card strong { margin-top: 5px; }
.contact-detail-card span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.contact-form-panel { margin-top: 30px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.project-image { position: relative; }
.project-featured-badge { position: absolute; top: 13px; right: 13px; padding: 5px 9px; border: 1px solid rgba(51,212,255,.55); border-radius: 999px; background: rgba(4,11,20,.9); color: var(--cyan); font: 800 10px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.project-card-featured { border-color: var(--line-bright); }
.compact-feature-list { margin: 18px 0 5px; }
.product-feature-panel { margin-bottom: 34px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.product-feature-panel .feature-list { margin-bottom: 26px; }
.product-feature-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px; border: 1px solid var(--line-bright); border-radius: 11px; background: linear-gradient(135deg, rgba(18,156,243,.16), rgba(4,13,24,.55)); }
.product-feature-cta strong, .product-feature-cta span { display: block; }
.product-feature-cta strong { margin-bottom: 4px; color: var(--text); font: 700 18px var(--font-display); }
.product-feature-cta span { color: var(--muted); font-size: 13px; }
.product-feature-cta .button { flex: 0 0 auto; }
.product-resource-links { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.project-case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; }
.project-results { position: sticky; top: 35px; margin-top: 75px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.project-results h2 { font-size: 1.6rem; }
.project-results ul { padding-left: 19px; margin-bottom: 0; color: var(--muted); }
.project-results li { margin-bottom: 9px; }
.content-image-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin-top: 34px; }
.content-image-gallery a { min-height: 180px; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.content-image-gallery img { width: 100%; height: 100%; min-height: 180px; max-height: 360px; object-fit: cover; }
.experience-layout-cards .experience-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-left: 0; }
.experience-layout-cards .experience-timeline::before, .experience-layout-cards .experience-item::before { display: none; }
.experience-layout-cards .experience-item { height: 100%; margin: 0; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,13,24,.58); }
.projects-layout-list .mini-project-grid { grid-template-columns: 1fr; }
.projects-layout-list .project-card { display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); }
.projects-layout-list .project-image { border-right: 1px solid var(--line); border-bottom: 0; }

@media (max-width: 1024px) {
	.project-case-layout { grid-template-columns: 1fr; }
	.project-results { position: static; margin: 0 0 70px; }
}

@media (max-width: 620px) {
	.skill-card-grid, .testimonial-grid, .contact-details-grid { grid-template-columns: 1fr; }
	.certification-card { grid-template-columns: 1fr; }
	.custom-cta-panel { align-items: flex-start; flex-direction: column; }
	.experience-layout-cards .experience-timeline, .projects-layout-list .project-card { grid-template-columns: 1fr; }
	.projects-layout-list .project-image { border-right: 0; border-bottom: 1px solid var(--line); }
	.content-image-gallery { grid-template-columns: 1fr; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; background: radial-gradient(circle at 78% 10%, rgba(18,156,243,.13), transparent 32%), radial-gradient(circle at 8% 64%, rgba(51,212,255,.07), transparent 28%); }
a { color: var(--blue-light); text-decoration: none; }
a:hover { color: #9be3ff; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .7em; color: var(--text); font-family: var(--font-display); line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.25rem; }
::selection { background: var(--blue); color: #fff; }

.site-shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { 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; left: 18px; top: -100px; z-index: 1000; padding: 10px 18px; background: var(--blue); color: white; }
.skip-link:focus { top: 18px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(4,11,20,.76); backdrop-filter: blur(18px); transition: .25s ease; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: rgba(32,135,203,.32); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); min-width: max-content; }
.brand:hover { color: var(--text); }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--blue), #075ba2); font: 700 16px var(--font-display); box-shadow: 0 0 25px rgba(18,156,243,.18); }
.brand-logo, .brand-logo .custom-logo-link { display: flex; }
.brand-logo img { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 17px var(--font-display); }
.brand small { color: var(--muted-2); font-size: 11px; letter-spacing: .04em; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; }
.primary-nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 600; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s ease; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: #fff; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { right: 0; }
.menu-toggle { display: none; margin-left: auto; padding: 9px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 21px; border: 1px solid var(--blue); border-radius: 9px; background: linear-gradient(135deg, #0c8fe8, #18afff); color: white; font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(18,156,243,.18); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { color: white; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18,156,243,.3); }
.button-small { min-height: 42px; padding: 8px 16px; }
.button-ghost { border-color: var(--line); background: rgba(9,28,51,.6); box-shadow: none; color: var(--text); }
.button-ghost:hover { border-color: var(--blue); background: var(--surface); }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-light); font-weight: 700; font-size: 14px; }

.hero { position: relative; min-height: 710px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(23,76,121,.35); }
.hero-grid-bg { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(32,135,203,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(32,135,203,.15) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 92%); transform: perspective(800px) rotateX(58deg) scale(1.7) translateY(16%); transform-origin: center bottom; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .72fr); gap: clamp(50px, 8vw, 110px); align-items: center; padding-block: 100px 110px; }
.hero-copy { max-width: 760px; }
.eyebrow { margin-bottom: 18px; color: var(--blue-light); font-size: 12px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(66,218,139,.1); }
.hero h1 { max-width: 850px; margin-bottom: 24px; }
.hero-intro { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.27rem); }
.hero .button-row { margin-top: 34px; }
.hero-lower-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.hero-lower-row .availability { margin-top: 0; }
.subtle-link { color: var(--muted); font-size: 13px; font-weight: 700; }
.subtle-link:hover { color: var(--blue-light); }
.availability { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(66,218,139,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(66,218,139,0); } 100% { box-shadow: 0 0 0 0 rgba(66,218,139,0); } }
.hero-console { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(5,17,31,.88); box-shadow: var(--shadow), 0 0 80px rgba(18,156,243,.08); }
.hero-console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(18,156,243,.08), transparent 38%); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.console-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ff6178; }
.console-bar span:nth-child(2) { background: #ffb640; }
.console-bar span:nth-child(3) { background: var(--green); }
.console-bar code { margin-left: 9px; color: var(--muted-2); font-size: 11px; }
.console-content { position: relative; padding: 34px; }
.console-content > p:first-child { color: var(--muted); font-family: monospace; }
.prompt { color: var(--green); }
.console-content h2 { margin-bottom: 5px; font-size: 2.2rem; }
.console-role { color: var(--blue-light); }
.console-lines { padding-top: 22px; margin-top: 25px; border-top: 1px solid rgba(23,76,121,.6); }
.console-lines p { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; font-family: monospace; font-size: 13px; }
.console-lines span { color: var(--muted-2); }
.console-lines strong { color: #dceeff; text-align: right; }
.console-lines .online { color: var(--green); }
.reveal { opacity: 0; transform: translateY(15px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }

.section { padding-block: 105px; }
.section-cv { background: linear-gradient(180deg, rgba(9,28,51,.72), rgba(4,11,20,.15)); }
.cv-heading h2 { max-width: 760px; }
.achievement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 55px; }
.achievement-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(12,39,71,.9), rgba(7,21,36,.95)); }
.achievement-card strong, .achievement-card span { display: block; }
.achievement-card strong { margin-bottom: 7px; color: var(--blue-light); font: 700 clamp(1.7rem, 3vw, 2.35rem) var(--font-display); letter-spacing: -.04em; }
.achievement-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cv-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 22px; align-items: start; }
.expertise-panel, .experience-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7,21,36,.88); }
.expertise-panel h3 { margin-bottom: 24px; }
.expertise-list { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-list span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: #d6eafb; font-size: 12px; }
.support-principles { padding-top: 24px; margin-top: 28px; border-top: 1px solid rgba(23,76,121,.65); }
.support-principles p { color: var(--muted); font-size: 13px; }
.support-principles strong { color: var(--text); }
.experience-timeline { position: relative; padding-left: 25px; margin-bottom: 30px; }
.experience-timeline::before { content: ""; position: absolute; left: 5px; top: 7px; bottom: 8px; width: 1px; background: var(--line); }
.experience-item { position: relative; padding: 0 0 27px 20px; margin-bottom: 26px; border-bottom: 1px solid rgba(23,76,121,.55); }
.experience-item:has(.experience-logo) { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
.experience-logo { width: 76px; height: 62px; display: grid; place-items: center; padding: 7px; border: 1px solid rgba(32,135,203,.25); border-radius: 8px; background: #fff; overflow: hidden; }
.experience-logo img { width: 100%; height: 100%; object-fit: contain; }
.experience-logo.is-placeholder { color: var(--blue-light); background: linear-gradient(145deg, rgba(9,91,150,.32), rgba(4,19,34,.96)); }
.experience-logo-placeholder { font: 700 24px/1 var(--font-display); }
.experience-copy { min-width: 0; }
.experience-item:last-child { margin-bottom: 0; }
.experience-item::before { content: ""; position: absolute; left: -24px; top: 6px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(18,156,243,.13); }
.experience-period { margin-bottom: 5px; color: var(--blue-light); font: 700 11px var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.experience-item h3 { margin-bottom: 3px; font-size: 1.35rem; }
.experience-company { margin-bottom: 10px; color: #d8eaff; font-size: 13px; font-weight: 700; }
.experience-summary, .experience-summary p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.section-products { background: linear-gradient(180deg, rgba(9,28,51,.58), rgba(4,11,20,.1)); }
.section-heading { display: flex; justify-content: space-between; gap: 35px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { max-width: 690px; margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: stretch; }
.product-card, .project-card, .post-card, .empty-state { position: relative; min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(12,39,71,.82), rgba(7,21,36,.96)); overflow-wrap: anywhere; transition: border-color .25s ease, transform .25s ease; }
.product-card { min-height: 410px; display: flex; flex-direction: column; }
.product-card:hover, .project-card:hover, .post-card:hover { transform: translateY(-5px); border-color: var(--line-bright); }
.product-card-featured { background: radial-gradient(circle at 90% 0, rgba(18,156,243,.17), transparent 35%), linear-gradient(145deg, rgba(12,39,71,.95), rgba(7,21,36,.98)); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.product-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #eaf8ff, #fff); color: #087ac5; font: 700 24px var(--font-display); overflow: hidden; }
.product-icon img { width: 100%; height: 100%; object-fit: contain; }
.badge { padding: 6px 9px; border: 1px solid rgba(51,212,255,.5); border-radius: 999px; color: var(--cyan); background: rgba(51,212,255,.08); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.badge-muted { color: var(--muted); border-color: var(--line); background: transparent; }
.product-card h3 a, .project-card h3 a, .post-card h2 a { color: white; }
.product-card p, .project-card p, .post-card p { color: var(--muted); }
.product-card-summary { display: -webkit-box; margin-bottom: 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.65; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; padding: 0; margin: 24px 0 28px; list-style: none; }
.feature-list li { position: relative; padding-left: 19px; color: #d4e7f8; font-size: 14px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.product-meta { display: flex; gap: 15px; align-items: center; margin: 25px 0; color: var(--muted); font-size: 13px; }
.product-meta strong { color: white; font-size: 17px; }
.compact-feature-list { grid-template-columns: 1fr; gap: 8px; margin: 0 0 22px; }
.compact-feature-list li { line-height: 1.5; }
.product-card-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(23,76,121,.55); }
.product-card-footer .product-meta { margin: 0 0 14px; }
.product-card-footer .button { width: 100%; }
.section-story { border-block: 1px solid rgba(23,76,121,.35); background: linear-gradient(90deg, rgba(18,156,243,.06), transparent 38%); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.story-copy { color: var(--muted); font-size: 1.1rem; }
.skill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 30px; }
.skill-row span, .term-list a { display: inline-flex; padding: 6px 11px; border: 1px solid var(--line); border-radius: 7px; color: #cbe5fa; background: var(--surface); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { padding: 0; overflow: hidden; }
.project-image { min-height: 210px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, var(--surface-light), #071524); color: var(--blue-light); font: 700 42px monospace; }
.project-image img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-body { padding: 25px; }
.term-list { color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.term-list a { padding: 0; border: 0; background: transparent; color: var(--blue-light); }
.project-body h3 { margin-top: 13px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 60px; padding: 55px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: radial-gradient(circle at 85% 15%, rgba(18,156,243,.25), transparent 31%), var(--surface); box-shadow: var(--shadow); }
.contact-panel h2 { max-width: 750px; }
.contact-panel p:not(.eyebrow) { max-width: 730px; color: var(--muted); }
.section-plugin-hint { padding-top: 15px; }
.plugin-spotlight { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 45px; align-items: center; padding: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 88% 5%, rgba(18,156,243,.2), transparent 30%), linear-gradient(145deg, var(--surface), var(--bg-soft)); }
.plugin-spotlight h2 { max-width: 760px; font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.plugin-spotlight-copy > p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.plugin-spotlight-copy .button-row { margin-top: 25px; }
.plugin-mini-card { padding: 25px; border: 1px solid var(--line-bright); border-radius: 14px; background: rgba(4,11,20,.7); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.plugin-mini-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.plugin-mini-card > strong { display: block; font: 700 1.15rem var(--font-display); }
.plugin-mini-card ul { padding-left: 20px; margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.plugin-mini-card li { margin-bottom: 6px; }

.page-hero, .product-hero { padding-block: 100px 80px; border-bottom: 1px solid rgba(23,76,121,.4); background: radial-gradient(circle at 80% 20%, rgba(18,156,243,.12), transparent 28%); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.project-single-hero .button-row { margin-top: 28px; }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .75fr; gap: 80px; align-items: center; }
.product-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.product-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.product-facts span { min-width: 135px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: rgba(9,28,51,.7); }
.product-facts small, .product-facts strong { display: block; }
.product-facts small { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.product-visual { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
.product-visual img { max-height: 360px; width: auto; object-fit: contain; }
.product-visual-button { min-width: min(240px, 100%); }
.product-visual-placeholder { text-align: center; }
.product-visual-placeholder span, .product-visual-placeholder strong { display: block; }
.product-visual-placeholder span { color: var(--blue-light); font-size: 6rem; line-height: 1; }
.product-visual-placeholder strong { margin-top: 20px; font: 700 1.5rem var(--font-display); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 75px; padding-block: 80px 120px; }
.product-content-full { grid-template-columns: minmax(0, 1fr); gap: 0; }
.product-content-full > .entry-content { width: 100%; max-width: none; }
.product-content-full > .entry-content > * { max-width: none; }
.narrow-content { max-width: 850px; padding-block: 75px 120px; }
.entry-content { min-width: 0; color: #d5e4f2; overflow-wrap: anywhere; }
.entry-content > * { max-width: 820px; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content li { margin-bottom: .5rem; }
.entry-content blockquote { margin: 30px 0; padding: 20px 25px; border-left: 3px solid var(--blue); background: var(--surface); }
.entry-content pre { max-width: 100%; padding: 22px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #020812; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.entry-content th, .entry-content td { padding: 10px 13px; border: 1px solid var(--line); text-align: left; }
.entry-content iframe, .entry-content video, .entry-content embed, .entry-content object { max-width: 100%; }
.entry-content input:not([type="checkbox"]):not([type="radio"]), .entry-content select, .entry-content textarea { max-width: 100%; }
.wp-block-image img, .wp-block-video video, .wp-block-embed iframe { max-width: 100%; }
.sticky-card { position: sticky; top: 115px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sticky-card h2 { font-size: 1.55rem; }
.sticky-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.secure-note { margin: 14px 0 0 !important; color: var(--muted-2) !important; font-size: 11px !important; text-align: center; }
.featured-wide { margin-top: 55px; }
.featured-wide img { width: 100%; max-height: 680px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card h2 { font-size: 1.5rem; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 45px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 90px; }
.error-code { margin: 0; color: rgba(18,156,243,.2); font: 700 clamp(8rem, 25vw, 18rem)/.75 var(--font-display); }
.error-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.error-page p:not(.eyebrow):not(.error-code) { color: var(--muted); }
.builder-content { min-height: 50vh; }
.builder-content > .elementor { width: 100%; }

.site-footer { border-top: 1px solid var(--line); background: #030912; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 70px; padding-block: 65px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 510px; color: var(--muted); }
.footer-grid h2 { font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(23,76,121,.5); color: var(--muted-2); font-size: 12px; }

@media (max-width: 1024px) {
	.header-cta { display: none; }
	.hero { min-height: auto; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-console { max-width: 680px; }
	.product-grid, .project-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-card-featured { grid-column: auto; }
	.product-hero-grid, .content-layout { grid-template-columns: 1fr; }
	.achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cv-grid { grid-template-columns: 1fr; }
	.plugin-spotlight { grid-template-columns: 1fr; }
	.product-visual { order: -1; min-height: 280px; }
	.content-aside { max-width: 500px; }
	.sticky-card { position: static; }
}

@media (max-width: 820px) {
	.admin-bar .site-header { top: 46px; }
	.site-shell { width: min(100% - 32px, var(--shell)); }
	.header-inner { min-height: 72px; }
	.menu-toggle { display: block; }
	.primary-nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7,21,36,.98); box-shadow: var(--shadow); }
	.menu-open .primary-nav { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav a { display: block; padding: 12px 8px; }
	.primary-nav a::after { display: none; }
	.hero-grid { padding-block: 75px; }
	.story-grid { grid-template-columns: 1fr; gap: 25px; }
	.contact-panel { align-items: flex-start; flex-direction: column; padding: 34px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	.brand small { display: none; }
	h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
	.section { padding-block: 72px; }
	.section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
	.product-grid, .project-grid, .post-grid { grid-template-columns: 1fr; }
	.product-card-featured { grid-column: auto; }
	.feature-list { grid-template-columns: 1fr; }
	.hero .button-row .button, .contact-panel .button-row .button { width: 100%; }
	.hero-lower-row { align-items: flex-start; flex-direction: column; }
	.achievement-grid { grid-template-columns: 1fr; }
	.expertise-panel, .experience-panel, .plugin-spotlight { padding: 25px; }
	.experience-timeline { padding-left: 18px; }
	.plugin-spotlight-copy .button-row { align-items: flex-start; flex-direction: column; }
	.console-content { padding: 25px; }
	.console-lines p { align-items: flex-start; flex-direction: column; gap: 2px; }
	.console-lines strong { text-align: left; }
	.page-hero, .product-hero { padding-block: 72px 60px; }
	.product-visual { min-height: 220px; }
	.content-layout, .narrow-content { padding-block: 55px 85px; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.footer-grid > div:first-child { grid-column: auto; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
	.site-shell { width: min(100% - 24px, var(--shell)); }
	.product-card, .post-card, .project-body, .contact-panel { padding: 24px; }
	.console-content { padding: 22px; }
	.eyebrow { letter-spacing: .1em; }
}

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

/* vCard workspace layout -------------------------------------------------- */
body { background-image: radial-gradient(circle at 82% 12%, rgba(18,156,243,.1), transparent 30%), linear-gradient(rgba(32,135,203,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(32,135,203,.035) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
.site-header.vcard-nav { position: fixed; z-index: 200; top: 18px; bottom: 18px; left: 18px; width: 78px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,15,27,.94); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.admin-bar .site-header.vcard-nav { top: 50px; }
.vcard-nav .header-inner { width: 100%; min-height: 0; height: 100%; padding: 8px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rail-brand { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 11px; background: linear-gradient(145deg, #118fdf, #064d87); color: white; font: 800 15px var(--font-display); box-shadow: 0 10px 25px rgba(18,156,243,.16); overflow: hidden; }
.rail-brand:hover { color: white; }
.rail-brand .custom-logo-link { display: flex; }
.rail-brand img { width: 58px; height: 58px; object-fit: contain; }
.mobile-brand { display: none; }
.vcard-nav .menu-toggle { display: none; }
.vcard-nav .primary-nav { width: 100%; margin: auto 0; overflow: visible; }
.vcard-nav .primary-nav ul { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vcard-nav .primary-nav li { position: relative; width: 100%; }
.vcard-nav .primary-nav a { width: 58px; height: 52px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: rgba(9,28,51,.45); }
.vcard-nav .primary-nav a::after { display: none; }
.vcard-nav .primary-nav a:hover { border-color: var(--line); color: var(--blue-light); background: var(--surface); }
.nav-icon { font: 700 20px var(--font-display); line-height: 1; }
.nav-icon svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vcard-nav .nav-label { position: absolute; z-index: 10; left: 68px; top: 50%; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: white; font-size: 11px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-5px,-50%); transition: .18s ease; box-shadow: 0 8px 25px rgba(0,0,0,.3); }
.vcard-nav a:hover .nav-label, .vcard-nav a:focus-visible .nav-label { opacity: 1; visibility: visible; transform: translate(0,-50%); }
.rail-cv { position: relative; width: 58px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--blue-light); background: rgba(9,28,51,.5); font-weight: 800; }
.rail-cv:hover { border-color: var(--blue); background: var(--surface); }
body.home .nav-about a, body.dk-page-resume .nav-cv a, body.post-type-archive-dk_project .nav-projects a, body.single-dk_project .nav-projects a, body.post-type-archive-dk_plugin .nav-plugins a, body.single-dk_plugin .nav-plugins a, body.blog .nav-blog a, body.dk-page-contact .nav-contact a { border-color: var(--blue); color: white; background: linear-gradient(145deg, #0b82ce, #07558f); }

main { min-height: 75vh; margin-left: 104px; }
.site-footer { margin-left: 104px; }
main > .site-shell, .fullscreen-workspace .site-shell { width: min(1480px, calc(100% - 36px)); }
.vcard-stage { width: min(1500px, calc(100% - 36px)); display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(350px, .68fr); gap: 16px; align-items: start; padding-block: 18px; }
.vcard-content { min-width: 0; display: grid; gap: 16px; }
.panel-card { min-width: 0; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(9,28,51,.97), rgba(5,16,29,.98)); box-shadow: 0 18px 45px rgba(0,0,0,.18); overflow: hidden; }
.intro-panel { min-height: 500px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 90% 10%, rgba(18,156,243,.18), transparent 33%), linear-gradient(145deg, rgba(9,28,51,.97), rgba(5,16,29,.98)); }
.intro-panel[style] { background-image: linear-gradient(115deg, rgba(5,16,29,.96), rgba(5,16,29,.76)), var(--page-hero-image); background-position: center; background-size: cover; }
.custom-page-hero[style] { background-image: linear-gradient(115deg, rgba(4,11,20,.96), rgba(4,11,20,.72)), var(--page-hero-image); background-position: center; background-size: cover; }
.intro-panel h1 { max-width: 830px; margin-bottom: 24px; font-size: clamp(2.75rem, 5.4vw, 5rem); }
.panel-lead { max-width: 770px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.intro-panel .button-row { margin-top: 22px; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
.panel-heading h1, .panel-heading h2 { margin-bottom: 0; }
.panel-heading h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.panel-heading h2 { max-width: 700px; font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
.compact-achievements { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.experience-home-panel .experience-timeline { margin-bottom: 25px; }
.skills-home-panel .expertise-list { max-width: 850px; }
.mini-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-project-grid .project-card { background: rgba(4,13,24,.65); }
.project-placeholder { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed var(--line-bright); border-radius: 14px; background: rgba(4,13,24,.65); color: var(--muted); text-align: center; }
.project-placeholder span { color: var(--blue-light); font: 700 35px monospace; }
.project-placeholder strong { color: white; font-family: var(--font-display); }
.project-placeholder small { max-width: 260px; }
.plugin-hint-panel { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 34px; background: radial-gradient(circle at 90% 0, rgba(18,156,243,.16), transparent 30%), var(--surface); }
.plugin-hint-panel h2 { margin-bottom: 9px; font-size: 2rem; }
.plugin-hint-panel p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.plugin-hint-actions { min-width: max-content; display: flex; flex-direction: column; align-items: flex-end; gap: 13px; }

.profile-card { position: sticky; top: 18px; height: calc(100vh - 36px); min-height: 650px; display: grid; grid-template-rows: 31% 1fr auto; border: 1px solid var(--line); border-radius: 16px; background: #050f1c; box-shadow: var(--shadow); overflow: hidden; }
.admin-bar .profile-card { top: 50px; height: calc(100vh - 68px); }
.profile-cover { position: relative; overflow: hidden; background: radial-gradient(circle at 55% 55%, rgba(18,156,243,.2), transparent 32%), linear-gradient(145deg, #0b2d4e, #050c16); }
.profile-cover::before { content: ""; position: absolute; inset: -25%; background-image: linear-gradient(rgba(51,212,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(51,212,255,.14) 1px, transparent 1px); background-size: 38px 38px; transform: perspective(550px) rotateX(62deg) rotateZ(-10deg); }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, #050f1c); }
.profile-cover span { position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 18px var(--blue-light); }
.profile-cover span:nth-child(1) { left: 22%; top: 30%; }
.profile-cover span:nth-child(2) { right: 24%; top: 42%; }
.profile-cover span:nth-child(3) { left: 50%; top: 18%; }
.profile-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0 42px 25px; text-align: center; }
.profile-photo { width: min(var(--profile-photo-size, 118px), calc(100% + 64px)); height: auto; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; margin-top: max(var(--profile-photo-offset, -59px), calc(-50% - 32px)); margin-bottom: 18px; border: var(--profile-photo-border, 5px) solid #050f1c; border-radius: var(--profile-photo-radius, 50%); background: linear-gradient(145deg, var(--blue), #064f88); color: white; font: 800 30px var(--font-display); overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,.35); transition: width .2s ease, border-radius .2s ease; }
.profile-photo img { width: 100%; height: 100%; object-fit: var(--profile-photo-fit, cover); }
.profile-kicker { margin-bottom: 9px; color: var(--blue-light); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-content h2 { margin-bottom: 7px; font-size: clamp(2rem, 3vw, 2.8rem); }
.profile-role { color: #d7eafb; font-size: 13px; font-weight: 700; }
.profile-divider { width: 100%; height: 1px; margin: 17px 0 20px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.profile-intro { max-width: 400px; color: var(--muted); font-size: 13px; }
.profile-socials { max-width: 260px; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: auto; }
.profile-socials a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-light); font-size: 11px; font-weight: 800; }
.profile-socials a > span[aria-hidden="true"] { display: block; line-height: 1; }
.profile-socials a:hover { border-color: var(--blue); color: white; background: var(--surface); }
.profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(9,28,51,.75); }
.profile-actions a { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #e8f4ff; font-size: 12px; font-weight: 800; }
.profile-actions a + a { border-left: 1px solid var(--line); }
.profile-actions a:hover { color: white; background: var(--surface-2); }

.page-vcard-stage { padding-block: 18px 70px; }
.resume-content-card { display: block; }
.resume-content-card[style] { background-image: linear-gradient(rgba(5,16,29,.96), rgba(5,16,29,.96)), var(--page-hero-image); background-position: top center; background-size: 100% 280px; background-repeat: no-repeat; }
.resume-content-card .entry-content > * { max-width: none; }
.resume-content-card .entry-content { color: var(--muted); font-size: 14px; line-height: 1.65; }
.resume-native-intro { max-width: 820px; margin-bottom: 26px; color: #c8dff3; font-size: 15px; }
.resume-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 34px; }
.resume-overview-card { padding: 22px; border: 1px solid rgba(32,135,203,.3); border-radius: 12px; background: rgba(4,13,24,.58); }
.resume-overview-card h2 { margin-bottom: 16px; font-size: 1.45rem; }
.resume-overview-card ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; }
.resume-overview-card li::marker { color: var(--blue-light); }
.resume-knowledge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resume-section-heading { margin-bottom: 18px; }
.resume-section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.resume-career-list { display: grid; gap: 14px; }
.resume-career-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 22px; padding: 21px; border: 1px solid rgba(32,135,203,.3); border-radius: 12px; background: rgba(4,13,24,.58); }
.resume-career-logo { width: 128px; height: 96px; display: grid; place-items: center; padding: 10px; border: 1px solid rgba(32,135,203,.26); border-radius: 9px; background: #fff; overflow: hidden; }
.resume-career-logo img { width: 100%; height: 100%; object-fit: contain; }
.resume-career-logo.is-placeholder { align-content: center; gap: 7px; color: var(--blue-light); background: linear-gradient(145deg, rgba(9,91,150,.34), rgba(4,19,34,.96)); }
.resume-logo-placeholder-mark { font: 700 31px/1 var(--font-display); }
.resume-logo-placeholder-label { color: #cfe8fb; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.resume-career-copy { min-width: 0; }
.resume-career-copy h3 { margin: 0 0 4px; font-size: 1.2rem; }
.resume-career-copy .experience-company { margin-bottom: 12px; }
.resume-career-description, .resume-career-description p { margin: 0; color: var(--muted); line-height: 1.65; }
.resume-career-description p + p { margin-top: 10px; }
.resume-content-card .entry-content > .resume-item { margin-top: 34px; }
.resume-content-card .entry-content > .resume-item:first-child { margin-top: 0; }
.resume-content-card .resume-title { margin-bottom: 18px; }
.resume-content-card .resume-items.line-timeline { display: grid; gap: 14px; }
.resume-content-card .resume-items.line-timeline > .resume-item { display: grid; grid-template-columns: 128px minmax(0, 1fr); grid-template-areas: "image date" "image name" "image company" "image copy"; column-gap: 22px; row-gap: 5px; margin: 0; padding: 20px; border: 1px solid rgba(32,135,203,.3); border-radius: 12px; background: rgba(4,13,24,.58); overflow: hidden; }
.resume-content-card .resume-items.line-timeline > .resume-item:not(:has(.image)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "date" "name" "company" "copy"; }
.resume-content-card .resume-items.line-timeline > .resume-item::before,
.resume-content-card .resume-items.line-timeline > .resume-item::after { display: none; }
.resume-content-card .resume-items.line-timeline > .resume-item .image { grid-area: image; width: 128px; height: 96px; display: grid; place-items: center; margin: 0; padding: 10px; border: 1px solid rgba(32,135,203,.26); border-radius: 9px; background: #fff; overflow: hidden; }
.resume-content-card .resume-items.line-timeline > .resume-item .image img { width: 100%; height: 100%; max-width: 108px; max-height: 76px; margin: 0; padding: 0; object-fit: contain; }
.resume-content-card .resume-items.line-timeline > .resume-item .date { grid-area: date; margin: 0; color: var(--blue-light); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.resume-content-card .resume-items.line-timeline > .resume-item .name { grid-area: name; margin: 0; color: var(--text); font: 700 18px/1.25 var(--font-display); }
.resume-content-card .resume-items.line-timeline > .resume-item .company { grid-area: company; margin: 0 0 5px; color: #d7eafb; font-size: 13px; font-weight: 700; }
.resume-content-card .resume-items.line-timeline > .resume-item .single-post-text { grid-area: copy; min-width: 0; margin: 0; }
.resume-content-card .resume-items.line-timeline > .resume-item .single-post-text p { margin: 0; color: var(--muted); line-height: 1.65; }
.resume-content-card .resume-items.line-timeline > .resume-item .single-post-text p + p { margin-top: 10px; }
.fullscreen-workspace { min-height: 100vh; animation: workspace-in .35s ease both; }
.fullscreen-workspace .site-shell { width: min(1540px, calc(100% - 36px)); }
.projects-workspace .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.projects-workspace .project-image { min-height: 270px; }
.projects-workspace .project-image img { height: 290px; }
@keyframes workspace-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1180px) {
	.vcard-stage { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
	.profile-content { padding-inline: 28px; }
	.projects-workspace .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.site-header.vcard-nav { top: 0; right: 0; bottom: auto; left: 0; width: 100%; height: 72px; border-width: 0 0 1px; border-radius: 0; }
	.admin-bar .site-header.vcard-nav { top: 46px; }
	.vcard-nav .header-inner { width: min(100% - 28px, 1200px); height: 72px; margin-inline: auto; padding: 0; flex-direction: row; gap: 10px; }
	.rail-brand { width: 46px; height: 46px; }
	.rail-brand img { width: 46px; height: 46px; }
	.mobile-brand { display: block; min-width: 0; }
	.mobile-brand strong, .mobile-brand small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mobile-brand strong { font: 700 14px var(--font-display); }
	.mobile-brand small { max-width: 220px; color: var(--muted-2); font-size: 10px; }
	.vcard-nav .menu-toggle { display: block; margin-left: auto; }
	.vcard-nav .primary-nav { display: none; position: absolute; top: 71px; right: 14px; left: 14px; width: auto; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: rgba(5,15,27,.98); box-shadow: var(--shadow); }
	.menu-open .vcard-nav .primary-nav { display: block; }
	.vcard-nav .primary-nav ul { align-items: stretch; gap: 4px; }
	.vcard-nav .primary-nav a { width: 100%; height: 45px; display: flex; justify-content: flex-start; gap: 13px; padding: 0 13px; }
	.vcard-nav .nav-label { position: static; padding: 0; border: 0; background: transparent; color: inherit; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
	.rail-cv { display: none; }
	main { margin-left: 0; padding-top: 72px; }
	.site-footer { margin-left: 0; }
	.vcard-stage { grid-template-columns: minmax(0, 1fr) !important; }
	.profile-card { display: none; }
	.projects-workspace .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.vcard-stage, main > .site-shell, .fullscreen-workspace .site-shell { width: min(100% - 24px, 100%); }
	.panel-card { padding: 22px; }
	.intro-panel { min-height: 0; padding-block: 55px; }
	.intro-panel h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
	.panel-heading { align-items: flex-start; flex-direction: column; }
	.compact-achievements, .mini-project-grid, .projects-workspace .project-grid { grid-template-columns: 1fr; }
	.plugin-hint-panel { align-items: flex-start; flex-direction: column; }
	.plugin-hint-actions { min-width: 0; align-items: flex-start; }
	.projects-workspace .project-image, .projects-workspace .project-image img { min-height: 220px; height: 230px; }
	.experience-item:has(.experience-logo) { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
	.experience-logo { width: 58px; height: 50px; padding: 5px; }
	.resume-content-card .resume-items.line-timeline > .resume-item { grid-template-columns: 1fr; grid-template-areas: "image" "date" "name" "company" "copy"; padding: 17px; }
	.resume-content-card .resume-items.line-timeline > .resume-item .image { width: 112px; height: 78px; margin-bottom: 8px; }
	.resume-overview-grid { grid-template-columns: 1fr; }
	.resume-knowledge-list { grid-template-columns: 1fr; }
	.resume-career-card { grid-template-columns: 1fr; padding: 17px; }
	.resume-career-logo { width: 112px; height: 78px; }
	.product-feature-cta { align-items: stretch; flex-direction: column; }
	.product-feature-cta .button { width: 100%; }
}
