:root {
  --bg: #0b0e0d;
  --surface: #111513;
  --surface-raised: #171c18;
  --text: #f0f2ec;
  --muted: #899088;
  --soft: #b5bcb3;
  --line: #262d26;
  --accent: #c2f576;
  --accent-ink: #17220b;
  --header: rgba(11, 14, 13, .88);
  --heading: 'Space Grotesk', sans-serif;
  --body: 'DM Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --radius: 14px;
  --shadow: 0 24px 80px #0005;
}

[data-theme="light"] {
  --bg: #f4f5ee;
  --surface: #fffef8;
  --surface-raised: #eaece2;
  --text: #172019;
  --muted: #626b60;
  --soft: #4b574a;
  --line: #d9dfd1;
  --accent: #497b1d;
  --accent-ink: #fff;
  --header: rgba(244, 245, 238, .9);
  --shadow: 0 24px 80px #1b302315;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

body,
header,
.stack-card,
.project-card {
  transition: background-color .3s, color .3s, border-color .3s;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
  cursor: pointer;
}

button {
  border: 0;
}

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

button:disabled {
  cursor: default;
}

button:focus-visible,
a:focus-visible,
dialog:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
}

h1,
h2 {
  letter-spacing: -.055em;
  line-height: 1.13;
}

h3 {
  letter-spacing: -.035em;
}

svg {
  display: block;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
}

.accent-text {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none!important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 5px;
}

.skip-link:focus {
  top: 15px;
}

.scroll-progress {
  position: fixed;
  z-index: 101;
  inset: 0 auto auto 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  pointer-events: none;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 40%, transparent);
}

.small-cross {
  color: var(--accent);
  font: 20px var(--mono);
}

/* Navigation */

.site-header {
  height: 90px;
  position: sticky;
  top: 0;
  background: var(--header);
  backdrop-filter: blur(20px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-family: var(--heading);
  font-size: 25px;
  letter-spacing: -1.2px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark {
  font: 600 15px var(--mono);
  background: var(--accent);
  color: var(--accent-ink);
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  letter-spacing: -2px;
  padding-right: 2px;
}

.brand-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav-links a {
  font-size: 13px;
  color: var(--soft);
  position: relative;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .2s;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.language-switch > button {
  min-width: 27px;
  min-height: 28px;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 500 9px var(--mono);
  transition: background-color .2s, color .2s;
}

.language-switch > button:hover {
  color: var(--text);
}

.language-switch > button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.nav-links .mobile-contact-link {
  display: none;
}

.icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s, background .2s;
}

.icon-button:hover {
  background: var(--surface-raised);
  border-color: var(--muted);
}

.theme-toggle {
  border: 0;
  color: var(--soft);
}

.theme-toggle:hover {
  color: var(--accent);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 15px;
  transition: border-color .2s;
}

.nav-contact:hover {
  border-color: var(--accent);
}

.nav-contact .icon {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 77% 40%, #0009, transparent 65%);
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 600px;
  top: -140px;
  right: -160px;
  background: radial-gradient(ellipse, #92d74b0d, transparent 65%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 50px;
  padding-block: 101px 107px;
  min-height: 680px;
}

.eyebrow,
.section-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-intro {
  color: var(--soft);
  margin-bottom: 25px;
}

.hero-intro .status-dot {
  animation: pulse 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.13;
  white-space: nowrap;
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: -.065em;
}

.title-period {
  color: var(--text);
}

.hero-name {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 15px;
  letter-spacing: -.3px;
}

.hero-name > span:first-child {
  padding-inline: 9px;
  color: var(--muted);
  font-size: 13px;
}

.hero-name .mono {
  font-size: 14px;
  color: var(--soft);
}

.hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 7px;
  line-height: 1.5;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 transparent;
}

.button-primary:hover {
  box-shadow: 0 7px 28px color-mix(in srgb, var(--accent) 16%, transparent);
  background: color-mix(in srgb, var(--accent) 85%, white);
}

.button .icon {
  width: 17px;
  height: 17px;
}

.button-text {
  padding-inline: 15px;
  color: var(--soft);
}

.button-text:hover {
  color: var(--text);
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 41px;
  color: var(--muted);
  font-size: 10px;
}

.footnote-divider {
  height: 9px;
  width: 1px;
  background: var(--line);
  margin-inline: 3px;
}

.hero-visual {
  position: relative;
  perspective: 1400px;
  padding-top: 15px;
  min-width: 0;
}

.orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 430px;
  height: 430px;
  top: -16px;
  left: 25px;
  transform: rotate(-20deg) scaleX(1.2);
}

.orbit-two {
  width: 540px;
  height: 540px;
  top: -68px;
  left: -30px;
  transform: rotate(-20deg) scaleX(1.1);
  opacity: .5;
}

.editor {
  background: #121713;
  box-shadow: 0 25px 70px #0004, 0 0 60px #8bd13f05;
  border: 1px solid #39452f;
  border-radius: 11px;
  transform: rotate(-2deg);
  position: relative;
  overflow: hidden;
  transition: transform .5s;
  z-index: 1;
  color: #d4dccd;
}

.hero-visual:hover .editor {
  transform: rotate(0);
}

.editor-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a211a;
  border-bottom: 1px solid #2a3328;
  padding-inline: 15px;
  font: 10px var(--mono);
  color: #8b9685;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e77e70;
}

.window-dots i:nth-child(2) {
  background: #d9b65c;
}

.window-dots i:nth-child(3) {
  background: #92ba69;
}

.python-mini {
  color: #c2f576;
  font-size: 9px;
  margin-right: 6px;
}

.editor-branch {
  font-size: 9px;
}

.editor-tabs {
  display: flex;
  background: #0f140f;
  border-bottom: 1px solid #252e23;
  font: 9px var(--mono);
}

.editor-tab {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #121713;
  border-top: 1px solid #c2f576;
  margin-top: -1px;
}

.editor-tab .icon {
  width: 12px;
  height: 12px;
  color: #c2f576;
}

.editor-tab > span {
  font-size: 13px;
  color: #6c7965;
  margin-left: 13px;
}

.editor-tab.inactive {
  background: transparent;
  border: 0;
  color: #6d7966;
}

