@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:95px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:13px/1.8 'DM Sans',sans-serif
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit;
  cursor:pointer;
  color:inherit;
  border:0
}
a,button {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px
}
::selection {
  background:#ecd1c4
}
.profile {
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:300px;
  border-right:1px solid var(--line);
  padding:30px 28px 24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:auto
}
.portrait {
  width:88px;
  height:100px;
  object-fit:cover;
  object-position:50% 22%;
  display:block;
  border-radius:5px;
  border:1px solid var(--line)
}
h1 {
  font:400 25px/1.25 Georgia,serif;
  letter-spacing:-.7px;
  margin:20px 0 3px
}
.profile-role {
  font-size:12px;
  color:var(--muted)
}
.profile-bio {
  color:var(--muted);
  font-size:12px;
  line-height:1.85;
  margin:24px 0;
  max-width:230px
}
.profile-facts {
  border-top:1px solid var(--line);
  padding-top:19px;
  display:grid;
  gap:7px;
  font-size:11px
}
.profile-bottom {
  margin-top:35px
}
.socials {
  display:flex;
  gap:23px;
  font-size:11px;
  color:var(--muted);
  margin-bottom:17px
}
.socials a:hover {
  color:var(--accent)
}
.sidebar-actions {
  display:flex;
  gap:7px
}
.cv-button {
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--button);
  color:var(--bg);
  padding:10px;
  border-radius:3px;
  font-size:12px
}
.sidebar-actions button {
  width:42px;
  background:var(--soft);
  border-radius:3px;
  font-size:18px
}
.page {
  margin-left:300px
}
.topbar {
  position:sticky;
  top:0;
  height:72px;
  border-bottom:1px solid var(--line);
  background:var(--nav);
  backdrop-filter:blur(15px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  z-index:10
}
.brand {
  font:italic bold 25px Georgia;
  letter-spacing:-2px
}
.brand span {
  color:var(--accent)
}
nav {
  display:flex;
  gap:8px
}
nav a {
  font-size:11px;
  color:var(--muted);
  padding:5px 10px;
  border-radius:20px
}
nav a.active {
  color:var(--text);
  background:var(--soft)
}
.top-actions {
  display:flex;
  align-items:center;
  gap:14px
}
#theme {
  font-size:21px;
  background:none;
  padding:3px 6px
}
.contact-nav {
  font-size:10px;
  background:var(--button);
  color:var(--bg);
  padding:8px 14px;
  border-radius:3px
}
main {
  width:min(100% - 80px,660px);
  margin:auto
}
.section {
  padding:46px 0;
  border-bottom:1px solid var(--line)
}
h2 {
  font:400 29px/1.3 Georgia,serif;
  letter-spacing:-.5px;
  margin:0 0 25px
}
h3 {
  font:400 18px/1.4 Georgia,serif;
  margin:0
}
.about-section {
  padding-top:0
}
.hero {
  text-align:center;
  padding:72px 0 55px;
  border-bottom:1px solid var(--line);
  margin-bottom:44px
}
.hero-label {
  font-size:9px;
  letter-spacing:2px;
  color:var(--accent)
}
.hero h2 {
  font:400 53px/1.12 Georgia;
  letter-spacing:-1.6px;
  margin:25px 0 20px
}
.hero h2>span {
  color:var(--accent)
}
.hero p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  margin:0 0 26px
}
.primary-button {
  display:inline-flex;
  align-items:center;
  gap:20px;
  font-size:11px;
  background:var(--button);
  color:var(--bg);
  padding:11px 18px;
  border-radius:3px;
  transition:opacity .2s
}
.primary-button:hover,.cv-button:hover {
  opacity:.8
}
.hero .primary-button {
  background:var(--soft);
  color:var(--text)
}
.about-copy p {
  color:var(--muted);
  line-height:1.9;
  margin:0 0 16px
}
.small-label {
  display:block;
  font-size:10px;
  font-weight:600;
  margin:23px 0 9px
}
.tech-tags {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:14px
}
.tech-tags span {
  font-size:10px;
  border:1px solid var(--line);
  padding:1px 7px;
  border-radius:3px;
  color:var(--muted)
}
.tech-tags.filled span {
  background:var(--soft);
  border:0;
  color:var(--text);
  padding:4px 9px
}
.resume-item {
  display:flex;
  gap:14px;
  margin-top:22px
}
.item-icon {
  flex-shrink:0;
  width:24px;
  height:24px;
  background:var(--accent);
  color:#fff;
  display:grid;
  place-items:center;
  line-height:1;
  font-size:15px;
  border-radius:4px;
  margin-top:2px
}
.item-content {
  flex:1;
  min-width:0
}
.item-heading {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:baseline
}
.item-heading h3 {
  flex:1
}
.date {
  font-size:10px;
  color:var(--muted);
  white-space:nowrap
}
.subtitle {
  font-size:11px;
  color:var(--muted);
  margin:2px 0 14px
}
.achievements {
  padding-left:16px;
  color:var(--muted);
  font-size:12px;
  line-height:1.85;
  margin:12px 0
}
.achievements li {
  padding-left:2px;
  margin:7px 0
}
.achievements li::marker {
  color:#a49a91
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:baseline
}
.small-link {
  color:var(--muted);
  font-size:10px
}
.small-link:hover {
  color:var(--accent)
}
.filters {
  display:inline-flex;
  background:var(--soft);
  border-radius:6px;
  padding:3px;
  gap:3px;
  margin:0 0 12px
}
.filters button {
  padding:5px 10px;
  background:none;
  border-radius:4px;
  font-size:10px;
  color:var(--muted)
}
.filters .selected {
  background:var(--bg);
  color:var(--text);
  box-shadow:0 1px 3px #0002
}
.project-entry {
  border-bottom:1px solid var(--line);
  padding:25px 0
}
.project-entry:last-child {
  border-bottom:0
}
.project-entry h3 {
  font-size:19px
}
.project-entry .achievements {
  margin-bottom:12px
}
.project-entry .tech-tags {
  margin-top:10px
}
.other-projects {
  border-top:1px solid var(--line);
  margin-top:17px;
  padding-top:23px
}
.other-projects h3 {
  font-size:17px;
  margin-bottom:12px
}
.other-projects p {
  font-size:11px;
  margin:9px 0
}
.other-projects p span {
  color:var(--muted)
}
.education-icon {
  background:#3e735b
}
.item-content>p:not(.subtitle) {
  color:var(--muted);
  font-size:12px
}
.item-content strong {
  font-weight:500;
  color:var(--text)
}
.certifications {
  margin:30px 0 0 38px;
  display:grid;
  gap:23px
}
.certifications h3 {
  font-size:16px
}
.certifications span {
  font-size:10px;
  color:var(--muted)
}
.certifications p {
  font-size:11px;
  color:var(--muted);
  margin:5px 0 0
}
.skill-row {
  padding:16px 0;
  border-bottom:1px dashed var(--line);
  display:grid;
  grid-template-columns:155px 1fr;
  gap:20px
}
.skill-row:last-child {
  border:0;
  padding-bottom:0
}
.skill-row h3 {
  font:500 12px/1.8 'DM Sans'
}
.skill-row p {
  margin:0;
  color:var(--muted);
  font-size:12px
}
.contact-section h2 {
  font-size:32px;
  margin:18px 0
}
.contact-section>p {
  color:var(--muted);
  font-size:12px
}
.contact-actions {
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:24px
}
.email-copy {
  background:none;
  font-size:10px;
  word-break:break-all;
  padding:0
}
.email-copy span {
  margin-left:6px
}
footer {
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:9px;
  padding:24px 0 30px
}
#toast {
  position:fixed;
  left:50%;
  bottom:25px;
  transform:translate(-50%,15px);
  background:var(--text);
  color:var(--bg);
  padding:12px 20px;
  border-radius:5px;
  font-size:12px;
  opacity:0;
  transition:.2s;
  pointer-events:none;
  z-index:30
}
#toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  padding:10px;
  background:var(--button);
  color:var(--bg);
  z-index:50
}
.skip:focus {
  top:10px
}
[hidden] {
  display:none!important
}
html[data-theme=dark] .item-icon {
  color:#201e1b
}
html[data-theme=dark] .education-icon {
  background:#91b59a
}
.language-switch {
  display:flex;
  gap:4px;
  align-items:center;
  font-size:10px;
  color:var(--muted)
}
.language-switch a {
  font-size:10px;
  padding:3px 5px;
  border-radius:3px
}
.language-switch a[aria-current="page"] {
  color:var(--text);
  background:var(--soft)
}
.language-switch span {
  opacity:.5
}
.top-actions {
  gap:9px
}
