:root {
  --bg: #0f0b14;
  --surface: #18121f;
  --surface-2: #211829;
  --line: #2e2340;
  --hairline: rgb(255 255 255 / .06);
  --text: #f5f1fa;
  --muted: #b3a6c2;
  --ink: #120d02;
  --it: #fdb927;
  --purple: #552583;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --topbar: 60px;
  --spine: 96px;
  --radius: 14px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar) + 16px);
  scrollbar-color: var(--line) var(--bg);
}

::selection {
  background: var(--it);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--it);
  outline-offset: 3px;
}

.sprite {
  display: none;
}

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 360px) {
  .wrap {
    padding-inline: 16px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--it);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.t-it,
.t-gd {
  padding: .02em .3em .08em;
  border-radius: var(--radius-sm);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.t-it {
  background: var(--it);
  color: var(--ink);
}

.t-gd {
  background: var(--purple);
  color: #ffffff;
}

h3.t-it,
h3.t-gd {
  display: inline;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .12s;
}

.btn:active,
.card-links a:active,
.lang a:active {
  transform: translateY(1px);
}

.btn:hover {
  background: var(--it);
  color: var(--ink);
}

.btn-primary {
  background: var(--it);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fdc141;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(15 11 20 / .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--topbar);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
}

.cv-menu {
  position: relative;
}

.cv-menu summary {
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.cv-menu summary::-webkit-details-marker {
  display: none;
}

.cv-menu[open] summary {
  background: var(--it);
  color: var(--ink);
}

.cv-menu .chevron {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.cv-menu[open] .chevron {
  transform: rotate(180deg);
}

.cv-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(0 0 0 / .45);
}

.cv-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s;
}

.cv-list a:hover {
  background: var(--surface-2);
}

.cv-lang {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.cv-list a:hover .cv-lang {
  background: var(--it);
  color: var(--ink);
}

.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.lang a,
.lang [aria-current] {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 6px;
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.lang a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.lang [aria-current] {
  background: var(--it);
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav li:not(.nav-page) {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    gap: 16px;
  }

  .btn-mail {
    padding: 0 10px;
  }

  .btn-mail span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  :root {
    --topbar: 96px;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand mail lang"
      "nav cv cv";
    align-content: center;
    gap: 4px 12px;
  }

  .brand {
    grid-area: brand;
  }

  .btn-mail {
    grid-area: mail;
  }

  .lang {
    grid-area: lang;
  }

  .lang a,
  .lang [aria-current] {
    min-width: 34px;
  }

  .nav {
    grid-area: nav;
    margin-left: 0;
  }

  .nav a {
    padding: 6px 16px 6px 0;
  }

  .cv-menu {
    grid-area: cv;
    justify-self: end;
  }
}

.hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px 48px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 40px;
}

.hero-single {
  grid-template-columns: 1fr;
}

.avatar {
  width: 200px;
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--it) 50%, var(--purple) calc(50% + 1px));
  image-rendering: pixelated;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.hero-pitch {
  margin-top: 14px;
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.hero-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 240px;
  gap: 12px;
  margin-top: 28px;
}

.lane-it {
  --lane: var(--it);
}

.lane-gd {
  --lane: var(--purple);
}

.sum.lane-it {
  --lane: var(--ink);
  --sum-muted: #4a3a12;
  border-color: transparent;
  background: var(--it);
  color: var(--ink);
}

.sum.lane-gd {
  --lane: #ffffff;
  --sum-muted: #e7daf5;
  border-color: transparent;
  background: var(--purple);
  color: #ffffff;
}

.lane-it .sum-title,
.lane-gd .sum-title,
.lane-it .meter-value,
.lane-gd .meter-value {
  color: var(--sum-muted);
}

.sum {
  margin: 0;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sum-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sum-career {
  display: flex;
  flex-direction: column;
}

.career-plot {
  --y0: 2011;
  --y1: 2027;
  --axis: 36px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  gap: 10px;
  min-height: 170px;
  margin-block: 6px;
  padding-left: var(--axis);
}

.career-axis {
  position: absolute;
  inset: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.career-axis li {
  position: absolute;
  right: 0;
  bottom: calc((var(--y) - var(--y0)) / (var(--y1) - var(--y0)) * 100%);
  left: 0;
  line-height: 1;
  transform: translateY(50%);
}

.career-axis li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: var(--axis);
  height: 1px;
  background: var(--hairline);
}

.career-bar {
  position: relative;
}

.career-bar > span {
  position: absolute;
  top: calc((var(--y1) - var(--to, var(--y1))) / (var(--y1) - var(--y0)) * 100%);
  bottom: calc((var(--from) - var(--y0)) / (var(--y1) - var(--y0)) * 100%);
  left: 50%;
  width: min(100%, 24px);
  border-radius: 4px;
  background: var(--lane);
  transform: translateX(-50%);
}

.career {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding-left: 36px;
  text-align: center;
}

.career li {
  display: grid;
  font-size: 13px;
  line-height: 1.3;
}

.career-name {
  font-weight: 700;
}

.career-axis,
.career-value,
.career-since,
.meter-value,
.tl-scale,
.tl-item-year,
.card-meta,
.edu-year {
  font-variant-numeric: tabular-nums;
}

.career-value,
.career-since,
.meter-value {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.career-since {
  font-size: 11px;
}

.meter-value {
  font-size: 13px;
  white-space: nowrap;
}

.meters {
  display: grid;
  gap: 12px;
}

.meters li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: baseline;
  font-size: 15px;
}

.meter-bar {
  position: relative;
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--lane) 18%, transparent);
}

.meter-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) / 5 * 100%);
  border-radius: 4px;
  background: var(--lane);
}

