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


/* ==================================================
   DESIGN VARIABLES
   ================================================== */

:root {
    --ink: #171714;
    --ink-soft: #55534c;

    --cream: #f3efe6;
    --cream-deep: #e7e0d2;
    --white: #fffdf8;

    --lime: #d9ff43;
    --orange: #ff603d;

    --line: rgba(23, 23, 20, 0.19);

    --max-width: 1240px;

    --radius-lg: 34px;
    --radius-md: 22px;
}


/* ==================================================
   RESET
   ================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: 'DM Sans', sans-serif;

    color: var(--ink);
    background: var(--cream);

    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

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


/* ==================================================
   HEADER AND NAVIGATION
   ================================================== */

.site-header {
    width: min(calc(100% - 40px), var(--max-width));
    height: 76px;

    margin: 18px auto 0;
    padding: 0 14px 0 20px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 32px;

    position: fixed;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    z-index: 50;

    border: 1px solid rgba(23, 23, 20, 0.12);
    border-radius: 999px;

    background: rgba(243, 239, 230, 0.86);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    text-decoration: none;

    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--cream);
    background: var(--ink);

    font-size: 0.75rem;
    letter-spacing: -0.04em;
}

.brand-name {
    font-size: 1.1rem;
}

.primary-nav {
    justify-self: center;

    display: flex;
    align-items: center;

    gap: 28px;
}

.primary-nav a {
    position: relative;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;
}

.primary-nav a::after {
    content: '';

    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;

    height: 1px;

    background: currentColor;

    transition: right 0.25s ease;
}

.primary-nav a:hover::after {
    right: 0;
}

.header-cta {
    padding: 12px 19px;

    border-radius: 999px;

    color: var(--cream);
    background: var(--ink);

    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px;

    background: var(--ink);
}


/* ==================================================
   GENERAL SECTIONS
   ================================================== */

.section {
    width: min(calc(100% - 48px), var(--max-width));

    margin-inline: auto;
    padding: 120px 0;
}

