:root {
    color-scheme: dark;
    --color-bg: #0b0c10;
    --color-surface: #121419;
    --color-surface-light: #191b22;
    --color-text: #f5f4f0;
    --color-muted: #9a9ba5;
    --color-accent: #b6f36a;
    --color-accent-soft: #d2ff9f;
    --font-body: "DM Sans", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
    --page-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 82% 13%, rgba(119, 142, 73, 0.1), transparent 31rem),
        var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 5px;
}

.page-width {
    width: min(var(--page-width), calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 50%;
    display: flex;
    width: min(var(--page-width), calc(100% - 64px));
    height: 88px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    transform: translateX(-50%);
    animation: fade-down 700ms 100ms both;
}

.wordmark {
    font-family: var(--font-display);
    font-size: 1.48rem;
    font-weight: 700;
    letter-spacing: -0.08em;
    text-decoration: none;
}

.wordmark span {
    color: var(--color-accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 52px);
}

.main-nav a,
.back-to-top {
    color: #c4c4ca;
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 180ms ease;
}

.main-nav a:hover,
.back-to-top:hover {
    color: var(--color-accent);
}

.main-nav .nav-cta {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    color: var(--color-text);
}

.nav-cta span {
    margin-left: 8px;
    color: var(--color-accent);
}

.hero {
    position: relative;
    display: grid;
    min-height: min(820px, 100svh);
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 100px;
    padding-bottom: 86px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 42px 0 30px;
    animation: fade-up 850ms 220ms both;
}

.eyebrow,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #b7b7bf;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 13px rgba(182, 243, 106, 0.7);
    animation: pulse 2.4s ease-in-out infinite;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
.section-title,
.contact h2 {
    font-family: var(--font-display);
    font-weight: 600;
}

h1 {
    margin: 27px 0 22px;
    font-size: clamp(3.55rem, 7.5vw, 6.35rem);
    letter-spacing: -0.085em;
    line-height: 0.99;
}

.gradient-text {
    color: var(--color-accent);
    background: linear-gradient(105deg, #d6ff9e 5%, #aaf05a 50%, #71c898 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.serif-accent {
    color: var(--color-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.09em;
}

.hero-description {
    max-width: 455px;
    margin-bottom: 30px;
    color: #a9aab3;
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--color-accent);
    box-shadow: 0 9px 28px rgba(182, 243, 106, 0.12);
    color: #11140c;
}

.button-primary:hover {
    background: var(--color-accent-soft);
    box-shadow: 0 12px 32px rgba(182, 243, 106, 0.24);
}

.button span,
.inline-link span,
.text-link span {
    transition: transform 180ms ease;
}

.button:hover span,
.inline-link:hover span {
    transform: translate(3px, -2px);
}

.text-link,
.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #dedee2;
    font-size: 0.86rem;
    text-decoration: none;
}

.text-link:hover,
.inline-link:hover {
    color: var(--color-accent);
}

.text-link:hover span {
    transform: translateY(3px);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 63px;
    color: #777983;
    font-size: 0.76rem;
}

.note-line {
    width: 30px;
    height: 1px;
    background: var(--color-accent);
}

.hero-visual {
    position: relative;
    width: min(100%, 430px);
    justify-self: end;
    margin: 12px 21px 0 0;
    animation: fade-in 1.2s 350ms both;
}

.portrait-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 0.79;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 48% 48% 3px 3px;
    background: #262820;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.portrait-frame::after {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
    filter: saturate(0.82);
    transform: scale(1.02);
    animation: portrait-settle 1.4s 300ms both;
}

.portrait-shade {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(8, 10, 9, 0.8));
}

.portrait-caption {
    position: absolute;
    z-index: 1;
    right: 28px;
    bottom: 31px;
    left: 28px;
    display: grid;
    gap: 6px;
    font-size: 0.87rem;
}

.caption-label {
    color: var(--color-accent);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(182, 243, 106, 0.24);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    top: 8%;
    right: -14%;
    width: 108%;
    height: 78%;
    transform: rotate(-35deg);
}

.orbit-two {
    top: 20%;
    right: -22%;
    width: 120%;
    height: 70%;
    border-color: rgba(182, 243, 106, 0.12);
    transform: rotate(38deg);
}

