:root {
    --bg: #090b0a;
    --panel: #f4f2ee;
    --ink: #0a0c0b;
    --muted: #696f6a;
    --accent: #eaff00;
    --max: 1480px;
    --radius: 8px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --mx: 50vw;
    --my: 40vh;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at 18% 10%, rgba(234, 255, 0, 0.08), transparent 24rem),
        linear-gradient(180deg, #090b0a 0%, #0e100f 42%, #090b0a 100%);
    color: var(--panel);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, black, transparent 80%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(234, 255, 0, .08), transparent 18rem);
    opacity: .75;
    transition: opacity .3s var(--ease);
}

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

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

strong {
    color: var(--ink);
    font-weight: 850;
}

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

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader .item {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
}

#dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 26px rgba(234, 255, 0, .8);
}

#ring {
    position: absolute;
    inset: 35px;
    border: 1px solid rgba(234, 255, 0, .42);
    border-radius: 50%;
    animation: pulse 1.2s var(--ease) infinite;
}

#move {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    animation: orbit 1.25s ease-in-out infinite alternate;
}

#rotate {
    position: absolute;
    inset: 16px;
    animation: rotate 9s linear infinite;
}

#loading {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: rgba(244, 242, 238, .72);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .16em;
    text-align: center;
}

@keyframes pulse {
    from { transform: scale(.45); opacity: 1; }
    to { transform: scale(1.35); opacity: 0; }
}

@keyframes orbit {
    from { transform: translateY(-42px) scale(.85); }
    to { transform: translateY(42px) scale(1.15); }
}

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

.site-header,
#fullscreen {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 100;
    display: block;
    height: auto;
    color: var(--panel);
    transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.site-header.is-scrolled {
    transform: translateY(-4px);
}

