:root {
  --display: 'Michroma', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --turquoise: #04B2D9;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-w: 240px;
  --content-w: 620px;
}

html[data-theme=dark] {
  --bg: #1a1a1a;
  --text: #F8FAFC;
  --muted: rgba(248, 250, 252, .56);
  --faint: rgba(248, 250, 252, .34);
  --title: rgba(242, 206, 27);
  --line: rgba(248, 250, 252, .09);
  --menu: #7d93e0;
  color-scheme: dark;
}

html[data-theme=light] {
  --bg: #F8FAFC;
  --text: #0B0F19;
  --muted: rgba(11, 15, 25, .60);
  --faint: rgba(11, 15, 25, .40);
  --title: rgba(4, 157, 217);
  --line: rgba(11, 15, 25, .10);
  --menu: #1B378C;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--turquoise);
  color: #04121a;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 48px 40px;
  z-index: 20;
}

.mark {
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  line-height: 2;
  color: var(--faint);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav a {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease);
}
.nav a .bar {
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
  transition: width 0.3s var(--ease);
}
.nav a:hover, .nav a.active {
  color: var(--menu);
}
.nav a:hover .bar, .nav a.active .bar {
  width: 16px;
}

.flag-wrap {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.flag {
  display: block;
  width: 107px;
  height: 71px;
  border-radius: 3px;
  object-fit: cover;
  overflow: hidden;
  outline: 1px solid var(--line);
  outline-offset: 0;
}
.flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-cap {
  font-family: var(--display);
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--faint);
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  transition: color 0.3s var(--ease);
}
.toggle:hover {
  color: var(--text);
}
.toggle svg {
  width: 14px;
  height: 14px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
}
.lang button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: var(--faint);
  transition: color 0.3s var(--ease);
}
.lang button:hover {
  color: var(--text);
}
.lang button.on {
  color: var(--turquoise);
}
.lang .sep {
  color: var(--faint);
  opacity: 0.6;
}

main {
  margin-left: var(--sidebar-w);
  padding: 0 clamp(28px, 6vw, 90px);
}

.col {
  max-width: var(--content-w);
}

section {
  padding: 12vh 0;
}
section + section {
  border-top: 1px solid var(--line);
}

#home {
  padding-top: 16vh;
}

.label {
  font-family: var(--display);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--title);
  margin-bottom: 34px;
}

.avatar {
  display: block;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 90%;
  outline: 1px solid var(--line);
  outline-offset: 3px;
  margin-bottom: 28px;
}

.hi {
  font-size: 0.95rem;
  color: var(--muted);
}

.name {
  font-family: var(--display);
  color: var(--turquoise);
  font-size: clamp(1.7rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
}

.role {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 26px;
}
.role em {
  color: var(--faint);
  font-style: normal;
}

.intro {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 480px;
}

.prose {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
}

.interests {
  margin-top: 30px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
}

.intro b,
.prose b,
.interests b {
  color: var(--text);
  font-weight: 500;
}

.facts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.facts .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.facts .row:last-child {
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--display);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.facts dd {
  font-size: 0.96rem;
  color: var(--text);
}

.sgroup {
  margin-top: 34px;
}
.sgroup:first-of-type {
  margin-top: 4px;
}
.sgroup .gl {
  font-family: var(--display);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--faint);
  margin-bottom: 16px;
}

.slist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.skill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: default;
  transition: color 0.3s var(--ease);
}
.skill:hover {
  color: var(--menu);
}
.skill svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.proj {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.proj a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}
.proj a:last-child {
  border-bottom: 1px solid var(--line);
}
.proj a:hover .pt {
  color: var(--menu);
}
.proj .pt {
  grid-column: 1;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.proj .pd {
  grid-column: 1;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 440px;
}
.proj .pg {
  grid-column: 2;
  grid-row: 1/span 2;
  font-size: 0.7rem;
  color: var(--faint);
  text-align: right;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--faint);
}

.clinks {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
}
.clinks a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: color 0.3s var(--ease);
}
.clinks a:last-child {
  border-bottom: 1px solid var(--line);
}
.clinks a:hover {
  color: var(--menu);
}
.clinks a:hover .k {
  color: var(--menu);
}
.clinks .k {
  font-family: var(--display);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--faint);
  transition: color 0.3s var(--ease);
}
.clinks .v {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
}
.clinks .v svg {
  width: 15px;
  height: 15px;
}

footer {
  margin-left: var(--sidebar-w);
  padding: 40px clamp(28px, 6vw, 90px);
  font-size: 0.72rem;
  color: var(--faint);
  max-width: calc(var(--content-w) + 180px);
}

.cv-bg {
  position: fixed;
  top: 50%;
  right: clamp(40px, 7vw, 150px);
  transform: translateY(-50%);
  z-index: -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cv-bg span {
  font-family: var(--display);
  font-size: clamp(8rem, 22vh, 18rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(248, 250, 252, 0.14);
}

html[data-theme=light] .cv-bg span {
  -webkit-text-stroke: 1.5px rgba(11, 15, 25, 0.13);
}

@media (max-width: 1200px) {
  .cv-bg {
    display: none;
  }
}
.mbar {
  display: none;
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  main,
  footer {
    margin-left: 0;
  }
  .mbar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .mbar .mb {
    font-family: var(--display);
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    color: var(--faint);
  }
  .mb-act {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .mb-act button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--muted);
    display: grid;
    place-items: center;
  }
  .mb-act svg {
    width: 18px;
    height: 18px;
  }
  .mb-act #mLang {
    font-family: var(--display);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .mmenu {
    position: fixed;
    inset: 0;
    z-index: 39;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 48px;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
  }
  .mmenu.open {
    transform: none;
  }
  .mmenu a {
    font-family: var(--display);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .mmenu .mf {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  section {
    padding: 9vh 0;
  }
  #home {
    padding-top: 6vh;
  }
  .facts .row,
  .clinks a {
    grid-template-columns: 110px 1fr;
  }
}
@media (min-width: 901px) {
  .mmenu {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto;
  }
}

/*# sourceMappingURL=styles.css.map */
