:root {
    --ink: #101413;
    --ink-soft: #2a302d;
    --paper: #f4f5ef;
    --paper-deep: #e9ebe2;
    --muted: #6b736d;
    --line: #d8ddd2;
    --acid: #e8ff74;
    --acid-dark: #c6e84b;
    --white: #fff;
    --font-head: 'Space Grotesk', Arial, sans-serif;
    --font-body: 'DM Sans', Arial, sans-serif;
    --font-mono: 'DM Mono', monospace
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased
}

body.menu-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

::selection {
    background: var(--acid);
    color: var(--ink)
}

.container {
    width: min(100% - 80px, 1320px);
    margin-inline: auto
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    background: var(--acid);
    padding: 12px 18px;
    z-index: 100
}

.skip-link:focus {
    top: 12px
}

.site-header {
    height: 86px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 700
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: var(--ink);
    color: var(--white);
    font-size: 17px;
    letter-spacing: -2px
}

.brand-dot {
    color: var(--acid)
}

.brand-name {
    font-size: 12px;
    line-height: 1.05;
    letter-spacing: -.025em
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    font-weight: 700
}

.site-nav>a:not(.nav-resume) {
    transition: color .2s
}

.site-nav>a:not(.nav-resume):hover {
    color: #879716
}

.nav-resume {
    background: var(--ink);
    color: var(--white);
    padding: 14px 18px;
    margin-left: 14px;
    display: flex;
    gap: 28px;
    align-items: center;
    transition: background .2s, color .2s
}

.nav-resume:hover {
    background: var(--acid);
    color: var(--ink)
}

.menu-toggle {
    display: none
}

.hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 30px;
    padding-block: 84px 94px
}

.hero-copy {
    position: relative;
    z-index: 2
}

.eyebrow,
.section-kicker,
.project-meta,
.visual-label,
.visual-footer,
.hero-meta,
.art-coordinate,
.art-float,
.cap-tags,
.timeline-date {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .075em
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a6d43d;
    box-shadow: 0 0 0 5px #a6d43d33
}

.hero h1,
.section h2,
.contact-section h2 {
    font-family: var(--font-head);
    letter-spacing: -.075em;
    font-weight: 600
}

.hero h1 {
    font-size: clamp(66px, 6.65vw, 107px);
    line-height: .99;
    margin: 33px 0 29px
}

.hero h1 em {
    font-style: normal;
    color: #a1ae69
}

.hero h1 .period {
    color: var(--ink)
}

.hero-lede {
    font-size: 18px;
    line-height: 1.7;
    color: #4d574f;
    max-width: 565px;
    margin: 0
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 38px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    font-weight: 700
}

.button-primary {
    background: var(--ink);
    color: var(--white);
    padding: 19px 23px;
    transition: background .2s, color .2s, transform .2s
}

.button-primary:hover {
    background: var(--acid-dark);
    color: var(--ink);
    transform: translateY(-3px)
}

.button-text {
    border-bottom: 1px solid var(--ink);
    padding-block: 8px;
    gap: 24px
}

.button-text:hover,
.inline-link:hover {
    color: #778a19
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 68px;
    color: var(--muted);
    letter-spacing: 0
}

.hero-meta strong {
    color: var(--ink);
    font-weight: 500
}

.meta-separator {
    height: 14px;
    width: 1px;
    background: var(--line)
}

.hero-art {
    height: 520px;
    position: relative;
    overflow: hidden;
    background: #17201a;
    border-radius: 2px;
    isolation: isolate
}

.art-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#f2ffdb0b 1px, transparent 1px), linear-gradient(90deg, #f2ffdb0b 1px, transparent 1px);
    background-size: 35px 35px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%)
}

.hero-art:before,
.hero-art:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(20px)
}

.hero-art:before {
    width: 350px;
    height: 350px;
    right: -120px;
    top: -100px;
    background: #b0db4820
}