.code-content {
  padding: 20px 14px 18px 0;
  overflow: auto;
  font: 10.5px/2.1 var(--mono);
  scrollbar-width: thin;
}

.code-line {
  display: flex;
  white-space: pre;
  min-height: 22px;
}

.line-number {
  display: inline-block;
  width: 46px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 18px;
  color: #485341;
  user-select: none;
}

.code-line code {
  font: inherit;
}

.syntax-comment {
  color: #718364;
}

.syntax-keyword {
  color: #cbabf3;
}

.syntax-class {
  color: #d6dcb6;
}

.syntax-string {
  color: #b3d591;
}

.syntax-function {
  color: #c7dda8;
}

.code-caret {
  display: inline-block;
  height: 12px;
  width: 6px;
  vertical-align: middle;
  background: #c2f576;
  animation: blink 1.2s step-end infinite;
}

.editor-terminal {
  padding: 10px 17px 13px;
  border-top: 1px solid #2a3227;
  font: 9px/1.8 var(--mono);
}

.terminal-heading {
  color: #899780;
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
}

.terminal-heading span {
  font-size: 14px;
}

.terminal-prompt {
  color: #c2f576;
  margin-right: 8px;
}

.terminal-output {
  color: #8d9c83;
}

.terminal-output span {
  color: #c2f576;
  margin-right: 8px;
}

.editor-status {
  background: #222c1c;
  color: #9eaf8d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 8px var(--mono);
  padding: 5px 13px;
}

.editor-status > span:last-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.editor-status .status-dot {
  width: 4px;
  height: 4px;
  background: #c2f576;
}

.status-separator {
  color: #718363;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  bottom: -25px;
  right: -22px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 19px 14px 13px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

.floating-icon .icon {
  width: 24px;
  height: 24px;
}

.floating-label {
  font: 7px var(--mono);
  color: var(--muted);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 3px;
}

.floating-badge strong {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 500;
}

.floating-badge > .status-dot {
  width: 5px;
  height: 5px;
  margin-left: 8px;
}

.visual-coordinate {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
  position: absolute;
  left: 12px;
  bottom: -37px;
}

.hero-bottom {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  gap: 24px;
}

.hero-bottom > span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}

.hero-stack {
  display: flex;
  align-items: center;
  gap: 32px;
  font: 13px var(--heading);
  color: var(--soft);
}

.hero-stack span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stack .icon {
  width: 19px;
  height: 19px;
  color: var(--soft);
}

.hero-stack i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
}

.hero-bottom > a {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.hero-bottom > a .icon {
  width: 14px;
  height: 14px;
}

.hero-bottom > a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Shared sections */

.section {
  padding-block: 104px;
}

.section-kicker {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 21px;
  gap: 8px;
}

.section-kicker > span {
  color: var(--accent);
}

h2 {
  font-size: 43px;
  font-weight: 500;
  line-height: 1.16;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 38px;
}

.section-top > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 5px;
}

.reveal {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.project-grid > .reveal:nth-child(2) {
  transition-delay: .09s;
}

.project-grid > .reveal:nth-child(3) {
  transition-delay: .18s;
}

/* Projects */

.project-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
  gap: 20px;
}

.project-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 13px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  transition: background .2s, color .2s, border-color .2s;
}

.filter-button:hover {
  color: var(--text);
  background: var(--surface-raised);
}

.filter-button.active {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--text);
}

.filter-button span {
  font: 8px var(--mono);
  margin-left: 7px;
  color: var(--accent);
}

.project-counter {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  align-items: start;
}

.project-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-5px);
}

.project-art {
  width: 100%;
  height: 264px;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: left;
  border-bottom: 1px solid #ffffff0b;
}

.project-art::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px #0002;
  pointer-events: none;
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#a3bd740b 1px, transparent 1px), linear-gradient(90deg, #a3bd740b 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(#000, #0002);
}