.floating-mark {
    position: absolute;
    top: 15%;
    left: -9%;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(182, 243, 106, 0.44);
    border-radius: 50%;
    background: rgba(16, 18, 19, 0.84);
    color: var(--color-accent);
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.image-index {
    position: absolute;
    right: -48px;
    bottom: 15%;
    color: #7d7e86;
    font-family: var(--font-display);
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
}

.scroll-cue {
    position: absolute;
    bottom: 31px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #777983;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-cue span {
    position: relative;
    display: block;
    overflow: hidden;
    width: 34px;
    height: 1px;
    background: rgba(255, 255, 255, 0.24);
}

.scroll-cue span::after {
    position: absolute;
    width: 14px;
    height: 1px;
    background: var(--color-accent);
    content: "";
    animation: cue-slide 1.8s ease-in-out infinite;
}

.section {
    padding-top: clamp(100px, 13vw, 168px);
    padding-bottom: clamp(100px, 13vw, 168px);
}

.section-kicker {
    color: #9c9da6;
}

.section-kicker span {
    color: var(--color-accent);
    font-family: var(--font-display);
}

.about {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1.1fr 0.7fr;
    gap: 10%;
    margin-top: 48px;
}

.section-title {
    margin-bottom: 0;
    font-size: clamp(2.6rem, 5vw, 4.65rem);
    letter-spacing: -0.075em;
    line-height: 1.05;
}

.muted-title {
    color: #85868f;
}

.about-copy {
    max-width: 400px;
    padding-top: 8px;
}

.about-copy p {
    margin-bottom: 19px;
    color: #aaabb4;
    font-size: 0.98rem;
    line-height: 1.85;
}

.about-copy strong {
    color: var(--color-text);
    font-weight: 600;
}

.inline-link {
    margin-top: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(182, 243, 106, 0.45);
    color: var(--color-accent);
    font-size: 0.82rem;
}

.about-bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 76px;
    color: #777983;
    font-size: 0.75rem;
}

.about-divider {
    width: 28px;
    height: 1px;
    background: var(--color-accent);
}

.focus {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 50%), #101115;
}

.focus-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.focus-heading .section-title {
    margin-top: 31px;
}

.focus-intro {
    max-width: 300px;
    margin-bottom: 5px;
    color: #9c9da6;
    font-size: 0.9rem;
    line-height: 1.8;
}

.focus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.focus-card {
    position: relative;
    min-height: 260px;
    padding: 27px 25px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.018);
    transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.focus-card:hover {
    transform: translateY(-5px);
    border-color: rgba(182, 243, 106, 0.46);
    background: rgba(182, 243, 106, 0.035);
}

.card-number {
    color: #757680;
    font-family: var(--font-display);
    font-size: 0.7rem;
}

.card-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-top: 27px;
    border: 1px solid rgba(182, 243, 106, 0.3);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.12rem;
}

.icon-spark {
    font-size: 1.3rem;
}

.icon-circle {
    font-size: 1.28rem;
}

.focus-card h3 {
    margin: 20px 0 9px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.focus-card p {
    max-width: 270px;
    margin-bottom: 0;
    color: #92939c;
    font-size: 0.82rem;
    line-height: 1.7;
}

.card-arrow {
    position: absolute;
    top: 27px;
    right: 25px;
    color: #777983;
    transition: color 180ms ease, transform 180ms ease;
}

.focus-card:hover .card-arrow {
    transform: translate(2px, -2px);
    color: var(--color-accent);
}

.contact {
    padding-top: clamp(90px, 11vw, 140px);
    padding-bottom: clamp(90px, 11vw, 140px);
}

.contact-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 7vw, 82px);
    border: 1px solid rgba(182, 243, 106, 0.23);
    background:
        radial-gradient(ellipse at 90% 20%, rgba(182, 243, 106, 0.13), transparent 28rem),
        #121419;
}

.contact-panel .section-kicker {
    position: relative;
    z-index: 1;
}

.contact h2 {
    position: relative;
    z-index: 1;
    margin: 34px 0 18px;
    font-size: clamp(2.9rem, 6.3vw, 5.7rem);
    letter-spacing: -0.08em;
    line-height: 0.98;
}

.contact-panel > p {
    position: relative;
    z-index: 1;
    margin-bottom: 27px;
    color: #a3a4ac;
    font-size: 0.9rem;
}