.meters li:nth-child(2) { --d: 1; }
.meters li:nth-child(3) { --d: 2; }
.meters li:nth-child(4) { --d: 3; }
.meters li:nth-child(5) { --d: 4; }
.meters li:nth-child(6) { --d: 5; }

.sum.lane-gd {
  --d0: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .meter-bar::before {
    transform-origin: left;
    animation: meter-fill .9s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: calc(150ms + (var(--d, 0) + var(--d0, 0)) * 60ms);
  }

  .career-bar > span {
    transform-origin: bottom;
    animation: career-grow 1.1s cubic-bezier(.16, 1, .3, 1) .35s backwards;
  }
}

@keyframes meter-fill {
  from {
    transform: scaleX(0);
  }
}

@keyframes career-grow {
  from {
    transform: translateX(-50%) scaleY(0);
  }
}

@media (min-width: 1101px) {
  .hero {
    align-items: stretch;
  }

  .hero-side,
  .hero-main {
    display: flex;
    flex-direction: column;
  }

  .hero-side .socials {
    flex: 1;
    justify-content: space-between;
  }

  .hero-main .summary {
    flex: 1;
  }

  .summary .sum {
    display: flex;
    flex-direction: column;
  }

  .summary .meters {
    flex: 1;
    align-content: space-between;
  }
}

@media (max-width: 1100px) {
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sum-career {
    grid-column: 1 / -1;
  }
}

.about-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 240px;
  gap: 24px 40px;
  align-items: start;
  margin-top: 28px;
}

.about-portrait {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-col h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-side .socials {
  flex-direction: column;
  margin-top: 20px;
}

.hero-side .btn {
  width: 100%;
}

@media (max-width: 1000px) {
  .about-cols {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    order: -1;
    max-width: 200px;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .avatar {
    width: 128px;
    padding: 4px;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .hero-side .socials {
    flex-direction: row;
  }

  .hero-side .btn {
    width: auto;
  }
}

.section {
  padding-top: 72px;
  padding-bottom: 24px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.section-head p {
  max-width: 68ch;
  margin-top: 10px;
  color: var(--muted);
}

.tl-head {
  position: sticky;
  top: var(--topbar);
  z-index: 10;
  display: grid;
  grid-template-columns: var(--spine) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tl-head-main {
  grid-column: 2;
}

.tl-head-side {
  grid-column: 3;
}

.tl {
  --year-h: 264px;
  --inset: 8px;
  --col: calc((100% - var(--spine) - 40px) / 2);
  position: relative;
  height: calc((var(--end) - var(--start)) * var(--year-h));
  margin-block: 32px;
}

.tl-scale,
.tl-items {
  position: absolute;
  inset: 0;
}

.tl-scale::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--spine) - 22px);
  width: 4px;
  background: var(--it);
}

.tl-scale li {
  position: absolute;
  top: calc((var(--end) - var(--y)) * var(--year-h) - 8px);
  right: 0;
  left: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 16px;
  pointer-events: none;
}

.tl-scale li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: calc(var(--spine) - 6px);
  height: 1px;
  background: var(--hairline);
}

.tl-scale li::after,
.tl-item-year::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--spine) - 28px);
  width: 16px;
  height: 16px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--text);
  transform: translateY(-50%);
}

