@font-face { font-family: Manrope; src: url("assets/fonts/manrope.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: Barlow; src: url("assets/fonts/barlow-condensed.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root { color-scheme: dark; --blue: #1538ed; --white: #f2f1e9; --ink: #11120f; --side: clamp(22px, 4vw, 72px); --sans: Manrope, Arial, sans-serif; --display: Barlow, Impact, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--ink); color: var(--white); font: 500 16px/1.6 var(--sans); }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
::selection { background: #e3ff78; color: var(--ink); }
:focus-visible { outline: 2px solid #daff64; outline-offset: 5px; }
.inset { padding-inline: var(--side); }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 20px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: absolute; inset: 0 0 auto; z-index: 10; padding: 19px var(--side); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { font-size: 27px; font-weight: 800; letter-spacing: -.075em; line-height: 1; }
.logo > span { display: inline-block; font-size: 9px; letter-spacing: 0; vertical-align: top; padding: 4px 0 0 4px; }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 700; }
.header nav > a, .header nav > button { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; }
.header nav a:hover, .header nav button:hover { text-decoration: underline; text-underline-offset: 5px; }
.header button { padding: 0; background: none; border: 0; font-size: 11px; }
.header-github { border: 1px solid #ffffff55; padding: 0 14px; border-radius: 2px; background: #ffffff08; backdrop-filter: blur(15px); }
.hero { height: 180svh; background: var(--blue); }
.hero-stage { min-height: 700px; height: 100svh; position: sticky; top: 0; isolation: isolate; overflow: clip; background: var(--blue); perspective: 1400px; }
.hero-wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 57% 48%, #7098ff64, transparent 60%), linear-gradient(125deg, #00000010, transparent 40%, #05044730); }
.hero-caption { position: absolute; top: 94px; left: var(--side); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }
.hero h1 { position: absolute; inset: 15% var(--side) auto; text-align: center; font: 800 clamp(100px, 23vw, 410px)/.77 var(--display); letter-spacing: -.025em; pointer-events: none; }
.hero-first, .hero-second { display: block; white-space: nowrap; }
.hero-first { font-size: 1.37em; letter-spacing: -.03em; transform: translate3d(calc(var(--progress, 0) * -15vw), calc(var(--progress, 0) * -12vh), 0); }
.hero-second { margin-top: .16em; transform: translate3d(calc(var(--progress, 0) * 18vw), calc(var(--progress, 0) * 8vh), 0); }
.stop { color: #d9ff78; }
.jet { position: absolute; z-index: 2; top: 48%; left: 52%; width: min(78vw, 1330px); max-width: none; height: auto; transform: translate(-50%, -50%) rotate(-16deg); filter: grayscale(1) contrast(1.08) drop-shadow(0 35px 28px #03127180); pointer-events: none; }
.jet-shadow { position: absolute; z-index: 1; top: 40%; left: 22%; width: 60%; height: 27%; background: #09156d55; filter: blur(30px); border-radius: 50%; transform: rotate(-20deg); }
.hero-bottom { position: absolute; z-index: 4; inset: auto var(--side) 25px; display: flex; justify-content: space-between; align-items: end; gap: 25px; border-top: 1px solid #ffffff40; padding-top: 16px; }
.hero-bottom p { max-width: 280px; font-size: 12px; line-height: 1.6; }
.explore { display: inline-flex; gap: 20px; align-items: center; font-size: 12px; }
.circle-arrow { display: grid; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; width: 45px; height: 45px; font-size: 22px; transition: color .25s, background .25s; }
.explore:hover .circle-arrow { background: var(--white); color: var(--blue); }
.work { background: var(--ink); }
.work-heading { padding-block: 68px 35px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.work-heading h2, .more h2, .about h2 { font: 800 clamp(44px, 6vw, 100px)/.9 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.work-heading > p { color: #c2c2b8; font-size: 12px; }
.project { display: grid; grid-template-columns: 1.7fr 1fr; border-top: 1px solid #f2f1e92b; min-height: min(72vw, 740px); }
.project-visual { position: relative; overflow: hidden; isolation: isolate; min-width: 0; min-height: 560px; }
.project-visual > img { height: 100%; object-fit: cover; transform: scale(1.05); }
.project-visual::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, #0001 30%, #0008); pointer-events: none; }
.image-note { position: absolute; z-index: 4; top: 23px; left: 25px; font-size: 10px; color: #fff; text-shadow: 0 1px 4px #000; }
a.image-note:hover { text-decoration: underline; }
.project-word { position: absolute; z-index: 2; bottom: -0.01em; left: 2%; font: 800 clamp(100px, 16.5vw, 270px)/.84 var(--display); letter-spacing: -.035em; color: var(--white); opacity: .94; pointer-events: none; }
.project-info { display: flex; flex-direction: column; justify-content: center; padding-block: 58px; min-width: 0; }
.project-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; border-bottom: 1px solid #ffffff40; padding-bottom: 15px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.project-info h3 { font: 800 clamp(48px, 5.7vw, 98px)/.91 var(--display); letter-spacing: -.025em; margin-block: 36px 19px; }
.project-info > p { max-width: 360px; font-size: 14px; color: #d6d6ca; }
.project-info .technology { margin-top: 24px; font-size: 10px; color: #aaa99e; }
.repo-link { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #ffffff80; padding-block: 8px; font-size: 12px; max-width: 360px; }
.repo-link:hover { color: #d9ff78; border-color: #d9ff78; }
.repo-link > span:last-child { font-size: 25px; }
.project-tm { grid-template-columns: 1fr 1.7fr; }
.project-tm .project-visual { grid-column: 2; grid-row: 1; }
.project-tm .project-info { grid-column: 1; grid-row: 1; }
.project-gpu { background: #e5e5e1; color: var(--ink); }
.project-gpu .project-visual { display: grid; align-items: center; background: #e9e9e7; }
.project-gpu .project-visual::after { display: none; }
.project-gpu .project-visual > img { mix-blend-mode: multiply; position: relative; z-index: 2; height: auto; width: 85%; margin: auto; transform: rotate(-9deg); }
.gpu-word { position: absolute; top: 10%; left: 3%; color: #c3c5be; font: 800 clamp(100px, 16.5vw, 270px)/.84 var(--display); letter-spacing: -.04em; }
.project-gpu .project-info > p { color: #474a42; }
.project-gpu .project-meta { border-color: #22242055; }
.project-gpu .image-note { top: auto; bottom: 20px; color: #53564e; text-shadow: none; }
.project-gpu .repo-link { border-color: #22242080; }
.project-gpu .repo-link:hover { color: #1338ed; border-color: #1338ed; }
.more { padding-block: 95px 110px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.repo-list { border-top: 1px solid #f2f1e940; }
.repo-list a { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #f2f1e940; padding: 17px 0; font-size: clamp(16px, 2vw, 30px); letter-spacing: -.04em; }
.repo-list a:hover { color: #d9ff78; }
.about { background: #d9ff78; color: var(--ink); padding-block: 85px 100px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.about-copy > p { max-width: 580px; font-size: clamp(18px, 2.2vw, 31px); letter-spacing: -.04em; line-height: 1.45; }
.music { margin-top: 30px; padding-top: 18px; border-top: 1px solid #22242040; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 11px; }
.music > span { opacity: .7; }
.music a:hover { text-decoration: underline; }
.footer { padding-block: 75px 28px; background: var(--blue); }
.footer-link { display: flex; justify-content: space-between; gap: 20px; align-items: start; font: 800 clamp(70px, 16vw, 260px)/.84 var(--display); letter-spacing: -.025em; }
.footer-link > span { font: 500 .35em var(--sans); transition: transform .3s; }
.footer-link:hover > span { transform: translate(7px, -7px); }
.footer-bottom { border-top: 1px solid #ffffff50; margin-top: 65px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; }
@media (max-width: 1000px) {
 .hero h1 { top: 20%; }
 .project { grid-template-columns: 1.3fr 1fr; }
 .project-tm { grid-template-columns: 1fr 1.3fr; }
 .project-visual { min-height: 480px; }
}
@media (max-width: 660px) {
 html { scroll-padding-top: 20px; }
 .header { padding-top: 13px; }
 .logo { font-size: 23px; }
 .header nav { gap: 13px; font-size: 10px; }
 .header-github { padding-inline: 8px; }
 .hero { height: 150svh; }
 .hero-stage { min-height: 640px; }
 .hero-caption { top: 92px; font-size: 9px; }
 .hero h1 { inset: 26% 14px auto; font-size: 23vw; }
 .hero-first { font-size: 1.5em; }
 .hero-second { margin-top: .34em; }
 .jet { width: 124vw; left: 49%; top: 47%; transform: translate(-50%, -50%) rotate(-21deg); }
 .jet-shadow { left: 0; width: 90%; }
 .hero-bottom { bottom: 21px; align-items: start; }
 .hero-bottom p { max-width: 175px; font-size: 10px; }
 .explore { flex-direction: column-reverse; align-items: end; gap: 6px; font-size: 10px; text-align: right; }
 .circle-arrow { height: 36px; width: 36px; font-size: 18px; }
 .work-heading { padding-block: 48px 23px; flex-direction: column; align-items: start; gap: 10px; }
 .project, .project-tm { grid-template-columns: 1fr; }
 .project .project-visual, .project .project-info { grid-column: 1; grid-row: auto; }
 .project-visual { min-height: 0; height: 73vw; }
 .project-word { font-size: 26vw; }
 .project-info { padding-block: 30px 42px; }
 .project-info h3 { font-size: 63px; margin-top: 27px; }
 .project-info > p { max-width: 100%; }
 .project-gpu .project-visual { height: 82vw; }
 .gpu-word { font-size: 26vw; }
 .more, .about { grid-template-columns: 1fr; padding-block: 55px 65px; gap: 28px; }
 .footer { padding-top: 45px; }
 .footer-link { font-size: 19vw; }
 .footer-bottom { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
 .hero { height: auto; }
 .hero-stage { position: relative; }
}
html:not(.motion-ready) .hero { height: auto; }
.error { min-height: 100svh; padding-top: 180px; background: var(--blue); }
.error h1 { font: 800 clamp(130px, 30vw, 350px)/.8 var(--display); }
.error p { margin-top: 30px; }
.error .repo-link { max-width: 250px; }
@media (max-width: 380px) {
 .header .header-github { display: none; }
 .header nav { gap: 12px; font-size: 10px; }
 .hero-bottom p { max-width: 155px; }
}
