:root {
  --bg: #0b0806;
  --bg-2: #120c08;
  --panel: rgba(25, 16, 10, .78);
  --panel-solid: #17100b;
  --panel-soft: rgba(255,255,255,.035);
  --text: #fff8f1;
  --muted: #b8a99d;
  --faint: #75695f;
  --line: rgba(255, 181, 107, .14);
  --line-strong: rgba(255, 145, 48, .35);
  --orange: #ff7a1a;
  --orange-2: #ff9d3d;
  --amber: #ffc166;
  --cream: #ffe4bd;
  --danger: #ff5a36;
  --shadow: 0 26px 80px rgba(0,0,0,.38);
  --radius: 24px;
  --max: 1240px;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body::selection { background: var(--orange); color: #1f1005; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: 110px 0; }

.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 0; height: 3px; z-index: 200; background: linear-gradient(90deg,var(--orange),var(--amber)); box-shadow: 0 0 22px rgba(255,122,26,.45); }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
.grid-bg { position: fixed; inset: 0; z-index: -3; background-image: linear-gradient(rgba(255,148,61,.045) 1px, transparent 1px), linear-gradient(90deg,rgba(255,148,61,.045) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at 50% 20%,#000 0,transparent 75%); }
.glow { position: fixed; width: 550px; height: 550px; border-radius: 50%; filter: blur(110px); z-index: -2; pointer-events: none; opacity: .14; background: var(--orange); }
.glow-one { right: -220px; top: 0; }.glow-two { left: -250px; top: 48%; background: var(--amber); opacity: .08; }

.site-header { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(calc(100% - 28px), 1320px); height: 72px; display: flex; align-items: center; gap: 26px; padding: 0 14px 0 18px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); box-shadow: 0 14px 40px rgba(0,0,0,.16); transition: .25s ease; }
.site-header.scrolled { top: 8px; box-shadow: 0 18px 48px rgba(0,0,0,.3); border-color: var(--line-strong); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 230px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange-2); }
.brand-mark svg { width: 40px; height: 40px; }
.brand-copy { display: grid; line-height: 1.1; gap: 4px; }.brand-copy strong { font-size: .92rem; }.brand-copy small { color: var(--orange-2); font-size: .61rem; letter-spacing: .16em; font-weight: 800; }
.desktop-nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.desktop-nav a { padding: 10px 11px; color: var(--muted); font-size: .78rem; border-radius: 11px; transition: .2s; }.desktop-nav a:hover { color: var(--text); background: var(--panel-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .mobile-menu-btn { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); cursor: pointer; transition: .2s; }.icon-button:hover, .mobile-menu-btn:hover { border-color: var(--line-strong); color: var(--orange-2); }.icon-button svg, .mobile-menu-btn svg { width: 21px; height: 21px; }
.header-cta { height: 42px; padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; background: linear-gradient(135deg,var(--orange),var(--orange-2)); color: #2c1303; font-weight: 900; font-size: .78rem; box-shadow: 0 10px 28px rgba(255,122,26,.18); }.header-cta svg { width: 18px; height: 18px; }
.mobile-menu-btn { display: none; }
.mobile-drawer { display: none; }

.hero { min-height: 820px; padding-top: 165px; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: "AI / ML"; position: absolute; right: -1.5vw; bottom: 0; font-size: clamp(8rem,22vw,22rem); font-weight: 950; line-height: .7; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(255,143,46,.07); pointer-events: none; }
.hero-layout { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 80px; }
.status-pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(255,151,54,.25); border-radius: 999px; color: var(--cream); background: rgba(255,122,26,.065); font-size: .72rem; font-weight: 700; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,122,26,.12),0 0 17px var(--orange); }
.eyebrow { margin: 0 0 14px; color: var(--orange-2); font-size: .68rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.hero-copy .eyebrow { margin-top: 24px; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.7rem,7.1vw,7.5rem); line-height: .9; letter-spacing: -.07em; font-weight: 920; }
.hero h1 span { color: var(--orange-2); }
.hero-lead { max-width: 810px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1rem,1.35vw,1.18rem); }
.hero-metrics { margin-top: 34px; display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }
.hero-metrics article { padding: 18px 17px 18px 0; border-right: 1px solid var(--line); }.hero-metrics article + article { padding-left: 17px; }.hero-metrics article:last-child { border-right: 0; }
.hero-metrics strong { display: block; color: var(--cream); font-size: 1.42rem; letter-spacing: -.03em; }.hero-metrics span { display: block; margin-top: 4px; color: var(--faint); font-size: .7rem; line-height: 1.35; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn { min-height: 50px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; font-size: .8rem; font-weight: 850; transition: transform .2s,border-color .2s,background .2s; }.btn:hover { transform: translateY(-2px); }.btn svg { width: 19px; height: 19px; }.btn-primary { color: #281105; background: linear-gradient(135deg,var(--orange),var(--amber)); }.btn-ghost { border: 1px solid var(--line); background: var(--panel-soft); }.btn-ghost:hover { border-color: var(--line-strong); }.text-link { padding: 12px 8px; color: var(--orange-2); font-size: .8rem; font-weight: 800; }

.profile-card { position: relative; max-width: 440px; justify-self: end; }
.profile-card::before { content: ""; position: absolute; inset: 11% -14% -12% 10%; background: #ff7300; filter: blur(76px); opacity: .16; border-radius: 42%; }
.profile-frame {
  position: relative;
  padding: 4px;
  border: 0;
  border-radius: 38px;
  background: linear-gradient(135deg,#fffdf8 0%,#ffe1bd 15%,#ffbf5a 34%,#ff9228 58%,#ff6900 82%,#ff4f00 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,160,58,.22), 0 0 34px rgba(255,112,0,.13);
  overflow: hidden;
}
.profile-photo {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 592/792;
  object-fit: cover;
  object-position: center center;
  border-radius: 34px;
  filter: saturate(.88) contrast(1.025);
}
.profile-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 4px;
  border-radius: 34px;
  background: linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(10,5,2,.14) 66%,rgba(10,5,2,.87) 100%);
  pointer-events: none;
}
.profile-overlay { position: absolute; z-index: 2; left: 31px; right: 31px; bottom: 30px; display: grid; gap: 2px; }.profile-overlay span { color: #ffd5ad; font-size: .68rem; text-transform: uppercase; letter-spacing: .17em; }.profile-overlay strong { color: #fff9f3; font-size: 1.1rem; }
.profile-facts { position: relative; margin: 12px 4px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.profile-facts span { min-height: 70px; padding: 12px; display: grid; align-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 14px 5px 14px 5px; background: var(--panel); color: var(--muted); font-size: .67rem; }.profile-facts b { color: var(--orange-2); font-size: .62rem; letter-spacing: .15em; }

.section-heading { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); gap: 60px; align-items: end; margin-bottom: 40px; }.section-heading h2, .experience-intro h2, .competition-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(2.5rem,4.8vw,5rem); line-height: .98; letter-spacing: -.055em; }.section-heading > p, .experience-intro > p, .competition-copy > p, .contact-copy > p { margin: 0; color: var(--muted); }

.cases-section { border-top: 1px solid var(--line); background: linear-gradient(180deg,rgba(255,122,26,.025),transparent 25%); }
.case-study { position: relative; margin-top: 18px; padding: 34px; border: 1px solid var(--line); border-radius: 30px 10px 30px 10px; background: linear-gradient(145deg,var(--panel),rgba(255,122,26,.025)); box-shadow: var(--shadow); overflow: hidden; }.case-study + .case-study { margin-top: 18px; }.case-study::before { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -140px; border: 1px solid rgba(255,146,48,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,146,48,.018),0 0 0 76px rgba(255,146,48,.012); }
.case-index { position: absolute; right: 28px; top: 24px; color: var(--faint); font-size: .62rem; font-weight: 900; letter-spacing: .16em; }
.case-main { display: grid; grid-template-columns: 92px 1fr; gap: 25px; align-items: start; max-width: 980px; }.case-icon { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 24px 8px 24px 8px; color: var(--orange-2); background: rgba(255,122,26,.07); }.case-icon svg { width: 52px; height: 52px; stroke-width: 1.45; }.case-main h3 { margin: 0; font-size: clamp(1.75rem,3vw,3rem); line-height: 1.06; letter-spacing: -.04em; }.case-main p:not(.eyebrow) { margin: 15px 0 0; max-width: 900px; color: var(--muted); }
.case-result-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 18px 6px 18px 6px; overflow: hidden; }.case-result-grid div { padding: 18px 20px; border-right: 1px solid var(--line); background: var(--panel-soft); }.case-result-grid div:last-child { border-right: 0; }.case-result-grid small,.case-result-grid span { display: block; color: var(--faint); font-size: .68rem; }.case-result-grid strong { display: block; margin: 3px 0; color: var(--cream); font-size: 1.45rem; letter-spacing: -.025em; }
.case-footer { margin-top: 22px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }.tag-row span,.project-tags span,.modal-tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel-soft); font-size: .62rem; }.case-links { display: flex; flex-wrap: wrap; gap: 8px; }.case-links a,.extra-card > a,.modal-links a { padding: 9px 11px; color: var(--orange-2); border: 1px solid rgba(255,143,46,.2); border-radius: 10px; font-size: .7rem; font-weight: 800; transition: .2s; }.case-links a:hover,.extra-card > a:hover,.modal-links a:hover { background: rgba(255,122,26,.08); border-color: var(--line-strong); }