.button-light {
    position: relative;
    z-index: 1;
    background: var(--color-text);
    color: #11140c;
}

.button-light:hover {
    background: var(--color-accent-soft);
}

.contact-decoration {
    position: absolute;
    top: 50%;
    right: 7%;
    color: rgba(182, 243, 106, 0.16);
    font-size: clamp(10rem, 25vw, 21rem);
    line-height: 1;
    transform: translateY(-50%);
    animation: slow-spin 35s linear infinite;
}

.site-footer {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    margin: 0;
    color: #777983;
    font-size: 0.75rem;
}

.site-footer p span {
    margin-left: 5px;
    color: var(--color-accent);
}

.back-to-top {
    font-size: 0.75rem;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.focus-card:nth-child(2) {
    transition-delay: 100ms;
}

.focus-card:nth-child(3) {
    transition-delay: 200ms;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes portrait-settle {
    from { transform: scale(1.09); }
    to { transform: scale(1.02); }
}

@keyframes pulse {
    50% { box-shadow: 0 0 20px rgba(182, 243, 106, 0.95); }
}

@keyframes float {
    50% { transform: translateY(-9px) rotate(8deg); }
}

@keyframes cue-slide {
    from { left: -15px; }
    to { left: 35px; }
}

@keyframes slow-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

@media (max-width: 850px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr 0.76fr;
        padding-top: 165px;
        padding-bottom: 108px;
    }

    .hero-visual {
        width: min(100%, 340px);
        margin-right: 14px;
    }

    h1 {
        font-size: clamp(3.25rem, 8vw, 5.3rem);
    }

    .hero-note {
        margin-top: 43px;
    }

    .about-grid {
        grid-template-columns: 1fr 0.78fr;
        gap: 6%;
    }

    .focus-card {
        min-height: 280px;
        padding-inline: 20px;
    }
}

@media (max-width: 620px) {
    html {
        scroll-padding-top: 70px;
    }

    .page-width,
    .site-header {
        width: calc(100% - 40px);
    }

    .site-header {
        height: 72px;
    }

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 0.76rem;
    }

    .main-nav .nav-cta {
        padding: 8px 11px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 123px;
        padding-bottom: 100px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.08em;
    }

    h1 {
        margin-top: 22px;
        font-size: clamp(3.35rem, 14vw, 5rem);
    }

    .hero-description {
        max-width: 420px;
        font-size: 0.94rem;
    }

    .hero-actions {
        gap: 18px;
    }

    .button {
        min-height: 47px;
        gap: 15px;
        padding-inline: 15px;
        font-size: 0.78rem;
    }

    .text-link {
        font-size: 0.78rem;
    }

    .hero-note {
        margin-top: 31px;
    }

    .hero-visual {
        width: min(77%, 345px);
        justify-self: center;
        margin: 49px 0 0;
    }

    .floating-mark {
        left: -12%;
        width: 47px;
        height: 47px;
    }

    .image-index {
        right: -28px;
    }

    .scroll-cue {
        bottom: 35px;
    }

    .section {
        padding-top: 95px;
        padding-bottom: 95px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 29px;
        margin-top: 35px;
    }

    .section-title {
        font-size: clamp(2.65rem, 11vw, 4rem);
    }

    .about-copy {
        max-width: 500px;
    }

    .about-copy p {
        font-size: 0.91rem;
    }

    .about-bottom {
        align-items: flex-start;
        gap: 12px;
        margin-top: 48px;
        font-size: 0.68rem;
        line-height: 1.6;
    }

    .about-divider {
        flex: 0 0 20px;
        margin-top: 8px;
    }

    .focus-heading {
        display: block;
        margin-bottom: 33px;
    }

    .focus-heading .section-title {
        margin-top: 26px;
    }

    .focus-intro {
        margin-top: 18px;
    }

    .focus-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .focus-card {
        min-height: 230px;
        padding: 23px;
    }

    .card-icon {
        margin-top: 17px;
    }

    .contact-panel {
        padding: 34px 25px;
    }

    .contact h2 {
        font-size: clamp(2.75rem, 12vw, 4.4rem);
    }

    .contact-decoration {
        top: 70%;
        right: -12%;
        font-size: 12rem;
    }

    .site-footer {
        min-height: 84px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 18px;
    }

    .site-footer p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}