:root {
    --bg: #eef3ef;
    --bg-soft: #f7faf7;
    --bg-dark: #0b1716;
    --text: #10201d;
    --muted: #65716d;
    --accent: #0d7f73;
    --accent-soft: #dcead1;
    --line: rgba(16, 32, 29, .13);
    --page-x: clamp(1.25rem, 4vw, 5rem);
    --header-h: 76px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html.app-loading, html.app-loading body {
    overflow: hidden
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

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

button, input, textarea {
    font: inherit
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .16em
}

.brand {
    display: flex;
    align-items: center;
    gap: .72rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em
}

.brand__mark {
    width: 11px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(13, 127, 115, .11)
}

.preloader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: var(--bg);
    transition: opacity .65s cubic-bezier(.22, 1, .36, 1), visibility .65s
}

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

.preloader__inner {
    width: min(720px, 100%)
}

.preloader__brand {
    margin-bottom: clamp(4rem, 12vh, 8rem)
}

.preloader h1 {
    margin: .2rem 0 1rem;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: .95;
    letter-spacing: -.055em
}

.preloader p {
    color: var(--muted)
}

.preloader__progress {
    height: 2px;
    margin-top: 2rem;
    background: rgba(16, 32, 29, .12);
    overflow: hidden
}

.preloader__progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left
}

.preloader__footer {
    display: flex;
    justify-content: space-between;
    margin-top: .8rem;
    color: var(--muted);
    font-size: .72rem
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 50%;
    width: min(calc(100% - 28px), 1500px);
    height: var(--header-h);
    padding: 0 clamp(1.1rem, 2.4vw, 2.4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 10px 34px rgba(13, 50, 44, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translate(-50%, 0);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, background .3s ease
}

.site-header.is-hidden {
    transform: translate(-50%, calc(-100% - 28px))
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.2rem);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em
}

.site-nav a {
    position: relative;
    padding: .4rem 0
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transition: right .25s
}

.site-nav a:hover::after {
    right: 0
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    width: 34px;
    height: 34px;
    padding: 7px
}

.menu-toggle span {
    display: block;
    height: 1px;
    background: currentColor;
    margin: 6px 0
}

.webgl-stage {
    position: fixed;
    z-index: 3;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 1;
    transition: opacity .35s ease
}

.webgl-stage.is-hidden {
    opacity: 0
}

.hero {
    position: relative;
    height: 390vh
}

.hero__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 620px;
    overflow: hidden
}

.hero__background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 73% 45%, rgba(65, 191, 169, .16), transparent 27%), radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .92), transparent 36%), linear-gradient(120deg, #f8faf6 0%, #e6efeb 46%, #dfeae5 100%)
}

.hero__background::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .3;
    background-image: linear-gradient(rgba(16, 32, 29, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 29, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%)
}

.hero__content {
    position: relative;
    z-index: 5;
    height: 100%;
    padding: 0 var(--page-x);
    pointer-events: none
}

.hero-copy {
    position: absolute;
    top: 50%;
    left: var(--page-x);
    width: min(39rem, 44vw);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .3s ease, transform .55s cubic-bezier(.22, 1, .36, 1)
}

.hero-copy.is-active {
    opacity: 1;
    transform: translateY(-50%)
}

.hero h1, .hero h2, .section h2 {
    margin: 0;
    font-size: clamp(3.1rem, 7.4vw, 8.3rem);
    line-height: .9;
    letter-spacing: -.06em;
    font-weight: 600
}

.hero h1, .hero h2 {
    max-width: 9ch
}

.hero-copy > p:last-child {
    max-width: 34rem;
    margin: 1.7rem 0 0;
    color: var(--muted);
    line-height: 1.7
}

.scroll-indicator {
    position: absolute;
    left: var(--page-x);
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .18em
}

.scroll-indicator i {
    width: 58px;
    height: 1px;
    background: currentColor
}

.section {
    position: relative
}

.section--properties {
    height: 420vh;
    background: #fff;
    z-index: 2
}

.properties__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 650px;
    overflow: hidden
}

.properties__heading {
    position: absolute;
    z-index: 8;
    top: calc(var(--header-h) + 3.8rem);
    left: var(--page-x);
    width: min(38rem, 44vw);
    opacity: 0;
    transform: translateY(26px);
    transition: .45s ease
}

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

.properties__heading h2 {
    font-size: clamp(2rem, 4.1vw, 4.6rem);
    line-height: .98;
    max-width: 11ch
}

.properties__scene {
    position: absolute;
    inset: 0;
    z-index: 6
}