.projects-section { border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }.filter { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-soft); color: var(--muted); font-size: .72rem; cursor: pointer; transition: .2s; }.filter:hover,.filter.active { color: #2b1305; border-color: transparent; background: var(--orange-2); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.project-card { position: relative; min-height: 300px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px 7px 22px 7px; background: linear-gradient(145deg,var(--panel),rgba(255,122,26,.015)); cursor: pointer; overflow: hidden; transition: transform .25s,border-color .25s,background .25s; }.project-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(145deg,var(--panel),rgba(255,122,26,.055)); }.project-card.hidden { display: none; }.project-card::after { content: ""; position: absolute; right: -45px; bottom: -75px; width: 150px; height: 150px; border: 1px solid rgba(255,148,61,.1); border-radius: 50%; }
.project-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }.project-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; color: var(--orange-2); border: 1px solid var(--line); border-radius: 14px 5px 14px 5px; background: rgba(255,122,26,.06); }.project-icon svg { width: 28px; height: 28px; }.project-badge { padding: 5px 8px; border-radius: 999px; color: var(--orange-2); border: 1px solid rgba(255,141,41,.22); font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 20px 0 9px; font-size: 1.2rem; line-height: 1.1; letter-spacing: -.025em; }.project-card > p { margin: 0; color: var(--muted); font-size: .8rem; }.project-tags { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }.project-open { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px 4px 10px 4px; color: var(--orange-2); background: var(--panel-solid); }.project-open svg { width: 18px; height: 18px; }

