@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
    --ink: #0a0c0f;
    --ink-soft: #11151a;
    --paper: #f3f1ea;
    --white: #fff;
    --muted: #8e969f;
    --line: rgba(255, 255, 255, .12);
    --dark-line: rgba(10, 12, 15, .14);
    --lime: #c8ff3d;
    --violet: #a897ff;
    --cyan: #63e6ff;
    --shell: 1240px;
    --ease: cubic-bezier(.2, .75, .2, 1);
}

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

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--ink);
    color: var(--white);
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

main,
header,
footer,
section {
    max-width: 100%;
}

body.menu-open {
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

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

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

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.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;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(168, 151, 255, .07);
    filter: blur(10px);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    transition: opacity .3s;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, transform .35s;
}

.site-header.scrolled {
    background: rgba(10, 12, 15, .82);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 44px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 700 14px Syne, sans-serif;
    letter-spacing: -2px;
    transform: rotate(-8deg);
    transition: transform .4s var(--ease), background .3s, color .3s;
}

.brand:hover .brand-mark {
    transform: rotate(352deg);
    background: var(--lime);
    color: var(--ink);
}

.brand-mark span {
    color: var(--lime);
}

.brand:hover .brand-mark span {
    color: inherit;
}

.brand-copy {
    font: 700 15px/1 Syne, sans-serif;
    letter-spacing: -.3px;
}

.brand-copy small {
    display: block;
    color: var(--muted);
    font: 500 9px/1.8 DM Mono, monospace;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav a {
    position: relative;
    color: #bac0c6;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s;
}

.nav a span {
    color: var(--lime);
    font: 400 9px DM Mono, monospace;
    margin-right: 5px;
    opacity: .75;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 1px;
    background: var(--lime);
    transition: right .3s var(--ease);
}

.nav a:hover,
.nav a.active {
    color: white;
}

.nav a:hover::after,
.nav a.active::after {
    right: 0;
}

.header-cta {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s var(--ease);
}

.header-cta span {
    color: var(--lime);
    margin-left: 6px;
}

.header-cta:hover {
    background: white;
    color: var(--ink);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px 9px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    margin: 7px 0;
    background: white;
    transition: transform .3s, margin .3s;
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg);
    margin: 12px 0 -8px;
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg);
}

.nav-overlay {
    display: none;
}

/* Hero */
.hero {
    min-height: 790px;
    height: 100vh;
    max-height: 980px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
    padding-top: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 8%;
    left: 52%;
    width: 52vw;
    height: 52vw;
    max-width: 720px;
    max-height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 151, 255, .12), transparent 67%);
    animation: breathe 7s ease-in-out infinite;
}

.eyebrow,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aeb4bb;
    font: 500 10px DM Mono, monospace;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b929a;
    box-shadow: 0 0 0 5px rgba(139, 146, 154, .12);
    animation: pulse 2s infinite;
}

.hero h1,
.display-title,
.section-heading h2,
.projects-heading h2,
.contact-copy h2 {
    margin: 25px 0;
    font: 700 clamp(54px, 6.5vw, 98px)/.92 Syne, sans-serif;
    letter-spacing: -.065em;
}

.hero h1 em,
.display-title em,
.section-heading h2 em,
.projects-heading h2 em,
.contact-copy h2 em {
    color: var(--lime);
    font-style: normal;
}

.outline-word {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .7);
}

.hero-intro {
    max-width: 590px;
    color: #aeb4bb;
    font-size: clamp(15px, 1.4vw, 18px);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 14px 19px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform .3s var(--ease), box-shadow .3s;
}

.button-primary {
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 0 0 rgba(200, 255, 61, 0);
}

.button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 40px rgba(200, 255, 61, .18);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .25s, gap .3s;
}

.text-link span {
    color: var(--lime);
}

.text-link:hover {
    gap: 15px;
    border-color: var(--lime);
}

.hero-visual {
    height: 490px;
    position: relative;
    display: grid;
    place-items: center;
    perspective: 900px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.orbit-one {
    width: 430px;
    height: 430px;
    animation: spin 20s linear infinite;
}

.orbit-one::before {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--lime);
    border-radius: 50%;
    top: 47px;
    left: 55px;
    box-shadow: 0 0 18px var(--lime);
}

