@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg: #ffffff;
    --text: #1f2937;
    --border: #e5e7eb;
    --shadow: 0 0 30px 30px rgba(0, 0, 0, .04);
    --max-width: 1440px;
}

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

body {
    margin: 0;
    font-family: "Noto Sans Display", sans-serif;
    color: var(--text);
    background: var(--bg);
}

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

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
}


/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .25s ease, background-color .2s ease;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: padding .25s ease;
}

/* Compact state on scroll */
.site-header.small {
    box-shadow: var(--shadow);
}

.site-header.small .container {
    padding: 10px 20px;
}

/* Logo */
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    top: 2px;
    transition: 0.25s;
}

.logo img {
    height: 30px;
    transition: 0.25s;
}


.site-header.small .logo img {
    height: 20px;
}

/* Desktop nav */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    padding: 0;
    margin: 0;
    align-items: stretch;
}

.nav-list li {
    text-align: center;
    display: flex;
    justify-content: center;
    min-width: 170px;
}

.nav-list li.nav-divider {
    min-width: 1px;
    width: 1px;
    min-height: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.2);
}

.nav-link {
    font-size: 0.98rem;
    color: var(--text);
    transition: color .2s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link.selected {
    font-weight: 700;
}

/* Burger button */
.burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    z-index: 60;
}

.burger:focus {
    outline: none;
    outline-offset: 2px;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
}

.burger-lines {
    top: 50%;
    transform: translate(-50%, -50%);
}

.burger-lines::before,
.burger-lines::after {
    content: "";
    left: 50%;
    transform: translateX(-50%);
}

.burger-lines::before {
    top: -7px;
}

.burger-lines::after {
    top: 7px;
}

/* Fullscreen mobile overlay (animated) */
.mobile-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 50px 0 0 0;
    z-index: 55;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(120%) blur(2px);
    /* start hidden but keep in flow for transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}

.mobile-list {
    list-style: none;
    margin: 0;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
}

.mobile-list>li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .4s ease;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-start;
}

.mobile-link {
    font-size: 1.2rem;
    width: 100%;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link.selected {
    font-weight: 700;
}

.mobile-list li:last-of-type {
    border-bottom: none;
}

/* Open state (animate in) */
.opened .mobile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}

.opened .mobile-list>li {
    opacity: 1;
    transform: none;
}

/* Staggered appearance */
.opened .mobile-list>li:nth-child(1) {
    transition-delay: .04s;
}

.opened .mobile-list>li:nth-child(2) {
    transition-delay: .08s;
}

.opened .mobile-list>li:nth-child(3) {
    transition-delay: .12s;
}

.opened .mobile-list>li:nth-child(4) {
    transition-delay: .16s;
}

/* Keep burger morph */
.opened .burger-lines {
    background: transparent;
}

.opened .burger-lines::before {
    transform: translateX(-50%) rotate(45deg);
    top: 0;
}

.opened .burger-lines::after {
    transform: translateX(-50%) rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .burger {
        display: inline-block;
    }

    .container {
        padding: 10px 20px;
    }


    .site-header.small .container {
        padding: 0px 20px;
    }

    .site-header.small .logo {
        font-size: 1.1rem;
    }
}

.section {
    max-width: var(--max-width);
    width: 100%;
    flex: 1 0 auto;
}

.section.margin {
    margin: 1rem 0;
}

.hero {
    display: flex;
    flex-direction: column-reverse;
}

.hero.background {
    background: linear-gradient(to top, #eaf4f4, #ffffff);
}

.hero-text {
    padding: 3rem 40px 5rem 40px;
    width: 100%;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}


.hero-text h2.fine {
    font-size: 1.5rem;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #374151;
    /* color: white; */
}

.hero-text .button {
    display: inline-block;
    margin: 1rem 0 0 0;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    background: #fff;
    /* background: rgb(23, 176, 186); */
    background: linear-gradient(to right, rgb(0, 115, 161), rgb(71, 200, 209));
    /* color: rgb(0, 142, 152); */
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 1);
    /* border: 1px solid rgb(23, 176, 186); */
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
}

@media (min-width: 340px) {
    .section-content {
        padding: 30px 40px;
    }
}

.hero-image-container {
    width: 100%;
    height: auto;
}

.hero-image {
    height: 100%;
    aspect-ratio: 3 / 2;
    background: url('images/surf.jpg') no-repeat center center / cover;
}

.hero-image.roadmap-image {
    background: url('images/roadmap.jpg') no-repeat center center / cover;
    transform: scaleX(-1);
}

/* Responsive */
@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
    }

    .hero.reverse {
        flex-direction: row-reverse;
    }

    .hero-text {
        width: 50%;
        align-self: center;
        padding: 4rem 3rem 4rem 5rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-text h2.fine {
        font-size: 2rem;
        font-weight: 400;
    }

    .hero-image-container {
        flex: 1 0 auto;
        width: 50%;
        display: flex;
    }

    .hero.small-image .hero-image-container {
        width: 40%;
    }

    .hero-image {
        flex: 1 0 auto;
        aspect-ratio: 3 / 2;
        width: 100%;
        height: auto;
    }

    .hero-image-container.rounded .hero-image {
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 0 30px 10px rgba(255, 255, 255, 1);
    }

    .hero-image-container.rounded {
        width: 40%;
        position: relative;
        padding: 40px;
    }

    .hero.small-image .hero-image {
        width: 40%;
        width: 100%;
        position: relative;
    }

    .hero.small-image .hero-text {
        width: 60%;
    }
}