.competitions-section { border-block: 1px solid var(--line); background: linear-gradient(120deg,rgba(255,122,26,.045),transparent 48%); }.competition-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }.competition-copy > p { margin-top: 22px; }.award-strip { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 18px 6px 18px 6px; overflow: hidden; }.award-strip span { padding: 16px 14px; border-right: 1px solid var(--line); }.award-strip span:last-child { border-right: 0; }.award-strip b,.award-strip strong,.award-strip small { display: block; }.award-strip b { color: var(--orange-2); font-size: .72rem; letter-spacing: .08em; }.award-strip strong { margin-top: 3px; }.award-strip small { margin-top: 3px; color: var(--faint); font-size: .6rem; line-height: 1.25; }
.competition-list { border-top: 1px solid var(--line); }.competition-list a { display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: center; padding: 20px 5px; border-bottom: 1px solid var(--line); transition: .2s; }.competition-list a:hover { padding-left: 12px; background: linear-gradient(90deg,rgba(255,122,26,.06),transparent); }.competition-list > a > span { color: var(--orange-2); font-size: .65rem; font-weight: 900; }.competition-list strong,.competition-list small { display: block; }.competition-list small { color: var(--muted); margin-top: 4px; font-size: .7rem; }.competition-list b { color: var(--orange-2); font-size: .68rem; }

