:root {
    --yellow: #ffdd2d;
    --black: #171717;
    --white: #ffffff;
    --paper: #f7f7f4;
    --muted: #777770;
    --line: #deded8;
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.header {
    height: 82px;
    padding: 0 max(5vw, calc((100vw - var(--max)) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--yellow);
    border-bottom: 1px solid rgba(0,0,0,.12);
    position: relative;
    z-index: 2;
}

.brand {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -2px;
}

.brand > span:first-child {
    color: #fff;
}

.brand .dot {
    color: var(--black);
}

.nav {
    display: flex;
    gap: 36px;
}

.nav a,
.header-cta {
    font-size: 13px;
    font-weight: 700;
}

.nav a:hover {
    opacity: .55;
}

.header-cta {
    background: var(--black);
    color: white;
    padding: 13px 19px;
    border-radius: 30px;
}

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

.hero {
    background: var(--yellow);
    padding: 48px max(5vw, calc((100vw - var(--max)) / 2)) 25px;
    min-height: 690px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-top,
.hero-bottom,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.eyebrow,
.hero-index,
.hero-bottom,
.section-aside,
.service-no,
.tech-category,
.art-top,
.art-bottom {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.hero-index {
    opacity: .55;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 40px;
    padding: 45px 0;
}

.hero h1 {
    font-size: clamp(76px, 10vw, 142px);
    line-height: .82;
    letter-spacing: -10px;
    font-weight: 900;
    margin: 0 0 35px;
}

.hero h1 span {
    display: inline-block;
    background: var(--black);
    color: var(--yellow);
    padding: 5px 17px 15px 10px;
    border-radius: 9px;
    transform: rotate(-2deg);
}

.hero-description {
    max-width: 430px;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 28px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding: 17px 22px;
    background: var(--black);
    color: white;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s;
}

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

.primary-button span {
    color: var(--yellow);
    font-size: 18px;
}

.hero-art {
    position: relative;
    max-width: 430px;
    width: 100%;
    justify-self: end;
}

.art-frame {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(7deg);
}

.art-top,
.art-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

.art-symbol {
    position: relative;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.symbol-circle {
    width: 145px;
    height: 145px;
    border: 24px solid var(--yellow);
    border-radius: 50%;
}

.symbol-line {
    position: absolute;
    width: 210px;
    height: 24px;
    background: var(--yellow);
    transform: rotate(-42deg);
}

.symbol-square {
    position: absolute;
    width: 42px;
    height: 42px;
    background: var(--yellow);
    right: 50px;
    top: 10px;
    border-radius: 8px;
}

.art-note {
    position: absolute;
    bottom: 15px;
    left: -35px;
    background: white;
    padding: 16px 22px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 900;
    transform: rotate(-5deg);
}

.hero-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.2);
}

.scroll-note {
    margin-left: auto;
}

.section {
    max-width: var(--max);
    margin: auto;
    padding: 115px 0;
}

.section-heading {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.section-aside {
    color: var(--muted);
}

.intro-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin: 65px 0 85px;
}

.intro-heading h2,
.technology-heading h2 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: .92;
    letter-spacing: -6px;
    margin: 0;
}

.intro-heading h2 span,
.technology-heading h2 span {
    color: #aaa99f;
}

.intro-heading p {
    max-width: 300px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 5px;
}

.service-row {
    display: grid;
    grid-template-columns: 65px 1fr 1.1fr 35px;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

.service-row:last-child {
    border-bottom: 1px solid var(--line);
}

.service-no {
    color: var(--muted);
}

.service-row h3 {
    margin: 0;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -1.5px;
}

.service-row p {
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.service-arrow {
    font-size: 23px;
    text-align: right;
    transition: transform .2s;
}

.service-row:hover .service-arrow {
    transform: translate(4px, -4px);
}

.approach {
    background: var(--black);
    color: var(--white);
    padding: 100px max(5vw, calc((100vw - var(--max)) / 2));
}

.approach .section-heading {
    border-color: #454545;
}

.approach .section-aside {
    color: #999;
}

.approach h2 {
    font-size: clamp(62px, 9vw, 116px);
    line-height: .9;
    letter-spacing: -8px;
    margin: 90px 0 75px;
}

.approach h2 span {
    color: var(--yellow);
}

.approach-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #454545;
    padding-top: 25px;
}

.approach-mark {
    font-size: 68px;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -7px;
}

.approach-bottom p {
    max-width: 440px;
    color: #c2c2c2;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.technology-heading {
    margin: 65px 0 75px;
}

.tech-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
    padding: 27px 0;
    border-top: 1px solid var(--line);
}

.tech-row:last-child {
    border-bottom: 1px solid var(--line);
}

.tech-category {
    color: var(--muted);
}

.tech-row p {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.5;
}

.tech-row i {
    color: #b0b0a6;
    font-style: normal;
    padding: 0 5px;
}

.contact {
    background: var(--yellow);
    padding: 85px max(5vw, calc((100vw - var(--max)) / 2));
}

.contact-top,
.contact-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-mark {
    font-size: 45px;
    font-weight: 900;
    letter-spacing: -5px;
}

.contact h2 {
    font-size: clamp(55px, 9vw, 112px);
    line-height: .9;
    letter-spacing: -8px;
    margin: 80px 0;
}

.contact-bottom {
    border-top: 1px solid rgba(0,0,0,.2);
    padding-top: 22px;
    align-items: flex-end;
}

.contact-bottom p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.back-top {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 15px 20px;
    background: var(--black);
    color: white;
    border-radius: 30px;
}

.footer {
    min-height: 95px;
    padding: 20px max(5vw, calc((100vw - var(--max)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer > span {
    font-size: 9px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 1350px) {
    .section {
        margin-left: 5vw;
        margin-right: 5vw;
    }
}

@media (max-width: 760px) {
    .header {
        height: 70px;
        padding: 0 20px;
    }

    .brand {
        font-size: 26px;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 35px 20px 20px;
    }

    .hero-index {
        font-size: 8px;
        text-align: right;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 65px 0 55px;
    }

    .hero h1 {
        font-size: clamp(67px, 15vw, 100px);
        letter-spacing: -6px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-art {
        width: min(75%, 300px);
        justify-self: center;
        margin: 0 0 20px;
    }

    .art-frame {
        padding: 23px;
    }

    .art-symbol {
        height: 130px;
    }

    .symbol-circle {
        width: 105px;
        height: 105px;
        border-width: 18px;
    }

    .symbol-line {
        width: 150px;
        height: 18px;
    }

    .symbol-square {
        width: 30px;
        height: 30px;
        right: 35px;
    }

    .art-note {
        left: -25px;
        font-size: 9px;
    }

    .hero-bottom {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 8px;
    }

    .scroll-note {
        width: 100%;
        margin: 8px 0 0;
    }

    .section {
        margin: 0 20px;
        padding: 80px 0;
    }

    .section-aside {
        font-size: 8px;
        text-align: right;
    }

    .intro-heading {
        display: block;
        margin: 48px 0;
    }

    .intro-heading h2,
    .technology-heading h2 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .intro-heading p {
        margin-top: 25px;
    }

    .service-row {
        grid-template-columns: 30px 1fr 25px;
        gap: 10px;
        padding: 24px 0;
    }

    .service-row h3 {
        font-size: 23px;
    }

    .service-row p {
        grid-column: 2;
        font-size: 13px;
    }

    .service-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .approach {
        padding: 75px 20px;
    }

    .approach h2 {
        font-size: 60px;
        letter-spacing: -4px;
        margin: 65px 0;
    }

    .approach-bottom {
        align-items: flex-start;
        gap: 25px;
    }

    .approach-mark {
        font-size: 50px;
    }

    .approach-bottom p {
        font-size: 13px;
    }

    .technology-heading {
        margin: 50px 0;
    }

    .tech-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 22px 0;
    }

    .tech-row p {
        font-size: 18px;
    }

    .contact {
        padding: 70px 20px;
    }

    .contact h2 {
        font-size: 58px;
        letter-spacing: -4px;
        margin: 65px 0;
    }

    .contact-bottom {
        gap: 20px;
    }

    .contact-bottom p {
        font-size: 13px;
    }

    .back-top {
        white-space: nowrap;
        font-size: 9px;
    }

    .footer {
        padding: 25px 20px;
        flex-wrap: wrap;
    }

    .footer > span {
        font-size: 8px;
    }
}

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

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