.eyebrow {
    margin-bottom: 20px;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.section-heading {
    max-width: 850px;

    margin-bottom: 64px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
    font-family: 'Manrope', sans-serif;

    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 0.98;

    letter-spacing: -0.065em;
}

em {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

.section-heading > p:last-child {
    max-width: 610px;

    margin-top: 24px;

    color: var(--ink-soft);

    font-size: 1.05rem;
}

.section-heading-row {
    max-width: none;

    display: grid;
    grid-template-columns: 1fr 0.42fr;
    align-items: end;

    gap: 60px;
}


/* ==================================================
   HERO
   ================================================== */

.hero {
    min-height: 100vh;

    padding-top: 160px;
    padding-bottom: 50px;

    position: relative;
}

.hero::before {
    content: '';

    position: absolute;

    width: 620px;
    height: 620px;

    left: -300px;
    top: 90px;

    border: 1px solid rgba(23, 23, 20, 0.10);
    border-radius: 50%;
}

.hero-kicker {
    display: inline-flex;

    padding: 9px 14px;

    border: 1px solid var(--line);
    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-grid {
    min-height: calc(100vh - 270px);

    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;

    gap: 60px;
}

.hero-copy {
    padding: 50px 0;
}

.hero-copy h1 {
    font-family: 'Manrope', sans-serif;

    font-size: clamp(4.5rem, 10vw, 9.2rem);
    line-height: 0.78;

    letter-spacing: -0.085em;
    text-transform: uppercase;
}

.hero-copy h1 em {
    display: inline-block;

    color: var(--orange);

    text-transform: none;

    transform: translateX(0.18em);
}

.hero-description {
    max-width: 650px;

    margin: 42px 0 34px;

    color: var(--ink-soft);

    font-size: clamp(1.08rem, 1.6vw, 1.35rem);
    line-height: 1.65;
}

.hero-actions,
.contact-actions {
    display: flex;
    align-items: center;

    gap: 24px;

    flex-wrap: wrap;
}


/* ==================================================
   BUTTONS AND LINKS
   ================================================== */

.button {
    display: inline-flex;
    align-items: center;

    gap: 18px;

    padding: 16px 22px;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-dark {
    color: var(--cream);
    background: var(--ink);
}

.button-light {
    color: var(--ink);
    background: var(--lime);
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    font-weight: 700;

    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}


/* ==================================================
   HERO VISUAL
   ================================================== */

.hero-visual {
    width: min(100%, 490px);

    aspect-ratio: 1;

    justify-self: end;

    position: relative;

    border-radius: 50%;

    background: var(--lime);

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(23, 23, 20, 0.12);
}

.hero-visual::before,
.hero-visual::after {
    content: '';

    position: absolute;

    background: var(--ink);

    opacity: 0.09;
}

.hero-visual::before {
    width: 1px;
    height: 100%;

    left: 50%;
}

.hero-visual::after {
    width: 100%;
    height: 1px;

    top: 50%;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(23, 23, 20, 0.35);
    border-radius: 50%;
}

.orbit-one {
    inset: 13%;
}

.orbit-two {
    inset: 28%;
}

.visual-core {
    position: absolute;

    inset: 35%;

    display: grid;
    place-items: center;
    align-content: center;

    border-radius: 50%;

    color: var(--cream);
    background: var(--ink);

    text-align: center;

    z-index: 2;
}

.core-label {
    font-family: 'Manrope', sans-serif;

    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;

    letter-spacing: -0.08em;
}

.core-caption {
    max-width: 100px;

    margin-top: 8px;

    font-size: 0.55rem;
    line-height: 1.35;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.node {
    position: absolute;

    padding: 7px 10px;

    border-radius: 999px;

    color: var(--cream);
    background: var(--ink);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 0.1em;

    z-index: 3;
}

.node-a {
    top: 16%;
    left: 42%;
}

.node-b {
    top: 46%;
    right: 4%;
}

.node-c {
    bottom: 13%;
    left: 48%;
}

.node-d {
    top: 46%;
    left: 2%;
}

.scroll-cue {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 22px;

    border-top: 1px solid var(--line);

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    text-decoration: none;
}


/* ==================================================
   MOVING MARQUEE
   ================================================== */

.marquee {
    overflow: hidden;

    padding: 27px 0;

    color: var(--cream);
    background: var(--ink);

    transform: rotate(-1.3deg) scale(1.02);
}

.marquee-track {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 30px;

    animation: marquee 26s linear infinite;

    font-family: 'Manrope', sans-serif;

    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 800;

    text-transform: uppercase;
}

.marquee-track i {
    color: var(--lime);

    font-style: normal;
}

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


/* ==================================================
   EXPERTISE
   ================================================== */

.expertise {
    padding-top: 150px;
}

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

.expertise-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;

    gap: 28px;

    align-items: start;

    padding: 34px 0;

    border-bottom: 1px solid var(--line);
}

.expertise-item h3 {
    margin-bottom: 9px;

    font-family: 'Manrope', sans-serif;

    font-size: clamp(1.65rem, 3vw, 3rem);
    line-height: 1.05;

    letter-spacing: -0.05em;
}

.expertise-item p {
    max-width: 680px;

    color: var(--ink-soft);
}

.item-number {
    padding-top: 7px;

    font-size: 0.75rem;
    font-weight: 700;
}

.item-arrow {
    font-size: 1.8rem;

    transition: transform 0.2s ease;
}

.expertise-item:hover .item-arrow {
    transform: translate(4px, -4px);
}


/* ==================================================
   ABOUT
   ================================================== */

.about {
    padding-top: 50px;
}

.about-card {
    display: grid;
    grid-template-columns: 0.36fr 1fr;

    gap: 80px;

    padding: clamp(35px, 7vw, 90px);

    border-radius: var(--radius-lg);

    color: var(--cream);
    background: var(--ink);
}

.about-label {
    min-height: 450px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.signature {
    font-family: Georgia, serif;

    color: var(--lime);

    font-size: clamp(4rem, 8vw, 8rem);
    font-style: italic;

    letter-spacing: -0.12em;
}

.about-copy h2 {
    max-width: 780px;
}

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

.about-copy p {
    max-width: 680px;

    color: #b9b6ad;
}

.about-lead {
    margin: 38px 0 18px;

    color: var(--cream) !important;

    font-size: 1.3rem;
}

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


/* ==================================================
   PROJECTS
   ================================================== */

.projects {
    padding-bottom: 90px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 50px 26px;
}

.project-card {
    min-width: 0;
}

.project-featured {
    grid-column: 1 / -1;
}

.project-art {
    height: 360px;

    margin-bottom: 24px;

    border-radius: var(--radius-md);

    overflow: hidden;

    position: relative;
}

.project-featured .project-art {
    height: 540px;
}

.project-meta {
    display: flex;
    justify-content: space-between;

    margin-bottom: 12px;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-card h3 {
    font-family: 'Manrope', sans-serif;

    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.05;

    letter-spacing: -0.05em;
}

.project-card p {
    max-width: 640px;

    margin: 12px 0 18px;

    color: var(--ink-soft);
}

.project-card > a {
    font-weight: 700;

    text-underline-offset: 5px;
}


/* Systems project artwork */

.art-systems {
    background: var(--orange);
}

.art-systems::before {
    content: 'SYSTEMS / REQUIREMENTS / VERIFICATION';

    position: absolute;

    left: 28px;
    top: 26px;

    max-width: 250px;

    color: var(--cream);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.art-ring {
    position: absolute;

    border: 2px solid var(--ink);
    border-radius: 50%;
}

.ring-a {
    width: 410px;
    height: 410px;

    right: 10%;
    top: 12%;
}

.ring-b {
    width: 220px;
    height: 220px;

    right: 30%;
    top: 30%;
}

.art-dot {
    position: absolute;

    width: 90px;
    height: 90px;

    right: 38%;
    top: 42%;

    border-radius: 50%;

    background: var(--lime);
}


/* AI project artwork */

.art-ai {
    display: flex;
    align-items: center;
    justify-content: center;

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

.art-ai span {
    font-family: 'Manrope', sans-serif;

    font-size: 10rem;
    font-weight: 800;

    letter-spacing: -0.12em;
}

.art-ai small {
    position: absolute;

    bottom: 23px;
    left: 25px;

    letter-spacing: 0.1em;
}


/* Product project artwork */

.art-product {
    padding: 35px;

    background: var(--lime);
}

.art-product strong {
    position: absolute;

    right: 28px;
    bottom: 25px;

    font-family: 'Manrope', sans-serif;

    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.8;

    text-align: right;

    letter-spacing: -0.08em;
}

.product-line {
    display: block;

    width: 55%;
    height: 1px;

    margin-top: 26px;

    background: var(--ink);
}

.product-line:nth-child(2) {
    width: 72%;
}

.product-line:nth-child(3) {
    width: 40%;
}


/* ==================================================
   JOURNEY TIMELINE
   ================================================== */

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

.timeline {
    position: relative;

    margin-left: 12px;
}

.timeline::before {
    content: '';

    position: absolute;

    left: 6px;
    top: 10px;
    bottom: 10px;

    width: 1px;

    background: var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 30px 150px 1fr;

    gap: 20px;

    padding: 34px 0;
}

.timeline-marker {
    width: 13px;
    height: 13px;

    margin-top: 8px;

    border: 3px solid var(--cream);
    border-radius: 50%;

    background: var(--orange);

    box-shadow: 0 0 0 1px var(--ink);

    z-index: 1;
}

.timeline-period {
    padding-top: 3px;

    font-size: 0.75rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline h3 {
    font-family: 'Manrope', sans-serif;

    font-size: clamp(1.5rem, 2.8vw, 2.6rem);
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.timeline p:last-child {
    max-width: 660px;

    margin-top: 10px;

    color: var(--ink-soft);
}


/* ==================================================
   WORKING PRINCIPLES
   ================================================== */

.principles {
    padding-top: 20px;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.principle-grid article {
    min-height: 330px;

    padding: 30px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.principle-grid span {
    width: 42px;
    height: 42px;

    display: inline-grid;
    place-items: center;

    border-radius: 50%;

    color: var(--cream);
    background: var(--ink);

    font-size: 0.75rem;
}

.principle-grid h3 {
    margin: 90px 0 15px;

    font-family: 'Manrope', sans-serif;

    font-size: 1.8rem;
    line-height: 1.05;

    letter-spacing: -0.04em;
}

.principle-grid p {
    color: var(--ink-soft);
}


/* ==================================================
   CONTACT
   ================================================== */

.contact {
    width: 100%;
    max-width: none;

    padding: 32px;

    background: var(--ink);
}

.contact-panel {
    width: min(100%, var(--max-width));

    margin-inline: auto;
    padding: clamp(40px, 8vw, 100px);

    border-radius: var(--radius-lg);

    background: var(--orange);
}

.contact-panel h2 {
    max-width: 940px;
}

.contact-panel > p:not(.eyebrow):not(.contact-note) {
    max-width: 650px;

    margin: 28px 0 38px;

    font-size: 1.12rem;
}

.text-link.light {
    color: var(--ink);
}

.contact-note {
    margin-top: 32px;

    font-size: 0.75rem;
    font-weight: 700;

    opacity: 0.75;
}


/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
    padding: 45px max(24px, calc((100vw - var(--max-width)) / 2));

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    color: var(--cream);
    background: var(--ink);

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 0.8rem;
}

.footer-brand .brand-mark {
    color: var(--ink);
    background: var(--lime);
}


/* ==================================================
   SCROLL REVEAL ANIMATION
   ================================================== */

.reveal {
    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

    .site-header {
        grid-template-columns: auto auto 1fr;
    }

    .menu-toggle {
        display: block;

        justify-self: end;

        grid-column: 3;
    }

    .header-cta {
        display: none;
    }

    .primary-nav {
        position: absolute;

        left: 0;
        right: 0;
        top: 86px;

        padding: 22px;

        flex-direction: column;
        align-items: flex-start;

        border: 1px solid var(--line);
        border-radius: 24px;

        background: var(--cream);

        opacity: 0;

        pointer-events: none;

        transform: translateY(-10px);

        transition: 0.2s ease;
    }

    .primary-nav.open {
        opacity: 1;

        pointer-events: auto;

        transform: none;
    }

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

    .hero-visual {
        justify-self: center;

        width: min(100%, 520px);
    }

    .section-heading-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .about-card {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-label {
        min-height: auto;

        flex-direction: row;
        align-items: center;
    }

    .project-featured .project-art {
        height: 440px;
    }

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

    .site-footer {
        flex-wrap: wrap;
    }
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 640px) {

    .site-header {
        width: calc(100% - 24px);
        height: 66px;

        margin-top: 10px;
        padding-left: 12px;
    }

    .brand-name {
        display: none;
    }

    .section {
        width: min(calc(100% - 32px), var(--max-width));

        padding: 85px 0;
    }

    .hero {
        min-height: auto;

        padding-top: 125px;
    }

    .hero-grid {
        min-height: auto;

        gap: 15px;
    }

    .hero-copy h1 {
        font-size: clamp(3.7rem, 21vw, 6.2rem);
    }

    .hero-description {
        margin-top: 32px;
    }

    .hero-visual {
        margin-top: 25px;
    }

    .node {
        font-size: 0.48rem;
    }

    .scroll-cue {
        margin-top: 45px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .expertise-item {
        grid-template-columns: 35px 1fr;

        gap: 12px;
    }

    .item-arrow {
        display: none;
    }

    .about-card {
        padding: 30px 24px;
    }

    .signature {
        font-size: 3.5rem;
    }

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

    .project-featured {
        grid-column: auto;
    }

    .project-art,
    .project-featured .project-art {
        height: 320px;
    }

    .ring-a {
        width: 280px;
        height: 280px;

        right: -30px;
        top: 15%;
    }

    .ring-b {
        width: 150px;
        height: 150px;

        right: 20%;
        top: 35%;
    }

    .art-ai span {
        font-size: 7rem;
    }

    .timeline-item {
        grid-template-columns: 24px 1fr;
    }

    .timeline-period {
        grid-column: 2;
    }

    .timeline-item > div:last-child {
        grid-column: 2;
    }

    .contact {
        padding: 16px;
    }

    .contact-panel {
        padding: 42px 24px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==================================================
   REDUCED MOTION ACCESSIBILITY
   ================================================== */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}