.experience-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }.experience-intro { position: sticky; top: 120px; }.experience-intro > p { margin-top: 20px; }.delivery-flow { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }.delivery-flow span { padding: 6px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; font-size: .62rem; }.delivery-flow i { color: var(--orange); font-style: normal; }
.timeline article { display: grid; grid-template-columns: 130px 24px 1fr; gap: 18px; min-height: 260px; }.timeline-date { color: var(--muted); font-size: .68rem; padding-top: 4px; }.timeline-dot { position: relative; }.timeline-dot::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: -8px; width: 1px; background: var(--line-strong); }.timeline article:last-child .timeline-dot::before { bottom: 40%; }.timeline-dot::after { content: ""; position: absolute; left: 50%; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: translate(-50%,-50%); box-shadow: 0 0 0 6px rgba(255,122,26,.09),0 0 18px rgba(255,122,26,.4); }
.timeline-body { padding-bottom: 40px; }.job-head { display: flex; justify-content: space-between; gap: 16px; }.job-head p { margin: 0; color: var(--cream); font-size: .73rem; font-weight: 800; }.job-head h3 { margin: 3px 0 0; font-size: 1.35rem; }.job-head > span { padding: 5px 8px; height: fit-content; border: 1px solid var(--line); border-radius: 999px; color: var(--orange-2); font-size: .62rem; }.timeline-body > p { color: var(--muted); font-size: .8rem; }.timeline-body ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); font-size: .77rem; }.timeline-body li + li { margin-top: 5px; }

.stack-section { border-top: 1px solid var(--line); background: linear-gradient(180deg,transparent,rgba(255,122,26,.025),transparent); }.stack-shell { display: grid; grid-template-columns: 210px 1fr; min-height: 270px; border: 1px solid var(--line); border-radius: 26px 8px 26px 8px; overflow: hidden; background: var(--panel); }.stack-tabs { display: flex; flex-direction: column; padding: 9px; border-right: 1px solid var(--line); }.stack-tab { padding: 13px 12px; border: 0; border-radius: 12px 4px 12px 4px; text-align: left; color: var(--muted); background: transparent; cursor: pointer; font-size: .74rem; transition: .2s; }.stack-tab:hover,.stack-tab.active { color: #2c1303; background: var(--orange-2); font-weight: 850; }.stack-panel { padding: 28px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 9px; }.tech-chip { padding: 10px 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px 4px 12px 4px; color: var(--muted); background: var(--panel-soft); font-size: .72rem; transition: .2s; }.tech-chip::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 12px rgba(255,122,26,.35); }.tech-chip:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.skill-notes { margin-top: 14px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.skill-notes article { padding: 20px; border: 1px solid var(--line); border-radius: 18px 6px 18px 6px; background: var(--panel-soft); }.skill-notes article > span { color: var(--orange-2); font-size: .58rem; letter-spacing: .16em; font-weight: 900; }.skill-notes h3 { margin: 9px 0 6px; font-size: .98rem; }.skill-notes p { margin: 0; color: var(--muted); font-size: .72rem; }

.extras-section { border-top: 1px solid var(--line); }.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.extra-card { position: relative; min-height: 350px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px 9px 28px 9px; background: linear-gradient(145deg,var(--panel),rgba(255,122,26,.035)); overflow: hidden; }.extra-card::after { content: ""; position: absolute; right: -70px; top: -90px; width: 220px; height: 220px; border: 1px solid rgba(255,147,48,.12); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,147,48,.018); }.extra-card h3 { margin: 0; font-size: clamp(1.8rem,3vw,3rem); letter-spacing: -.04em; }.extra-card > p:not(.eyebrow) { color: var(--muted); max-width: 620px; }.extra-card .tag-row { margin-top: auto; padding-top: 22px; }.extra-card > a { width: fit-content; margin-top: 14px; }.extra-card.hobby { background: linear-gradient(145deg,var(--panel),rgba(255,185,93,.045)); }
.hobby-details { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.hobby-details li { position: relative; padding-left: 17px; }
.hobby-details li::before { content: ""; position: absolute; left: 0; top: .63em; width: 6px; height: 6px; border-radius: 2px; background: var(--orange-2); box-shadow: 0 0 12px rgba(255,143,46,.45); }
.hobby-details b { color: var(--text); font-weight: 800; }
.extra-card.hobby .tag-row { margin-top: 6px; padding-top: 14px; }

.contact-section { padding-bottom: 70px; }.contact-panel { padding: 42px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; border: 1px solid var(--line-strong); border-radius: 34px 10px 34px 10px; background: linear-gradient(135deg,rgba(255,122,26,.09),var(--panel) 45%,rgba(255,192,102,.03)); box-shadow: var(--shadow); }.contact-copy > p { margin-top: 18px; }
.contact-links { display: grid; gap: 8px; }.contact-links a,.contact-links button { width: 100%; min-height: 68px; padding: 10px 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px 5px 16px 5px; color: var(--text); background: rgba(0,0,0,.09); cursor: pointer; text-align: left; transition: .2s; }.contact-links a:hover,.contact-links button:hover { border-color: var(--line-strong); transform: translateX(3px); background: rgba(255,122,26,.055); }.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px 4px 12px 4px; color: var(--orange-2); }.contact-icon svg { width: 23px; height: 23px; }.contact-links small,.contact-links strong { display: block; }.contact-links small { color: var(--faint); font-size: .62rem; }.contact-links strong { font-size: .78rem; }.contact-links b { color: var(--orange-2); font-size: .68rem; }