.tl-item {
  position: absolute;
  top: calc((var(--end) - var(--to)) * var(--year-h) + var(--inset));
  left: calc(var(--spine) + 20px);
  width: var(--col);
  height: calc((var(--to) - var(--from)) * var(--year-h) - 2 * var(--inset));
}

.tl-side {
  left: calc(var(--spine) + 40px + var(--col));
}

.tl-item .card {
  height: 100%;
}

.tl-item-year {
  display: none;
}

.card-it {
  --card-bg: var(--it);
  --card-bg-hover: #fdc141;
  --card-fg: var(--ink);
  --card-muted: #4a3a12;
  --card-accent: #4a3a12;
  --card-bullet: var(--ink);
  --card-edge: rgb(18 13 2 / .25);
  --card-badge-bg: var(--ink);
  --card-badge-fg: var(--it);
}

.card-gd {
  --card-bg: var(--purple);
  --card-bg-hover: #63368d;
  --card-fg: #ffffff;
  --card-muted: #e7daf5;
  --card-accent: #dcc4f7;
  --card-bullet: #dcc4f7;
  --card-edge: rgb(255 255 255 / .3);
  --card-badge-bg: #ffffff;
  --card-badge-fg: var(--purple);
}

.card-both {
  --card-bg: linear-gradient(135deg, var(--it) calc(50% + 120px), var(--purple) calc(50% + 121px));
  --card-bg-hover: linear-gradient(135deg, #fdc141 calc(50% + 120px), #63368d calc(50% + 121px));
  --card-fg: var(--ink);
  --card-accent: #4a3a12;
  --card-bullet: var(--it);
  --card-badge-bg: var(--ink);
  --card-badge-fg: var(--it);
  --panel: rgb(15 11 20 / .55);
}

.card-both .chips li {
  border-color: transparent;
  background: var(--panel);
  color: #ffffff;
}

.card-both .card-details {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: #ffffff;
}

.card-it :focus-visible {
  outline-color: var(--ink);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--card-fg);
  transition: background-color .2s;
}

.card:hover {
  background: var(--card-bg-hover);
}

.card-cover {
  flex: none;
  width: 100%;
  height: 25%;
  object-fit: cover;
  background: rgb(0 0 0 / .18);
}

.card-body {
  flex: none;
  min-width: 0;
  padding: 16px 18px 0;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-role {
  margin-top: 4px;
  overflow: hidden;
  color: var(--card-accent);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chips li {
  padding: 2px 8px;
  border: 1px solid var(--card-edge);
  border-radius: 6px;
  color: var(--card-muted);
  font-family: var(--mono);
  font-size: 12px;
}

.card-more {
  --fade: linear-gradient(#000 calc(100% - 20px), transparent calc(100% - 4px));
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 12px 18px 16px;
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-family: var(--mono);
  font-size: 13px;
}

.badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--card-badge-bg);
  color: var(--card-badge-fg);
  font-weight: 700;
}

.card-period,
.card-studio {
  color: var(--card-muted);
}

.card-sub {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
}

.card-sub .card-period {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}

.card-details {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 15px;
}

.card-sub + .card-details {
  margin-top: 8px;
}

.card-details li {
  position: relative;
  padding-left: 16px;
}

.card-details li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-bullet);
}