.orbit-two {
    width: 330px;
    height: 330px;
    border-style: dashed;
    animation: spin 28s linear infinite reverse;
}

.visual-card {
    position: relative;
    z-index: 2;
    width: min(370px, 85%);
    background: rgba(19, 23, 29, .82);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .5);
    backdrop-filter: blur(16px);
    transform: rotateY(-7deg) rotateX(4deg);
    animation: cardFloat 5s ease-in-out infinite;
    overflow: hidden;
}

.window-bar {
    height: 39px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid var(--line);
    color: #737b85;
    font: 9px DM Mono, monospace;
}

.window-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a5058;
}

.window-bar i:first-child {
    background: #ff6d6d;
}

.window-bar i:nth-child(2) {
    background: #ffd66d;
}

.window-bar i:nth-child(3) {
    background: var(--lime);
}

.window-bar span {
    margin-left: auto;
}

.code-card pre {
    margin: 0;
    padding: 37px 32px 41px;
    color: #ced3da;
    font: 13px/1.85 DM Mono, monospace;
}

.code-purple {
    color: var(--violet);
}

.code-green {
    color: var(--lime);
}

.code-caret {
    color: var(--lime);
    animation: blink 1s steps(1) infinite;
}

.floating-tag {
    position: absolute;
    z-index: 4;
    width: 74px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ink);
    font: 700 13px Syne;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .3);
}

.floating-tag span {
    font: 10px DM Mono;
}

.tag-one {
    top: 35px;
    right: 20px;
    background: var(--lime);
    animation: floatA 4s ease-in-out infinite;
}

.tag-two {
    bottom: 38px;
    left: 8px;
    background: var(--violet);
    animation: floatA 5s .6s ease-in-out infinite reverse;
}

.tag-three {
    top: 78px;
    left: 8px;
    width: 53px;
    height: 53px;
    background: var(--cyan);
    animation: floatA 4.5s 1s ease-in-out infinite;
}

.visual-caption {
    position: absolute;
    right: 0;
    bottom: 5px;
    color: #777f88;
    font: 9px/1.6 DM Mono, monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    left: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #697079;
    font: 9px DM Mono;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transform: rotate(-90deg) translateX(100%);
    transform-origin: left bottom;
}

.scroll-cue i {
    display: block;
    width: 55px;
    height: 1px;
    background: #464b51;
    position: relative;
    overflow: hidden;
}

.scroll-cue i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lime);
    transform: translateX(-100%);
    animation: scrollLine 2s infinite;
}

/* Stats and sections */
.stats-strip {
    border-block: 1px solid var(--line);
    background: #0c0f13;
}

.stats-inner {
    min-height: 160px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.25fr;
    align-items: center;
}

.stat {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 25px;
    border-right: 1px solid var(--line);
}

.stat+.stat {
    padding-left: 28px;
}

.stat strong {
    font: 700 45px/1 Syne;
    letter-spacing: -.05em;
}

.stat strong::after {
    content: '+';
    color: var(--lime);
    font-size: 19px;
    vertical-align: top;
}

.stat span {
    color: #747c85;
    font: 9px/1.5 DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
    max-width: 70px;
}

.stats-note {
    margin: 0;
    padding-left: 50px;
    color: #b8bec4;
    font: 600 15px/1.5 Syne;
}

.section {
    padding-block: 150px;
}

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

.section-kicker::after {
    content: '';
    width: 38px;
    height: 1px;
    background: currentColor;
    opacity: .3;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 53px;
}

.display-title {
    font-size: clamp(55px, 6vw, 88px);
    margin: 0;
}

.about-copy {
    padding-top: 8px;
    max-width: 530px;
}

.about-copy p {
    color: #9299a2;
    font-size: 15px;
}

.about-copy .lead {
    margin-top: 0;
    color: white;
    font: 500 clamp(20px, 2vw, 28px)/1.45 Syne;
    letter-spacing: -.025em;
}

.about-copy .text-link {
    margin-top: 25px;
}