.footer { min-height: 86px; padding-block: 20px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: var(--faint); font-size: .68rem; }.footer a { color: var(--orange-2); }

.project-modal { width: min(calc(100% - 28px),820px); padding: 34px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 28px 9px 28px 9px; background: var(--panel-solid); box-shadow: var(--shadow); }.project-modal::backdrop,.command-dialog::backdrop { background: rgba(3,2,1,.72); backdrop-filter: blur(10px); }.project-modal h2 { margin: 0; font-size: clamp(2rem,4.5vw,3.8rem); line-height: 1; letter-spacing: -.05em; }.modal-lead { color: var(--muted); }.modal-close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px 4px 11px 4px; background: var(--panel-soft); cursor: pointer; }.modal-close svg { width: 19px; height: 19px; }.modal-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }.modal-columns small { color: var(--orange-2); font-weight: 850; }.modal-columns ul { padding-left: 18px; color: var(--muted); font-size: .8rem; }.modal-columns li + li { margin-top: 7px; }.modal-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }.modal-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.command-dialog { width: min(calc(100% - 24px),650px); padding: 0; overflow: hidden; color: var(--text); border: 1px solid var(--line-strong); border-radius: 20px 7px 20px 7px; background: var(--panel-solid); box-shadow: var(--shadow); }.command-head { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }.command-head svg { width: 21px; height: 21px; color: var(--orange-2); }.command-head input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }.command-list { max-height: 390px; overflow-y: auto; padding: 7px; }.command-item { width: 100%; padding: 11px 12px; display: flex; justify-content: space-between; gap: 12px; border: 0; border-radius: 10px 4px 10px 4px; background: transparent; cursor: pointer; text-align: left; }.command-item span:last-child { color: var(--faint); font-size: .66rem; }.command-item:hover,.command-item.selected { background: rgba(255,122,26,.09); }.command-hint { margin: 0; padding: 9px 15px; border-top: 1px solid var(--line); color: var(--faint); font-size: .6rem; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 150; transform: translate(-50%,20px); padding: 10px 14px; color: #2c1303; background: var(--orange-2); border-radius: 10px; font-size: .72rem; font-weight: 850; opacity: 0; pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: translate(-50%,0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease,transform .7s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none!important; transition-duration: .01ms!important; } }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }.mobile-menu-btn { display: grid; }.site-header { justify-content: space-between; }.brand { min-width: 0; }.hero-layout { gap: 45px; }.hero-metrics { grid-template-columns: repeat(2,1fr); }.hero-metrics article:nth-child(2){border-right:0}.hero-metrics article:nth-child(n+3){border-top:1px solid var(--line)}.project-grid { grid-template-columns: repeat(2,1fr); }.skill-notes { grid-template-columns: repeat(2,1fr); }
  .mobile-drawer { position: fixed; top: 94px; left: 14px; right: 14px; z-index: 99; padding: 10px; grid-template-columns: repeat(2,1fr); gap: 7px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--panel-solid); box-shadow: var(--shadow); }.mobile-drawer.open { display: grid; }.mobile-drawer a { padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .74rem; }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }.hero { padding-top: 130px; }.hero-layout,.section-heading,.competition-layout,.experience-layout,.contact-panel { grid-template-columns: 1fr; }.profile-card { justify-self: start; max-width: 390px; }.section-heading { gap: 18px; }.case-main { grid-template-columns: 70px 1fr; }.case-icon { width: 64px; height: 64px; }.case-icon svg { width: 40px; }.competition-layout,.experience-layout { gap: 45px; }.experience-intro { position: static; }.stack-shell { grid-template-columns: 1fr; }.stack-tabs { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }.stack-tab { flex: 0 0 auto; }.extras-grid { grid-template-columns: 1fr; }.contact-panel { gap: 36px; padding: 30px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px),var(--max)); }.site-header { width: calc(100% - 16px); height: 64px; top: 8px; padding-left: 11px; }.brand-copy strong { font-size: .76rem; }.brand-copy small { font-size: .52rem; }.brand-mark { width: 36px; }.brand-mark svg { width: 34px; }.icon-button { display: none; }.header-cta { width: 42px; padding: 0; justify-content: center; }.header-cta span { display:none; }.header-cta { font-size:0; }.header-cta svg { width:20px; }
  .hero { min-height: auto; padding-top: 115px; }.hero h1 { font-size: clamp(3.1rem,16vw,4.6rem); }.hero-lead { font-size: .94rem; }.hero-metrics { grid-template-columns: 1fr 1fr; }.hero-metrics article,.hero-metrics article + article { padding: 14px 10px; }.hero-actions { align-items: stretch; }.btn { flex: 1 1 calc(50% - 8px); }.text-link { flex-basis: 100%; }.profile-card { width: 100%; }.profile-facts { grid-template-columns: 1fr; }.profile-facts span { min-height: 52px; grid-template-columns: 30px 1fr; align-items:center; }
  .case-study { padding: 24px 18px; }.case-index { position: static; margin-bottom: 18px; }.case-main { grid-template-columns: 1fr; }.case-result-grid { grid-template-columns: 1fr; }.case-result-grid div { border-right: 0; border-bottom: 1px solid var(--line); }.case-result-grid div:last-child { border-bottom: 0; }.case-footer { align-items: flex-start; flex-direction: column; }.project-grid { grid-template-columns: 1fr; }.project-card { min-height: 270px; }.award-strip { grid-template-columns: 1fr; }.award-strip span { border-right: 0; border-bottom: 1px solid var(--line); }.award-strip span:last-child { border-bottom: 0; }.competition-list a { grid-template-columns: 30px 1fr; }.competition-list a > b { grid-column: 2; }.timeline article { grid-template-columns: 1fr; gap: 7px; min-height: 0; margin-bottom: 34px; }.timeline-dot { display: none; }.skill-notes { grid-template-columns: 1fr; }.stack-panel { padding: 19px; }.modal-columns { grid-template-columns: 1fr; }.project-modal { padding: 28px 20px; }.footer { flex-direction: column; text-align: center; justify-content: center; }.mobile-drawer { top: 80px; }
}