.card-details a {
  color: var(--card-accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card > .card-links {
  flex: none;
  padding: 4px 18px 16px;
}

.card-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--card-badge-bg);
  color: var(--card-badge-fg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}

.card-links a:hover {
  opacity: .85;
}

.card-links .icon {
  width: 16px;
  height: 16px;
}

.card-compact .card-body {
  padding: 12px 14px;
}

.card-compact .card-title {
  font-size: 17px;
  -webkit-line-clamp: 1;
}

.card-compact .card-role {
  margin-top: 2px;
  font-size: 14px;
}

.card-compact .chips {
  max-height: 26px;
  margin-top: 8px;
  overflow: hidden;
}

.card-compact .card-more {
  display: none;
}

@media (max-width: 900px) {
  .tl {
    --spine: 64px;
    height: auto;
    margin-block: 16px;
  }

  .tl-head,
  .tl-scale {
    display: none;
  }

  .tl-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0 8px var(--spine);
  }

  .tl-items::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--spine) - 22px);
    width: 4px;
    background: var(--it);
  }

  .tl-item,
  .tl-item .card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
  }

  .tl .card-cover {
    height: 160px;
  }

  .tl .card-more {
    --fade: none;
  }

  .tl-item-year {
    position: absolute;
    top: 18px;
    left: calc(-1 * var(--spine));
    display: block;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
  }
}

.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.games .card {
  height: 100%;
}

.games .card-cover {
  height: auto;
  aspect-ratio: 460 / 215;
}

.games .card-more {
  --fade: none;
}

@media (max-width: 600px) {
  .games {
    grid-template-columns: 1fr;
  }
}

.talks {
  display: grid;
  gap: 16px;
}

.talk {
  flex-direction: row;
}

.talk-media {
  flex: none;
  width: 52%;
  aspect-ratio: 16 / 9;
  background: rgb(0 0 0 / .25);
}

.talk-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.talk-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-bottom: 18px;
}

.talk-body .card-links {
  margin-top: auto;
  padding-top: 14px;
}

.talk .card-meta {
  margin-bottom: 10px;
}

.talk .card-title {
  font-size: 22px;
}

.talk-text {
  margin-top: 10px;
  color: var(--card-muted);
  font-size: 15px;
}

.talk .card-details {
  margin-top: 10px;
}

.slideshow {
  position: relative;
}

.slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.slideshow.is-ready .slides {
  scrollbar-width: none;
}

.slide {
  flex: none;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(15 11 20 / .72);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s;
}

.slide-btn:hover {
  background: rgb(15 11 20 / .9);
}

.slide-btn .icon {
  stroke-width: 2.5;
}

.slide-prev {
  left: 10px;
}

.slide-next {
  right: 10px;
}

.slide-next .icon {
  transform: scaleX(-1);
}

.slide-toggle {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  transform: none;
}

.slide-dots {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  display: flex;
  justify-content: center;
}

.slide-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slide-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / .5);
  box-shadow: 0 0 0 1px rgb(15 11 20 / .4);
}

.slide-dots button[aria-current="true"]::before {
  background: #ffffff;
}

@media (max-width: 900px) {
  .talk {
    flex-direction: column;
  }

  .talk-media {
    width: 100%;
  }
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.skill {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--skill-bg);
  color: var(--skill-fg);
}

.skill-it {
  --skill-bg: var(--it);
  --skill-fg: var(--ink);
  --chip-bg: rgb(18 13 2 / .12);
  --chip-fg: #2b2207;
}

.skill-gd {
  --skill-bg: var(--purple);
  --skill-fg: #ffffff;
  --chip-bg: rgb(255 255 255 / .14);
  --chip-fg: #ffffff;
}

.skill-both {
  --skill-bg: linear-gradient(135deg, var(--it) 50%, var(--purple) calc(50% + 1px));
  --skill-fg: var(--ink);
  --chip-bg: rgb(15 11 20 / .55);
  --chip-fg: #ffffff;
}

.skill h3 {
  font-size: 17px;
  font-weight: 800;
}

.skill ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.skill li {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: 14px;
}

.edu-list {
  display: grid;
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.edu {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 22px 0;
  background: var(--bg);
}

.edu-year {
  color: var(--it);
  font-family: var(--mono);
  font-weight: 700;
}

.edu h3 {
  font-size: 18px;
  font-weight: 800;
}

.edu p {
  max-width: 72ch;
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .edu {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.not-found {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.not-found .lead {
  margin-top: 0;
}

.not-found .socials {
  margin-top: 20px;
}

@media (max-width: 720px) {
  .not-found {
    grid-template-columns: 1fr;
  }
}

.footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.contact {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 60ch;
  padding-bottom: 8px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.contact p {
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.contact .contact-actions {
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.footer .socials {
  justify-content: center;
  margin-top: 0;
}

.footer .made {
  justify-self: stretch;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