.hero-art:after {
    width: 250px;
    height: 250px;
    left: -100px;
    bottom: -100px;
    background: #5b8e8326
}

.art-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid #e8ff7430;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-20deg)
}

.art-orbit-one {
    width: 390px;
    height: 390px
}

.art-orbit-two {
    width: 555px;
    height: 555px;
    border-style: dashed;
    border-color: #e8ff741a
}

.art-core {
    width: 245px;
    height: 245px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f0ffb0 0%, #b2da49 55%, #608e45 100%);
    border-radius: 20%;
    box-shadow: 20px 32px 60px #0008, inset -18px -22px 28px #16291e33;
    z-index: 2
}

.art-core:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #2d483a44;
    border-radius: 17%
}

.core-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #ffffff6b;
    filter: blur(48px);
    top: -25px;
    left: -25px
}

.core-letter {
    font-family: var(--font-head);
    font-size: 175px;
    font-weight: 700;
    line-height: 1;
    color: #142219;
    transform: rotate(8deg);
    z-index: 1;
    letter-spacing: -.12em;
    padding-right: 25px
}

.art-float {
    position: absolute;
    z-index: 3;
    background: #f6f8e9;
    box-shadow: 0 14px 25px #0004;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    font-size: 10px;
    font-weight: 500
}

.art-float-top {
    top: 94px;
    left: 38px;
    transform: rotate(-5deg)
}

.art-float-bottom {
    bottom: 93px;
    right: 25px;
    transform: rotate(5deg)
}

.float-symbol {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.08em
}

.float-spark {
    font-size: 24px;
    line-height: 1
}

.art-coordinate {
    position: absolute;
    color: #c6d6b48c;
    font-size: 10px
}

.art-coordinate-a {
    right: 23px;
    top: 23px
}

.art-coordinate-b {
    left: 23px;
    bottom: 21px
}

.ticker {
    overflow: hidden;
    background: var(--acid);
    height: 62px;
    display: flex;
    align-items: center;
    border-block: 1px solid var(--ink)
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 45px;
    white-space: nowrap;
    min-width: max-content;
    animation: marquee 28s linear infinite;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em
}

.ticker-track i {
    font-style: normal;
    font-size: 24px;
    line-height: 0
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

.section {
    padding-block: 120px
}

.section-kicker {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 500;
    letter-spacing: .1em
}

.section-number {
    color: #859916
}

.section h2 {
    font-size: clamp(49px, 5.1vw, 78px);
    line-height: 1.05;
    margin: 24px 0 0
}

.accent-serif {
    color: #9ba96d;
    font-weight: 500
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: start
}

.about-content {
    padding-top: 58px;
    color: #5d685e;
    font-size: 16px;
    line-height: 1.75;
    max-width: 590px
}

.about-content p {
    margin: 0 0 20px
}

.about-content .about-lead {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.035em;
    margin-bottom: 20px
}

.inline-link {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    padding-bottom: 8px;
    margin-top: 12px
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 100px;
    border: 1px solid var(--line)
}

.capability {
    padding: 36px 36px 34px;
    min-height: 280px;
    display: flex;
    flex-direction: column
}

.capability+.capability {
    border-left: 1px solid var(--line)
}

.cap-icon {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 500;
    color: #8b9d32;
    line-height: 1
}

.capability h3 {
    font-family: var(--font-head);
    font-size: 20px;
    letter-spacing: -.04em;
    margin: 24px 0 10px
}

.capability p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 28px
}

.cap-tags {
    font-size: 10px;
    color: #779122;
    letter-spacing: 0;
    margin-top: auto
}

.work-section {
    background: #e9ece3
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 43px
}

.section-heading p {
    max-width: 260px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 5px
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.featured-project-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 44px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.featured-project-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.featured-game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 54px
}

.game-card {
    display: flex;
    flex-direction: column
}

.game-visual {
    display: block;
    height: 310px;
    color: var(--paper);
    text-decoration: none;
    transition: filter .2s ease
}