/* v10 — background / education journey */
.hero-lead strong { color: var(--text); font-weight: 850; }
.role-strip { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-strip span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,122,26,.045); font-size: .66rem; font-weight: 800; letter-spacing: .02em; }

.journey-section { border-top: 1px solid var(--line); background: linear-gradient(180deg,rgba(255,122,26,.035),transparent 42%); overflow: hidden; }
.journey-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 74px; align-items: start; }
.journey-intro { position: sticky; top: 120px; }
.journey-intro h2 { margin: 0; max-width: 560px; font-size: clamp(2.6rem,4.8vw,5rem); line-height: .98; letter-spacing: -.055em; }
.journey-intro > p:not(.eyebrow) { margin: 22px 0 0; max-width: 590px; color: var(--muted); }
.education-card { margin-top: 30px; padding: 22px; display: grid; grid-template-columns: 56px 1fr; gap: 17px; border: 1px solid var(--line-strong); border-radius: 24px 8px 24px 8px; background: linear-gradient(145deg,rgba(255,122,26,.08),var(--panel) 58%); box-shadow: var(--shadow); }
.education-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 17px 5px 17px 5px; color: var(--orange-2); background: rgba(255,122,26,.055); }
.education-mark svg { width: 34px; height: 34px; }
.education-card span { display: block; color: var(--orange-2); font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.education-card h3 { margin: 5px 0 8px; font-size: 1.2rem; letter-spacing: -.025em; }
.education-card p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.education-card a { display: inline-flex; margin-top: 13px; color: var(--orange-2); font-size: .69rem; font-weight: 850; }
.journey-track { position: relative; display: grid; gap: 11px; }
.journey-track::before { content: ""; position: absolute; left: 59px; top: 38px; bottom: 38px; width: 1px; background: linear-gradient(180deg,var(--orange),rgba(255,122,26,.08)); }
.journey-step { position: relative; display: grid; grid-template-columns: 118px 1fr; min-height: 170px; padding: 22px 24px 22px 0; border: 1px solid var(--line); border-radius: 24px 8px 24px 8px; background: linear-gradient(145deg,var(--panel),rgba(255,122,26,.018)); overflow: hidden; }
.journey-step::after { content: ""; position: absolute; width: 130px; height: 130px; right: -72px; bottom: -74px; border: 1px solid rgba(255,148,61,.09); border-radius: 50%; }
.journey-step.current { border-color: var(--line-strong); background: linear-gradient(145deg,rgba(255,122,26,.085),var(--panel) 52%); }
.journey-year { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 11px; padding-top: 4px; color: var(--faint); }
.journey-year::after { content: ""; width: 11px; height: 11px; margin-top: 1px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,122,26,.10),0 0 18px rgba(255,122,26,.36); }
.journey-year b { color: var(--orange-2); font-size: .68rem; letter-spacing: .14em; }
.journey-year span { font-size: .62rem; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .07em; }
.journey-body { padding: 0 4px 0 3px; }
.journey-label { color: var(--orange-2); font-size: .59rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.journey-body h3 { margin: 5px 0 9px; font-size: 1.22rem; line-height: 1.18; letter-spacing: -.025em; }
.journey-body p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.62; }

