/* Visual system based on the supplied Homepage and Article references. */
@font-face { font-family: Ubuntu; src: url('../fonts/Ubuntu-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
    --accent: #12f7d6;
    --background: #292f36;
    --surface: #1a1e23;
    --text: #fff;
    --muted: #c2c6ca;
    --mint: #98faec;
    --border: #434951;
    --font-heading: Ubuntu, "Segoe UI", sans-serif;
    --font-body: Ubuntu, Arial, sans-serif;
    --font-code: 'IBM Plex Mono', monospace;
    --container: 1360px;
    --skill-orange: #e95325;
    --skill-blue: #087fbe;
    --skill-yellow: #e6aa09;
    --skill-cyan: #19acd0;
}
[hidden] { display: none !important; }
body { font-size: 16px; font-weight: 400; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: 0; }
.container { width: min(var(--container), calc(100% - 96px)); }
.icon { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.site-header { background: var(--background); border-color: var(--border); }
.header-inner { max-width: 1680px; min-height: 108px; padding: 24px 6.5%; gap: 34px; }
.brand { font: 25px var(--font-code); color: var(--text); white-space: nowrap; }
.brand span { color: var(--accent); }
.nav-menu { gap: 30px; }
.nav-menu a { font: 17px var(--font-code); font-weight: 400; }
.header-search { width: 190px; flex-shrink: 0; position: relative; }
.header-search #header-query { background: var(--text); color: var(--surface); border: 0; height: 32px; border-radius: 24px; padding: 4px 35px 4px 14px; }
.header-search button { position: absolute; top: 3px; right: 7px; padding: 1px; border: 0; color: var(--surface); background: transparent; }
.header-search .icon { width: 20px; height: 20px; }
.header-socials { display: flex; gap: 24px; }
.header-socials a { display: flex; gap: 7px; align-items: center; color: var(--text); font: 11px var(--font-code); }
.header-socials .icon { color: var(--accent); width: 16px; height: 16px; }
.search-toggle { display: none; }
.hero-section { padding: 36px 0 105px; }
.hero-display-title { color: var(--mint); text-align: center; font: 80px/1.1 var(--font-heading); margin: 0 0 50px; }
.hero-layout { max-width: 1150px; margin: auto; display: grid; grid-template-columns: 250px minmax(0, 1fr) 160px; align-items: center; gap: 76px; }
.profile-card { border: 3px solid var(--text); border-radius: 115px 0 115px 0; box-shadow: -5px -4px 0 var(--accent); background: transparent; padding: 26px 18px; min-height: 380px; width: 100%; height: auto; display: block; }
.profile-photo { width: 92px; height: 92px; border: 3px solid var(--accent); }
.profile-name { font: 27px/1.1 var(--font-heading); margin: 18px 0 5px; }
.profile-role { color: var(--text); font: 11px var(--font-code); }
.profile-details { list-style: none; padding: 0; margin: 22px 0 16px; text-align: left; }
.profile-details li { display: flex; align-items: center; gap: 10px; margin: 10px 0; font: 10px/1.4 var(--font-code); overflow-wrap: anywhere; }
.profile-details .icon { width: 15px; height: 15px; color: var(--accent); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.profile-tags span { background: var(--accent); color: var(--surface); border-radius: 20px; padding: 2px 7px; font: 10px var(--font-code); }
.cv-button { background: var(--text); color: var(--surface); font: 15px var(--font-body); padding: 10px 17px; }
.cv-button .icon { width: 18px; height: 18px; }
.hero-copy { order: 0; min-width: 0; }
.code-tag { color: var(--mint); opacity: .6; font: 11px/2 var(--font-code); display: block; }
.hero-copy h1 { font-size: clamp(32px, 3vw, 50px); line-height: 1.18; margin: 6px 0 24px 18px; }
.hero-copy h1 .code-tag { display: inline-block; margin-left: 12px; }
.hero-tagline { color: var(--text); font: 12px/1.6 var(--font-code); border: 0; margin: 4px 0; padding-left: 18px; }
.talk-link { color: var(--accent); display: flex; align-items: center; gap: 16px; margin: 12px 0 0 18px; font: 26px var(--font-code); }
.talk-link > span { display: grid; place-items: center; width: 38px; height: 38px; background: var(--border); border-radius: 50%; }
.hero-stats { background: var(--surface); border-radius: 75px; display: flex; flex-direction: column; padding: 30px 22px; gap: 25px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 0; background: none; border: 0; border-radius: 0; text-align: left; }
.stat strong { font-size: 40px; line-height: 1; font-weight: 400; }
.stat span { font: 11px/1.4 var(--font-code); }
.section-nav { top: 150px; left: 28px; transform: none; background: var(--surface); border-color: var(--muted); border-radius: 25px; padding: 10px 5px; gap: 10px; }
.section-nav a { width: 28px; min-height: 30px; font-size: 17px; }
.section-nav a[aria-current] { color: var(--surface); background: var(--text); border-radius: 50%; }
.about-section { padding-bottom: 100px; background: var(--surface) url('../images/contours.svg') center / 1100px auto; }
.about-grid { grid-template-columns: 1fr 1.1fr; gap: 42px; align-items: start; }
.framed-title { display: table; font-size: 45px; line-height: 1.15; border: 3px solid var(--accent); border-radius: 38px 0 38px 0; background: var(--background); padding: 13px 28px; margin: 0 0 26px; }
.about-card { border-radius: 32px; padding: 28px; min-height: 0; background: var(--background); font: 12px/1.65 var(--font-code); }
.about-card h3 { color: var(--accent); font: 27px var(--font-code); margin: 3px 0; }
.about-description { margin: 0; white-space: normal; }
.about-card > .code-tag:last-child { margin-top: 18px; }
.about-image { height: auto; max-height: 220px; margin-top: 20px; }
.scroll-marker { height: 115px; display: flex; align-items: center; flex-direction: column; margin: 0 auto 36px; padding-top: 8px; }
.scroll-marker > span { width: 20px; height: 30px; border: 2px solid var(--accent); border-radius: 12px; position: relative; }
.scroll-marker > span:before { content: ''; position: absolute; top: 4px; left: 7px; height: 8px; border-left: 2px solid var(--accent); }
.scroll-marker i { height: 62px; border-left: 1px dashed var(--text); opacity: .8; }
.scroll-marker b { width: 6px; height: 6px; background: var(--text); transform: rotate(45deg); }
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading h2 { color: var(--accent); font: 48px/1.2 var(--font-heading); margin: 0 0 12px; }
.heading-line { display: block; height: 2px; background: var(--accent); width: 110px; margin: auto; position: relative; }
.heading-line:before, .heading-line:after { content: ''; position: absolute; width: 5px; height: 5px; top: -1.5px; border-radius: 50%; background: var(--accent); }
.heading-line:before { left: 0; }.heading-line:after { right: 0; }
.section-heading p { font: 12px/1.7 var(--font-code); margin: 18px auto 0; max-width: 620px; }
.about-column .section-heading { margin: 25px 0 28px; }
.about-column .section-heading h2 { font-size: 40px; }
.about-column .section-heading p { font-size: 10px; max-width: 300px; }
.service-list { display: flex; justify-content: center; gap: 65px; margin-bottom: 64px; }
.service-card { background: var(--mint); color: var(--background); min-width: 205px; padding: 16px 24px; text-align: center; border-left: 7px solid var(--skill-blue); border-radius: 7px; }
.service-card h3 { font: 17px var(--font-code); margin: 8px 0; }
.service-card p { font: 11px var(--font-code); margin: 0; }
.skills-list { gap: 54px; }
.skill-item { width: 130px; --skill-color: var(--skill-orange); }
.skill-item:nth-child(4n + 2) { --skill-color: var(--skill-blue); }
.skill-item:nth-child(4n + 3) { --skill-color: var(--skill-yellow); }
.skill-item:nth-child(4n + 4) { --skill-color: var(--skill-cyan); }
.skill-icon { width: 120px; height: 120px; background: var(--skill-color); color: var(--text); border: 0; font: 30px var(--font-code); }
.skill-icon svg { width: 45%; height: 45%; }
.profile-availability { font: 9px var(--font-code); color: var(--mint); margin-top: 8px; }
.skill-item h3 { color: var(--skill-color); font: 20px var(--font-code); text-transform: uppercase; margin: 20px 0 10px; }
.skill-track { opacity: .65; height: 2px; max-width: 60px; margin: 12px auto 0; }
.skill-track span { background: var(--skill-color); }
.is-compact .service-list { gap: 10px; margin-bottom: 30px; }
.is-compact .service-card { min-width: 0; flex: 1; padding: 13px 8px; }
.is-compact .service-card h3 { font-size: 13px; }
.is-compact .service-card p { font-size: 9px; }
.is-compact .skills-list { gap: 14px; }
.is-compact .skill-item { width: 88px; }
.is-compact .skill-icon { width: 82px; height: 82px; font-size: 23px; }
.is-compact .skill-item h3 { font-size: 16px; }
.skills-section { background: linear-gradient(90deg, transparent, var(--background)), url('../images/code-pattern.svg') center / cover; padding: 75px 0 115px; position: relative; }
.skills-section > .container { position: relative; }
.large-code { position: absolute; right: 10%; bottom: 20px; font: 110px var(--font-code); color: var(--accent); transform: rotate(12deg); opacity: .8; pointer-events: none; }
.article-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; align-items: center; padding: 42px 14px; border-top: 1px solid var(--muted); }
.article-row:last-child { border-bottom: 1px solid var(--muted); }
.article-row-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.article-row-copy h3 { font: 27px/1.3 var(--font-heading); margin: 0 0 18px; }
.article-row-copy > p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 15px; }
.read-more { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.row-details { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.category-pill, .article-tags a { border-radius: 20px; background: var(--border); color: var(--muted); font-size: 10px; padding: 3px 9px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 11px; }
.article-meta b { color: var(--text); font-weight: 500; margin-right: 7px; }
.about-articles .article-row { grid-template-columns: 155px minmax(0, 1fr); padding: 28px 0; gap: 28px; }
.about-articles .article-row-copy h3 { font-size: 22px; margin-bottom: 12px; }
.about-articles .article-row-copy > p { font-size: 11px; }
.about-articles .article-meta { font-size: 8px; gap: 12px; }
.about-articles .row-details { gap: 12px; margin-top: 12px; }
.about-articles .category-pill { font-size: 8px; }
.works-section { background: var(--surface) url('../images/contours.svg') center / 1400px auto; background-image: linear-gradient(color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface) 88%, transparent)), url('../images/contours.svg'); padding: 65px 0 100px; }
.project-carousel { max-width: 820px; margin: 60px auto 0; position: relative; padding: 0 55px; }
.project-slide { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 10px 0 35px; }
.project-slide + .project-slide { margin-top: 45px; }
.js .project-slide + .project-slide { margin-top: 0; }
.project-display { width: 65%; z-index: 1; }
.project-visit { display: table; margin: 0 auto 18px; padding-bottom: 6px; border-bottom: 1px solid var(--accent); font: 15px var(--font-code); }
.screen-frame { display: block; border: 8px solid var(--text); border-bottom: 0; border-radius: 8px 8px 0 0; overflow: hidden; background: var(--text); box-shadow: 0 8px 20px #0004; }
.screen-frame img { aspect-ratio: 1.65; width: 100%; object-fit: cover; }
.screen-chin { display: block; height: 27px; color: var(--surface); text-align: center; background: var(--text); font-size: 13px; }
.screen-stand { margin: 0 auto; width: 70px; height: 38px; background: var(--muted); clip-path: polygon(30% 0,70% 0,78% 83%,100% 93%,100% 100%,0 100%,0 93%,22% 83%); }
.code-monitor { align-self: stretch; width: 30%; padding: 9px; border: 7px solid var(--border); border-bottom: 16px solid var(--border); background: var(--surface); transform: perspective(650px) rotateY(10deg); position: relative; margin-bottom: 38px; }
.code-monitor:after { content: ''; width: 50px; height: 38px; background: var(--border); position: absolute; bottom: -54px; left: calc(50% - 25px); clip-path: polygon(35% 0,65% 0,65% 85%,100% 85%,100% 100%,0 100%,0 85%,35% 85%); }
.code-monitor span { font: 10px var(--font-code); color: var(--accent); }
.code-monitor i { display: block; width: 65%; height: 3px; background: var(--skill-cyan); opacity: .6; margin: 14px 0 14px 10%; }
.code-monitor i:nth-child(2n) { width: 80%; margin-left: 5%; background: var(--skill-orange); }
.code-monitor i:nth-child(3n) { width: 50%; margin-left: 20%; background: var(--mint); }
.project-slide-title { width: 100%; text-align: center; margin: 20px 0 0; font: 13px var(--font-code); color: var(--muted); }
.carousel-control { position: absolute; top: 45%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--background); color: var(--text); font-size: 34px; line-height: 1; }
.carousel-control.previous { left: 0; }.carousel-control.next { right: 0; }
.blogs-section { padding: 65px 0 90px; background: var(--background); }
.featured-blog { max-width: 860px; margin: 0 auto; }
.blog-actions { display: flex; justify-content: center; gap: 25px; margin-top: 38px; }
.button { font-family: var(--font-body); font-weight: 400; font-size: 16px; padding: 12px 24px; }
.button-outline { color: var(--text); background: transparent; border: 2px solid var(--accent); }
.contact-section { background: var(--surface); padding: 55px 0 80px; }
.contact-title { display: table; color: var(--accent); font: 26px var(--font-code); padding: 13px 24px; border: 2px solid var(--accent); border-radius: 28px 0 28px 0; margin: 65px auto 70px; }
.contact-form { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 65px; }
.contact-form > p { margin: 0; }
.contact-form label { color: var(--accent); font-size: 13px; margin-bottom: 9px; }
.contact-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]), .contact-form textarea { border-bottom: 1px solid var(--mint); color: var(--text); font: 13px var(--font-body); }
.contact-subject, .contact-message, .contact-form .form-note, .contact-form .form-status { grid-column: 1 / -1; }
.contact-form textarea { min-height: 70px; }
.contact-form .form-note { font-size: 10px; color: var(--muted); }
.contact-form .form-status:empty { display: none; }
.contact-form > .button { grid-column: 1 / -1; justify-self: center; }
.site-footer { background: var(--surface); border-color: var(--border); margin-top: 0; padding: 28px 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-menu, .footer-bottom .social-links { margin: 0; }
.social-links a { background: var(--mint); color: var(--background); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.social-links .icon { width: 17px; height: 17px; }
.article-page { padding-top: 100px; }
.article-shell { width: min(760px, 38vw); margin-inline: auto; }
.article-heading h1 { color: var(--accent); font: clamp(24px, 1.7vw, 34px)/1.35 var(--font-heading); margin: 0 0 30px; }
.article-shell .article-meta { padding: 16px 22px; border-block: 1px solid var(--border); min-height: 62px; gap: 26px; }
.article-featured { width: 100%; aspect-ratio: 1.8; object-fit: cover; margin: 34px 0 25px; border-radius: 0; }
.article-body { font-size: 15px; line-height: 2.05; color: var(--muted); }
.article-body p { margin: 0 0 29px; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--accent); font-size: 17px; line-height: 1.5; margin: 32px 0 25px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 20px; margin: 32px 0; }
.article-tags a { font-size: 12px; }
.share-button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mint); color: var(--background); margin-left: auto; }
.share-button .icon { width: 17px; height: 17px; }
.share-status { color: var(--accent); font-size: 12px; text-align: center; }
.share-status:empty { display: none; }
.article-subscribe { text-align: center; margin-top: 30px; }
.article-related { max-width: 1100px; width: 55vw; margin: 200px auto 90px; }
.article-related > h2 { font: clamp(36px, 3.3vw, 64px)/1.2 var(--font-heading); text-align: center; color: var(--accent); margin: 0 0 65px; }
.article-related .article-row { padding-block: 60px; grid-template-columns: 24% minmax(0,1fr); gap: 6%; }
.article-extras { padding-bottom: 60px; }
.article-extras > summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.article-extras:has(.comments-area) { padding-top: 30px; }
.single-post .entry-content .alignwide { width: min(1000px, calc(100vw - 80px)); max-width: none; position: relative; left: 50%; transform: translateX(-50%); }

