@font-face {
  font-family:Unbounded;
  src:url('fonts/unbounded-cyrillic.woff2') format('woff2');
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}
@font-face {
  font-family:Unbounded;
  src:url('fonts/unbounded-latin.woff2') format('woff2');
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2070-209F,U+20AC,U+2122,U+2190-21FF,U+2212,U+2215,U+FEFF,U+FFFD
}
@font-face {
  font-family:Inter;
  src:url('fonts/inter-cyrillic.woff2') format('woff2');
  font-style:normal;
  font-weight:300 800;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}
@font-face {
  font-family:Inter;
  src:url('fonts/inter-latin.woff2') format('woff2');
  font-style:normal;
  font-weight:300 800;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-21FF,U+2212,U+2215,U+FEFF,U+FFFD
}
:root {
  color-scheme:dark;
  --bg:#111210;
  --panel:#1b1c19;
  --sunken:#171815;
  --ink:#eeeee6;
  --muted:#a9aaa1;
  --soft:#85887d;
  --line:#363831;
  --accent:#ef916d;
  --button:#ef916d;
  --button-ink:#171410;
  --display:Unbounded,Inter,system-ui,sans-serif;
  --body:Inter,system-ui,sans-serif;
  --gut:40px;
  --max:1240px
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#f4f1e9;
  --panel:#eae7df;
  --sunken:#eeece4;
  --ink:#22251f;
  --muted:#606357;
  --soft:#65685d;
  --line:#cccfc2;
  --accent:#a94223;
  --button:#b04c2c;
  --button-ink:#fff9ed
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased
}
h1,h2,h3,p,figure {
  margin:0
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button {
  color:inherit;
  cursor:pointer
}
button,a,input,summary {
  -webkit-tap-highlight-color:transparent
}
button {
  background:none;
  border:0
}
img {
  max-width:100%;
  display:block
}
em {
  font-style:normal;
  color:var(--accent)
}
button:disabled {
  cursor:wait;
  opacity:.65
}
[hidden] {
  display:none!important
}
::selection {
  background:var(--accent);
  color:var(--bg)
}
:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:6px
}
summary {
  cursor:pointer;
  list-style:none
}
summary::-webkit-details-marker {
  display:none
}
.wrap {
  max-width:var(--max);
  padding:0 var(--gut);
  margin:auto
}
.muted {
  color:var(--muted)
}
.text-link {
  font-size:14px;
  text-decoration:underline;
  text-decoration-color:var(--line);
  text-underline-offset:6px;
  padding:4px 0
}
.text-link:hover {
  color:var(--accent);
  text-decoration-color:var(--accent)
}
.button {
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:13px 23px;
  border:1px solid var(--line);
  border-radius:4px;
  font-size:14px;
  font-weight:600;
  transition:transform .2s,background .2s
}
.button:hover {
  transform:translateY(-3px)
}
.button.primary {
  background:var(--button);
  border-color:var(--button);
  color:var(--button-ink)
}
.button span[aria-hidden] {
  font-size:20px
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:200;
  padding:14px;
  background:var(--button);
  color:var(--button-ink)
}
.skip-link:focus {
  top:12px
}
.site-header {
  position:sticky;
  top:0;
  z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--line)
}
.header-inner {
  height:80px;
  display:flex;
  align-items:center;
  gap:40px
}
.brand {
  font-family:var(--display);
  font-size:36px;
  font-weight:700;
  letter-spacing:-3px;
  line-height:1
}
.brand span {
  color:var(--accent)
}
.desktop-nav {
  display:flex;
  gap:28px;
  margin:auto
}
.desktop-nav a {
  font-size:13px;
  color:var(--muted)
}
.desktop-nav a:hover,.desktop-nav a[aria-current] {
  color:var(--ink)
}
.header-tools {
  display:flex;
  align-items:center;
  gap:12px
}
.lang-link {
  min-width:38px;
  min-height:44px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:600
}
.icon-button {
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:50%;
  font-size:22px
}
.icon-button:hover {
  background:var(--panel)
}
.header-contact {
  margin-left:14px;
  font-size:13px;
  display:flex;
  gap:24px;
  align-items:center
}
.header-contact span {
  font-size:20px;
  color:var(--accent)
}
.menu-button {
  display:none
}
.mobile-nav {
  padding-top:12px;
  padding-bottom:24px;
  border-top:1px solid var(--line)
}
.mobile-nav a {
  display:block;
  padding:14px 0;
  border-bottom:1px solid var(--line)
}
.eyebrow {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  letter-spacing:.10em;
  text-transform:uppercase
}
.eyebrow-separator {
  color:var(--line)
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  flex:none
}
.hero {
  padding-top:78px;
  padding-bottom:65px;
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:50px;
  align-items:start
}
.hero h1 {
  font-family:var(--display);
  font-weight:500;
  font-size:clamp(36px,4.45vw,59px);
  line-height:1.19;
  letter-spacing:-.045em;
  margin:25px 0 25px
}
.hero-lead {
  color:var(--muted);
  font-size:17px;
  line-height:1.65
}
.hero-actions {
  display:flex;
  gap:12px;
  margin-top:30px;
  flex-wrap:wrap
}
.hero-actions .button:nth-child(2) {
  background:transparent;
  color:var(--ink);
  border-color:var(--line)
}
.hero-stats {
  display:flex;
  gap:38px;
  margin-top:38px;
  padding-top:25px;
  border-top:1px solid var(--line)
}
.hero-stats>div {
  max-width:240px;
  flex:1
}
.hero-stats strong {
  font-family:var(--display);
  font-weight:500;
  font-size:33px;
  line-height:1.3;
  display:block;
  letter-spacing:-.04em
}
.hero-stats strong small {
  font-size:17px
}
.hero-stats strong span {
  color:var(--accent)
}
.hero-stats>div>span {
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
  margin-top:5px;
  max-width:190px
}
.hero-portrait {
  position:relative;
  padding-top:4px;
  margin-top:18px
}
.hero-portrait>img {
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:160px 160px 6px 6px
}
.portrait-status {
  display:flex;
  align-items:center;
  gap:13px;
  position:absolute;
  bottom:55px;
  left:-24px;
  right:24px;
  padding:17px 18px;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:0 6px 30px #0002;
  border-radius:4px
}
.portrait-status strong {
  font-size:12px;
  font-weight:500;
  display:block
}
.portrait-status div>span {
  font-size:10px;
  color:var(--muted)
}
.portrait-status>span:last-child {
  margin-left:auto;
  color:var(--accent);
  font-size:22px
}
.hero-portrait figcaption {
  font-size:10px;
  color:var(--soft);
  text-align:right;
  margin-top:13px
}
.companies {
  padding-top:25px;
  padding-bottom:30px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:50px
}
.companies p {
  font-size:10px;
  color:var(--soft);
  max-width:130px;
  line-height:1.5;
  letter-spacing:.09em;
  text-transform:uppercase
}
.companies>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  flex:1;
  flex-wrap:wrap
}
.companies span {
  font-weight:650;
  font-size:19px;
  color:var(--muted);
  letter-spacing:-.04em
}
.section {
  padding-top:100px;
  padding-bottom:95px
}
.section-head {
  margin-bottom:40px
}
.section-head .eyebrow>span:first-child {
  color:var(--accent);
  margin-right:14px
}
.section-title {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-top:22px
}
h2 {
  font-family:var(--display);
  font-weight:500;
  letter-spacing:-.045em;
  font-size:clamp(27px,3.4vw,44px);
  line-height:1.25
}
.section-title>p {
  font-size:13px;
  color:var(--muted);
  max-width:310px
}
.projects-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}
.project-card {
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
  background:var(--panel);
  transition:border-color .2s,transform .25s
}
.project-card:hover {
  border-color:var(--accent);
  transform:translateY(-4px)
}
.project-link {
  height:100%;
  display:flex;
  flex-direction:column
}
.featured {
  grid-column:1/-1
}
.featured .project-link {
  display:grid;
  grid-template-columns:1.15fr 1fr
}
.project-body {
  padding:32px;
  display:flex;
  flex-direction:column;
  flex:1
}
.project-meta {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:18px;
  font-size:10px;
  margin-bottom:22px;
  color:var(--muted)
}
.project-meta span:first-child {
  color:var(--ink);
  font-size:12px;
  font-weight:600;
  max-width:220px
}
.project-meta span:last-child {
  text-align:right
}
.project-body h3 {
  font-family:var(--display);
  font-size:23px;
  line-height:1.4;
  letter-spacing:-.035em;
  font-weight:500;
  margin-bottom:16px
}
.project-body>p {
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  margin-bottom:28px
}
.project-bottom {
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px
}
.project-bottom>span:last-child {
  font-size:24px;
  color:var(--accent)
}
.project-art {
  position:relative;
  min-height:245px;
  background:#252a24;
  overflow:hidden;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:55px 26px;
  color:#eeeee6
}
.art-grid {
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:linear-gradient(#ecece50b 1px,transparent 1px),linear-gradient(90deg,#ecece50b 1px,transparent 1px);
  background-size:28px 28px;
  mask-image:radial-gradient(ellipse,black,transparent 85%)
}
.art-magnit {
  background:#29312b
}
.art-magnit:after {
  content:'';
  position:absolute;
  width:260px;
  height:260px;
  border:1px solid #77857833;
  border-radius:50%;
  z-index:-1
}
.art-magnit:before {
  content:'';
  position:absolute;
  width:330px;
  height:330px;
  border:1px solid #77857822;
  border-radius:50%;
  z-index:-1
}
.art-yandex {
  background:#3a3023
}
.art-gazprom {
  background:#252c32
}
.art-index {
  position:absolute;
  left:25px;
  top:20px;
  font-size:9px;
  letter-spacing:.12em;
  color:#b8bdb1
}
.art-caption {
  position:absolute;
  bottom:16px;
  right:24px;
  font-size:9px;
  color:#a8b0a3
}
.flow {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:470px
}
.flow-node {
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  text-align:center;
  max-width:110px;
  flex:1
}
.flow-node i {
  font-family:var(--body);
  font-style:normal;
  font-size:30px;
  display:grid;
  place-items:center;
  background:#12171188;
  border:1px solid #72826f66;
  width:67px;
  height:67px;
  border-radius:16px;
  color:#c3cdb9
}
.flow-node b {
  font-size:9px;
  font-weight:500;
  color:#ced2c7
}
.flow-node.node-1 i {
  background:#b9c8ae;
  color:#243122;
  border:0;
  width:85px;
  height:85px;
  font-size:47px;
  box-shadow:0 0 45px #b9c8ae17
}
.flow-line {
  width:24px;
  flex-shrink:1;
  height:1px;
  background:#86987f88;
  position:relative;
  margin-bottom:22px
}
.flow-line:after {
  content:'›';
  position:absolute;
  right:-2px;
  top:-13px;
  color:#bbc7ae
}
.art-yandex .node-1 i {
  background:#e3c586;
  color:#3d3022
}
.art-gazprom .node-1 i {
  background:#acbdc9;
  color:#26313a
}
.large.project-art {
  min-height:300px
}
.large .flow {
  max-width:650px
}
.large .flow-node {
  max-width:180px
}
.large .flow-line {
  width:90px
}
.large .flow-node b {
  font-size:12px
}
.approach {
  border-top:1px solid var(--line)
}
.approach-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px
}
.approach-grid article {
  border-top:1px solid var(--line);
  padding-top:20px
}
.approach-grid article>span {
  font-size:11px;
  color:var(--accent)
}
.approach-grid h3 {
  font-size:20px;
  font-weight:500;
  margin:24px 0 12px
}
.approach-grid p {
  font-size:13px;
  color:var(--muted)
}
.toolkit {
  display:flex;
  gap:40px;
  border-top:1px solid var(--line);
  padding-top:26px;
  margin-top:38px;
  font-size:12px;
  color:var(--muted)
}
.toolkit>span {
  color:var(--soft);
  white-space:nowrap
}
.lab-section {
  background:var(--sunken);
  border-block:1px solid var(--line);
  padding-block:80px
}
.lab-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center
}
.lab-grid h2 {
  margin:25px 0
}
.lab-grid>div>p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  max-width:350px
}
.lab-grid .lab-note {
  font-size:11px!important;
  line-height:1.7;
  margin-top:25px;
  color:var(--soft)!important
}
.calculator {
  border:1px solid var(--line);
  border-radius:6px;
  padding:30px;
  background:var(--bg)
}
.calc-heading {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  padding-bottom:22px;
  border-bottom:1px solid var(--line);
  margin-bottom:25px
}
.calc-heading>span:last-child {
  color:var(--accent)
}
.calc-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px 22px
}
.calc-field>div {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  align-items:center;
  margin-bottom:12px
}
.calc-field label {
  color:var(--muted)
}
.calc-field output {
  font-size:13px;
  color:var(--ink)
}
input[type=range] {
  width:100%;
  margin:0;
  accent-color:var(--accent);
  height:28px;
  cursor:pointer
}
.calc-result {
  margin-top:26px;
  padding-top:23px;
  border-top:1px solid var(--line)
}
.calc-result>span {
  color:var(--muted);
  font-size:11px
}
.calc-result strong {
  display:block;
  font-family:var(--display);
  font-size:48px;
  font-weight:500;
  letter-spacing:-.045em;
  line-height:1.3;
  margin-top:8px;
  color:var(--accent)
}
.calc-result strong small {
  font-size:22px
}
.calc-result p {
  color:var(--muted);
  font-size:12px;
  margin-top:8px
}
.calc-method {
  border-top:1px solid var(--line);
  margin-top:20px;
  padding-top:15px;
  font-size:11px;
  color:var(--muted)
}
.calc-method summary {
  text-decoration:underline;
  text-underline-offset:4px
}
.calc-method p {
  margin-top:12px
}
.now-grid {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:65px
}
.now-card {
  padding:33px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  align-self:start
}
.now-card h3 {
  font-family:var(--display);
  font-size:25px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-.03em;
  margin:40px 0 20px
}
.now-card>p {
  font-size:14px;
  color:var(--muted)
}
.now-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:var(--soft);
  margin-top:40px;
  padding-top:23px;
  border-top:1px solid var(--line)
}
.now-foot>span {
  font-size:23px;
  color:var(--accent)
}
.updates {
  margin:0;
  padding:0;
  list-style:none
}
.updates li {
  display:grid;
  grid-template-columns:100px 1fr;
  gap:28px;
  border-bottom:1px solid var(--line);
  padding:25px 0
}
.updates li:first-child {
  padding-top:0
}
.updates time {
  font-size:11px;
  color:var(--soft);
  padding-top:3px
}
.update-tag {
  color:var(--accent);
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.08em
}
.updates h3 {
  font-size:16px;
  font-weight:500;
  line-height:1.5;
  margin-top:7px
}
.updates p {
  font-size:12px;
  color:var(--muted);
  margin-top:8px
}
.about-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:90px
}
#about {
  border-top:1px solid var(--line)
}
.about-lead>p:first-child {
  font-size:22px;
  line-height:1.6;
  letter-spacing:-.025em
}
.about-lead>p {
  margin-bottom:22px;
  font-size:14px;
  color:var(--muted)
}
.about-lead>p:first-child {
  color:var(--ink)
}
.about-lead .aside-note {
  font-size:13px;
  border-left:2px solid var(--line);
  padding-left:17px
}
.personal-tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:28px
}
.personal-tags>span {
  font-size:10px;
  border:1px solid var(--line);
  border-radius:3px;
  padding:6px 9px;
  color:var(--muted)
}
.education-row {
  padding:0 0 23px;
  margin-bottom:23px;
  border-bottom:1px solid var(--line)
}
.education-row>span {
  font-size:10px;
  color:var(--accent)
}
.education-row h3 {
  font-size:15px;
  font-weight:500;
  margin-top:8px
}
.education-row p {
  font-size:12px;
  color:var(--muted);
  margin-top:8px
}
.awards-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:45px
}
.awards-grid article {
  padding:25px 0;
  border-top:1px solid var(--line)
}
.awards-grid strong {
  font-family:var(--display);
  font-size:35px;
  font-weight:500;
  color:var(--accent)
}
.awards-grid h3 {
  font-size:14px;
  font-weight:500;
  margin:12px 0
}
.awards-grid p {
  font-size:11px;
  color:var(--muted)
}
.more-experience {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-top:30px
}
.more-experience summary {
  display:flex;
  justify-content:space-between;
  padding:22px 0;
  font-size:14px
}
.more-experience summary>span {
  font-size:20px;
  color:var(--accent)
}
.other-projects {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  padding:10px 0 30px
}
.other-projects h3 {
  font-size:15px;
  font-weight:500
}
.other-projects p {
  font-size:12px;
  color:var(--muted);
  margin-top:10px
}
.contact-section {
  background:var(--panel);
  border-block:1px solid var(--line);
  padding:80px 0
}
.contact-inner {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:80px;
  align-items:center
}
.contact-inner h2 {
  margin:25px 0
}
.contact-inner>div>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  max-width:330px
}
.contact-links {
  display:flex;
  align-items:start;
  flex-direction:column;
  gap:18px
}
.contact-links>.button {
  width:100%;
  justify-content:space-between;
  margin-bottom:12px
}
.contact-links>a:not(.button) {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  font-size:16px;
  border-bottom:1px solid var(--line);
  padding-bottom:14px
}
.contact-links>a:hover {
  color:var(--accent)
}
.contact-links>a>span {
  color:var(--soft)
}
.contact-cv {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:10px 25px;
  margin-top:13px
}
.contact-cv>span {
  font-size:11px;
  color:var(--soft)
}
.reply-note {
  font-size:11px!important;
  color:var(--soft)!important
}
.footer {
  display:flex;
  align-items:center;
  gap:25px;
  min-height:110px;
  font-size:11px;
  color:var(--soft);
  border-top:1px solid var(--line)
}
.footer>.brand {
  font-size:26px;
  color:var(--ink);
  margin-right:10px
}
.footer>a:nth-last-child(2) {
  margin-left:auto
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  background:var(--ink);
  color:var(--bg);
  padding:12px 20px;
  border-radius:4px;
  z-index:200;
  font-size:13px;
  transition:opacity .2s,transform .2s;
  max-width:90vw
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.easter-egg {
  padding-block:24px
}
.easter-egg>details>summary {
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  padding:12px 0
}
.easter-egg summary b {
  font-weight:500;
  margin:0 15px 0 6px
}
.easter-egg summary>span:last-child {
  color:var(--accent);
  font-size:20px
}
.game-content {
  padding:25px 0
}
.game-content>p {
  font-size:12px;
  color:var(--muted);
  max-width:600px;
  margin-bottom:25px
}
.game__layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:25px
}
.game__hud {
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:12px;
  flex-wrap:wrap;
  font-size:11px;
  color:var(--muted)
}
#g-speed {
  margin-left:auto
}
#g-pause {
  font-size:11px
}
.game__stage {
  position:relative;
  border:1px solid var(--line);
  background:var(--sunken);
  border-radius:4px;
  overflow:hidden
}
#g-canvas {
  display:block;
  width:100%;
  height:200px;
  touch-action:pan-y
}
.game__overlay {
  position:absolute;
  inset:0;
  background:var(--panel);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:14px;
  padding:18px;
  text-align:center
}
.game__title {
  font-family:var(--display);
  font-size:20px
}
.game__desc {
  font-size:12px;
  color:var(--muted)
}
.game__row {
  display:flex;
  gap:8px;
  max-width:100%
}
.game__row input {
  width:160px;
  min-width:0;
  border:1px solid var(--line);
  background:var(--bg);
  color:var(--ink);
  border-radius:4px;
  padding:10px;
  font-size:12px
}
.game__row button,.game__overlay .button {
  font-size:12px;
  min-height:38px;
  padding:8px 14px
}
.board {
  padding:20px;
  border:1px solid var(--line);
  border-radius:4px;
  font-size:12px
}
.board h3 {
  font-size:11px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:15px
}
.board__row {
  display:flex;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--line)
}
.board__rank {
  color:var(--soft);
  width:15px
}
.board__name {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.board__score {
  margin-left:auto;
  font-variant-numeric:tabular-nums
}
.board__row.top .board__rank {
  color:var(--accent)
}
.board__empty {
  color:var(--muted);
  font-size:11px
}
.game-status {
  font-size:12px;
  min-height:22px;
  color:var(--muted);
  margin-top:9px
}
.case-page {
  padding-top:55px;
  padding-bottom:90px
}
.back-link {
  display:inline-block;
  margin-bottom:45px
}
.case-page>h1 {
  font-family:var(--display);
  font-size:clamp(32px,4.4vw,58px);
  font-weight:500;
  line-height:1.25;
  letter-spacing:-.045em;
  max-width:1000px;
  margin:25px 0
}
.case-intro {
  font-size:19px;
  color:var(--muted);
  max-width:760px;
  line-height:1.7
}
.case-meta {
  display:flex;
  gap:90px;
  margin:38px 0 40px
}
.case-meta>div {
  display:flex;
  flex-direction:column;
  gap:6px
}
.case-meta span {
  font-size:11px;
  color:var(--soft)
}
.case-meta strong {
  font-size:13px;
  font-weight:500
}
.case-page>.project-art {
  border-radius:6px
}
.case-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin:45px 0 70px;
  border-bottom:1px solid var(--line);
  padding-bottom:40px
}
.case-stats strong {
  font-family:var(--display);
  font-weight:500;
  font-size:46px;
  letter-spacing:-.045em;
  color:var(--accent);
  display:block
}
.case-stats span {
  font-size:12px;
  color:var(--muted);
  display:block;
  max-width:240px
}
.case-section {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:50px;
  margin:45px 0
}
.case-section h2 {
  font-size:25px
}
.case-section>p,.case-section ol {
  font-size:16px;
  color:var(--muted)
}
.case-section ol {
  margin:0;
  padding-left:23px
}
.case-section li {
  padding:0 0 18px 12px
}
.case-section li::marker {
  color:var(--accent);
  font-size:12px
}
.case-takeaway {
  padding:40px;
  background:var(--panel);
  border-left:2px solid var(--accent);
  margin-top:35px
}
.case-takeaway>p:last-child {
  font-size:21px;
  max-width:850px;
  margin-top:20px
}
.next-projects {
  margin-top:60px;
  display:flex;
  flex-wrap:wrap;
  gap:20px
}
.next-projects h2 {
  width:100%;
  font-size:25px;
  margin-bottom:10px
}
.next-project {
  padding:18px 22px;
  border:1px solid var(--line);
  font-size:13px;
  display:flex;
  gap:40px;
  align-items:center
}
.next-project:hover {
  border-color:var(--accent)
}
.next-project>span {
  color:var(--accent)
}
.not-found {
  min-height:65vh;
  padding-top:100px;
  padding-bottom:100px
}
.not-found h1 {
  font-family:var(--display);
  font-size:40px;
  font-weight:500;
  line-height:1.3;
  margin:25px 0
}
.not-found p {
  margin-bottom:30px;
  color:var(--muted)
}
.not-found a {
  margin-right:25px
}
@media(min-width:1440px) {
  .hero {
    padding-top:90px;
    padding-bottom:85px
  }
  .hero h1 {
    font-size:60px
  }
}
@media(max-width:1050px) {
  :root {
    --gut:28px
  }
  .header-inner {
    gap:25px
  }
  .desktop-nav {
    gap:20px
  }
  .header-contact {
    display:none
  }
  .hero {
    gap:35px;
    padding-top:55px
  }
  .hero h1 {
    font-size:4.65vw
  }
  .hero-lead {
    font-size:15px
  }
  .hero-actions {
    gap:10px
  }
  .hero-actions .button {
    font-size:12px;
    padding:12px 15px
  }
  .portrait-status {
    left:-12px;
    right:12px;
    bottom:44px;
    padding:13px
  }
  .portrait-status strong {
    font-size:11px
  }
  .portrait-status div>span {
    font-size:9px
  }
  .hero-stats {
    gap:25px
  }
  .hero-stats strong {
    font-size:28px
  }
  .companies {
    gap:30px
  }
  .companies span {
    font-size:16px
  }
  .companies>div {
    gap:20px
  }
  .project-body {
    padding:24px
  }
  .project-body h3 {
    font-size:21px
  }
  .project-meta {
    flex-direction:column;
    gap:5px
  }
  .project-meta span:last-child {
    text-align:left
  }
  .lab-grid {
    gap:45px
  }
  .calculator {
    padding:24px
  }
  .now-grid {
    gap:35px
  }
  .about-grid {
    gap:45px
  }
  .contact-inner {
    gap:45px
  }
  .approach-grid {
    gap:24px
  }
  .flow-node i {
    width:54px;
    height:54px
  }
  .flow-node.node-1 i {
    width:72px;
    height:72px
  }
  .flow-node b {
    font-size:8px
  }
  .game__layout {
    grid-template-columns:minmax(0,1fr) 200px
  }
}
@media(max-width:700px) {
  :root {
    --gut:20px
  }
  html {
    scroll-padding-top:86px
  }
  .header-inner {
    height:68px;
    justify-content:space-between
  }
  .brand {
    font-size:31px
  }
  .desktop-nav {
    display:none
  }
  .header-tools {
    gap:8px
  }
  .icon-button {
    width:40px;
    height:40px
  }
  .menu-button {
    display:grid
  }
  .lang-link {
    min-width:34px
  }
  .hero {
    padding-top:36px;
    padding-bottom:35px;
    display:grid;
    grid-template-columns:1fr 140px;
    gap:24px 12px;
    align-items:start
  }
  .hero-copy {
    display:contents
  }
  .hero-copy>.eyebrow {
    grid-column:1/-1;
    gap:8px;
    font-size:9px
  }
  .hero h1 {
    grid-column:1/-1;
    font-size:clamp(29px,6.8vw,45px);
    margin:0;
    line-height:1.22
  }
  .hero-lead {
    grid-column:1;
    grid-row:3;
    font-size:13px;
    align-self:center;
    line-height:1.65
  }
  .hero-lead br {
    display:none
  }
  .hero-portrait {
    grid-column:2;
    grid-row:3;
    margin:0;
    padding:0;
    align-self:center
  }
  .hero-portrait>img {
    border-radius:60px 60px 3px 3px;
    width:140px;
    aspect-ratio:4/5
  }
  .portrait-status {
    display:none
  }
  .hero-portrait figcaption {
    font-size:8px;
    line-height:1.4;
    margin-top:7px;
    text-align:center
  }
  .hero-actions {
    grid-column:1/-1;
    grid-row:4;
    margin:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px
  }
  .hero-actions .button {
    min-width:0;
    font-size:11px;
    gap:8px;
    padding:12px 10px;
    min-height:46px
  }
  .hero-stats {
    grid-column:1/-1;
    grid-row:5;
    margin-top:4px;
    padding-top:22px;
    gap:20px
  }
  .hero-stats>div>span {
    font-size:10px
  }
  .hero-stats strong {
    font-size:27px
  }
  .hero-stats strong small {
    font-size:13px
  }
  .companies {
    padding-block:21px;
    display:block
  }
  .companies p {
    max-width:none;
    font-size:9px;
    margin-bottom:17px
  }
  .companies>div {
    justify-content:start;
    gap:14px 22px
  }
  .companies span {
    font-size:14px
  }
  .section {
    padding-block:60px
  }
  .section-head {
    margin-bottom:28px
  }
  .section-title {
    display:block;
    margin-top:19px
  }
  .section-title h2 {
    font-size:29px
  }
  .section-title>p,.section-title>.text-link {
    display:block;
    margin-top:18px;
    font-size:12px
  }
  .eyebrow {
    font-size:9px
  }
  .section-head .eyebrow>span:first-child {
    margin-right:7px
  }
  .projects-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .featured .project-link {
    display:flex
  }
  .project-art {
    min-height:220px
  }
  .project-body {
    padding:23px
  }
  .project-body h3 {
    font-size:21px
  }
  .project-meta {
    flex-direction:row;
    gap:12px
  }
  .project-meta span:first-child {
    font-size:11px
  }
  .project-meta span:last-child {
    font-size:9px;
    max-width:120px;
    text-align:right
  }
  .project-body>p {
    font-size:12px
  }
  .flow-node i {
    width:60px;
    height:60px
  }
  .flow-node.node-1 i {
    width:80px;
    height:80px
  }
  .flow-node b {
    font-size:9px
  }
  .approach-grid {
    grid-template-columns:1fr 1fr;
    gap:30px 22px
  }
  .approach-grid h3 {
    font-size:17px;
    margin-top:15px
  }
  .approach-grid p {
    font-size:12px
  }
  .toolkit {
    display:block;
    font-size:11px;
    margin-top:30px
  }
  .toolkit>p {
    margin-top:10px
  }
  .lab-section {
    padding-block:55px
  }
  .lab-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .lab-grid h2 {
    font-size:32px;
    margin:20px 0
  }
  .lab-grid h2 br:last-child {
    display:none
  }
  .lab-grid>div>p:not(.eyebrow) {
    font-size:13px;
    max-width:420px
  }
  .lab-note {
    margin-top:16px!important
  }
  .calculator {
    padding:22px
  }
  .calc-fields {
    gap:22px 16px
  }
  .calc-field label {
    font-size:10px
  }
  .calc-result strong {
    font-size:42px
  }
  .calc-result strong small {
    font-size:19px
  }
  .calc-result>span {
    font-size:10px
  }
  .now-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .now-card {
    padding:26px
  }
  .now-card h3 {
    margin:25px 0 15px;
    font-size:24px
  }
  .now-foot {
    margin-top:25px
  }
  .updates li {
    grid-template-columns:78px 1fr;
    gap:20px
  }
  .updates time {
    font-size:10px
  }
  .updates h3 {
    font-size:14px
  }
  .updates p {
    font-size:11px
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:26px
  }
  .about-lead>p:first-child {
    font-size:20px
  }
  .about-lead>p {
    font-size:13px
  }
  .awards-grid {
    grid-template-columns:1fr;
    gap:10px;
    margin-top:10px
  }
  .awards-grid article {
    display:grid;
    grid-template-columns:55px 1fr;
    column-gap:20px;
    padding-block:20px
  }
  .awards-grid article strong {
    grid-row:1/3;
    font-size:32px
  }
  .awards-grid h3 {
    margin:0 0 8px;
    font-size:14px
  }
  .awards-grid p {
    grid-column:2
  }
  .other-projects {
    grid-template-columns:1fr
  }
  .more-experience summary {
    font-size:12px
  }
  .contact-section {
    padding-block:55px
  }
  .contact-inner {
    grid-template-columns:1fr;
    gap:35px
  }
  .contact-inner h2 {
    font-size:32px
  }
  .contact-links>a:not(.button) {
    font-size:15px
  }
  .contact-cv {
    margin-top:8px
  }
  .footer {
    gap:15px;
    min-height:90px;
    flex-wrap:wrap;
    font-size:10px;
    padding-block:25px
  }
  .footer>.brand {
    font-size:25px;
    margin:0
  }
  .easter-egg summary .muted {
    display:none
  }
  .game__layout {
    grid-template-columns:1fr
  }
  .game__hud {
    font-size:10px;
    gap:12px
  }
  .game__row input {
    width:130px
  }
  .case-page {
    padding-top:30px;
    padding-bottom:55px
  }
  .back-link {
    font-size:12px;
    margin-bottom:28px
  }
  .case-page>h1 {
    font-size:32px;
    margin:20px 0
  }
  .case-intro {
    font-size:15px
  }
  .case-meta {
    gap:25px;
    margin:25px 0;
    flex-wrap:wrap
  }
  .case-meta strong {
    font-size:12px
  }
  .large.project-art {
    min-height:230px
  }
  .large .flow-node b {
    font-size:9px
  }
  .large .flow-line {
    width:20px
  }
  .case-stats {
    gap:18px;
    margin:25px 0 35px;
    padding-bottom:25px
  }
  .case-stats strong {
    font-size:27px
  }
  .case-stats span {
    font-size:10px
  }
  .case-section {
    grid-template-columns:1fr;
    gap:18px;
    margin:30px 0
  }
  .case-section h2 {
    font-size:23px
  }
  .case-section>p,.case-section ol {
    font-size:14px
  }
  .case-takeaway {
    padding:25px
  }
  .case-takeaway>p:last-child {
    font-size:17px
  }
  .next-projects {
    margin-top:35px
  }
  .next-project {
    width:100%;
    justify-content:space-between;
    font-size:12px;
    padding:15px
  }
  .not-found h1 {
    font-size:29px
  }
  .not-found {
    padding-top:65px;
    padding-bottom:65px
  }
}
@media(max-width:360px) {
  .hero {
    grid-template-columns:1fr 108px
  }
  .hero-portrait>img {
    width:108px
  }
  .hero-lead {
    font-size:12px
  }
  .hero h1 {
    font-size:28px
  }
  .hero-actions .button {
    font-size:10px
  }
  .calc-fields {
    grid-template-columns:1fr
  }
  .flow-node b {
    font-size:8px
  }
  .project-body h3 {
    font-size:19px
  }
  .flow-node i {
    width:48px;
    height:48px
  }
  .flow-node.node-1 i {
    width:65px;
    height:65px
  }
  .case-stats strong {
    font-size:23px
  }
  .footer {
    gap:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
@media print {
  :root {
    --bg:#fff;
    --ink:#111;
    --muted:#444;
    --soft:#555;
    --accent:#333;
    --line:#bbb;
    --panel:#fff;
    --sunken:#fff;
    color-scheme:light
  }
  body {
    font-size:10pt
  }
  .site-header,.hero-actions,.lab-section,.easter-egg,.contact-links>.button,.toast,.skip-link,.footer,.copy-contact {
    display:none!important
  }
  .hero {
    padding:15px 0;
    grid-template-columns:2fr 1fr
  }
  .hero h1 {
    font-size:30px
  }
  .hero-portrait {
    max-width:160px
  }
  .portrait-status {
    display:none
  }
  .section {
    padding-block:25px
  }
  .section-title h2,h2 {
    font-size:23px
  }
  .projects-grid,.about-grid,.now-grid {
    gap:20px
  }
  .project-art {
    min-height:150px
  }
  .project-card,.case-section,.education-row,.updates li,.awards-grid article {
    break-inside:avoid
  }
  .project-body h3 {
    font-size:16px
  }
  .project-body>p {
    font-size:10px
  }
  .contact-section {
    padding-block:25px
  }
  .case-page>h1 {
    font-size:30px
  }
  .case-stats {
    margin:20px 0
  }
  .wrap {
    padding-inline:0
  }
  .more-experience:not([open]) {
    display:none
  }
}
@media(min-width:701px) and (max-width:1439px) {
  .hero {
    padding-top:48px;
    padding-bottom:48px
  }
  .hero h1 {
    line-height:1.13;
    margin-block:21px;
    font-size:clamp(36px,4.25vw,56px)
  }
  .hero-stats {
    margin-top:28px;
    padding-top:20px
  }
  .hero-portrait {
    margin-top:12px;
    max-width:410px;
    justify-self:end
  }
  .hero-actions {
    margin-top:24px
  }
}
.hero-actions>.text-link {
  align-self:center;
  font-size:12px;
  margin-left:8px
}
@media(max-width:700px) {
  .hero-actions>.text-link {
    grid-column:1/-1;
    justify-self:start;
    margin:8px 0 0;
    font-size:11px
  }
}
.lab-grid>div,.contact-inner>div,.case-stats>div,.case-section>* {
  min-width:0
}
@media(max-width:360px) {
  .lab-grid h2 {
    font-size:27px
  }
  .case-page>h1 {
    font-size:28px
  }
  .contact-inner h2 {
    font-size:28px
  }
  .hero-actions .button {
    text-align:left
  }
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.5rem;
  font-size: .8rem;
}
.breadcrumbs a, .faq a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.faq-list h3 { font-size: 1.1rem; line-height: 1.5; margin-bottom: .8rem; }
.faq-list p { line-height: 1.8; }
@media (max-width: 700px) { .faq-list { grid-template-columns: 1fr; gap: 1.5rem; } }