.property-callout {
    position: absolute;
    width: min(270px, 21vw);
    opacity: 0;
    transform: translateY(20px) scale(.96);
    transition: opacity .45s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
    text-align: center
}

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

.property-callout__icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 1rem;
    border: 2px solid #dbe8c9;
    border-radius: 50%;
    color: #146b3b;
    font-size: 1.5rem;
    box-shadow: 10px 5px 0 -7px #dbe8c9
}

.property-callout p {
    margin: 0;
    line-height: 1.45
}

.property-callout--a {
    top: 8%;
    left: 50%;
    transform: translate(-50%, 20px) scale(.96)
}

.property-callout--a.is-visible {
    transform: translate(-50%, 0)
}

.property-callout--b {
    top: 21%;
    left: 18%
}

.property-callout--c {
    top: 21%;
    right: 17%
}

.property-callout--d {
    top: 58%;
    left: 9%
}

.property-callout--e {
    top: 56%;
    right: 8%
}

.clients-marquee {
    position: relative;
    z-index: 5;
    overflow: hidden;
    padding: 2.3rem 0;
    background: var(--bg-soft);
    border-block: 1px solid var(--line)
}

.clients-marquee__track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: marquee 24s linear infinite
}

.clients-marquee span {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: #80908b
}

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

.section--uses {
    height: 360vh;
    background: #eaf0eb;
    z-index: 4
}

.uses__viewport {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 640px;
    overflow: hidden
}