.game-visual:hover {
    filter: brightness(1.08)
}

.game-visual:focus-visible {
    outline: 3px solid var(--olive-text);
    outline-offset: 4px
}

.game-visual-tetris {
    color: #e7f8a8;
    background: #17221d
}

.game-visual-tetris:before,
.game-visual-breakout:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 52%, #75913d48, transparent 47%), repeating-linear-gradient(0deg, transparent 0 31px, #e6f3c90b 32px), repeating-linear-gradient(90deg, transparent 0 31px, #e6f3c90b 32px)
}

.tetris-board {
    position: absolute;
    left: 50%;
    top: 51%;
    width: 184px;
    height: 214px;
    transform: translate(-50%, -50%);
    border: 1px solid #d9f5ac40;
    background-color: #111a16;
    background-image: linear-gradient(#d9f5ac17 1px, transparent 1px), linear-gradient(90deg, #d9f5ac17 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: 0 18px 42px #07100b66;
    transition: transform .3s ease
}

.game-visual-tetris:hover .tetris-board {
    transform: translate(-50%, -52%)
}

.tetris-block {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid #ffffff54;
    box-shadow: inset 0 0 0 3px #ffffff12, 0 3px 9px #0005
}

.block-cyan { background: linear-gradient(135deg, #9af5ec, #2d9f9b) }
.block-lime { background: linear-gradient(135deg, #efff8b, #8cba36) }
.block-violet { background: linear-gradient(135deg, #d3adff, #8356c9) }
.block-amber { background: linear-gradient(135deg, #ffd982, #d88036) }
.b1 { left: 31px; top: 52px }
.b2 { left: 61px; top: 52px }
.b3 { left: 91px; top: 52px }
.b4 { left: 121px; top: 52px }
.b5 { left: 91px; top: 112px }
.b6 { left: 121px; top: 112px }
.b7 { left: 121px; top: 82px }
.b8 { left: 31px; top: 142px }
.b9 { left: 61px; top: 142px }
.b10 { left: 91px; top: 142px }
.b11 { left: 91px; top: 172px }
.b12 { left: 121px; top: 172px }
.b13 { left: 151px; top: 172px }
.b14 { left: 151px; top: 142px }

.game-visual-breakout {
    color: #fff2c4;
    background: #251a25
}

.game-visual-breakout:before {
    background: radial-gradient(ellipse at 50% 70%, #e9824435, transparent 55%), repeating-linear-gradient(0deg, transparent 0 31px, #ffffff0b 32px), repeating-linear-gradient(90deg, transparent 0 31px, #ffffff0b 32px)
}

.breakout-stage {
    position: absolute;
    left: 50%;
    top: 53%;
    width: min(320px, calc(100% - 80px));
    height: 188px;
    transform: translate(-50%, -50%);
    border: 1px solid #ffe7b348;
    background: linear-gradient(180deg, #1e1924e8, #302027d9);
    box-shadow: 0 20px 42px #08070a6b;
    transition: transform .3s ease
}

.game-visual-breakout:hover .breakout-stage {
    transform: translate(-50%, -52%)
}

.breakout-bricks {
    position: absolute;
    top: 18px;
    left: 17px;
    right: 17px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px
}

.breakout-bricks i {
    height: 13px;
    border: 1px solid #ffffff55;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffd48a, #dd7d48);
    box-shadow: 0 2px 5px #0005
}

.breakout-bricks i:nth-child(n+7):nth-child(-n+12) { background: linear-gradient(180deg, #ff9a88, #c74e68) }
.breakout-bricks i:nth-child(n+13):nth-child(-n+18) { background: linear-gradient(180deg, #d49cff, #885cb8) }
.breakout-bricks i:nth-child(n+19) { background: linear-gradient(180deg, #9ce8d2, #379c94) }

.breakout-ball {
    position: absolute;
    right: 52px;
    bottom: 49px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff8d7;
    box-shadow: 0 0 18px #fff3b8
}

.breakout-paddle {
    position: absolute;
    bottom: 25px;
    left: 50%;
    width: 74px;
    height: 9px;
    transform: translateX(-50%);
    border-radius: 8px;
    background: #fff0b1;
    box-shadow: 0 0 16px #ffdc86aa
}

.game-card .project-body { flex: 1 }
.game-card .project-body h3 { margin-top: 25px }
.game-card .project-body p { min-height: 51px; margin-bottom: 21px }

.project-card {
    min-width: 0;
    background: var(--paper)
}

.project-featured {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.18fr .82fr
}

.project-visual {
    height: 292px;
    position: relative;
    overflow: hidden
}

.project-featured .project-visual {
    height: 410px
}

.visual-label,
.visual-footer {
    position: absolute;
    z-index: 2;
    font-size: 10px;
    font-weight: 500
}

.visual-label {
    top: 25px;
    left: 27px
}

.visual-footer {
    bottom: 24px;
    left: 27px
}

.visual-vulkan {
    background: #17221d;
    color: #e7f8a8
}

.visual-vulkan:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 53% 46%, #75913d5a, transparent 39%), repeating-linear-gradient(0deg, transparent 0 39px, #e6f3c90b 40px), repeating-linear-gradient(90deg, transparent 0 39px, #e6f3c90b 40px)
}

.vulkan-scene {
    position: absolute;
    width: 360px;
    height: 360px;
    left: 52%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-15deg)
}

.vulkan-ring {
    position: absolute;
    inset: 10%;
    border: 1px solid #bfff78aa;
    border-radius: 50%;
    transform: rotateX(66deg)
}

.ring-two {
    inset: 0;
    border-color: #bfff7844;
    transform: rotateY(66deg)
}

.vulkan-poly {
    position: absolute;
    clip-path: polygon(50% 0%, 97% 25%, 84% 84%, 50% 100%, 11% 81%, 3% 22%);
    background: linear-gradient(125deg, #e8ff74, #547b4b 60%, #223f39);
    box-shadow: 0 0 30px #b9e36e88
}

.poly-one {
    width: 165px;
    height: 205px;
    left: 99px;
    top: 74px;
    transform: rotate(22deg)
}

.poly-two {
    width: 125px;
    height: 145px;
    left: 177px;
    top: 132px;
    transform: rotate(-48deg);
    background: linear-gradient(45deg, #75a561, #24483e 60%, #d5f181)
}

.vulkan-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--acid);
    border-radius: 50%;
    left: 48px;
    top: 72px;
    box-shadow: 225px 240px 0 var(--acid), 240px 20px 0 #9dbb5b
}

.project-body {
    padding: 32px 35px 34px;
    display: flex;
    flex-direction: column
}

.project-featured .project-body {
    padding: 48px 48px 43px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #83902e;
    font-size: 10px;
    font-weight: 500
}

.project-body h3 {
    font-family: var(--font-head);
    font-size: 30px;
    letter-spacing: -.055em;
    line-height: 1.15;
    margin: 27px 0 13px
}

.project-featured .project-body h3 {
    font-size: 42px;
    margin-top: 64px
}

.project-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #657066;
    max-width: 410px;
    margin: 0 0 32px
}

.project-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 210px;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 10px;
    transition: color .2s
}

.project-link:hover {
    color: #829b1e
}

.project-link span {
    font-size: 17px
}

.visual-rl {
    background: #d7eaba;
    color: #24382b
}

.visual-rl:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #f3ffdf 2%, transparent 67%), repeating-linear-gradient(90deg, transparent 0 31px, #667b4c1b 32px), repeating-linear-gradient(0deg, transparent 0 31px, #667b4c1b 32px)
}

.rl-scene {
    position: absolute;
    inset: 0
}

.rl-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-size: 104px;
    font-weight: 700;
    letter-spacing: -.13em;
    line-height: 1
}

.rl-mark span {
    color: #92ab61
}

.rl-path {
    position: absolute;
    left: 13%;
    top: 33%;
    width: 74%;
    height: 48%;
    border: 1px dashed #637e4d;
    border-radius: 50%;
    transform: rotate(-24deg)
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #263f2f;
    box-shadow: 0 0 0 7px #dae9c2
}

.node-a {
    left: 15%;
    top: 48%
}

.node-b {
    right: 18%;
    top: 26%
}

.node-c {
    right: 14%;
    bottom: 25%
}

.node-d {
    left: 32%;
    bottom: 15%;
    background: #96b75e
}

.visual-cv {
    background: #d6dce2;
    color: #22303d
}

.visual-cv:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #bed0d0, #e7e7d9 60%, #a6baca)
}

.cv-scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center
}

.cv-frame {
    position: relative;
    width: 270px;
    height: 176px;
    border: 1px solid #314d5d70;
    border-radius: 48% 43% 44% 38%;
    transform: rotate(-14deg);
    box-shadow: 0 0 0 20px #eef4ed50, 0 0 0 21px #314d5d40
}

.cv-eye {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 115px;
    height: 115px;
    background: #69888e;
    border-radius: 50%;
    border: 12px solid #cee0d5;
    box-shadow: inset 0 0 0 17px #9bc0b7
}

.cv-pupil {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: #1c3a44;
    border-radius: 50%;
    box-shadow: inset 8px -8px 0 #0d252d
}

.cv-cross {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 21px;
    color: #2c6570
}

.cross-one {
    top: -31px;
    left: 20px
}

.cross-two {
    bottom: -24px;
    right: 13px
}

.cross-three {
    right: -41px;
    top: 22px
}

.cv-scan {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 52%;
    height: 1px;
    background: #e9ff8b;
    box-shadow: 0 0 10px 3px #dffb78;
    transform: rotate(-14deg)
}

.all-projects {
    border-top: 1px solid #c9d0c3;
    margin-top: 46px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.035em
}

.all-projects:hover {
    color: #76911d
}

.experience-section {
    background: var(--paper)
}

.experience-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 10%
}

.experience-title>p {
    max-width: 330px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
    margin: 30px 0 22px
}

.timeline {
    border-top: 1px solid var(--line)
}

.timeline-item {
    display: grid;
    grid-template-columns: 125px 1fr 17px;
    gap: 18px;
    padding: 28px 0 26px;
    border-bottom: 1px solid var(--line)
}

.timeline-date {
    color: #829424;
    font-size: 10px;
    padding-top: 5px;
    white-space: nowrap
}

.timeline-info h3 {
    font-family: var(--font-head);
    font-size: 19px;
    letter-spacing: -.04em;
    margin: 0 0 4px
}

.timeline-company {
    color: #29362a !important;
    font-size: 13px !important;
    font-weight: 700;
    margin: 0 0 12px !important
}

.timeline-info>p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    max-width: 430px
}

.timeline-arrow {
    font-size: 16px;
    color: #8ca544
}

.contact-section {
    background: #17211a;
    color: var(--paper);
    padding: 105px 0 110px;
    overflow: hidden
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 40px
}

.contact-section .section-number {
    color: var(--acid)
}

.contact-section h2 {
    font-size: clamp(62px, 6.5vw, 102px);
    line-height: 1.01;
    margin: 30px 0 24px
}

.contact-section h2 span {
    color: var(--acid)
}

.contact-section p {
    color: #adbaac;
    max-width: 555px;
    line-height: 1.65;
    font-size: 16px;
    margin: 0 0 38px
}

.contact-email {
    font-family: var(--font-head);
    font-size: clamp(19px, 2.25vw, 31px);
    font-weight: 500;
    letter-spacing: -.05em;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--acid);
    padding-bottom: 12px;
    transition: color .2s
}

.contact-email:hover {
    color: var(--acid)
}

.contact-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between
}

.contact-symbol {
    font-family: var(--font-head);
    font-size: 250px;
    line-height: .8;
    color: var(--acid);
    font-weight: 400;
    transform: rotate(-5deg);
    margin-right: 30px
}

.contact-links {
    width: min(100%, 250px)
}

.contact-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff3b;
    padding: 13px 0;
    font-size: 13px;
    font-weight: 700
}

.contact-links a:hover {
    color: var(--acid)
}

.site-footer {
    background: #111a14;
    color: #9fae9e;
    border-top: 1px solid #ffffff1a
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .03em
}

.footer-inner a:hover {
    color: var(--acid)
}

.js .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .ticker-track {
        animation: none
    }

    .button-primary {
        transition: none
    }
}

@media(max-width:1050px) {
    .container {
        width: min(100% - 48px, 1320px)
    }

    .site-nav {
        gap: 22px
    }

    .hero {
        min-height: 620px;
        padding-block: 65px;
        gap: 20px
    }

    .hero h1 {
        font-size: clamp(59px, 6.8vw, 78px)
    }

    .hero-art {
        height: 450px
    }

    .hero-meta {
        margin-top: 46px;
        flex-wrap: wrap
    }

    .project-featured .project-body h3 {
        font-size: 35px;
        margin-top: 38px
    }

    .experience-layout {
        gap: 6%
    }
}

@media(max-width:760px) {
    .container {
        width: min(100% - 36px, 1320px)
    }

    .site-header {
        height: 70px
    }

    .brand-mark {
        width: 39px;
        height: 39px
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 6px;
        z-index: 22;
        cursor: pointer
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--ink);
        transition: transform .2s
    }

    .menu-toggle[aria-expanded=true] span:first-child {
        transform: translateY(4px) rotate(45deg)
    }

    .menu-toggle[aria-expanded=true] span:last-child {
        transform: translateY(-4px) rotate(-45deg)
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        height: calc(100dvh - 70px);
        padding: 40px 18px;
        background: var(--paper);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .site-nav.is-open {
        display: flex
    }

    .site-nav>a:not(.nav-resume) {
        font-family: var(--font-head);
        font-size: 31px;
        letter-spacing: -.05em;
        border-bottom: 1px solid var(--line);
        padding: 18px 5px
    }

    .nav-resume {
        margin: 28px 0 0;
        justify-content: space-between;
        font-size: 15px
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 68px 55px;
        gap: 50px
    }

    .hero h1 {
        font-size: clamp(58px, 11.4vw, 85px);
        margin: 28px 0 23px
    }

    .hero-lede {
        font-size: 16px
    }

    .hero-actions {
        margin-top: 32px;
        gap: 19px;
        flex-wrap: wrap
    }

    .hero-meta {
        margin-top: 39px
    }

    .hero-art {
        height: 420px
    }

    .ticker {
        height: 54px
    }

    .section {
        padding-block: 83px
    }

    .section h2 {
        font-size: clamp(50px, 9vw, 68px)
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .about-content {
        padding-top: 0
    }

    .capability-grid {
        grid-template-columns: 1fr;
        margin-top: 58px
    }

    .capability {
        min-height: 215px;
        padding: 26px
    }

    .capability+.capability {
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .capability h3 {
        margin-top: 14px
    }

    .section-heading {
        display: block
    }

    .section-heading p {
        margin-top: 20px
    }

    .featured-project-heading {
        align-items: flex-start
    }

    .featured-game-grid {
        grid-template-columns: 1fr
    }

    .project-grid {
        grid-template-columns: 1fr
    }

    .project-featured {
        grid-column: auto;
        display: block
    }

    .project-featured .project-visual,
    .project-visual {
        height: 290px
    }

    .project-featured .project-body,
    .project-body {
        padding: 29px
    }

    .project-featured .project-body h3,
    .project-body h3 {
        font-size: 30px;
        margin-top: 26px
    }

    .project-body p {
        margin-bottom: 26px
    }

    .all-projects {
        font-size: 20px
    }

    .experience-layout {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .timeline-item {
        grid-template-columns: 105px 1fr 12px;
        gap: 10px
    }

    .timeline-info h3 {
        font-size: 17px
    }

    .contact-section {
        padding: 80px 0
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .contact-section h2 {
        font-size: clamp(60px, 10vw, 80px)
    }

    .contact-side {
        display: block
    }

    .contact-symbol {
        display: none
    }

    .contact-links {
        width: 100%;
        max-width: none
    }

    .footer-inner {
        flex-wrap: wrap;
        padding-block: 20px
    }

    .footer-inner span:nth-child(2) {
        display: none
    }
}

@media(max-width:430px) {
    .hero h1 {
        font-size: 55px
    }

    .hero-meta {
        gap: 9px;
        font-size: 10px
    }

    .meta-separator {
        display: none
    }

    .hero-meta span:last-child {
        width: 100%
    }

    .hero-art {
        height: 350px
    }

    .art-core {
        width: 188px;
        height: 188px
    }

    .core-letter {
        font-size: 137px;
        padding-right: 19px
    }

    .art-orbit-one {
        width: 310px;
        height: 310px
    }

    .art-float-top {
        top: 52px;
        left: 16px
    }

    .art-float-bottom {
        bottom: 55px;
        right: 10px
    }

    .project-visual,
    .project-featured .project-visual {
        height: 245px
    }

    .game-visual {
        height: 245px
    }

    .tetris-board {
        transform: translate(-50%, -50%) scale(.84)
    }

    .game-visual-tetris:hover .tetris-board {
        transform: translate(-50%, -52%) scale(.84)
    }

    .breakout-stage {
        transform: translate(-50%, -50%) scale(.86)
    }

    .game-visual-breakout:hover .breakout-stage {
        transform: translate(-50%, -52%) scale(.86)
    }

    .vulkan-scene {
        transform: translate(-50%, -50%) rotate(-15deg) scale(.75)
    }

    .timeline-item {
        grid-template-columns: 1fr 14px
    }

    .timeline-date {
        grid-column: 1/-1
    }

    .timeline-info {
        grid-row: 2
    }

    .timeline-arrow {
        grid-column: 2;
        grid-row: 2
    }

    .contact-email {
        font-size: 18px
    }
}

/* Refined project presentation and readable accent colors. */
:root {
    --muted: #5f685f;
    --olive-text: #526c33
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--olive-text);
    outline-offset: 4px
}

.contact-section a:focus-visible,
.project-link:focus-visible {
    outline-color: var(--acid)
}

.hero h1 em,
.accent-serif {
    color: var(--olive-text)
}

.section-number,
.cap-tags,
.project-meta,
.timeline-date {
    color: var(--olive-text)
}

.project-link:hover,
.all-projects:hover {
    color: var(--olive-text)
}

.ticker {
    overflow-x: auto;
    scrollbar-width: thin
}

.ticker-track {
    animation: none;
    width: 100%;
    justify-content: space-between;
    padding: 0 36px
}

.project-body p {
    margin-bottom: 18px
}

.project-featured .project-body h3 {
    margin-top: 30px
}

.project-facts {
    margin: 0 0 30px;
    border-top: 1px solid var(--line)
}

.project-facts>div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line)
}

.project-facts dt {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--olive-text)
}

.project-facts dd {
    margin: 0;
    color: #4b584f;
    font-size: 13px;
    line-height: 1.45
}

@media(max-width:760px) {
    .ticker-track {
        width: max-content;
        gap: 28px;
        padding: 0 18px
    }

    .project-featured .project-body h3 {
        margin-top: 26px
    }
}

@media(max-width:430px) {

    .project-facts>div {
        grid-template-columns: 72px 1fr;
        gap: 8px
    }
}