.art-topline,
.art-bottomline {
  position: absolute;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.art-topline {
  top: 20px;
}

.art-bottomline {
  bottom: 16px;
  font: 6px var(--mono);
  letter-spacing: .7px;
  color: #ffffff70;
}

.art-top-detail {
  font: 5px var(--mono);
  letter-spacing: .7px;
  color: #ffffff70;
}

.art-open {
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff20;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: absolute;
  right: 19px;
  bottom: 39px;
  color: #fff;
  z-index: 3;
  transition: background .2s, transform .2s;
}

.art-open .icon {
  width: 16px;
  height: 16px;
}

.project-art:hover .art-open {
  background: #ffffff20;
  transform: rotate(45deg);
}

.art-gaming {
  background: radial-gradient(ellipse at 75% 70%, #50752a50, transparent 70%), #182014;
}

.tiny-brand {
  font: bold 15px var(--heading);
  letter-spacing: -1.5px;
  color: #fff;
}

.tiny-brand > span {
  color: #c2f576;
}

.gaming-title {
  font: 600 43px/.95 var(--heading);
  letter-spacing: -2.5px;
  position: absolute;
  left: 25px;
  top: 81px;
  color: #edf4e5;
  z-index: 1;
}

.gaming-title > span {
  color: #c2f576;
}

.gamepad-art {
  width: 191px;
  height: 130px;
  position: absolute;
  right: -7px;
  bottom: 38px;
  transform: rotate(-20deg);
  filter: drop-shadow(0 20px 20px #0005);
  transition: transform .5s;
}

.project-art:hover .gamepad-art {
  transform: rotate(-10deg) translateY(-5px);
}

.art-tcg {
  background: radial-gradient(ellipse at 50% 65%, #7545bd50, transparent 70%), #22182e;
}

.loot-wordmark {
  font: 700 9px var(--heading);
  letter-spacing: -.5px;
  color: #c7a3f7;
}

.loot-wordmark > span {
  color: #f8f3ff;
}

.loot-wordmark small {
  font-size: 5px;
  margin-left: 4px;
  font-weight: 400;
  letter-spacing: .5px;
}

.collectible-cards {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 180px;
  height: 160px;
  transform: translate(-50%, -50%);
}

.collectible {
  position: absolute;
  width: 102px;
  height: 143px;
  top: 10px;
  left: 39px;
  border: 1px solid #a27cc0;
  border-radius: 7px;
  box-shadow: 0 10px 30px #0004;
  display: grid;
  place-items: center;
  transition: transform .5s;
}

.card-back {
  transform: translateX(-37px) rotate(-19deg);
  background: repeating-linear-gradient(45deg, #48335b, #48335b 4px, #533c67 4px, #533c67 5px);
}

.card-middle {
  transform: translateX(37px) rotate(19deg);
  background: repeating-linear-gradient(-45deg, #58426c, #58426c 4px, #654e78 4px, #654e78 5px);
}

.card-back > span,
.card-middle > span {
  font-size: 48px;
  color: #b99ad066;
  border: 1px solid #b99ad033;
  width: 83px;
  height: 125px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.card-front {
  transform: rotate(-5deg);
  background: linear-gradient(150deg, #d7b6f3, #75538f 45%, #32243c);
  border-color: #d5b5ee;
  overflow: hidden;
}

.card-front::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #eedcfa55;
  border-radius: 3px;
}

.card-stars {
  position: absolute;
  top: 11px;
  left: 12px;
  color: #efd4ff;
  font-size: 6px;
  letter-spacing: 1px;
}

.crystal {
  font-size: 70px;
  line-height: 1;
  color: #e3c8ff;
  text-shadow: 4px 5px 0 #b489d2, 7px 7px 25px #c5a0ff;
  transform: scaleX(.65) rotate(10deg);
  position: absolute;
  top: 23px;
}

.card-line {
  position: absolute;
  left: 15px;
  bottom: 34px;
  height: 2px;
  width: 65px;
  background: #d6b9ed77;
}

.card-line.short {
  bottom: 27px;
  width: 46px;
}

.card-edition {
  position: absolute;
  left: 15px;
  bottom: 13px;
  font: 4px var(--mono);
  letter-spacing: .7px;
  color: #eee0f7;
}

.project-art:hover .card-back {
  transform: translateX(-47px) rotate(-25deg);
}

.project-art:hover .card-middle {
  transform: translateX(47px) rotate(25deg);
}

.project-art:hover .card-front {
  transform: rotate(0) translateY(-6px);
}

.art-rosary {
  background: radial-gradient(ellipse at 90% 80%, #dacda8, #eee9d9 70%);
  color: #514731;
}

.rosary-wordmark {
  font: italic 21px Georgia, serif;
  color: #6c6045;
}

.rosary-wordmark > span {
  font-size: 10px;
  margin-left: 3px;
}

.art-rosary .art-top-detail {
  color: #8c816a;
}

.rosary-title {
  position: absolute;
  left: 26px;
  top: 84px;
  font: 38px/1.1 Georgia, serif;
  color: #615437;
  letter-spacing: -1.5px;
  z-index: 1;
}

.rosary-title em {
  font-weight: normal;
}

.rosary-art {
  position: absolute;
  right: 0;
  top: 43px;
  width: 151px;
  height: 175px;
  transform: rotate(14deg);
  transition: transform .5s;
}

.project-art:hover .rosary-art {
  transform: rotate(3deg);
}

.art-rosary .art-bottomline {
  color: #867b62;
}

.art-rosary .art-open {
  border-color: #9b865450;
  color: #786441;
}

.rosary-orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid #a1916d20;
  border-radius: 50%;
}

.orbit-a {
  right: -190px;
  top: -145px;
}

.orbit-b {
  right: -160px;
  top: -120px;
}

.project-body {
  padding: 22px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 6px var(--mono);
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: 11px;
  gap: 4px;
}

.live-mark {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.live-mark > span {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.project-note {
  font-size: 5px;
}

.project-body h3 {
  font-size: 23px;
  margin-bottom: 9px;
}

.project-body h3 > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  text-align: left;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
}

.project-body h3 .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
  transition: color .2s, transform .2s;
}

.project-body h3 > button:hover .icon {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.project-body > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  min-height: 40px;
}

.project-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-tag {
  font: 8px var(--mono);
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}

.project-footer > a,
.text-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--soft);
  font-size: 8px;
  padding: 0;
  background: none;
}

.project-footer > a:hover,
.text-link:hover {
  color: var(--accent);
}

.project-footer .icon {
  width: 12px;
  height: 12px;
}

.projects-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}

.projects-note .small-cross {
  font-size: 15px;
}

/* About */

.about-section {
  padding-top: 34px;
  padding-bottom: 105px;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.identity-visual {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 26px;
}

.identity-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--muted) .6px, transparent .6px);
  background-size: 16px 16px;
  opacity: .17;
  z-index: -1;
}

.identity-top {
  position: absolute;
  left: 23px;
  right: 23px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}

.identity-rings {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  z-index: -1;
}

.identity-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
}

.identity-rings span:nth-child(2) {
  inset: 30px;
}

.identity-rings span:nth-child(3) {
  inset: 60px;
  background: radial-gradient(color-mix(in srgb, var(--accent) 8%, transparent), transparent);
}

.monogram {
  font: 500 118px/1 var(--heading);
  letter-spacing: -12px;
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  padding-right: 10px;
}

.monogram > span {
  font-size: 78px;
  letter-spacing: -10px;
  animation: blink 2s step-end infinite;
}

.identity-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
  opacity: .45;
}

.corner-tl {
  left: 70px;
  top: 81px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  right: 70px;
  top: 81px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  left: 70px;
  bottom: 122px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: 70px;
  bottom: 122px;
  border-width: 0 1px 1px 0;
}

.identity-caption {
  text-align: center;
  margin-top: 240px;
}

.identity-caption strong {
  display: block;
  font: 500 20px var(--heading);
  letter-spacing: -.6px;
  margin-bottom: 6px;
}

.identity-caption > .mono {
  color: var(--muted);
  font-size: 8px;
}

.identity-caption > .mono > span {
  color: var(--accent);
  padding-inline: 5px;
}

.identity-location {
  font-size: 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 19px;
}

.identity-location .icon {
  width: 12px;
  height: 12px;
}

.about-copy h2 {
  font-size: 37px;
  margin-bottom: 24px;
}

.about-copy > p {
  font-size: 12px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 15px;
}

.about-copy strong {
  color: var(--soft);
  font-weight: 500;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 25px;
}

.about-values > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--soft);
}

.about-values .icon {
  color: var(--accent);
  width: 17px;
  height: 17px;
}