.uses__hud {
    position: absolute;
    z-index: 8;
    top: calc(var(--header-h) + 3rem);
    left: var(--page-x);
    right: var(--page-x);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.uses__counter {
    font-size: .78rem;
    color: var(--muted);
    letter-spacing: .08em
}

.uses__counter strong {
    font-size: 1.05rem;
    color: var(--text)
}

.uses__track {
    height: 100%;
    display: flex;
    will-change: transform
}

.use-panel {
    flex: 0 0 100vw;
    height: 100%;
    display: grid;
    grid-template-columns:1fr 1fr;
    padding: calc(var(--header-h) + 7rem) var(--page-x) clamp(3rem, 6vh, 5rem);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center
}

.use-panel__visual {
    height: min(62vh, 650px);
    border-radius: 38px;
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow: 0 35px 80px rgba(13, 50, 44, .12)
}

.use-panel__visual span {
    font-size: clamp(10rem, 26vw, 26rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.09em;
    color: rgba(255, 255, 255, .12)
}

.use-panel--01 .use-panel__visual {
    background: radial-gradient(circle at 72% 26%, rgba(193, 255, 239, .72), transparent 22%), linear-gradient(145deg, #26aa96, #0b5e58 72%)
}

.use-panel--02 .use-panel__visual {
    background: radial-gradient(circle at 20% 30%, rgba(203, 255, 238, .42), transparent 24%), linear-gradient(145deg, #173d39, #0d756b 58%, #42baa5)
}

.use-panel--03 .use-panel__visual {
    background: radial-gradient(circle at 70% 70%, rgba(124, 234, 207, .34), transparent 28%), linear-gradient(145deg, #071c1a, #134b45 54%, #188b7c)
}

.use-panel__content {
    max-width: 650px
}

.use-panel__kicker {
    color: var(--accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em
}

.use-panel h3 {
    margin: .5rem 0 1.4rem;
    font-size: clamp(3.2rem, 6vw, 7rem);
    line-height: .9;
    letter-spacing: -.06em
}

.use-panel__content > p:not(.use-panel__kicker) {
    max-width: 42rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.75
}

.use-panel__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 2rem
}

.use-panel__tags span {
    padding: .72rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 700
}

.section__inner {
    width: min(1500px, 100%);
    margin: auto;
    padding: clamp(7rem, 11vw, 11rem) var(--page-x)
}

.section--presentations {
    min-height: 82vh;
    background: var(--bg)
}

.section--presentations h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 6vw, 7rem)
}

.section--contact {
    background: var(--bg-dark);
    color: #eef8f5;
    min-height: 100vh
}

.contact__inner {
    width: min(1500px, 100%);
    margin: auto;
    padding: clamp(8rem, 12vw, 12rem) var(--page-x);
    display: grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(360px, .75fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: start
}

.contact__copy h2 {
    max-width: 9ch;
    font-size: clamp(3.4rem, 6vw, 7rem)
}

.contact__copy > p:last-child {
    max-width: 34rem;
    color: #9fb3ad;
    line-height: 1.7
}

.section--contact .eyebrow {
    color: #75d8c7
}

.contact-form {
    display: grid;
    gap: 1.2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .045)
}

.contact-form label {
    display: grid;
    gap: .55rem;
    color: #c9d8d4;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em
}

.contact-form input, .contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    padding: .75rem 0;
    background: transparent;
    color: #fff;
    outline: none
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #75d8c7
}

.contact-form textarea {
    resize: vertical
}

.contact-form button {
    margin-top: .5rem;
    border: 0;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    background: #f4fbf9;
    color: #10201d;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    cursor: pointer
}

.contact-form__status {
    min-height: 1.2em;
    margin: 0;
    color: #75d8c7;
    font-size: .8rem
}

.site-footer {
    position: relative;
    z-index: 5;
    padding: 4rem var(--page-x) 2rem;
    display: grid;
    grid-template-columns:1fr auto;
    gap: 3rem;
    background: #07100f;
    color: #dce8e4;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.site-footer__brand p {
    color: #82958f;
    line-height: 1.7
}

.site-footer__links {
    display: grid;
    gap: .75rem;
    align-content: start;
    font-size: .8rem
}

.site-footer__legal {
    grid-column: 1/-1;
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #70837d;
    font-size: .72rem
}

@media (max-width: 1000px) {
    :root {
        --header-h: 66px
    }

    .site-header {
        top: 10px
    }

    .site-nav {
        position: fixed;
        z-index: -1;
        inset: -10px -14px auto -14px;
        height: 100vh;
        padding: 7rem var(--page-x);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        background: rgba(247, 250, 247, .97);
        backdrop-filter: blur(20px);
        font-size: clamp(1.2rem, 4vw, 2.4rem);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s ease
    }

    body.menu-open .site-nav {
        z-index: 49;
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 50
    }

    .hero-copy {
        top: auto;
        bottom: 12vh;
        width: min(86vw, 40rem);
        transform: none
    }

    .hero-copy.is-active {
        transform: none
    }

    .properties__heading {
        width: min(70vw, 36rem)
    }

    .property-callout {
        width: min(240px, 28vw)
    }

    .property-callout--b {
        left: 6%
    }

    .property-callout--c {
        right: 6%
    }

    .property-callout--d {
        left: 3%
    }

    .property-callout--e {
        right: 3%
    }

    .use-panel {
        grid-template-columns:1fr 1fr
    }

    .contact__inner {
        grid-template-columns:1fr
    }

    .contact-form {
        max-width: 720px
    }
}

@media (max-width: 720px) {
    .hero {
        height: 340vh
    }

    .hero h1, .hero h2 {
        font-size: clamp(3rem, 11vw, 6rem)
    }

    .properties__heading {
        top: calc(var(--header-h) + 2rem);
        width: calc(100% - 2 * var(--page-x))
    }

    .properties__heading h2 {
        font-size: clamp(1.9rem, 8vw, 3rem)
    }

    .property-callout {
        width: 42vw
    }

    .property-callout__icon {
        width: 64px;
        height: 64px
    }

    .property-callout p {
        font-size: .82rem
    }

    .property-callout--a {
        top: 22%
    }

    .property-callout--b {
        top: 38%;
        left: 2%
    }

    .property-callout--c {
        top: 38%;
        right: 2%
    }

    .property-callout--d {
        top: 70%;
        left: 2%
    }

    .property-callout--e {
        top: 70%;
        right: 2%
    }

    .section--uses {
        height: 330vh
    }

    .use-panel {
        grid-template-columns:1fr;
        padding-top: calc(var(--header-h) + 6.2rem);
        gap: 1.4rem
    }

    .use-panel__visual {
        height: 34vh;
        min-height: 220px
    }

    .use-panel h3 {
        font-size: clamp(2.7rem, 12vw, 4.7rem);
        margin: .3rem 0 .8rem
    }

    .use-panel__content > p:not(.use-panel__kicker) {
        line-height: 1.55
    }

    .uses__hud {
        top: calc(var(--header-h) + 1.7rem)
    }

    .site-footer {
        grid-template-columns:1fr
    }

    .site-footer__legal {
        grid-column: auto
    }
}

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

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

    .section--properties, .section--uses {
        height: auto
    }

    .properties__sticky, .uses__viewport {
        position: relative;
        height: auto;
        min-height: 100vh
    }

    .properties__scene {
        position: relative;
        min-height: 850px
    }

    .properties__heading {
        position: relative;
        top: auto;
        left: auto;
        padding: 8rem var(--page-x) 2rem;
        opacity: 1;
        transform: none
    }

    .property-callout {
        opacity: 1;
        transform: none
    }

    .uses__track {
        display: block
    }

    .use-panel {
        height: auto;
        min-height: 100vh
    }
}