.expertise-section {
    padding-top: 70px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(48px, 5vw, 75px);
    text-align: right;
}

.section-heading .section-kicker {
    align-self: flex-start;
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: 65px 90px 1fr 50px;
    gap: 24px;
    align-items: center;
    min-height: 175px;
    padding: 28px 10px;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding .35s var(--ease), background .35s;
    transform-style: preserve-3d;
}

.service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lime);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .35s var(--ease);
    z-index: -1;
}

.service-row:hover::before {
    transform: scaleY(1);
}

.service-row:hover {
    color: var(--ink);
    padding-inline: 28px;
}

.service-number {
    color: #626a73;
    font: 10px DM Mono;
}

.service-icon {
    width: 70px;
    height: 70px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--lime);
    font: 500 17px DM Mono;
    transition: .3s;
}

.service-row:hover .service-icon {
    border-color: rgba(10, 12, 15, .3);
    color: var(--ink);
    transform: rotate(10deg);
}

.service-row h3 {
    margin: 0 0 8px;
    font: 600 clamp(21px, 2.2vw, 30px) Syne;
    letter-spacing: -.03em;
}

.service-row p {
    max-width: 600px;
    margin: 0;
    color: #808892;
    font-size: 13px;
}

.service-row:hover p,
.service-row:hover .service-number {
    color: rgba(10, 12, 15, .65);
}

.service-arrow {
    font-size: 24px;
    transition: transform .3s;
}

.service-row:hover .service-arrow {
    transform: rotate(45deg);
}

/* Marquee */
.marquee {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    border-block: 1px solid var(--dark-line);
    background: var(--lime);
    color: var(--ink);
    transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 24s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 0 0 auto;
    min-width: 100vw;
    gap: 30px;
    padding-right: 30px;
}

.marquee span {
    font: 700 22px Syne;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee i {
    font-style: normal;
    font-size: 13px;
}

/* Projects */
.projects-section {
    background: var(--paper);
    color: var(--ink);
    max-width: none;
    width: 100%;
    padding-inline: max(24px, calc((100vw - var(--shell))/2));
    padding-bottom: 170px;
}

.projects-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.projects-heading h2 {
    margin: 25px 0 0;
    font-size: clamp(50px, 5vw, 75px);
}

.projects-heading h2 em {
    color: #735fff;
}

.projects-heading .section-kicker {
    color: #62676c;
}

.projects-heading .section-kicker span {
    color: #735fff;
}

.projects-heading>p {
    max-width: 390px;
    color: #666b70;
    font-size: 14px;
}

.project-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 60px 0 28px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons button {
    border: 1px solid var(--dark-line);
    border-radius: 99px;
    background: transparent;
    color: #555b60;
    padding: 9px 14px;
    font-size: 11px;
    cursor: pointer;
    transition: .25s;
}

.filter-buttons button span {
    opacity: .55;
    margin-left: 5px;
}

.filter-buttons button:hover,
.filter-buttons button.active {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
    transform: translateY(-2px);
}

.project-search {
    position: relative;
}

.project-search input {
    width: 190px;
    padding: 10px 35px 10px 0;
    border: 0;
    border-bottom: 1px solid var(--dark-line);
    border-radius: 0;
    background: transparent;
    outline: 0;
    font-size: 12px;
}

.project-search input:focus {
    border-color: var(--ink);
}

.project-search b {
    position: absolute;
    right: 5px;
    top: 8px;
    font: 19px/1 sans-serif;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 65px 26px;
}

.project-card {
    grid-column: span 6;
    min-width: 0;
    transition: opacity .25s, transform .35s var(--ease);
}

.project-card:nth-child(3n) {
    grid-column: 3 / span 8;
}

.project-card[hidden] {
    display: none;
}

.project-card.is-leaving {
    opacity: 0;
    transform: scale(.96);
}

.project-image {
    display: block;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #d8d7d0;
    color: white;
    text-decoration: none;
}

.project-card:nth-child(3n) .project-image {
    height: 500px;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .4));
    opacity: .5;
    transition: opacity .4s;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease), filter .5s;
}

.project-image:hover img {
    transform: scale(1.055);
    filter: saturate(1.1);
}