/* Responsive */
@media (min-width: 1280px) {

    .hero-text h2 {
        font-size: 2.8rem;
        font-weight: 700;
    }
}

.tiles {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 0 20px;
}

.tile {
    display: flex;
    flex-direction: column;
    /* background: #f8ffff; */
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid #fff;
    box-shadow: 5px 10px 30px 10px rgba(0, 0, 0, 0.04);
    background: linear-gradient(to bottom right,
            rgba(253, 252, 255, 1) 0%,
            rgba(253, 252, 255, 1) 60%,
            /* stay longer on first color */
            rgba(240, 244, 247, 1) 100%);
}

.tile-image {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.roadmap-image {
    background: url('images/roadmap.jpg') no-repeat center center / cover;
}

.automation-image {
    background: url('images/automation.jpg') no-repeat center center / cover;
}

.machine-learning-image {
    background: url('images/machinelearning.jpg') no-repeat center center / cover;
}

.tile-text {
    padding: 30px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
}

.tile-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.tile-text p {
    font-weight: 300;
    margin: 0;
    font-size: .975rem;
}

/* Responsive */
@media (min-width: 850px) {

    .tiles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .tile {
        display: flex;
        flex-direction: column;
        /* background: #f8ffff; */
        overflow: hidden;
        border-radius: 20px;
        border: 3px solid #fff;
        box-shadow: 5px 10px 30px 10px rgba(0, 0, 0, 0.04);
        background: linear-gradient(to bottom right,
                rgba(253, 252, 255, 1) 0%,
                rgba(253, 252, 255, 1) 60%,
                /* stay longer on first color */
                rgba(240, 244, 247, 1) 100%);
    }

    .tile-image {
        width: 100%;
        aspect-ratio: 3 / 2;
    }

    .tile-text {
        padding: 30px 20px 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1 0 auto;
    }

    .tile-text h3 {
        font-size: 1.5rem;
        font-weight: 400;
        margin: 0 0 1rem 0;
        letter-spacing: -0.01em;
    }

    .tile-text p {
        font-weight: 300;
        margin: 0;
        font-size: .975rem;
    }
}

ul.list {
    list-style: none;
    /* removes default bullets */
    padding: 0;
    /* remove default padding */
    margin: 2rem 0 0 0;
    /* remove default margin */
    display: flex;
    /* put them in a row */
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    /* space between items */
    flex-wrap: wrap;
    /* allow wrapping to next line */
}

.list li {
    background: #ffffff;
    /* white background */
    border-radius: 12px;
    /* rounded corners */
    padding: 10px 15px;
    /* inner spacing */
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
    /* subtle shadow */
    display: inline-block;
    /* shrink to fit text */
    width: auto;
    /* don’t stretch full width */
    font-weight: 400;
    /* background: linear-gradient(to right, #ffffff, #eaf4f4); */
}

.main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
}

.hero-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 40px 60px 40px;
    text-align: center;
    flex: 1 0 auto;
    width: 100%;
}