#full,
.content,
.footer-margin {
    width: min(calc(100% - 64px), var(--max));
    margin-inline: auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(244, 242, 238, .14);
    border-radius: 999px;
    background: rgba(9, 11, 10, .66);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.brand,
header .logo > a {
    color: var(--panel);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    border: 0;
}

.brand::after {
    content: " /";
    color: var(--accent);
}

.hehe {
    position: static;
}

.bigbig {
    display: flex;
    align-items: center;
    gap: 6px;
}

ul.bigbig li,
header li {
    display: block;
    float: none;
    margin: 0;
    list-style: none;
}

ul.bigbig li > a,
header li > a {
    display: block;
    padding: 10px 13px;
    border: 0;
    border-radius: 999px;
    color: rgba(244, 242, 238, .72);
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    text-transform: none;
    transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

ul.bigbig li > a:hover,
header li > a:hover {
    color: var(--ink);
    background: var(--accent);
    transform: translateY(-1px);
}

.content {
    position: relative;
    z-index: 1;
    padding-top: 136px;
}

.text-intro,
.content .text-intro {
    width: 100%;
    margin: 0 auto;
}

.hero {
    min-height: calc(100svh - 136px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 56px;
    padding-bottom: 54px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .52fr);
    gap: 44px;
    align-items: end;
}

.hero h1,
.content .text-intro h1 {
    width: auto;
    max-width: 920px;
    margin: 0;
    color: var(--panel);
    font-size: clamp(54px, 9vw, 132px);
    font-weight: 900;
    line-height: .88;
    letter-spacing: 0;
    text-transform: none;
    transform-origin: 0 100%;
}

.hero-panel {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--ink);
}

.hero-panel p,
.content .text-intro .hero-panel p {
    width: auto;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.55;
}

.hero-panel p:last-of-type {
    margin-bottom: 0;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-links a,
.about-connect,
.two-column a,
.prev-next a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(10, 12, 11, .16);
    border-radius: 999px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.skill-list li {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(10, 12, 11, .14);
    border-radius: 999px;
    color: #242824;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.hero-links a:hover,
.about-connect:hover,
.two-column a:hover,
.prev-next a:hover {
    background: var(--ink);
    color: var(--panel);
    transform: translateY(-1px);
}

.hero-marquee {
    display: flex;
    gap: 12px;
    overflow: hidden;
    color: rgba(244, 242, 238, .15);
    font-size: clamp(44px, 10vw, 148px);
    font-weight: 900;
    line-height: .85;
    white-space: nowrap;
    text-transform: uppercase;
}

.hero-marquee span {
    animation: marquee 16s linear infinite;
}

@keyframes marquee {
    to { transform: translateX(-100%); }
}

.about-section {
    display: grid;
    grid-template-columns: minmax(220px, .42fr) minmax(0, .88fr);
    gap: 54px;
    margin-top: 38px;
    padding: 56px;
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--ink);
}

.one-column,
.two-column {
    float: none;
    width: auto;
    position: relative;
}

.about-brief,
.content .text-intro .about-brief {
    width: auto;
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.role {
    margin: 10px 0 24px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
}

.slash {
    color: var(--muted);
    margin: 0 6px;
}

.two-column p,
.content .text-intro .two-column p {
    width: auto;
    margin: 0 0 20px;
    color: #2b302c;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(17px, 1.55vw, 23px);
    font-weight: 650;
    line-height: 1.34;
    letter-spacing: 0;
}

.two-column p:last-child {
    margin-bottom: 0;
}

.two-column a {
    min-height: 0;
    padding: 2px 8px;
    border-color: rgba(10, 12, 11, .12);
    background: rgba(234, 255, 0, .62);
}

.work-section {
    margin-top: 0;
    padding-top: 190px;
    scroll-margin-top: 120px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    padding-top: 18px;
}

.work-copy {
    max-width: 520px;
    margin: 14px 0 0;
    color: rgba(244, 242, 238, .68);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.45;
}

.section-heading h2 {
    margin: 0;
    color: var(--panel);
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 900;
    line-height: .9;
}

.portfolio-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 22px;
    margin: 0;
    align-items: start;
    overflow: visible;
}

li.grid-item {
    position: relative;
    float: none;
    grid-column: auto;
    width: auto;
    margin: 0;
    padding: 0;
    opacity: 1;
    list-style: none;
}

li.grid-item a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .35s var(--ease);
}

li.grid-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 0;
    object-fit: cover;
    border: 1px solid rgba(244, 242, 238, .12);
    border-radius: var(--radius);
    background: #101211;
    filter: saturate(1) contrast(1.01);
    transform: scale(1);
    opacity: 1;
    transition: transform .65s var(--ease), filter .65s var(--ease), border-color .35s var(--ease);
}

.grid-hover {
    position: static;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 9px 10px;
    width: auto;
    height: auto;
    padding: 0 2px;
    background: transparent;
    opacity: 1;
    transition: transform .35s var(--ease);
}

.grid-hover::after {
    content: "View";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(244, 242, 238, .18);
    border-radius: 999px;
    color: rgba(244, 242, 238, .72);
    font-size: 11px;
    font-weight: 850;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.grid-hover span,
.grid-hover p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--accent);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.grid-hover h3,
.grid-hover h1 {
    grid-column: 1;
    margin: 0;
    color: var(--panel);
    font-size: clamp(22px, 2.15vw, 34px) !important;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
}

li.grid-item a:hover img {
    transform: scale(.99);
    filter: saturate(1.08) contrast(1.03);
    border-color: rgba(234, 255, 0, .48);
}

li.grid-item a:hover .grid-hover {
    transform: translateY(-2px);
}

li.grid-item a:hover .grid-hover::after {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent);
    color: var(--ink);
}

li.grid-item a:hover {
    transform: translateY(-6px);
}

.prev-next {
    width: 100%;
    max-width: var(--max);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 48px auto 0;
    padding-top: 0;
}

.prev-button,
.next-button {
    width: auto;
    float: none;
    text-align: inherit;
}

body.port .content,
body:not(.home-page) .content {
    padding-top: 130px;
}