.project-index {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10, 12, 15, .6);
    backdrop-filter: blur(8px);
    font: 9px DM Mono;
}

.view-project {
    position: absolute;
    z-index: 3;
    right: 17px;
    bottom: 17px;
    padding: 11px 14px;
    background: var(--lime);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    transform: translateY(15px);
    opacity: 0;
    transition: .35s var(--ease);
}

.project-image:hover .view-project {
    transform: none;
    opacity: 1;
}

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 20px 3px 0;
}

.project-meta h3 {
    margin: 5px 0 0;
    font: 600 clamp(20px, 2vw, 27px) Syne;
    letter-spacing: -.035em;
}

.project-category {
    color: #686d72;
    font: 9px DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-meta p {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--dark-line);
    color: #686d72;
    font-size: 12px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666b70;
}

/* Contact/footer */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 145px 0;
    background: #745fff;
}

.contact-section::before {
    content: 'LET\2019S TALK';
    position: absolute;
    left: -1vw;
    bottom: -5vw;
    color: rgba(255, 255, 255, .055);
    font: 800 17vw/.75 Syne;
    letter-spacing: -.08em;
    white-space: nowrap;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 110px;
    position: relative;
    z-index: 1;
}

.section-kicker.light {
    color: rgba(255, 255, 255, .65);
}

.section-kicker.light span {
    color: var(--lime);
}

.contact-copy h2 {
    margin: 28px 0;
    font-size: clamp(54px, 5.5vw, 84px);
}

.contact-copy h2 em {
    color: var(--lime);
}

.contact-copy>p {
    max-width: 430px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.contact-meta {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, .55);
    font: 9px/1.8 DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-meta strong {
    color: white;
    font-size: 12px;
}

.contact-form {
    padding: 4px 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 26px;
}

.contact-form label>span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .68);
    font: 9px DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: white;
    resize: vertical;
    transition: border-color .2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--lime);
}

.human-verification {
    position: relative;
    padding: 15px 17px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 3px;
    background: rgba(9, 11, 14, .1);
}

.contact-form .human-verification>span {
    margin-bottom: 10px;
}

.human-verification strong {
    display: block;
    color: white;
    font: 600 15px Syne;
}

.contact-form .human-verification input {
    padding: 10px 0 7px;
}

.human-verification small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
}

.contact-website {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    padding: 16px 19px;
    border: 0;
    border-radius: 3px;
    background: var(--ink);
    color: white;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s, background .3s;
}

.contact-btn span {
    color: var(--lime);
    font-size: 17px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: #15191e;
}

.contact-btn:disabled {
    opacity: .65;
    cursor: wait;
}

.form-status {
    min-height: 24px;
    padding-top: 12px;
    font-size: 12px;
}

.form-status.success {
    color: var(--lime);
}

.form-status.error {
    color: #ffd4d4;
}

.site-footer {
    padding: 50px 0;
    background: #07090b;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    align-items: center;
    gap: 30px;
}

.footer-inner>p {
    max-width: 250px;
    margin: 0;
    color: #6f7780;
    font-size: 11px;
}

.footer-end {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    color: #69717a;
    font: 9px DM Mono;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.footer-end a {
    text-decoration: none;
    transition: color .2s;
}

.footer-end a:hover {
    color: var(--lime);
}

/* Shared animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s var(--ease) var(--delay, 0s), transform .8s var(--ease) var(--delay, 0s);
}

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

@keyframes breathe {
    50% {
        transform: scale(1.08);
        opacity: .65;
    }
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 9px rgba(139, 146, 154, 0);
    }
}

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

@keyframes cardFloat {
    50% {
        transform: rotateY(-4deg) rotateX(2deg) translateY(-10px);
    }
}

@keyframes floatA {
    50% {
        transform: translateY(-13px) rotate(5deg);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes scrollLine {

    50%,
    100% {
        transform: translateX(100%);
    }
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Admin and login */
.admin-page {
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
}

.admin-page .site-header {
    position: static;
    background: var(--ink);
}

.admin-page .site-header .brand,
.admin-page .site-header .brand-copy {
    color: var(--white);
}

.admin-page .header-inner {
    justify-content: space-between;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-actions form {
    margin: 0;
}

.btn,
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dark-line);
    border-radius: 99px;
    padding: 10px 16px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.admin-page .header-inner .btn {
    color: white;
    border-color: var(--line);
}

.btn:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
    background: var(--ink);
    color: white;
}