/* Skills */

.stack-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: 82px;
}

.stack-section .section-top {
  margin-bottom: 34px;
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}

.stack-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
}

.python-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 311px;
}

.python-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 65%);
  pointer-events: none;
}

.stack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: absolute;
  left: 26px;
  right: 26px;
  top: 22px;
  z-index: 1;
}

.stack-card-top > .mono {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}

.primary-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 30px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

.primary-tag .status-dot {
  width: 4px;
  height: 4px;
}

.python-large {
  position: absolute;
  width: 115px;
  height: 115px;
  right: 30px;
  top: 80px;
  color: var(--accent);
  opacity: .75;
  transform: rotate(-10deg);
  transition: transform .4s;
}

.python-card:hover .python-large {
  transform: rotate(4deg) translateY(-4px);
}

.python-content {
  position: relative;
  z-index: 1;
  margin-bottom: 19px;
}

.python-content h3 {
  font-size: 39px;
  font-weight: 500;
  margin-bottom: 8px;
}

.python-content h3 span {
  color: var(--accent);
}

.python-content p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}

.python-snippet {
  font-size: 9px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.python-snippet > span:first-child {
  color: var(--accent);
}

.python-snippet > span:last-child {
  color: var(--soft);
}

.frontend-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.small-stack-card {
  display: flex;
  align-items: center;
  padding: 19px;
  gap: 17px;
  flex: 1;
  transition: border-color .3s, transform .3s;
}

.small-stack-card:hover {
  border-color: var(--muted);
  transform: translateX(4px);
}

.tech-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font: 500 17px var(--mono);
  flex-shrink: 0;
}

.html-icon {
  color: #e9a584;
  background: #b75b2d15;
}

.css-icon {
  color: #92bde9;
  background: #4886cf15;
  font-size: 27px;
}

.js-icon {
  color: #e2cf72;
  background: #ad982515;
  font-size: 15px;
  letter-spacing: -1px;
}

.small-stack-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 3px;
}

.small-stack-card h3 > span {
  color: var(--muted);
  font-size: 11px;
  margin-left: 3px;
}

.small-stack-card p {
  font-size: 9px;
  color: var(--muted);
}

.tech-category {
  font-size: 6px;
  letter-spacing: .8px;
  color: var(--muted);
  margin-left: auto;
}

.learning-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 27px;
}

.learning-line p {
  font-size: 10px;
  color: var(--soft);
}

.learning-line p > span {
  color: var(--muted);
}

.learning-line > .mono {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: .8px;
  color: var(--muted);
}

/* Education */

.journey-section {
  padding-block: 103px 112px;
}

.journey-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}

.journey-intro > p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 260px;
  margin-top: 22px;
}

.journey-decoration {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 33px;
  font: 10px var(--mono);
  color: var(--muted);
}

.journey-decoration > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.journey-decoration > i {
  height: 1px;
  background: var(--line);
  width: 25px;
}

.journey-decoration > span:last-child {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
  font-size: 20px;
}

.timeline {
  padding-left: 37px;
}

.timeline-item {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 0 0 33px 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-color: transparent;
}

.timeline-node {
  position: absolute;
  left: -18px;
  top: 0;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}

.timeline-node .icon {
  width: 17px;
  height: 17px;
}

.timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  min-height: 27px;
}

.timeline-top > .mono {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}

.timeline-status {
  font-size: 7px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  padding: 3px 8px;
  border-radius: 20px;
}

.timeline-item h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 5px;
}

.timeline-institution {
  font-size: 10px!important;
  color: var(--soft)!important;
  margin-bottom: 12px;
  line-height: 1.7;
}

.timeline-item p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}

.timeline-item p strong {
  font-weight: 500;
  color: var(--soft);
}

.completed-tag {
  font-size: 7px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.completed-tag .icon {
  width: 11px;
  height: 11px;
}

/* Contact and footer */

.contact-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
}

.contact-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse at center, #0006, transparent 70%);
}

.contact-inner {
  text-align: center;
  padding-block: 74px 62px;
  position: relative;
}

.contact-inner .section-kicker {
  margin-bottom: 23px;
}

.contact-inner h2 {
  font-size: 52px;
  line-height: 1.15;
  max-width: 750px;
  margin-inline: auto;
}

.contact-inner > p:not(.contact-soon) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  margin-top: 20px;
}

.contact-spark {
  position: absolute;
  right: 14%;
  top: 72px;
  color: var(--accent);
  font-size: 60px;
  line-height: 1;
  font-weight: 300;
  animation: slow-spin 35s linear infinite;
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.copy-nick {
  gap: 12px;
}

.button-nick {
  font: 9px var(--mono);
  opacity: .6;
  border-left: 1px solid currentColor;
  padding-left: 12px;
}

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

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-link .icon {
  width: 14px;
  height: 14px;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  padding-block: 5px;
  color: var(--soft);
  font-size: 11px;
  overflow-wrap: anywhere;
  transition: color .2s;
}

.contact-email:hover {
  color: var(--accent);
}

/* Social profiles */

.social-hub {
  max-width: 900px;
  margin: 45px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.social-heading {
  margin-bottom: 20px;
}

.social-heading > .mono {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 1.5px;
}

.social-heading > p {
  margin-top: 6px;
  font-family: var(--heading);
  font-size: 22px;
  letter-spacing: -.7px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.social-link {
  --social-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  text-align: left;
  transition: transform .2s, border-color .2s, background-color .2s;
}

.social-link:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--social-accent) 65%, var(--line));
  background: color-mix(in srgb, var(--social-accent) 4%, var(--bg));
}