@media (max-width: 860px) {
  .journey-layout { grid-template-columns: 1fr; gap: 38px; }
  .journey-intro { position: static; }
  .journey-intro h2 { max-width: 720px; }
}

@media (max-width: 640px) {
  .education-card { grid-template-columns: 1fr; padding: 19px; }
  .journey-track::before { left: 21px; top: 30px; bottom: 30px; }
  .journey-step { grid-template-columns: 42px 1fr; padding: 19px 16px 19px 0; min-height: 0; }
  .journey-year { gap: 7px; }
  .journey-year span { display: none; }
  .journey-year::after { width: 9px; height: 9px; }
  .journey-body h3 { font-size: 1.05rem; }
  .journey-body p { font-size: .75rem; }
}


/* v17 — compact RU / EN language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}
.lang-switch a {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--faint);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
  transition: .2s ease;
}
.lang-switch a:hover { color: var(--cream); background: rgba(255,122,26,.07); }
.lang-switch a.active {
  color: #2c1303;
  background: linear-gradient(135deg,var(--orange),var(--orange-2));
  box-shadow: 0 7px 20px rgba(255,122,26,.16);
}
@media (max-width: 640px) {
  .lang-switch { height: 38px; padding: 2px; border-radius: 10px; }
  .lang-switch a { min-width: 28px; height: 32px; padding: 0 5px; font-size: .58rem; border-radius: 8px; }
}
@media (max-width: 390px) {
  .brand-copy small { display: none; }
  .brand { gap: 6px; }
  .header-actions { gap: 5px; }
}