@media (min-width: 1600px) {
    .hero-layout { max-width: 1320px; grid-template-columns: 280px minmax(0, 1fr) 185px; gap: 95px; }
    .hero-section { padding-bottom: 125px; }
    .hero-copy h1 { font-size: 56px; }
    .profile-card { min-height: 410px; }
}
@media (max-width: 1279px) {
    .header-inner { gap: 24px; padding-inline: 5%; }
    .header-socials { gap: 15px; }.header-socials span { display: none; }
    .hero-layout { grid-template-columns: 220px minmax(0, 1fr) 145px; gap: 40px; }
    .hero-display-title { font-size: 68px; }
    .profile-card { padding-inline: 13px; }
    .hero-stats { padding: 28px 18px; }
    .stat strong { font-size: 34px; }
    .about-articles .article-row { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; }
    .about-articles .article-row-copy h3 { font-size: 19px; }
    .is-compact .skills-list { gap: 8px; }.is-compact .skill-item { width: 75px; }.is-compact .skill-icon { width: 70px; height: 70px; font-size: 20px; }
    .section-nav { left: 10px; }.large-code { right: 0; }
}
@media (max-width: 1023px) {
    .article-shell { width: min(720px, calc(100% - 48px)); }
    .article-related { width: calc(100% - 80px); }
    .container { width: calc(100% - 56px); }
    .header-inner { min-height: 85px; }.brand { font-size: 20px; }.header-search { width: 140px; }
    .header-socials { display: none; }
    .hero-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
    .hero-stats { grid-column: 1 / -1; flex-direction: row; border-radius: 40px; justify-content: space-around; }
    .stat { flex: 0 1 auto; }.hero-section { padding-bottom: 65px; }
    .about-grid { gap: 25px; }.about-articles .article-row { grid-template-columns: 95px minmax(0, 1fr); gap: 16px; }
    .about-articles .article-meta { gap: 7px; }.framed-title { font-size: 36px; }
    .is-compact .service-list { flex-wrap: wrap; }.is-compact .service-card { flex-basis: 100%; }
    .skills-list { gap: 30px; }.large-code { display: none; }
    .article-related .article-row { grid-template-columns: 180px minmax(0,1fr); gap: 35px; }
    .footer-bottom { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 767px) {
    .container { width: calc(100% - 40px); }
    .header-inner { gap: 18px; min-height: 76px; padding: 18px 20px; }
    .header-search { display: none; }.search-toggle { display: inline-flex; }
    .brand { font-size: 19px; }.nav-menu a { font-size: 15px; }
    .hero-display-title { font-size: 52px; margin-bottom: 38px; }
    .hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .profile-card { width: 250px; min-height: 360px; }
    .hero-copy { order: 0; }.hero-copy h1 { font-size: 39px; }
    .hero-stats { grid-column: auto; gap: 16px; padding: 24px 18px; }.stat { gap: 8px; }.stat strong { font-size: 28px; }.stat span { font-size: 9px; }
    .hero-tagline { max-width: 480px; }.talk-link { font-size: 25px; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-column { max-width: 540px; width: 100%; margin: auto; }
    .about-articles .article-row { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
    .about-articles .article-meta { font-size: 9px; }
    .is-compact .service-list { flex-wrap: nowrap; }.is-compact .service-card { flex-basis: auto; }
    .is-compact .skills-list { gap: 15px; }.is-compact .skill-item { width: 80px; }
    .skills-section, .works-section, .blogs-section, .contact-section { padding: 50px 0 70px; }
    .section-heading h2 { font-size: 40px; }.section-heading p { font-size: 11px; }
    .service-list { gap: 20px; margin-bottom: 40px; }.service-card { min-width: 0; flex: 1; padding: 16px 10px; }.service-card h3 { font-size: 14px; }.service-card p { font-size: 9px; }
    .skills-list { gap: 24px; }.skill-item { width: 110px; }.skill-icon { width: 90px; height: 90px; font-size: 25px; }
    .project-carousel { padding: 0 35px; }.carousel-control { width: 30px; height: 30px; font-size: 25px; }
    .code-monitor { padding: 4px; border-width: 4px; }.code-monitor span { font-size: 6px; }.code-monitor i { margin-block: 9px; }
    .screen-frame { border-width: 5px; }.screen-chin { height: 18px; }.project-visit { font-size: 11px; }
    .article-row { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 30px 0; }
    .article-row-copy h3 { font-size: 22px; }.article-row-copy > p { font-size: 12px; }.article-meta { font-size: 9px; gap: 12px; }
    .contact-form { gap: 30px 25px; }.contact-title { font-size: 22px; margin: 45px auto; }
    .article-page { padding-top: 55px; }.article-heading h1 { font-size: 29px; }
    .article-shell .article-meta { padding: 13px 0; gap: 16px; font-size: 10px; }.article-body { font-size: 14px; }
    .article-related { margin-top: 110px; width: calc(100% - 40px); }.article-related > h2 { font-size: 40px; margin-bottom: 40px; }
    .article-related .article-row { grid-template-columns: 125px minmax(0, 1fr); gap: 24px; padding-block: 35px; }
}
@media (max-width: 479px) {
    .hero-display-title { font-size: 46px; }.hero-copy h1 { font-size: 34px; }
    .hero-stats { flex-wrap: wrap; }.stat span { font-size: 8px; }
    .about-articles .article-row, .article-row, .article-related .article-row { grid-template-columns: 90px minmax(0, 1fr); gap: 18px; }
    .article-row-copy h3, .about-articles .article-row-copy h3 { font-size: 18px; }
    .row-details { gap: 10px; }.article-meta { gap: 8px; }.article-meta b { margin-right: 3px; }
    .contact-form { grid-template-columns: 1fr; }.contact-title { font-size: 20px; }
    .service-list { gap: 10px; }.service-card h3 { font-size: 12px; }
    .project-carousel { padding-inline: 28px; }.project-visit { font-size: 9px; }.code-monitor i { margin-block: 6px; }
    .article-shell { width: calc(100% - 36px); }.article-related > h2 { font-size: 34px; }
    .article-shell .article-meta { gap: 10px; }.share-button { width: 28px; height: 28px; }
}
