:root {
  color-scheme: dark;
  --bg: #071321;
  --bg-deep: #040c16;
  --surface: #0d1c2d;
  --surface-light: #102338;
  --border: rgba(151, 180, 207, .16);
  --text: #f1f7fd;
  --muted: #a8b8c9;
  --muted-2: #71869a;
  --cyan: #35d9f4;
  --blue: #6aa6ff;
  --green: #7ce3b3;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .24);
  --header-bg: rgba(7, 19, 33, .86);
  --mobile-nav-bg: rgba(7, 19, 33, .98);
  --band-bg: rgba(4, 12, 22, .55);
  --contact-bg: linear-gradient(115deg, rgba(13, 34, 51, .9), rgba(7, 19, 33, .92));
  --scroll-track: #06101b;
  --scroll-thumb: #1d9fb8;
  --scroll-thumb-hover: #35d9f4;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f5fbfe;
  --bg-deep: #e7f0f5;
  --surface: #ffffff;
  --surface-light: #eef8fb;
  --border: rgba(13, 56, 78, .16);
  --text: #0b2333;
  --muted: #4b6678;
  --muted-2: #6d8492;
  --cyan: #087f98;
  --blue: #356ec4;
  --green: #2d956f;
  --shadow: 0 24px 70px rgba(36, 86, 112, .14);
  --header-bg: rgba(245, 251, 254, .88);
  --mobile-nav-bg: rgba(245, 251, 254, .98);
  --band-bg: rgba(226, 239, 245, .72);
  --contact-bg: linear-gradient(115deg, rgba(225, 244, 249, .96), rgba(245, 251, 254, .98));
  --scroll-track: #e3eef3;
  --scroll-thumb: #1595ab;
  --scroll-thumb-hover: #087f98;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-color: var(--scroll-thumb) var(--scroll-track); scrollbar-width: thin; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 85% 8%, rgba(36, 151, 196, .10), transparent 28%), radial-gradient(ellipse at 3% 40%, rgba(61, 115, 201, .08), transparent 28%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(53, 217, 244, .28); color: white; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid var(--scroll-track); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
.skip-link { position: absolute; top: -50px; left: 1rem; z-index: 200; padding: .7rem 1rem; background: var(--cyan); color: #061421; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.section-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(151, 180, 207, .10); }
.header-inner { width: min(1280px, calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: var(--cyan); font-size: .78rem; font-weight: 800; border: 1px solid rgba(53, 217, 244, .6); border-radius: 11px; background: rgba(53, 217, 244, .06); letter-spacing: -.04em; }
.brand-name { font-size: .97rem; font-weight: 750; letter-spacing: -.025em; }
.brand-period { color: var(--cyan); }
.site-nav { display: flex; gap: clamp(15px, 2.1vw, 30px); align-items: center; margin-left: auto; }
.nav-link { color: var(--muted); font-size: .84rem; transition: color .2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link:focus-visible { color: var(--cyan); }
.nav-contact { color: var(--cyan); border: 1px solid rgba(53, 217, 244, .35); border-radius: 8px; padding: .5rem .8rem; }
.language-toggle { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); }
.lang-btn { border: 0; background: transparent; color: var(--muted); padding: .3rem .48rem; border-radius: 6px; font-size: .7rem; font-weight: 750; cursor: pointer; }
.lang-btn.active { background: var(--cyan); color: #061421; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: .32rem .62rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--cyan); border-color: rgba(53,217,244,.5); background: rgba(53,217,244,.06); }
.theme-toggle:active { transform: scale(.97); }
.theme-toggle-icon { color: var(--cyan); font-size: 1rem; line-height: 1; }
.theme-toggle-text { font-size: .7rem; font-weight: 750; }
.menu-toggle { display: none; }
.hero { min-height: 630px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 62px; padding-top: 64px; padding-bottom: 80px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { font-size: .73rem; font-weight: 800; letter-spacing: .15em; color: var(--cyan); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(124, 227, 179, .10); }
.hero h1 { font-size: clamp(2.8rem, 5.3vw, 5rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 780; margin-bottom: 25px; }
.gradient-text { background: linear-gradient(95deg, var(--cyan) 0%, #77afff 80%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-intro { color: var(--muted); max-width: 640px; font-size: 1.04rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: .87rem 1.2rem; border-radius: 10px; font-size: .9rem; font-weight: 750; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #051521; box-shadow: 0 10px 30px rgba(53, 217, 244, .12); }
.button-primary:hover { background: #78e9f8; }
.button-secondary { background: rgba(255,255,255,.025); border: 1px solid var(--border); color: var(--text); }
.button-secondary:hover { border-color: rgba(53,217,244,.5); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--border); }
.hero-facts div { min-width: 0; }
.fact-label { display: block; color: var(--muted-2); font-size: .73rem; margin-bottom: 4px; }
.hero-facts strong { display: block; color: #dce8f3; font-size: .82rem; font-weight: 650; }
.hero-visual { min-height: 465px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; background: linear-gradient(135deg, rgba(53,217,244,.14), rgba(106,166,255,.07)); filter: blur(1px); z-index: -2; }
.visual-orbit { position: absolute; border: 1px solid rgba(53,217,244,.15); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { width: 420px; height: 300px; }
.orbit-two { width: 330px; height: 450px; transform: rotate(35deg); border-color: rgba(106,166,255,.18); }
.profile-frame { width: min(300px, 70vw); aspect-ratio: 1; padding: 9px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, var(--cyan), rgba(106,166,255,.34), transparent 70%); box-shadow: 0 25px 90px rgba(0,0,0,.36), 0 0 65px rgba(53,217,244,.12); transform: rotate(3deg); }
.profile-frame img { display: block; height: 100%; width: 100%; border-radius: 50%; object-fit: cover; transform: rotate(-3deg); border: 4px solid var(--bg); }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 12px; background: rgba(11, 28, 45, .95); padding: 10px 14px; color: #dcecf7; font-size: .79rem; font-weight: 700; box-shadow: var(--shadow); }
.chip-devops { top: 83px; right: -5px; }
.chip-code { bottom: 90px; left: -10px; }
.chip-icon { color: var(--cyan); font-size: 1rem; font-weight: 850; }
.visual-caption { position: absolute; bottom: 10px; display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: .76rem; letter-spacing: .04em; }
.caption-line { display: inline-block; height: 1px; width: 30px; background: var(--cyan); }
.section-block { padding-top: 80px; padding-bottom: 84px; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.section-kicker { display: block; margin-bottom: 13px; }
.section-heading h2, .education-grid h2, .contact-content h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.14; letter-spacing: -.05em; margin-bottom: 16px; }
.section-description { max-width: 700px; color: var(--muted); font-size: .96rem; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: start; }
.about-main p { color: var(--muted); margin-bottom: 18px; line-height: 1.9; }
.about-main .lead { color: #e8f2fb; font-size: 1.23rem; line-height: 1.65; }
.principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.principle-card { min-height: 160px; padding: 21px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg, rgba(16,35,56,.85), rgba(9,24,40,.5)); }
.principle-number { color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.principle-card h3 { font-size: 1.06rem; margin: 8px 0 4px; }
.principle-card p { color: var(--muted); font-size: .83rem; line-height: 1.7; }
.timeline { border-left: 1px solid rgba(53,217,244,.25); margin-left: 6px; padding-left: 31px; display: grid; gap: 20px; }
.timeline-item { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 25px; position: relative; padding: 24px; background: rgba(13,28,45,.68); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, transform .2s; }
.timeline-item:hover { border-color: rgba(53,217,244,.38); transform: translateY(-2px); }
.timeline-date { color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.timeline-dot { position: absolute; left: -38px; top: 29px; width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); border: 3px solid var(--bg); box-shadow: 0 0 0 3px rgba(53,217,244,.15); }
.timeline-topline { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.timeline-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.company-name { color: var(--cyan); font-size: .87rem; font-weight: 700; margin-bottom: 13px; }
.timeline-body > p:not(.company-name) { color: var(--muted); font-size: .9rem; line-height: 1.85; }
.experience-tag, .project-status { display: inline-flex; align-items: center; border: 1px solid rgba(53,217,244,.18); border-radius: 100px; padding: .24rem .6rem; color: #9edee9; background: rgba(53,217,244,.06); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tag-list span { display: inline-flex; border-radius: 6px; padding: .28rem .57rem; border: 1px solid rgba(151,180,207,.12); background: rgba(255,255,255,.025); color: #b7cadb; font-size: .69rem; line-height: 1.5; }
.skills-band { background: rgba(4,12,22,.55); border-top: 1px solid rgba(151,180,207,.09); border-bottom: 1px solid rgba(151,180,207,.09); }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.skill-card { background: rgba(13,28,45,.68); border: 1px solid var(--border); border-radius: 14px; padding: 23px; }
.skill-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.skill-card-heading h3 { font-size: 1rem; }
.skill-symbol { color: var(--cyan); font-size: .75rem; font-weight: 850; }
.skill-card .tag-list { margin-top: 0; }
.skill-note-card p { color: var(--muted); font-size: .87rem; line-height: 1.8; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; max-width: none; }
.text-link, .project-link { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-weight: 750; font-size: .84rem; white-space: nowrap; }
.text-link:hover, .project-link:hover { color: #a3f3ff; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; align-items: stretch; }
.project-card { display: flex; flex-direction: column; padding: 23px; min-width: 0; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(155deg, rgba(16,35,56,.72), rgba(8,22,37,.65)); transition: transform .2s, border-color .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(53,217,244,.34); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.project-featured { border-color: rgba(53,217,244,.25); background: linear-gradient(145deg, rgba(17,47,65,.87), rgba(10,25,42,.88)); }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.project-index { color: var(--muted-2); font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.status-lab { color: #c1b5ff; border-color: rgba(172,153,255,.2); background: rgba(172,153,255,.06); }
.status-concept { color: #ffd38c; border-color: rgba(255,211,140,.2); background: rgba(255,211,140,.06); }
.project-graphic { position: relative; min-height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 11px; border: 1px solid rgba(151,180,207,.10); background: linear-gradient(120deg, rgba(5,15,27,.9), rgba(15,39,57,.75)); margin-bottom: 21px; }
.graphic-cloud { background-image: radial-gradient(circle at 50% 50%, rgba(53,217,244,.12), transparent 55%), linear-gradient(120deg, #071626, #10283d); }
.graphic-orbit { position: absolute; width: 118px; height: 118px; border: 1px dashed rgba(53,217,244,.36); border-radius: 50%; }
.graphic-core { display: grid; place-items: center; width: 71px; height: 71px; border-radius: 50%; background: #0b2b3d; border: 1px solid rgba(53,217,244,.65); color: var(--cyan); font-size: .85rem; font-weight: 850; box-shadow: 0 0 30px rgba(53,217,244,.15); }
.graphic-node { position: absolute; border: 1px solid rgba(106,166,255,.36); border-radius: 7px; background: #0a1d30; color: #b6d3ff; padding: .3rem .45rem; font-size: .63rem; font-weight: 800; }
.node-a { top: 18px; left: 19%; }.node-b { right: 16%; top: 32px; }.node-c { bottom: 14px; left: 44%; }
.graphic-observe { background-image: radial-gradient(circle at 70% 20%, rgba(106,166,255,.12), transparent 44%); }
.chart-lines { position: absolute; inset: 25px 28px 35px; display: flex; align-items: end; gap: 10px; border-bottom: 1px solid rgba(151,180,207,.25); }
.chart-lines i { flex: 1; background: linear-gradient(180deg, var(--cyan), rgba(53,217,244,.12)); border-radius: 4px 4px 0 0; opacity: .75; }
.chart-lines i:nth-child(1) { height: 23%; }.chart-lines i:nth-child(2) { height: 39%; }.chart-lines i:nth-child(3) { height: 31%; }.chart-lines i:nth-child(4) { height: 63%; }.chart-lines i:nth-child(5) { height: 50%; }.chart-lines i:nth-child(6) { height: 78%; }.chart-lines i:nth-child(7) { height: 61%; }.chart-lines i:nth-child(8) { height: 92%; }
.graphic-label { position: absolute; bottom: 7px; right: 11px; color: var(--muted-2); font-size: .6rem; letter-spacing: .08em; }
.graphic-credit { flex-direction: column; align-items: start; padding: 25px 29px; gap: 18px; }
.credit-number { color: #e9f4fc; font-size: 1.12rem; font-weight: 800; letter-spacing: .07em; }.credit-number span { color: var(--cyan); }
.credit-bars { width: 100%; height: 48px; display: flex; align-items: end; gap: 9px; }.credit-bars i { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #72e3bd, rgba(114,227,189,.12)); }.credit-bars i:nth-child(2) { height: 75%; }.credit-bars i:nth-child(3) { height: 55%; }.credit-bars i:nth-child(4) { height: 38%; }.credit-bars i:nth-child(5) { height: 20%; }
.graphic-library { align-items: end; gap: 7px; padding-bottom: 46px; background-image: radial-gradient(circle at 50% 15%, rgba(255,207,120,.11), transparent 45%); }
.book { height: 66px; width: 31px; border-radius: 4px 4px 1px 1px; border: 1px solid rgba(255,255,255,.19); box-shadow: inset 5px 0 rgba(0,0,0,.12); }.book-one { background: #1d7a8a; height: 82px; transform: rotate(-5deg); }.book-two { background: #6b69b6; height: 96px; }.book-three { background: #bd8150; height: 73px; transform: rotate(4deg); }.book-shelf { position: absolute; bottom: 35px; height: 7px; width: 43%; border-radius: 4px; background: #375169; }
.graphic-map { background-image: radial-gradient(circle at center, rgba(124,227,179,.09), transparent 48%); }
.graphic-map::before { content: ""; width: 132px; height: 102px; background: rgba(124,227,179,.12); border: 1px solid rgba(124,227,179,.33); clip-path: polygon(25% 0, 49% 7%, 64% 18%, 83% 13%, 92% 31%, 79% 48%, 66% 55%, 59% 83%, 42% 100%, 35% 78%, 19% 59%, 9% 31%); }
.map-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(53,217,244,.1); }.dot-one { top: 43px; left: 45%; }.dot-two { top: 67px; left: 53%; }.dot-three { top: 85px; left: 47%; }.map-connector { position: absolute; width: 60px; height: 45px; border-top: 1px dashed rgba(53,217,244,.5); border-right: 1px dashed rgba(53,217,244,.5); transform: rotate(18deg); left: 49%; top: 46px; }.map-label { position: absolute; bottom: 10px; right: 13px; font-size: .6rem; color: var(--muted-2); letter-spacing: .2em; }
.graphic-mobilo { background-image: radial-gradient(circle at 30% 60%, rgba(255,211,140,.1), transparent 34%), radial-gradient(circle at 70% 40%, rgba(53,217,244,.1), transparent 34%); }
.mobilo-mark { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid rgba(255,211,140,.5); border-radius: 20px; color: #ffd38c; font-size: 2.2rem; font-weight: 850; transform: rotate(-8deg); }
.mobilo-route { position: absolute; width: 85px; height: 38px; border-top: 1px dashed rgba(255,211,140,.55); border-radius: 50%; }.route-one { left: 19%; top: 45px; transform: rotate(18deg); }.route-two { right: 15%; bottom: 35px; transform: rotate(-22deg); }.mobilo-pin { position: absolute; right: 22%; top: 31px; color: var(--cyan); font-size: 1.1rem; text-shadow: 0 0 18px rgba(53,217,244,.6); }
.project-card h3 { font-size: 1.13rem; letter-spacing: -.02em; line-height: 1.4; margin-bottom: 10px; }.project-card > p { color: var(--muted); font-size: .86rem; line-height: 1.85; }
.project-foot { border-top: 1px solid rgba(151,180,207,.10); margin-top: auto; padding-top: 16px; margin-top: 20px; }.project-card .tag-list { margin-bottom: 20px; }.private-note { color: var(--muted-2); font-size: .73rem; }.project-link { font-size: .8rem; }
.education-band { background: rgba(4,12,22,.56); border-top: 1px solid rgba(151,180,207,.09); border-bottom: 1px solid rgba(151,180,207,.09); }
.education-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.education-grid h2 { margin-bottom: 17px; }.education-grid .section-description { max-width: 390px; line-height: 1.9; }
.education-list { display: grid; gap: 0; }
.education-item { display: grid; grid-template-columns: 112px minmax(0,1fr) auto; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }.education-item:first-child { padding-top: 5px; }.education-item:last-child { border-bottom: 0; }
.education-year { color: var(--cyan); font-size: .74rem; font-weight: 800; padding-top: 4px; white-space: nowrap; }.education-item h3 { font-size: 1rem; margin-bottom: 5px; }.education-item .company-name { margin-bottom: 6px; }.education-item p:not(.company-name) { color: var(--muted); font-size: .8rem; }.education-state { color: var(--green); border: 1px solid rgba(124,227,179,.22); background: rgba(124,227,179,.05); font-size: .66rem; border-radius: 100px; padding: .2rem .55rem; white-space: nowrap; }
.learning-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.learning-card { position: relative; display: flex; flex-direction: column; min-height: 215px; padding: 21px; border: 1px solid var(--border); border-radius: 13px; background: rgba(13,28,45,.55); transition: transform .2s, border-color .2s; }
.learning-card:hover { transform: translateY(-3px); border-color: rgba(53,217,244,.35); }.learning-meta { color: var(--cyan); font-size: .63rem; font-weight: 850; letter-spacing: .1em; margin-bottom: 17px; }.learning-card h3 { font-size: .99rem; line-height: 1.45; margin-bottom: 9px; }.learning-card p { color: var(--muted); font-size: .8rem; line-height: 1.7; }.learning-arrow { color: var(--cyan); position: absolute; right: 20px; bottom: 17px; }
.learning-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.contact-section { background: linear-gradient(115deg, rgba(13,34,51,.9), rgba(7,19,33,.92)); border-top: 1px solid rgba(53,217,244,.15); }
.contact-content { padding-top: 75px; padding-bottom: 75px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }.contact-content h2 { max-width: 590px; }.contact-content > div:first-child > p:not(.section-kicker) { color: var(--muted); max-width: 570px; margin-bottom: 24px; }.contact-cta { margin-top: 5px; }
.contact-links { display: grid; gap: 8px; }.contact-links > a { display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; align-items: center; gap: 13px; padding: 13px; border-radius: 11px; border: 1px solid var(--border); background: rgba(4,12,22,.28); transition: border-color .2s, background .2s; }.contact-links > a:hover { border-color: rgba(53,217,244,.35); background: rgba(53,217,244,.035); }.contact-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(53,217,244,.24); background: rgba(53,217,244,.05); border-radius: 9px; font-size: .9rem; font-weight: 850; }.contact-links small { display: block; color: var(--muted-2); font-size: .67rem; }.contact-links strong { display: block; font-size: .82rem; overflow-wrap: anywhere; }.contact-arrow { color: var(--muted-2); }
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); }.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted-2); font-size: .75rem; }.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 8px; font-size: .69rem; }.footer-brand .brand-name { font-size: .8rem; color: var(--muted); }
[data-theme="light"] body::before { background: radial-gradient(ellipse at 85% 8%, rgba(53, 190, 211, .13), transparent 28%), radial-gradient(ellipse at 3% 40%, rgba(106, 166, 255, .10), transparent 28%); }
[data-theme="light"] .hero-facts strong { color: #183d50; }
[data-theme="light"] .floating-chip { background: rgba(255,255,255,.92); color: var(--text); box-shadow: 0 18px 50px rgba(36, 86, 112, .15); }
[data-theme="light"] .about-main .lead { color: #183d50; }
[data-theme="light"] .principle-card { background: linear-gradient(145deg, #ffffff, #edf8fb); }
[data-theme="light"] .timeline-item { background: rgba(255,255,255,.82); }
[data-theme="light"] .experience-tag, [data-theme="light"] .project-status { color: #087f98; border-color: rgba(8,127,152,.22); background: rgba(8,127,152,.06); }
[data-theme="light"] .tag-list span { border-color: rgba(13,56,78,.13); background: rgba(13,56,78,.035); color: #3c5c6e; }
[data-theme="light"] .skills-band, [data-theme="light"] .education-band { background: var(--band-bg); }
[data-theme="light"] .skill-card { background: rgba(255,255,255,.78); }
[data-theme="light"] .project-card { background: linear-gradient(155deg, rgba(255,255,255,.92), rgba(237,247,250,.9)); }
[data-theme="light"] .project-featured { background: linear-gradient(145deg, #e5f8fb, #f7fcfd); }
[data-theme="light"] .text-link:hover, [data-theme="light"] .project-link:hover { color: var(--cyan); }
[data-theme="light"] .learning-card { background: rgba(255,255,255,.76); }
[data-theme="light"] .contact-section { background: var(--contact-bg); }
[data-theme="light"] .contact-links > a { background: rgba(255,255,255,.58); }
@media (max-width: 1050px) { .header-inner { gap: 17px; }.brand-name { display: none; }.site-nav { gap: 15px; }.hero { gap: 28px; }.hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }.hero-facts { gap: 10px; }.skills-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.learning-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.chip-devops { right: 0; }.chip-code { left: 0; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }.section-wrap { width: min(100% - 34px, 560px); }.header-inner { width: calc(100% - 34px); min-height: 72px; gap: 12px; }.brand-name { display: inline; }.brand-mark { width: 35px; height: 35px; }.menu-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 10px; background: transparent; border: 1px solid var(--border); border-radius: 8px; }.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }.site-nav { display: none; position: absolute; top: 71px; left: 0; right: 0; padding: 15px 22px 20px; background: var(--mobile-nav-bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; }.site-nav.is-open { display: flex; }.nav-link { padding: 11px 5px; border-bottom: 1px solid rgba(151,180,207,.08); }.nav-contact { margin-top: 10px; text-align: center; border: 1px solid rgba(53,217,244,.3); }.language-toggle { margin-left: 0; }.lang-btn { padding: .35rem .43rem; }.theme-toggle { padding: .35rem .48rem; }.theme-toggle-text { display: none; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 18px; padding-top: 66px; padding-bottom: 48px; }.hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }.hero-intro { font-size: .97rem; }.hero-facts { grid-template-columns: 1fr 1fr; row-gap: 14px; margin-top: 30px; }.hero-facts div:last-child { grid-column: 1 / -1; }.hero-visual { min-height: 360px; margin-top: 4px; }.profile-frame { width: 235px; }.hero-visual::before { width: 245px; height: 245px; }.orbit-one { width: 310px; height: 230px; }.orbit-two { width: 260px; height: 330px; }.chip-devops { top: 43px; right: 0; }.chip-code { bottom: 62px; left: 0; }.floating-chip { font-size: .7rem; padding: 8px 10px; }.visual-caption { bottom: 10px; }
  .section-block { padding-top: 57px; padding-bottom: 60px; }.section-heading h2, .education-grid h2, .contact-content h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }.about-grid, .education-grid, .contact-content { grid-template-columns: 1fr; gap: 29px; }.principles-grid { gap: 10px; }.principle-card { padding: 16px; min-height: 150px; }.timeline { padding-left: 21px; margin-left: 4px; }.timeline-item { grid-template-columns: 1fr; gap: 9px; padding: 18px; }.timeline-dot { left: -28px; top: 24px; }.timeline-date { font-size: .68rem; }.timeline-topline { align-items: flex-start; }.timeline-topline h3 { font-size: 1.03rem; }.skills-grid, .project-grid { grid-template-columns: 1fr; }.skill-card { padding: 20px; }.section-heading-row { align-items: flex-start; flex-direction: column; gap: 5px; }.project-card { padding: 19px; }.education-item { grid-template-columns: 1fr auto; gap: 5px 12px; }.education-year { grid-column: 1 / -1; }.education-item > div { grid-column: 1; }.education-state { grid-column: 2; grid-row: 2; }.learning-grid { grid-template-columns: 1fr; }.learning-card { min-height: 185px; }.learning-footer { align-items: flex-start; flex-direction: column; }.contact-content { padding-top: 58px; padding-bottom: 58px; }.contact-links { margin-top: 8px; }.footer-inner { padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: flex-start; }.footer-inner > p { order: 3; width: 100%; }
}
@media (max-width: 390px) { .brand-name { font-size: .84rem; }.hero-actions .button { width: 100%; }.principles-grid { grid-template-columns: 1fr; }.language-toggle { gap: 1px; }.lang-btn { padding: .3rem .35rem; }.hero-facts strong { font-size: .77rem; } }
@media (max-width: 360px) { .brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
/* Progressive reveal: content remains visible if JavaScript or the observer is unavailable. */
.will-animate { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.will-animate.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .will-animate, .will-animate.is-visible { opacity: 1; transform: none; } }