.section-headline {
    padding: 2rem 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-headline h2 {
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0 20px;
}

.section-headline h2.emphasized {
    font-size: 2.1rem;
    font-weight: 700;
}

.section-headline h3,
.section-headline p {
    font-weight: 300;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
}

.section-headline p {
    margin: 0.5rem 0;
}

.section-headline p:nth-of-type(1) {
    margin: 0 0 0.5rem 0;
}

.section-headline p:last-of-type {
    margin: 0.5rem 0 0 0;
}

@media (min-width: 768px) {

    .section-headline h2 {
        font-size: 2rem;
        margin-bottom: 1.4rem;
    }

    .section-headline h2.emphasized {
        font-size: 2.3rem;
        font-weight: 700;
    }

    .section-headline h3,
    .section-headline p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .section-headline {
        padding: 4rem 200px 6rem 200px;
    }

    .section-headline h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .section-headline h2.emphasized {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .section-headline h3,
    .section-headline p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1280px) {

    .section-headline h2 {
        font-size: 2.4rem;
        margin-bottom: 1.75rem;
    }

    .section-headline h2.emphasized {
        font-size: 2.8rem;
        font-weight: 700;
    }

    .section-headline h3,
    .section-headline p {
        font-size: 1.2rem;
        line-height: 1.7;
    }
}

.services {
    padding: 3rem 0 5rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(240, 244, 247, 0.5));
    background-size: cover;
    background-position: center;
    transform: scaleY(1) scaleX(-1);
    z-index: -1;
}

/* ---- Grid (2 columns ≥ 640px) ---- */
.services__grid {
    --cols: 1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    list-style: none;
    max-width: 1280px;
}

@media (min-width: 640px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---- Card ---- */
.service-card {
    background: linear-gradient(180deg, color-mix(in oklab, var(--card), transparent 10%), var(--card));
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 1rem;
    box-shadow: 5px 10px 25px 0px rgba(2, 9, 26, 0.05);
    padding: clamp(2rem, 2.5vw, 2.5rem);
    background: linear-gradient(to bottom right,
            rgba(253, 252, 255, 1) 0%,
            rgba(253, 252, 255, 1) 60%,
            /* stay longer on first color */
            rgba(240, 244, 247, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    text-align: center;
}

.service-card__icon {
    inline-size: 60px;
    block-size: 60px;
    margin-bottom: 10px;
}

.service-card__icon img {
    width: 100%;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-weight: 300;
    margin: 0;
    font-size: .975rem;
}

.image-card {
    background: linear-gradient(180deg, color-mix(in oklab, var(--card), transparent 10%), var(--card));
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 1rem;
    box-shadow: 5px 10px 25px 0px rgba(2, 9, 26, 0.05);

    background: linear-gradient(to bottom right,
            rgba(253, 252, 255, 1) 0%,
            rgba(253, 252, 255, 1) 60%,
            /* stay longer on first color */
            rgba(240, 244, 247, 1) 100%);
    display: flex;
}

.image-card-image {
    flex: 1 0 auto;
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    background: url('images/architecture.jpg') no-repeat center center / cover;

}

.ai-services {
    padding: 2rem 0 2rem 0;
}

@media (min-width: 1024px) {
    .ai-services {
        padding: 4rem 0 4rem 0;
    }
}

.inline-hero {
    display: flex;
    flex-direction: column;
}

.inline-hero-container {
    background: linear-gradient(to top, #eaf4f4, #eaf4f4);
}

.inline-hero.no-mobile-background .inline-hero-container {
    background: #ffffff;
}

.inline-hero-text {
    padding: 1rem 20px 4rem 20px;
}

.inline-hero-text .section-headline {
    padding-bottom: 0;
}

.inline-hero-image {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.inline-hero-image.inline-hero-image-contact {
    background: url('images/contact.jpg') no-repeat center center / cover;
}

.inline-hero-image.inline-hero-image-focus {
    background: url('images/focus.jpg') no-repeat center center / cover;
}

@media (min-width: 1024px) {

    .inline-hero {
        /* flex-direction: row; */
        margin: 30px 0 0 0;
    }

    .inline-hero-text {
        padding: 0 20px 0rem 20px;
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .inline-hero-container {
        margin: 0 0 0 200px;
        background: linear-gradient(to top, #eaf4f4, #eaf4f4);
        padding: 3rem 40px 3rem 300px;
        position: relative;
        min-height: 350px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .inline-hero.no-mobile-background .inline-hero-container {
        background: linear-gradient(to top, #eaf4f4, #eaf4f4);
    }

    .inline-hero-container .section-headline {
        padding: 0rem 2rem 0rem 1rem;
    }

    .inline-hero-image {
        position: absolute;
        left: -180px;
        width: 450px;
        aspect-ratio: 3 / 2;
        background: url('images/contact.jpg') no-repeat center center / cover;
        overflow: hidden;
        border-radius: 20px;
    }


    .focus {
        padding: 3rem 0 0 0;
    }

}

@media (min-width: 1280px) {

    .inline-hero {
        /* flex-direction: row; */
        margin: 30px 0 0 0;
    }

    .inline-hero-container {
        margin: 0 0 0 400px;
        background: linear-gradient(to top, #eaf4f4, #eaf4f4);
        padding: 3rem 40px 3rem 300px;
        position: relative;
        min-height: 550px;
    }

    .inline-hero-container .section-headline {
        padding: 0rem 2rem 0rem 3rem;
    }

    .inline-hero-image {
        position: absolute;
        left: -380px;
        width: 650px;
        aspect-ratio: 3 / 2;
        background: url('images/contact.jpg') no-repeat center center / cover;
        overflow: hidden;
        border-radius: 20px;
    }
}

.contact {
    padding: 3rem 0 0 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    padding: 2rem 4rem 0rem 4rem;
}

.contact-channels {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.contact-channel {
    padding: 15px 40px;
    /* background: #fff; */
    border-radius: 10px;
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 400;
}

.contact-channel img {
    width: 40px;
    height: 40px;
}

@media (min-width: 1024px) {
    .focus {
        margin: 3rem 0 0 0;
    }

    .contact {
        margin: 0 0 10rem 0;
    }

}

footer {
    width: 100vw;
    padding: 6rem 4rem 4rem 4rem;
    min-height: 300px;
    background: #222;
    /* box-shadow: 0 0 40px 40px rgba(20, 20, 20, 0.1); */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 300;
    font-size: 0.8rem;
}

.company {
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.links {
    margin: 2rem 0 0 0;
}

.links a {
    text-decoration: underline;
}

.text-container {
    padding: 1rem 20px 2rem 20px;
    max-width: var(--max-width);
    width: 100%;
    flex: 1 0 auto;
}