.social-github {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.social-instagram {
  --social-accent: #ee94bd;
}

.social-twitch {
  --social-accent: #ad8cff;
}

.social-kick {
  --social-accent: #a2f05b;
}

.social-steam {
  --social-accent: #7ab7e8;
}

[data-theme="light"] .social-instagram {
  --social-accent: #a73567;
}

[data-theme="light"] .social-twitch {
  --social-accent: #8050ce;
}

[data-theme="light"] .social-kick {
  --social-accent: #39751b;
}

[data-theme="light"] .social-steam {
  --social-accent: #2871ac;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--social-accent) 9%, transparent);
  color: var(--social-accent);
}

.social-icon > .icon {
  width: 21px;
  height: 21px;
}

.social-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.social-name {
  color: var(--text);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 500;
}

.social-handle {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  overflow-wrap: anywhere;
}

.social-arrow {
  position: absolute;
  top: 18px;
  right: 15px;
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform .2s, color .2s;
}

.social-link:hover .social-arrow {
  transform: translate(2px, -2px);
  color: var(--social-accent);
}

.footer {
  padding-block: 32px 20px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 29px;
}

.footer-main > .brand {
  font-size: 22px;
}

.footer-main .brand-mark {
  width: 29px;
  height: 29px;
  font-size: 12px;
  border-radius: 6px;
}

.footer-main > span {
  font-size: 10px;
  color: var(--muted);
}

.back-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: var(--soft);
}

.back-top .icon {
  width: 15px;
  height: 15px;
}

.back-top:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.footer-bottom > .mono {
  font-size: 7px;
  letter-spacing: .7px;
}

.footer-bottom .accent-text {
  padding-left: 7px;
}

/* Project details */

.project-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 120px #0009;
  overscroll-behavior: contain;
}

.project-dialog::backdrop {
  background: #020603b8;
  backdrop-filter: blur(9px);
}

.project-dialog[open] {
  animation: dialog-in .25s ease-out;
}

.dialog-content {
  padding: 22px;
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.dialog-top .section-kicker {
  margin: 0;
}

.dialog-close {
  width: 31px;
  height: 31px;
}

.dialog-art {
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 23px;
  height: 245px;
}

.dialog-art .project-art {
  height: 245px;
  pointer-events: none;
  border: 0;
}

.dialog-art .art-open {
  display: none;
}

.dialog-art .gaming-title {
  left: 40px;
  top: 65px;
  font-size: 57px;
}

.dialog-art .gamepad-art {
  width: 240px;
  right: 30px;
  bottom: 25px;
}

.dialog-art .rosary-title {
  left: 40px;
  top: 55px;
  font-size: 48px;
}

.dialog-art .rosary-art {
  right: 40px;
  top: 15px;
  width: 170px;
  height: 200px;
}

.dialog-copy {
  padding: 0 5px 6px;
}

.dialog-category {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 1px;
}

.dialog-copy h2 {
  font-size: 36px;
  margin-top: 9px;
  margin-bottom: 16px;
}

.dialog-copy > p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.9;
}

.dialog-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 18px;
  margin-block: 20px;
  border-block: 1px solid var(--line);
  gap: 15px;
}

.dialog-details > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dialog-details span {
  font: 7px var(--mono);
  color: var(--muted);
  letter-spacing: 1px;
}

.dialog-details strong {
  font-size: 11px;
  font-weight: 500;
}

.dialog-copy > .dialog-art-note {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 18px;
}

.dialog-copy > .dialog-link-note {
  font-size: 11px;
  color: var(--muted);
  padding: 12px 15px;
  background: var(--surface-raised);
  border-radius: 6px;
}

.dialog-copy .button {
  font-size: 11px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: var(--shadow);
  max-width: calc(100% - 30px);
  width: max-content;
}

.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast .icon {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.contact-actions {
  flex-wrap: wrap;
}

@keyframes blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 20%, transparent);
  }

  50% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 0%, transparent);
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-7px);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Laptop and tablet */

@media (min-width: 1450px) {
  .hero-layout {
    padding-block: 115px 120px;
    min-height: 730px;
  }

  .hero h1 {
    font-size: 75px;
  }

  .hero-description {
    font-size: 16px;
  }

  .editor .code-content {
    font-size: 11px;
  }

  .project-art {
    height: 280px;
  }
}