body.port .text-intro img,
body:not(.home-page) .text-intro > img {
    width: 100%;
    margin: 0 auto 18px;
    border-radius: var(--radius);
}

#showcase {
    width: min(100%, 1040px);
}

.project-page .content {
    padding-top: 142px;
}

.project-content {
    width: min(calc(100% - 64px), var(--max));
}

.project-hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .54fr);
    gap: 54px;
    align-items: end;
    padding: 54px 0 48px;
}

.project-hero h1 {
    max-width: 980px;
    margin: 18px 0 0;
    color: var(--panel);
    font-size: clamp(56px, 8vw, 118px);
    font-weight: 900;
    line-height: .88;
    letter-spacing: 0;
}

.project-lede,
.content .text-intro .project-lede {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(244, 242, 238, .78);
    font-size: clamp(17px, 1.28vw, 22px);
    font-weight: 650;
    line-height: 1.35;
}

.project-summary {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--ink);
}

.project-summary p,
.project-text p,
.project-board figcaption {
    margin: 0;
    color: #2b302c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.48;
}

.project-meta {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
}

.project-meta div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(10, 12, 11, .12);
}

.project-meta dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.project-meta dd {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.project-cover,
.project-board {
    margin: 0;
}

.project-cover {
    overflow: hidden;
    border-radius: var(--radius);
    background: #050605;
}

.project-cover img {
    width: calc(100% + 4px);
    max-width: none;
    margin: -2px -2px -3px;
}

.project-section {
    display: grid;
    grid-template-columns: minmax(240px, .44fr) minmax(0, .9fr);
    gap: 70px;
    margin-top: 124px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 242, 238, .14);
}

.project-section h2 {
    max-width: 540px;
    margin: 12px 0 0;
    color: var(--panel);
    font-size: clamp(28px, 3.05vw, 50px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: 0;
}

.project-text {
    display: grid;
    gap: 28px;
}

.project-section .project-text > p {
    color: rgba(244, 242, 238, .72);
    font-size: clamp(16px, 1.12vw, 19px);
    font-weight: 500;
    line-height: 1.56;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.problem-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(244, 242, 238, .14);
    border-radius: var(--radius);
    background: rgba(244, 242, 238, .06);
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 255, 0, .48);
    background: rgba(244, 242, 238, .09);
}

.problem-card span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.problem-card h3 {
    margin: 42px 0 12px;
    color: var(--panel);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.08;
}

.problem-card p {
    color: rgba(244, 242, 238, .62);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
}

.project-board {
    overflow: hidden;
    border-radius: var(--radius);
    background: #050605;
}

.project-board img {
    width: calc(100% + 4px);
    max-width: none;
    margin: -2px -2px -3px;
}

.project-board figcaption {
    padding: 14px 16px 16px;
    color: rgba(244, 242, 238, .62);
    font-size: 13px;
}

.project-points {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-points li {
    position: relative;
    padding-left: 20px;
    color: rgba(244, 242, 238, .72);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.project-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.project-next {
    margin-top: 64px;
}

footer {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin-top: 110px;
    padding: 44px 0;
    overflow: hidden;
    background: #050605;
    color: var(--panel);
}

.footer-margin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    line-height: 1;
}

.footer-margin p {
    margin: 0;
    max-width: 560px;
    color: rgba(244, 242, 238, .76);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.35;
    text-align: left;
}

.footer-margin .social-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    float: none;
    font-size: 13px;
    letter-spacing: 0;
    text-align: right;
}

.footer-margin .social-footer a,
.footer-margin p a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(244, 242, 238, .16);
    border-radius: 999px;
    color: var(--panel);
    font-size: 12px;
    font-weight: 800;
}

.footer-margin .social-footer a:hover,
.footer-margin p a:hover {
    background: var(--accent);
    color: var(--ink);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-item.reveal:nth-child(2n) {
    transition-delay: .08s;
}

.grid-item.reveal:nth-child(3n) {
    transition-delay: .16s;
}

.clear,
.opacity-nav,
.menu-index,
canvas,
.fa {
    display: none;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