.btn-primary {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #252a30;
}

.admin-main {
    padding-block: 65px 100px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}

.admin-heading h1 {
    margin: 0;
    font: 700 clamp(40px, 5vw, 65px) Syne;
    letter-spacing: -.055em;
}

.admin-heading p {
    color: #6b7075;
    max-width: 380px;
    font-size: 13px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(330px, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 24px;
}

.admin-grid>*,
.form-row>*,
.contact-grid>*,
.about-grid>* {
    min-width: 0;
}

.card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--dark-line);
    background: white;
}

.card h2,
.card h3 {
    margin: 0 0 24px;
    font: 600 20px Syne;
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-label {
    display: block;
    min-width: 0;
    color: #777d82;
    font: 9px DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-file {
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid var(--dark-line);
    border-radius: 3px;
    background: #faf9f5;
    color: var(--ink);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #745fff;
    box-shadow: 0 0 0 3px rgba(116, 95, 255, .1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row>* {
    flex: 1;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.table-wrap {
    overflow: visible;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

th,
td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--dark-line);
    text-align: left;
}

th {
    color: #777d82;
    font: 9px DM Mono;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-thumb {
    width: 68px;
    height: 44px;
    object-fit: cover;
    background: #ddd;
}

.project-status {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #72c92f;
}

.project-status.hidden {
    background: #bbb;
}

.admin-toast {
    min-height: 20px;
    color: #5d4ae0;
    font-size: 12px;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--ink);
}

.login-card {
    width: min(430px, 100%);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ink-soft);
}

.login-card .brand {
    margin-bottom: 35px;
}

.login-card h1 {
    margin: 0 0 8px;
    font: 600 31px Syne;
}

.login-card>p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 28px;
}

.login-card .field-label {
    color: #949ba4;
    margin-bottom: 14px;
}

.login-card .form-input {
    color: white;
    background: rgba(255, 255, 255, .04);
    border-color: var(--line);
}

.login-card .form-actions {
    margin-top: 22px;
}

.login-card .btn-ghost {
    color: white;
    border-color: var(--line);
}

.login-card .btn-primary {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
}

.login-forgot-link {
    width: max-content;
    margin: 20px auto 0;
    display: block;
    color: #aeb5bf;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s;
}

.login-forgot-link:hover {
    color: var(--lime);
}

.login-card>.login-error {
    padding: 10px 12px;
    background: rgba(255, 90, 90, .1);
    color: #ff9c9c;
    font-size: 12px;
}

.login-card>.login-success {
    padding: 10px 12px;
    background: rgba(128, 239, 180, .1);
    color: #a5efc7;
    font-size: 12px;
}

.action-menu {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
}

.action-menu-toggle {
    width: 38px;
    height: 34px;
    padding: 0 0 5px;
    border: 1px solid var(--dark-line);
    border-radius: 7px;
    background: #faf9f5;
    color: var(--ink);
    font-size: 17px;
    letter-spacing: 2px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.action-menu-toggle:hover,
.action-menu.open .action-menu-toggle {
    background: var(--ink);
    color: white;
}

.action-menu-popover {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    width: 176px;
    padding: 6px;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 45px rgba(10, 12, 15, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}

.action-menu.open .action-menu-popover {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.action-menu-popover button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-size: 11px;
    cursor: pointer;
}

.action-menu-popover button:hover {
    background: #f1f0eb;
}

.action-menu-popover button.danger {
    color: #b62828;
}

.action-menu-popover button.danger:hover {
    background: #fff0f0;
}

@media (max-width: 980px) {
    .nav {
        gap: 16px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(54px, 8vw, 80px);
    }

    .about-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 55px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .header-inner {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        z-index: 51;
        inset: 72px 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 22px 28px;
        background: #0d1014;
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        opacity: 0;
        transition: .4s var(--ease);
    }

    .nav.open {
        transform: none;
        opacity: 1;
    }

    .nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font: 600 22px Syne;
    }

    .nav a span {
        font-size: 10px;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(0, 0, 0, .6);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s;
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    .hero,
    .hero-copy,
    .about-grid,
    .section-heading,
    .projects-heading,
    .project-toolbar,
    .contact-grid,
    .footer-inner {
        min-width: 0;
        max-width: 100%;
    }

    .hero {
        min-height: auto;
        height: auto;
        max-height: none;
        grid-template-columns: minmax(0, 1fr);
        padding-top: 145px;
        padding-bottom: 90px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(40px, 12.5vw, 68px);
        line-height: .96;
        overflow-wrap: normal;
    }

    .hero-intro {
        max-width: 100%;
        font-size: 15px;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        height: min(400px, 105vw);
        margin-top: 20px;
        overflow: hidden;
    }

    .orbit-one {
        width: min(340px, 90vw);
        height: min(340px, 90vw);
    }

    .orbit-two {
        width: min(270px, 72vw);
        height: min(270px, 72vw);
    }

    .visual-card {
        max-width: calc(100% - 32px);
    }

    .tag-one {
        right: 4px;
    }

    .tag-three {
        left: 4px;
    }

    .visual-caption {
        right: 10px;
    }

    .scroll-cue {
        display: none;
    }

    .stats-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: 130px;
    }

    .stat {
        display: block;
        min-width: 0;
        height: auto;
        padding: 0 10px !important;
    }

    .stat:first-child {
        padding-left: 0 !important;
    }

    .stat strong {
        font-size: 30px;
    }

    .stat span {
        display: block;
        max-width: 100%;
        margin-top: 6px;
        font-size: 8px;
        letter-spacing: .6px;
        overflow-wrap: anywhere;
    }

    .stats-note {
        display: none;
    }

    .section {
        padding-block: 100px;
    }

    .display-title {
        max-width: 100%;
        font-size: clamp(42px, 13vw, 62px);
        line-height: .98;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        max-width: 100%;
        margin-top: 30px;
        font-size: clamp(40px, 12vw, 58px);
        line-height: .98;
        text-align: left;
    }

    .service-row {
        grid-template-columns: 35px 65px minmax(0, 1fr);
        gap: 12px;
    }

    .service-icon {
        width: 54px;
        height: 54px;
    }

    .service-row h3,
    .service-row p {
        overflow-wrap: anywhere;
    }

    .service-row p {
        font-size: 12px;
    }

    .service-arrow {
        display: none;
    }

    .projects-section {
        padding-inline: 16px;
        overflow: hidden;
    }

    .projects-heading {
        display: block;
    }

    .projects-heading h2 {
        max-width: 100%;
        font-size: clamp(40px, 12vw, 58px);
        line-height: .98;
    }

    .projects-heading>p {
        margin-top: 30px;
    }

    .project-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding-top: 40px;
    }

    .filter-buttons {
        max-width: 100%;
    }

    .project-search,
    .project-search input {
        width: 100%;
        max-width: 100%;
    }

    .project-grid {
        display: block;
        max-width: 100%;
    }

    .project-card,
    .project-card:nth-child(3n) {
        max-width: 100%;
        margin-bottom: 55px;
    }

    .project-image,
    .project-card:nth-child(3n) .project-image {
        width: 100%;
        height: min(105vw, 440px);
    }

    .project-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .project-meta h3,
    .project-meta p {
        overflow-wrap: anywhere;
    }

    .project-meta p {
        padding-top: 12px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-section {
        padding: 100px 0;
    }

    .contact-copy h2 {
        max-width: 100%;
        font-size: clamp(40px, 12vw, 60px);
        line-height: .98;
        overflow-wrap: normal;
    }

    .contact-meta {
        margin-top: 35px;
    }

    .contact-form,
    .contact-form label {
        min-width: 0;
        max-width: 100%;
    }

    .contact-form .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .contact-form input,
    .contact-form textarea {
        min-width: 0;
        max-width: 100%;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-end {
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .admin-heading {
        display: block;
    }

    .admin-heading p {
        margin-top: 15px;
    }

    .admin-page .brand-copy {
        display: none;
    }

    .admin-page .header-inner {
        min-height: 72px;
        height: auto;
        gap: 10px;
        padding-block: 10px;
    }

    .admin-page .header-inner .admin-actions {
        margin-left: auto;
        gap: 6px;
    }

    .admin-page .header-inner .btn {
        padding: 8px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .admin-main {
        padding-block: 42px 70px;
    }

    .admin-heading h1 {
        overflow-wrap: anywhere;
    }

    .card {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-actions {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }

    .form-actions>.admin-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .table-wrap {
        overflow: visible;
    }

    #projectTable,
    #projectTable tbody,
    #projectTable tr,
    #projectTable td {
        display: block;
        width: 100%;
    }

    #projectTable thead {
        display: none;
    }

    #projectTable tbody {
        display: grid;
        gap: 13px;
    }

    #projectTable tr {
        position: relative;
        padding: 14px;
        border: 1px solid var(--dark-line);
        border-radius: 8px;
        background: #faf9f5;
    }

    #projectTable td {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: center;
        min-height: 32px;
        padding: 6px 0;
        border: 0;
        overflow-wrap: anywhere;
    }

    #projectTable td::before {
        content: attr(data-label);
        color: #84898e;
        font: 8px DM Mono;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    #projectTable td[data-label="Project"] {
        padding-top: 2px;
        padding-right: 48px;
        font-size: 14px;
    }

    #projectTable td[data-label="Actions"] {
        position: absolute;
        top: 10px;
        right: 10px;
        display: block;
        width: auto;
        min-height: 0;
        padding: 0;
    }

    #projectTable td[data-label="Actions"]::before {
        display: none;
    }

    #projectTable td[data-label="Preview"] {
        position: absolute;
        right: 13px;
        bottom: 13px;
        display: block;
        width: auto;
        padding: 0;
    }

    #projectTable td[data-label="Preview"]::before {
        display: none;
    }

    .admin-thumb {
        width: 58px;
        height: 40px;
        border-radius: 4px;
    }

    .action-menu-popover {
        position: fixed;
        top: auto;
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 18px 70px rgba(10, 12, 15, .3);
        transform: translateY(12px);
    }

    .action-menu-popover button {
        padding: 13px 12px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .shell {
        width: min(calc(100% - 24px), var(--shell));
    }

    .eyebrow,
    .section-kicker {
        gap: 7px;
        font-size: 9px;
        letter-spacing: 1.1px;
    }

    .section-kicker::after {
        width: 24px;
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: clamp(38px, 12.5vw, 52px);
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .hero-visual {
        height: 330px;
    }

    .orbit-one {
        width: min(290px, 88vw);
        height: min(290px, 88vw);
    }

    .orbit-two {
        width: min(230px, 70vw);
        height: min(230px, 70vw);
    }

    .visual-card {
        width: 92%;
        max-width: 290px;
    }

    .code-card pre {
        padding: 27px 17px;
        font-size: 10px;
    }

    .floating-tag {
        width: 56px;
        height: 56px;
    }

    .tag-three {
        width: 42px;
        height: 42px;
    }

    .service-row {
        grid-template-columns: 28px minmax(0, 1fr);
        padding-inline: 4px;
    }

    .service-row:hover {
        padding-inline: 8px;
    }

    .service-icon {
        display: none;
    }

    .filter-buttons button {
        padding: 8px 11px;
    }

    .footer-end {
        gap: 14px;
    }

    .admin-page .header-inner .btn {
        padding-inline: 8px;
    }

    .admin-page .brand-mark {
        width: 34px;
        height: 34px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-card .form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .login-card .form-actions>* {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .shell {
        width: calc(100% - 20px);
    }

    .brand-copy {
        display: none;
    }

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

    .display-title,
    .section-heading h2,
    .projects-heading h2,
    .contact-copy h2 {
        font-size: 38px;
    }

    .stat {
        padding-inline: 6px !important;
    }

    .stat strong {
        font-size: 26px;
    }

    .stat span {
        font-size: 7px;
        letter-spacing: .25px;
    }

    .visual-caption {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}