@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-layout {
    gap: 30px;
    grid-template-columns: 1.1fr 1fr;
    padding-block: 80px 90px;
    min-height: 610px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.2vw, 60px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-intro {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .code-content {
    font-size: 9px;
  }

  .code-line {
    min-height: 20px;
  }

  .editor-tab {
    padding-inline: 12px;
  }

  .floating-badge {
    right: -7px;
    padding: 12px;
  }

  .hero-footnote {
    font-size: 8px;
    gap: 7px;
  }

  .hero-stack {
    gap: 20px;
  }

  .hero-bottom > span {
    font-size: 7px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-actions {
    gap: 10px;
  }

  .project-grid {
    gap: 16px;
  }

  .project-body {
    padding: 18px;
  }

  .project-art {
    height: 236px;
  }

  .gaming-title {
    font-size: 37px;
  }

  .gamepad-art {
    width: 165px;
    right: -15px;
  }

  .art-topline,
  .art-bottomline {
    left: 17px;
    right: 17px;
  }

  .art-top-detail {
    font-size: 4px;
  }

  .project-body h3 {
    font-size: 21px;
  }

  .project-footer {
    gap: 5px;
  }

  .project-footer > a,
  .text-link {
    font-size: 7px;
  }

  .project-tag {
    font-size: 7px;
    padding-inline: 5px;
  }

  .about-grid,
  .journey-layout {
    gap: 65px;
  }

  .about-copy h2 {
    font-size: 32px;
  }

  .about-copy > p {
    font-size: 11px;
  }

  .small-stack-card {
    padding: 17px 15px;
    gap: 13px;
  }

  .tech-category {
    font-size: 5px;
  }

  .contact-spark {
    right: 8%;
  }
}

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

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .brand {
    font-size: 23px;
  }

  .nav-contact {
    font-size: 10px;
    gap: 8px;
    padding-inline: 11px;
  }

  .hero-layout {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
    padding-block: 70px 82px;
  }

  .hero h1 {
    font-size: 46px;
    white-space: normal;
  }

  .hero h1 .accent-text {
    white-space: nowrap;
  }

  .hero-name {
    font-size: 14px;
  }

  .hero-name .mono {
    font-size: 12px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-buttons {
    gap: 3px;
  }

  .button {
    font-size: 10px;
    gap: 14px;
    padding-inline: 15px;
  }

  .hero-footnote {
    font-size: 7px;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 29px;
  }

  .code-content {
    font-size: 8px;
    padding-right: 8px;
  }

  .line-number {
    width: 32px;
    padding-right: 10px;
  }

  .code-line {
    min-height: 18px;
  }

  .editor-bar {
    height: 35px;
    font-size: 8px;
    padding-inline: 12px;
  }

  .editor-terminal {
    font-size: 7px;
    padding-inline: 12px;
  }

  .editor-tab {
    font-size: 7px;
    padding-inline: 10px;
  }

  .editor-tab.inactive {
    font-size: 7px;
  }

  .editor-tab > span {
    margin-left: 5px;
  }

  .hero-visual {
    padding-top: 0;
  }

  .floating-badge {
    right: -5px;
    bottom: -29px;
    gap: 8px;
  }

  .floating-badge strong {
    font-size: 10px;
  }

  .floating-label {
    font-size: 6px;
  }

  .floating-icon {
    width: 29px;
    height: 29px;
  }

  .floating-icon .icon {
    width: 20px;
    height: 20px;
  }

  .visual-coordinate {
    font-size: 6px;
    left: 0;
    bottom: -35px;
  }

  .hero-bottom > span {
    max-width: 170px;
    line-height: 1.7;
  }

  .hero-stack {
    font-size: 11px;
    gap: 15px;
  }

  .hero-stack .icon {
    width: 16px;
    height: 16px;
  }

  .section {
    padding-block: 80px;
  }

  .section-top > p {
    font-size: 11px;
  }

  h2 {
    font-size: 37px;
  }

  .project-art {
    height: 210px;
  }

  .project-grid {
    gap: 13px;
  }

  .art-top-detail {
    display: none;
  }

  .gaming-title {
    font-size: 32px;
    left: 18px;
    top: 65px;
  }

  .gamepad-art {
    width: 143px;
    bottom: 29px;
    right: -18px;
  }

  .collectible-cards {
    transform: translate(-50%, -50%) scale(.85);
  }

  .rosary-title {
    font-size: 29px;
    top: 65px;
    left: 18px;
  }

  .rosary-art {
    width: 115px;
    height: 150px;
    right: -12px;
    top: 38px;
  }

  .art-bottomline {
    font-size: 5px;
  }

  .visual-label {
    font-size: 4px;
  }

  .art-open {
    width: 25px;
    height: 25px;
    right: 13px;
    bottom: 30px;
  }

  .art-open .icon {
    width: 13px;
    height: 13px;
  }

  .project-body {
    padding: 15px;
  }

  .project-meta {
    font-size: 5px;
    letter-spacing: .5px;
  }

  .project-note {
    font-size: 4px;
  }

  .project-body h3 {
    font-size: 18px;
  }

  .project-body h3 .icon {
    width: 15px;
    height: 15px;
  }

  .project-body > p {
    font-size: 10px;
    min-height: 54px;
  }

  .project-footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .project-footer > a,
  .text-link {
    font-size: 8px;
  }

  .about-section {
    padding-top: 0;
  }

  .about-grid {
    gap: 38px;
  }

  .identity-visual {
    min-height: 370px;
  }

  .about-copy h2 {
    font-size: 29px;
  }

  .about-copy > p {
    font-size: 10px;
  }

  .about-values {
    gap: 13px;
    padding-top: 17px;
    margin-top: 18px;
  }

  .about-values > span {
    font-size: 8px;
    gap: 5px;
  }

  .about-values .icon {
    width: 15px;
    height: 15px;
  }

  .identity-caption strong {
    font-size: 18px;
  }

  .monogram {
    font-size: 105px;
  }

  .identity-corner {
    display: none;
  }

  .stack-grid {
    gap: 15px;
    grid-template-columns: 1fr 1.15fr;
  }

  .small-stack-card p {
    font-size: 8px;
  }

  .small-stack-card h3 {
    font-size: 16px;
  }

  .tech-category {
    display: none;
  }

  .python-card {
    padding: 22px;
    min-height: 296px;
  }

  .stack-card-top {
    left: 21px;
    right: 21px;
  }

  .primary-tag {
    font-size: 7px;
  }

  .python-large {
    width: 94px;
    height: 94px;
    right: 20px;
    top: 75px;
  }

  .python-content h3 {
    font-size: 35px;
  }

  .python-content p {
    font-size: 9px;
  }

  .python-snippet {
    font-size: 8px;
  }

  .learning-line p {
    font-size: 9px;
  }

  .learning-line > .mono {
    font-size: 6px;
  }

  .journey-layout {
    gap: 35px;
  }

  .journey-intro h2 {
    font-size: 35px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 27px;
  }

  .timeline-item h3 {
    font-size: 21px;
  }

  .contact-inner h2 {
    font-size: 45px;
  }

  .contact-spark {
    font-size: 44px;
    right: 6%;
    top: 75px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .nav-links .mobile-contact-link {
    display: block;
  }

  html {
    scroll-padding-top: 85px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 72px;
  }

  .nav {
    gap: 10px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 13px;
    border-radius: 7px;
    margin-right: 8px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-contact {
    font-size: 9px;
    padding: 8px 10px;
    gap: 6px;
  }

  .nav-contact .icon {
    width: 13px;
    height: 13px;
  }

  .theme-toggle {
    width: 28px;
  }

  .theme-toggle .icon {
    width: 17px;
    height: 17px;
  }

  .menu-toggle {
    display: grid;
    width: 31px;
    height: 31px;
  }

  .menu-toggle .icon {
    width: 17px;
    height: 17px;
  }

  .nav-links {
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--line);
    display: none;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 20px 30px #0002;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    font-size: 14px;
    width: 100%;
    padding: 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 49px 62px;
    gap: 62px;
    min-height: 0;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-intro {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(41px, 9vw, 62px);
    line-height: 1.1;
    letter-spacing: -.06em;
    margin-bottom: 20px;
  }

  .hero-name {
    font-size: 15px;
  }

  .hero-name .mono {
    font-size: 12px;
  }

  .hero-description {
    font-size: 13px;
    max-width: 440px;
    line-height: 1.85;
  }

  .hero-buttons {
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    font-size: 11px;
    min-height: 46px;
    padding: 12px 18px;
    gap: 19px;
  }

  .hero-footnote {
    font-size: 8px;
    margin-top: 28px;
    gap: 7px;
  }

  .hero-visual {
    width: calc(100% - 16px);
    max-width: 450px;
    margin-inline: auto;
    padding-inline: 4px;
  }

  .editor {
    transform: rotate(-1.5deg);
  }

  .code-content {
    font-size: 10px;
    padding-top: 17px;
    padding-bottom: 15px;
  }

  .code-line {
    min-height: 21px;
  }

  .line-number {
    width: 38px;
    padding-right: 13px;
  }

  .editor-bar {
    height: 38px;
    font-size: 9px;
  }

  .editor-tabs {
    font-size: 8px;
  }

  .editor-tab {
    font-size: 8px;
    padding: 9px 13px;
  }

  .editor-tab.inactive {
    font-size: 8px;
  }

  .editor-terminal {
    font-size: 8px;
    padding: 10px 14px 12px;
  }

  .floating-badge {
    right: -12px;
    bottom: -23px;
    padding: 12px 14px;
    gap: 10px;
  }

  .floating-badge strong {
    font-size: 11px;
  }

  .floating-label {
    font-size: 6px;
  }

  .floating-icon {
    width: 31px;
    height: 31px;
  }

  .floating-badge > .status-dot {
    margin-left: 4px;
  }

  .visual-coordinate {
    font-size: 6px;
    bottom: -33px;
    left: 8px;
  }

  .orbit-one {
    left: -20px;
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    left: -70px;
    width: 460px;
    height: 460px;
  }

  .hero-bottom {
    padding-block: 18px;
    gap: 15px;
  }

  .hero-bottom > span {
    display: none;
  }

  .hero-stack {
    gap: 20px;
    font-size: 11px;
    flex: 1;
    justify-content: space-between;
  }

  .hero-stack i {
    width: 2px;
    height: 2px;
  }

  .hero-stack .icon {
    width: 17px;
    height: 17px;
  }

  .hero-bottom > a {
    margin-left: 8px;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
  }

  .section {
    padding-block: 65px;
  }

  .section-kicker {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom: 17px;
  }

  h2 {
    font-size: 36px;
  }

  .section-top {
    display: block;
    margin-bottom: 26px;
  }

  .section-top > p {
    font-size: 12px;
    margin-top: 18px;
  }

  .section-top > p br {
    display: none;
  }

  .project-toolbar {
    margin-bottom: 18px;
    gap: 10px;
  }

  .project-filters {
    gap: 2px;
  }

  .filter-button {
    font-size: 9px;
    padding: 7px 9px;
  }

  .filter-button span {
    font-size: 7px;
    margin-left: 3px;
  }

  .project-counter {
    font-size: 6px;
    letter-spacing: .5px;
    white-space: nowrap;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card {
    max-width: 100%;
  }

  .project-card:hover {
    transform: none;
  }

  .project-art {
    height: 280px;
  }

  .art-topline,
  .art-bottomline {
    left: 25px;
    right: 25px;
  }

  .art-topline {
    top: 24px;
  }

  .art-top-detail {
    display: block;
    font-size: 5px;
  }

  .tiny-brand {
    font-size: 17px;
  }

  .gaming-title {
    font-size: 54px;
    top: 88px;
    left: 27px;
  }

  .gamepad-art {
    width: 225px;
    right: -4px;
    bottom: 28px;
    height: 150px;
  }

  .collectible-cards {
    transform: translate(-50%, -50%) scale(1.1);
    top: 52%;
  }

  .loot-wordmark {
    font-size: 12px;
  }

  .loot-wordmark small {
    font-size: 6px;
  }

  .rosary-title {
    font-size: 48px;
    left: 29px;
    top: 80px;
  }

  .rosary-art {
    width: 175px;
    height: 200px;
    right: 6px;
    top: 40px;
  }

  .rosary-wordmark {
    font-size: 25px;
  }

  .art-bottomline {
    font-size: 6px;
    bottom: 19px;
  }

  .visual-label {
    font-size: 5px;
  }

  .art-open {
    width: 33px;
    height: 33px;
    right: 20px;
    bottom: 41px;
  }

  .art-open .icon {
    width: 16px;
    height: 16px;
  }

  .project-body {
    padding: 23px;
  }

  .project-meta {
    font-size: 7px;
    letter-spacing: .8px;
    margin-bottom: 13px;
  }

  .project-note {
    font-size: 6px;
  }

  .project-body h3 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .project-body h3 .icon {
    width: 21px;
    height: 21px;
  }

  .project-body > p {
    font-size: 12px;
    line-height: 1.85;
    min-height: 0;
    max-width: 400px;
  }

  .project-footer {
    padding-top: 17px;
    margin-top: 21px;
    flex-wrap: nowrap;
  }

  .project-tag {
    font-size: 8px;
    padding: 4px 8px;
  }

  .project-footer > a,
  .text-link {
    font-size: 9px;
    gap: 7px;
  }

  .project-footer .icon {
    width: 13px;
    height: 13px;
  }

  .projects-note {
    font-size: 10px;
    align-items: flex-start;
    line-height: 1.85;
    margin-top: 20px;
    gap: 9px;
  }

  .projects-note .small-cross {
    margin-top: 2px;
  }

  .project-grid > .reveal {
    transition-delay: 0s!important;
  }

  .about-section {
    padding-top: 8px;
  }

  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 34px;
    align-items: stretch;
  }

  .about-copy h2 {
    font-size: 33px;
  }

  .about-copy > p {
    font-size: 12px;
    line-height: 1.95;
    margin-bottom: 17px;
  }

  .about-values {
    padding-top: 22px;
    margin-top: 22px;
    gap: 30px;
  }

  .about-values > span {
    font-size: 10px;
    gap: 8px;
  }

  .about-values .icon {
    width: 18px;
    height: 18px;
  }

  .identity-visual {
    min-height: 350px;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .identity-caption {
    margin-top: 218px;
  }

  .monogram {
    top: 43%;
    font-size: 112px;
  }

  .identity-rings {
    width: 245px;
    height: 245px;
  }

  .identity-caption strong {
    font-size: 21px;
  }

  .identity-caption > .mono {
    font-size: 9px;
  }

  .identity-top {
    font-size: 8px;
  }

  .identity-location {
    font-size: 9px;
    margin-top: 15px;
  }

  .stack-section {
    padding-block: 59px;
  }

  .stack-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .python-card {
    min-height: 300px;
    padding: 25px;
  }

  .stack-card-top {
    left: 25px;
    right: 25px;
    top: 23px;
  }

  .stack-card-top > .mono {
    font-size: 8px;
  }

  .primary-tag {
    font-size: 8px;
  }

  .python-large {
    width: 118px;
    height: 118px;
    right: 30px;
    top: 76px;
  }

  .python-content h3 {
    font-size: 40px;
  }

  .python-content p {
    font-size: 10px;
  }

  .python-snippet {
    font-size: 9px;
  }

  .frontend-stack {
    gap: 12px;
  }

  .small-stack-card {
    padding: 18px;
    gap: 18px;
  }

  .tech-icon {
    width: 47px;
    height: 47px;
  }

  .small-stack-card h3 {
    font-size: 19px;
  }

  .small-stack-card p {
    font-size: 10px;
  }

  .tech-category {
    display: block;
    font-size: 5px;
    letter-spacing: .4px;
  }

  .learning-line {
    gap: 8px;
    align-items: flex-start;
  }

  .learning-line > .status-dot {
    margin-top: 5px;
  }

  .learning-line p {
    font-size: 10px;
  }

  .learning-line p > span {
    display: block;
    margin-top: 4px;
  }

  .learning-line > .mono {
    font-size: 5px;
    margin-top: 5px;
    white-space: nowrap;
  }

  .journey-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .journey-intro h2 {
    font-size: 36px;
  }

  .journey-intro > p {
    max-width: 320px;
    font-size: 12px;
  }

  .journey-decoration {
    margin-top: 23px;
  }

  .timeline {
    padding-left: 17px;
  }

  .timeline-item {
    padding-left: 30px;
    padding-bottom: 34px;
  }

  .timeline-item h3 {
    font-size: 25px;
  }

  .timeline-top > .mono {
    font-size: 8px;
  }

  .timeline-institution {
    font-size: 11px!important;
  }

  .timeline-item p {
    font-size: 12px;
  }

  .timeline-status,
  .completed-tag {
    font-size: 8px;
  }

  .contact-inner {
    padding-block: 58px 49px;
  }

  .contact-inner h2 {
    font-size: clamp(32px, 7.8vw, 46px);
  }

  .contact-inner > p:not(.contact-soon) {
    font-size: 12px;
    margin-top: 21px;
  }

  .contact-spark {
    font-size: 28px;
    right: 8px;
    top: 33px;
  }

  .contact-inner .section-kicker {
    margin-bottom: 24px;
  }

  .contact-actions {
    margin-top: 25px;
  }

  .contact-soon {
    font-size: 8px;
    max-width: 280px;
    margin-inline: auto;
  }

  .social-hub {
    margin-top: 33px;
    padding-top: 25px;
  }

  .social-heading > p {
    font-size: 21px;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .social-link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 83px;
    padding: 14px 12px;
  }

  .social-link:last-child {
    grid-column: 1 / -1;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .social-icon > .icon {
    width: 18px;
    height: 18px;
  }

  .social-name {
    font-size: 12px;
  }

  .social-handle {
    font-size: 7px;
  }

  .social-arrow {
    top: 10px;
    right: 8px;
    width: 10px;
    height: 10px;
  }

  .footer {
    padding-top: 27px;
  }

  .footer-main {
    padding-bottom: 23px;
  }

  .footer-main > span {
    display: none;
  }

  .footer-main > .brand {
    font-size: 22px;
  }

  .footer-bottom {
    font-size: 7px;
    gap: 15px;
    line-height: 1.7;
  }

  .footer-bottom > .mono {
    font-size: 6px;
    letter-spacing: .3px;
  }

  .dialog-content {
    padding: 16px;
  }

  .dialog-art {
    height: 210px;
    margin-bottom: 20px;
  }

  .dialog-art .project-art {
    height: 210px;
  }

  .dialog-art .gaming-title {
    font-size: 43px;
    left: 25px;
    top: 63px;
  }

  .dialog-art .gamepad-art {
    width: 176px;
    right: -4px;
    bottom: 13px;
  }

  .dialog-art .rosary-title {
    font-size: 38px;
    left: 25px;
    top: 59px;
  }

  .dialog-art .rosary-art {
    width: 140px;
    height: 175px;
    right: 7px;
    top: 26px;
  }

  .dialog-art .collectible-cards {
    transform: translate(-50%, -50%) scale(.86);
  }

  .dialog-copy h2 {
    font-size: 31px;
  }

  .dialog-copy > p {
    font-size: 12px;
  }

  .dialog-details {
    margin-block: 17px;
    padding-block: 16px;
  }

  .dialog-details strong {
    font-size: 10px;
  }

  .toast {
    font-size: 11px;
    bottom: 20px;
    padding: 12px 16px;
  }
}

@media (max-width: 370px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand {
    font-size: 21px;
  }

  .nav-contact {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-intro {
    font-size: 7px;
    letter-spacing: .8px;
  }

  .hero-name {
    font-size: 14px;
  }

  .hero-footnote {
    font-size: 7px;
  }

  .code-content {
    font-size: 8.5px;
  }

  .hero-stack {
    gap: 12px;
    font-size: 10px;
  }

  .hero-stack .icon {
    width: 15px;
    height: 15px;
  }

  .project-counter {
    display: none;
  }

  .project-art {
    height: 250px;
  }

  .gaming-title {
    font-size: 46px;
  }

  .gamepad-art {
    width: 190px;
    right: -12px;
  }

  .rosary-title {
    font-size: 42px;
  }

  .rosary-art {
    width: 145px;
    height: 175px;
  }

  .project-body {
    padding: 20px;
  }

  .project-footer > a,
  .text-link {
    font-size: 8px;
  }

  .about-copy h2 {
    font-size: 30px;
  }

  .about-values {
    gap: 20px;
  }

  .tech-category {
    display: none;
  }

  .python-large {
    right: 22px;
    width: 100px;
  }

  .contact-inner h2 {
    font-size: 31px;
  }

  .contact-spark {
    right: 0;
    top: 28px;
    font-size: 23px;
  }

  .contact-inner .section-kicker {
    font-size: 7px;
  }

  .footer-bottom > .mono {
    font-size: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }

  .motion-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .editor {
    transform: none;
  }

  .floating-badge {
    transform: none;
  }
}
