:root
{
    --bg: 0 0% 4%;
    --surface: 0 0% 8%;
    --text: 0 0% 96%;
    --muted: 0 0% 53%;
    --stroke: 0 0% 12%;
    --accent: linear-gradient(90deg, #89aacc, #4e85bf);
    color: hsl(var(--text));
    background: hsl(var(--bg));
    font: 15px/1.6 Arial, sans-serif;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body
{
    margin: 0;
}
button, input
{
    font: inherit;
}
a, button
{
    color: inherit;
}
a
{
    text-decoration: none;
}
button
{
    cursor: pointer;
}
a:focus-visible, button:focus-visible
{
    outline: 2px solid #89aacc;
    outline-offset: 6px;
}
button
{
    background: none;
    border: 0;
}
em
{
    font: italic 1em Georgia, serif;
}
#loader
{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a0a;
    padding: 32px;
    display: grid;
    place-items: center;
}
#loader[hidden]
{
    display: none;
}
#loader > span
{
    position: absolute;
    top: 32px;
    left: 32px;
    color: #888;
    letter-spacing: .3em;
    font-size: 12px;
}
#loading-word
{
    font-size: clamp(40px, 6vw, 72px);
    color: #f5f5f5cc;
}
#loading-count
{
    position: absolute;
    bottom: 40px;
    right: 40px;
    font: 120px Georgia, serif;
    font-variant-numeric: tabular-nums;
}
.loading-track
{
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 3px;
    background: #1f1f1f80;
}
#loading-progress
{
    height: 100%;
    background: var(--accent);
    transform-origin: left;
    box-shadow: 0 0 8px #89aacc59;
}
.navigation
{
    position: fixed;
    z-index: 50;
    top: 24px;
    inset-inline: 16px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.nav-pill
{
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px;
    border: 1px solid #ffffff1a;
    border-radius: 100px;
    background: #141414e8;
    backdrop-filter: blur(16px);
    pointer-events: auto;
    transition: box-shadow .3s;
}
.scrolled .nav-pill
{
    box-shadow: 0 6px 20px #0005;
}
.nav-pill > a:not(.logo), .nav-pill > button
{
    border-radius: 100px;
    padding: 8px 16px;
    color: #999;
    font-size: 13px;
}
.nav-pill .active, .nav-pill > a:hover, .nav-pill > button:hover
{
    background: #222;
    color: white;
}
.nav-pill i
{
    width: 1px;
    height: 20px;
    background: #282828;
    margin: 0 4px;
}
.logo
{
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 2px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 4px;
    transition: transform .2s;
}
.logo:hover
{
    transform: scale(1.1);
    background: linear-gradient(-90deg, #89aacc, #4e85bf);
}
.logo span
{
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0a0a0a;
    font: italic 13px Georgia, serif;
}
.hero
{
    min-height: 100svh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.cosmos, .hero-shade, .footer-cosmos
{
    position: absolute;
    inset: 0;
}
.cosmos
{
    background: url("cosmos.svg") center/cover;
    animation: cosmic-drift 24s alternate ease-in-out infinite;
}
@keyframes cosmic-drift
{
    to { transform: scale(1.08) rotate(2deg); }
}
.hero-shade
{
    background: linear-gradient(#0003, #0003 65%, #0a0a0a);
}
.hero-content
{
    position: relative;
    text-align: center;
    padding: 150px 24px;
    max-width: 100%;
}
.eyebrow
{
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .3em;
    color: #888;
    margin: 0 0 28px;
}
h1
{
    font: italic clamp(60px, 10.6vw, 128px)/.9 Georgia, serif;
    letter-spacing: -.065em;
    margin: 0 0 30px;
}
.role-line
{
    margin: 0 0 24px;
    color: #c6c6c6;
    font-size: 18px;
}
#role
{
    color: white;
    display: inline-block;
    font-size: 23px;
}
.role-animation
{
    animation: role-fade-in .4s ease-out;
}
@keyframes role-fade-in
{
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.intro
{
    max-width: 430px;
    margin: 0 auto 48px;
    color: #999;
    font-size: 15px;
}
.actions
{
    display: inline-flex;
    gap: 16px;
}
.button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 13px;
    border: 2px solid #242424;
    transition: transform .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.button:hover
{
    transform: scale(1.05);
    border-color: #709cc9;
}
.solid
{
    background: #f5f5f5;
    color: #0a0a0a;
    border-color: #f5f5f5;
}
.solid:hover
{
    background: #0a0a0a;
    color: white;
}
.outline
{
    background: #0a0a0acc;
}
.scroll-hint
{
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #888;
    font-size: 10px;
    letter-spacing: .2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.scroll-hint > span
{
    width: 1px;
    height: 40px;
    background: #252525;
    overflow: hidden;
}
.scroll-hint i
{
    display: block;
    width: 100%;
    height: 20px;
    background: #aaa;
    animation: scroll-down 1.5s ease-in-out infinite;
}
@keyframes scroll-down
{
    from { transform: translateY(-100%); }
    to { transform: translateY(200%); }
}
.section
{
    max-width: 1200px;
    padding: 80px 64px;
    margin: auto;
}
.section-head
{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}
.section-head p:last-child, .pinned > p:not(.eyebrow)
{
    color: #888;
    font-size: 14px;
}
.rule
{
    display: flex;
    align-items: center;
    gap: 12px;
}
.rule::before
{
    content: "";
    width: 32px;
    height: 1px;
    background: #333;
}
h2
{
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 0 0 20px;
}
.section-head .eyebrow
{
    margin-bottom: 18px;
}
.bento
{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}
.project
{
    grid-column: span 7;
    border: 1px solid #252525;
    background: #141414;
    border-radius: 24px;
    padding: 0;
    aspect-ratio: 1.35;
    overflow: hidden;
    position: relative;
    color: white;
}
.project:nth-child(2), .project:nth-child(3)
{
    grid-column: span 5;
}
.project img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.project::after
{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background: radial-gradient(circle,#000 1px, transparent 1px) 0 0/4px 4px;
}
.project b
{
    position: absolute;
    left: 24px;
    bottom: 24px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .1em;
    text-shadow: 0 1px 5px black;
}
.project > span
{
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #0a0a0ab3;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .3s;
}
.project:hover img
{
    transform: scale(1.05);
}
.project:hover > span, .project:focus-visible > span
{
    opacity: 1;
}
.entries
{
    display: grid;
    gap: 16px;
}
.entry
{
    display: flex;
    align-items: center;
    text-align: left;
    gap: 24px;
    border: 1px solid #252525;
    background: #14141466;
    border-radius: 100px;
    padding: 16px;
    transition: background .2s;
}
.entry:hover
{
    background: #141414;
}
.entry img
{
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 60px;
}
.entry h3
{
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 6px;
}
.entry p
{
    font-size: 11px;
    color: #888;
    margin: 0;
}
.entry > span
{
    margin-left: auto;
    padding-right: 20px;
    color: #aaa;
}
.explorations
{
    position: relative;
    height: 300vh;
    overflow: clip;
}
.pinned
{
    height: 100vh;
    position: sticky;
    top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pinned .button
{
    margin-top: 20px;
}
.parallax-columns
{
    position: absolute;
    top: 25vh;
    left: 50%;
    width: min(1200px, 100%);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
    padding-inline: 24px;
    pointer-events: none;
}
.parallax-columns > div
{
    display: flex;
    flex-direction: column;
    gap: 240px;
    align-items: center;
    will-change: transform;
}
.parallax-columns > div:last-child
{
    margin-top: 350px;
}
.exploration
{
    width: min(100%, 300px);
    aspect-ratio: 1;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    pointer-events: auto;
    box-shadow: 0 20px 70px #0005;
}
.exploration img
{
    width: 100%;
    height: 100%;
}
.stats
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.stats strong
{
    font: italic 64px Georgia, serif;
    display: block;
    font-weight: 400;
}
.stats span
{
    color: #888;
    font-size: 12px;
}
footer
{
    position: relative;
    overflow: hidden;
    padding: 100px 0 32px;
}
.footer-cosmos
{
    background: linear-gradient(#0009,#0009), url("cosmos.svg") center/cover;
    transform: scaleY(-1);
    opacity: .5;
}
.marquee
{
    position: relative;
    overflow: hidden;
}
.marquee > div
{
    width: max-content;
    white-space: nowrap;
    font-size: clamp(40px, 8vw, 120px);
    letter-spacing: -.06em;
    color: #ffffff19;
    animation: marquee 40s linear infinite;
}
@keyframes marquee
{
    to { transform: translateX(-50%); }
}
.contact-inner
{
    position: relative;
    max-width: 1200px;
    margin: auto;
    padding: 64px 64px 0;
    text-align: center;
}
.contact-inner h2
{
    font-size: clamp(40px, 6vw, 72px);
}
.contact-inner > .button
{
    margin: 20px 0 90px;
}
.footer-bar
{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid #ffffff1a;
    padding-top: 28px;
    font-size: 12px;
    color: #999;
}
.footer-bar > div
{
    display: flex;
    gap: 24px;
}
.available
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.available i
{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #83b69a;
    box-shadow: 0 0 8px #83b69a88;
}
.reveal.seen
{
    animation: reveal .8s both;
}
@keyframes reveal
{
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
body.ready .name-reveal
{
    animation: name 1.2s .1s both cubic-bezier(.16,1,.3,1);
}
body.ready .blur-in
{
    animation: blur-in 1s .3s both;
}
@keyframes name
{
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes blur-in
{
    from { opacity: 0; filter: blur(10px); transform: translateY(20px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
dialog
{
    margin: auto;
    padding: 36px;
    width: min(760px, calc(100% - 32px));
    max-height: 85vh;
    background: #141414;
    color: #eee;
    border: 1px solid #333;
    border-radius: 24px;
}
dialog::backdrop
{
    background: #000c;
    backdrop-filter: blur(10px);
}
dialog img
{
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 12px;
    margin: 20px 0;
}
.close
{
    float: right;
    font-size: 26px;
}
#detail-copy p
{
    color: #aaa;
}
#lightbox > div
{
    display: flex;
    justify-content: space-between;
}
#lightbox > div button
{
    border: 1px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
@media (max-width: 767px)
{
    .navigation { top: 16px; }
    .nav-pill > a:not(.logo), .nav-pill > button { padding: 7px 12px; font-size: 12px; }
    .nav-pill i { display: none; }
    .hero-content { padding-inline: 24px; }
    h1 { font-size: 68px; max-width: 340px; margin-inline: auto; }
    .eyebrow { font-size: 10px; }
    .role-line { font-size: 15px; }
    #role { font-size: 20px; }
    .intro { font-size: 13px; max-width: 300px; }
    .actions { gap: 12px; }
    .button { padding: 12px 24px; font-size: 12px; }
    .section { padding: 64px 24px; }
    .section-head { gap: 16px; }
    .section-head > button { display: none; }
    .bento { grid-template-columns: 1fr; gap: 20px; }
    .project, .project:nth-child(2), .project:nth-child(3) { grid-column: auto; aspect-ratio: 1.2; }
    .entry { gap: 16px; border-radius: 40px; }
    .entry img { width: 66px; height: 66px; }
    .entry h3 { font-size: 15px; line-height: 1.4; }
    .entry > span { display: none; }
    .entry p { font-size: 10px; }
    .parallax-columns { gap: 48px; padding-inline: 16px; }
    .parallax-columns > div { gap: 400px; }
    .parallax-columns > div:last-child { margin-top: 550px; }
    .pinned { padding-inline: 24px; }
    .exploration { max-width: 150px; }
    .stats { padding: 48px 16px; gap: 12px; }
    .stats strong { font-size: 44px; }
    .stats span { font-size: 9px; }
    .contact-inner { padding: 50px 24px 0; }
    .footer-bar { flex-direction: column; align-items: center; gap: 24px; }
    .footer-bar > div { gap: 18px; font-size: 11px; }
    #loading-count { font-size: 80px; right: 24px; }
}
@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    .cosmos, .scroll-hint i, .marquee > div, .role-animation, .reveal.seen, body.ready .name-reveal, body.ready .blur-in { animation: none; }
}
