:root {
    --ink: #111111;
    --paper: #f4f1e9;
    --white: #ffffff;
    --lime: #c9ff3d;
    --coral: #ff684d;
    --line: rgba(17, 17, 17, 0.18);
}

/* Base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Alexandria", sans-serif;
    font-size: 17px;
    font-weight: 300;
}

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

img {
    display: block;
    max-width: 100%;
}

.eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* Header */

.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 108px;
    padding: 0 clamp(22px, 4vw, 68px);
    border-bottom: 1px solid var(--line);
}

.brand {
    width: 126px;
}

.brand img {
    width: 100%;
    filter: drop-shadow(0 4px 5px rgba(17, 17, 17, 0.14));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 400;
}

.main-nav a {
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}

.main-nav .nav-cta {
    padding: 14px 20px;
    border-radius: 99px;
    background: var(--ink);
    color: var(--white);
}

.nav-cta span {
    margin-left: 8px;
    color: var(--lime);
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 108px);
    padding: clamp(45px, 7vh, 90px) clamp(22px, 4vw, 68px) 44px;
    overflow: hidden;
}

.hero::after {
    position: absolute;
    top: 13%;
    right: -9vw;
    width: 36vw;
    min-width: 320px;
    height: 36vw;
    min-height: 320px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    opacity: 0.13;
    content: "";
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-kicker span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8fcf16;
    box-shadow: 0 0 0 5px rgba(143, 207, 22, 0.18);
}

.hero h1 {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 6vh 0 7vh;
    font-size: clamp(62px, 9.2vw, 148px);
    font-weight: 500;
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.hero h1 em {
    color: var(--coral);
    font-style: normal;
    font-weight: 200;
}

.hero-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 62%;
    max-width: 780px;
    margin-left: auto;
}

.hero-bottom p {
    max-width: 540px;
    margin: 0;
    font-size: clamp(17px, 1.6vw, 24px);
    line-height: 1.5;
}

.circle-link {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--lime);
    font-size: 30px;
    transition: transform 0.25s ease;
}

.circle-link:hover {
    transform: rotate(-12deg) scale(1.08);
}

.hero-stamp {
    position: absolute;
    right: 5vw;
    bottom: 4vw;
    z-index: 2;
    padding: 14px 18px;
    transform: rotate(7deg);
    background: var(--ink);
    color: var(--lime);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.15em;
}

/* Moving message */

.ticker {
    padding: 18px 0;
    overflow: hidden;
    transform: rotate(-1.2deg) scale(1.02);
    background: var(--ink);
    color: var(--white);
    white-space: nowrap;
}

.ticker div {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    word-spacing: 12px;
    animation: ticker 25s linear infinite;
}

.ticker b {
    color: var(--lime);
}

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

/* Services */

.services {
    padding: 150px clamp(22px, 4vw, 68px);
}

.section-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr 1fr;
    align-items: start;
    gap: 40px;
    margin-bottom: 80px;
}

.section-heading h2,
.work-callout h2 {
    margin: 0;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.section-heading .intro {
    max-width: 430px;
    margin: 8px 0 0;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--ink);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 8px 9px 0 var(--ink);
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
    grid-column: span 7;
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
    grid-column: span 5;
}

.service-card:nth-child(5),
.service-card:nth-child(6) {
    grid-column: span 6;
}

.service-card.featured,
.service-card.lime {
    background: var(--lime);
}

.service-card.coral {
    background: var(--coral);
}

.service-card.dark {
    background: var(--ink);
    color: var(--white);
}

.service-number {
    font-size: 12px;
    letter-spacing: 0.1em;
}

.service-card img {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 54px;
    height: 54px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.service-card.dark img {
    filter: invert(1);
    mix-blend-mode: normal;
}

.service-card h3 {
    max-width: 620px;
    margin: auto 0 18px;
    font-size: clamp(29px, 3vw, 45px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.service-card p {
    max-width: 550px;
    margin: 0 0 26px;
    line-height: 1.55;
}

.service-card a {
    display: flex;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid currentColor;
    font-size: 14px;
    font-weight: 500;
}

.service-card a span {
    font-size: 20px;
}

/* Manifesto */

.manifesto {
    padding: 130px clamp(22px, 7vw, 120px);
    background: var(--ink);
    color: var(--white);
}

.manifesto .eyebrow {
    color: var(--lime);
}

.manifesto-copy {
    max-width: 1250px;
    margin: 55px 0 110px;
    font-size: clamp(42px, 6.2vw, 92px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.manifesto-copy span {
    color: var(--coral);
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #555555;
}

.principles article {
    min-height: 160px;
    padding: 28px 35px 0 0;
    border-right: 1px solid #555555;
}

.principles article + article {
    padding-left: 35px;
}

.principles article:last-child {
    border-right: 0;
}

.principles b {
    display: block;
    margin-bottom: 16px;
    color: var(--lime);
    font-size: 25px;
    font-weight: 400;
}

.principles span {
    display: block;
    max-width: 310px;
    color: #bbbbbb;
    line-height: 1.6;
}

/* Portfolio callout */

.work-callout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 120px clamp(22px, 4vw, 68px);
    background: var(--coral);
}

.work-callout .eyebrow {
    margin-bottom: 35px;
}

.work-callout h2 span {
    font-weight: 200;
}

.work-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 15px;
    text-align: center;
    transition: transform 0.25s ease;
}

.work-link span {
    color: var(--lime);
    font-size: 24px;
}

.work-link:hover {
    transform: rotate(-8deg) scale(1.04);
}

/* Contact */

.contact {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 8vw;
    padding: 140px clamp(22px, 6vw, 100px);
    background: var(--paper);
}

.contact-intro h2 {
    margin: 38px 0;
    font-size: clamp(52px, 6vw, 94px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.contact-intro h2 em {
    color: var(--coral);
    font-style: normal;
    font-weight: 200;
}

.contact-intro > p:not(.eyebrow) {
    max-width: 440px;
    line-height: 1.7;
}

.contact-note {
    margin-top: 38px;
    font-size: 13px;
    font-weight: 500;
}

.contact-note span {
    margin-right: 8px;
    color: #4aa52e;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    padding: clamp(25px, 4vw, 55px);
    border: 1px solid var(--ink);
    background: var(--white);
    box-shadow: 12px 12px 0 var(--lime);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.full-field {
    grid-column: 1 / -1;
}

.field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid #aaaaaa;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: 300 17px "Alexandria", sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--coral);
}

.field textarea {
    resize: vertical;
}

.contact-form .g-recaptcha,
.contact-form #status,
.contact-form button {
    grid-column: 1 / -1;
}

.contact-form .g-recaptcha {
    overflow: hidden;
}

.contact-form #status {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
    text-align: left;
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border: 0;
    background: var(--ink);
    color: var(--white);
    font: 500 16px "Alexandria", sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-form button span {
    color: var(--lime);
    font-size: 23px;
}

.contact-form button:hover {
    background: var(--coral);
    color: var(--ink);
}

/* Footer */

footer {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px clamp(22px, 4vw, 68px);
    background: var(--ink);
    color: #aaaaaa;
    font-size: 13px;
}

footer .footer-brand {
    width: 100px;
    margin-right: auto;
}

footer img {
    width: 100%;
}

.back-top {
    margin-left: auto;
    color: var(--white);
}

.back-top:hover {
    color: var(--lime);
}

.cc-window {
    font-family: "Alexandria", sans-serif !important;
    font-size: 13px !important;
}

/* Portfolio page */

.portfolio-page {
    background: var(--paper);
}

.portfolio-header [aria-current="page"] {
    border-bottom: 1px solid var(--ink);
}

.portfolio-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: end;
    min-height: calc(100vh - 108px);
    padding: clamp(60px, 8vh, 110px) clamp(22px, 4vw, 68px) 65px;
    overflow: hidden;
}

.portfolio-hero::before {
    position: absolute;
    top: 8%;
    right: 7%;
    width: clamp(230px, 31vw, 500px);
    height: clamp(230px, 31vw, 500px);
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 50%;
    content: "";
}

.portfolio-hero-copy {
    position: relative;
    z-index: 2;
}

.portfolio-hero-copy h1 {
    margin: 6vh 0 0;
    font-size: clamp(68px, 10vw, 156px);
    font-weight: 500;
    line-height: 0.82;
    letter-spacing: -0.075em;
}

.portfolio-hero-copy h1 em {
    color: var(--coral);
    font-style: normal;
    font-weight: 200;
}

.portfolio-hero-note {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 18px;
    max-width: 420px;
    margin: 0 0 1.2vw auto;
}

.portfolio-hero-note > span {
    color: var(--coral);
    font-size: 25px;
}

.portfolio-hero-note p {
    margin: 0;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.6;
}

.portfolio-index {
    position: absolute;
    top: 10%;
    right: 9%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(17, 17, 17, 0.08);
}

.portfolio-index span {
    font-size: clamp(120px, 20vw, 310px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.12em;
}

.portfolio-index small {
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.portfolio-ticker {
    background: var(--coral);
    color: var(--ink);
}

.portfolio-ticker b {
    color: var(--ink);
}

.portfolio-showcase {
    padding: 140px clamp(22px, 4vw, 68px);
}

.websites-showcase {
    background: var(--ink);
    color: var(--white);
}

.logos-showcase {
    background: var(--lime);
}

.showcase-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr 0.8fr;
    align-items: start;
    gap: 45px;
    margin-bottom: 85px;
}

.showcase-heading h2 {
    margin: 0;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 400;
    line-height: 0.97;
    letter-spacing: -0.06em;
}

.showcase-heading h2 span {
    color: var(--coral);
    font-weight: 200;
}

.logos-showcase .showcase-heading h2 span {
    color: var(--ink);
    opacity: 0.45;
}

.showcase-heading > p:last-child {
    margin: 7px 0 0;
    line-height: 1.7;
}

.websites-showcase .showcase-heading > p:last-child {
    color: #bbbbbb;
}

.carousel-shell {
    position: relative;
}

.showcase-carousel .owl-wrapper-outer {
    padding: 12px 0 28px;
}

.showcase-carousel .owl-item {
    padding: 0 10px;
}

.portfolioBox {
    position: relative;
    width: 100%;
    height: auto;
    padding: 12px 12px 54px;
    border: 1px solid #484848;
    background: #202020;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolioBox::before {
    display: block;
    height: 20px;
    margin-bottom: 10px;
    background: radial-gradient(circle at 7px 50%, var(--coral) 0 3px, transparent 4px),
                radial-gradient(circle at 19px 50%, var(--lime) 0 3px, transparent 4px),
                radial-gradient(circle at 31px 50%, #777777 0 3px, transparent 4px);
    content: "";
}

.portfolioBox::after {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #888888;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    content: "VER PROJETO ↗";
}

.portfolioBox:hover {
    transform: translateY(-7px);
    box-shadow: 7px 8px 0 var(--coral);
}

.portfolioBox img {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 177;
    margin: 0;
    object-fit: cover;
}

.logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 210px;
    padding: 35px;
    border: 1px solid var(--ink);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover {
    transform: rotate(-1.5deg) translateY(-5px);
    box-shadow: 7px 8px 0 var(--ink);
}

.logo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 115px;
    object-fit: contain;
}

.showcase-carousel.owl-theme .owl-controls {
    margin-top: 35px;
    text-align: left;
}

.showcase-carousel.owl-theme .owl-controls .owl-buttons div {
    min-width: 64px;
    margin: 0 10px 0 0;
    padding: 14px 20px;
    border: 1px solid currentColor;
    border-radius: 99px;
    background: transparent;
    color: inherit;
    font: 400 20px "Alexandria", sans-serif;
    opacity: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.websites-showcase .showcase-carousel.owl-theme .owl-controls .owl-buttons div:hover {
    background: var(--lime);
    color: var(--ink);
}

.logos-showcase .showcase-carousel.owl-theme .owl-controls .owl-buttons div:hover {
    background: var(--ink);
    color: var(--white);
}

.carousel-hint {
    position: absolute;
    right: 10px;
    bottom: 3px;
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.carousel-hint span {
    margin-left: 8px;
    font-size: 19px;
}

.portfolio-cta {
    position: relative;
    padding: 140px clamp(22px, 6vw, 100px);
    overflow: hidden;
    background: var(--coral);
}

.portfolio-cta h2 {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 45px 0 65px;
    font-size: clamp(54px, 8vw, 120px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.portfolio-cta > a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 19px 25px;
    background: var(--ink);
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.portfolio-cta > a span {
    color: var(--lime);
    font-size: 24px;
}

.portfolio-cta-mark {
    position: absolute;
    right: -2vw;
    bottom: -9vw;
    color: rgba(17, 17, 17, 0.08);
    font-size: clamp(220px, 34vw, 520px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.12em;
}

.portfolio-cta-mark span {
    color: var(--lime);
    font-size: 0.2em;
}

/* Responsive */

@media (max-width: 900px) {
    .site-header {
        height: 84px;
    }

    .brand {
        width: 100px;
    }

    .main-nav > a:not(.nav-cta) {
        display: none;
    }

    .main-nav .nav-cta {
        padding: 12px 16px;
    }

    .hero {
        min-height: calc(100svh - 84px);
        padding-top: 45px;
    }

    .hero h1 {
        margin: 12vh 0 8vh;
        font-size: clamp(58px, 16vw, 96px);
        line-height: 0.84;
    }

    .hero-bottom {
        align-items: center;
        width: 100%;
    }

    .hero-bottom p {
        max-width: 75%;
        font-size: 16px;
    }

    .circle-link {
        width: 56px;
        height: 56px;
    }

    .hero-stamp {
        display: none;
    }

    .ticker div {
        animation-duration: 16s;
    }

    .services {
        padding-top: 110px;
        padding-bottom: 100px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 54px;
    }

    .section-heading .intro {
        margin-top: 0;
    }

    .service-card:nth-child(n) {
        grid-column: span 12;
        min-height: 370px;
    }

    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .manifesto {
        padding: 100px 22px;
    }

    .manifesto-copy {
        margin: 45px 0 80px;
    }

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

    .principles article,
    .principles article + article {
        min-height: 0;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid #555555;
    }

    .work-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
    }

    .work-link {
        width: 145px;
        height: 145px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 100px 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        box-shadow: 7px 7px 0 var(--lime);
    }

    .field {
        grid-column: 1 / -1;
    }

    footer {
        flex-wrap: wrap;
        gap: 20px;
    }

    footer .footer-brand {
        width: 85px;
    }

    footer p {
        width: 100%;
        margin: 0;
    }

    .back-top {
        margin-left: 0;
    }

    .portfolio-hero {
        grid-template-columns: 1fr;
        align-content: space-between;
        min-height: calc(100svh - 84px);
        padding-top: 60px;
    }

    .portfolio-hero-copy h1 {
        margin-top: 12vh;
        font-size: clamp(62px, 16vw, 100px);
    }

    .portfolio-hero-note {
        max-width: 520px;
        margin: 60px 0 0;
    }

    .portfolio-index {
        top: 12%;
        right: 3%;
    }

    .showcase-heading {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 55px;
    }

    .portfolio-showcase,
    .portfolio-cta {
        padding: 100px 22px;
    }

    .carousel-hint {
        display: none;
    }

    .logo {
        height: 190px;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 14.5vw;
    }

    .hero-long-word {
        display: inline-block;
        font-size: 0.8em;
        letter-spacing: -0.065em;
    }

    .main-nav .nav-cta {
        font-size: 12px;
    }

    .circle-link {
        display: none;
    }

    .hero-bottom p {
        max-width: 100%;
    }

    .service-card,
    .contact-form {
        padding: 24px;
    }

    .work-callout h2 {
        font-size: 48px;
    }

    .portfolio-hero-copy h1 {
        font-size: 14.5vw;
    }

    .portfolio-hero::before {
        right: -30%;
    }

    .portfolio-index {
        opacity: 0.65;
    }

    .showcase-heading h2 {
        font-size: 46px;
    }

    .portfolio-cta h2 {
        font-size: 50px;
    }
}

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

    .ticker div {
        animation: none;
    }

    .service-card,
    .circle-link,
    .work-link {
        transition: none;
    }
}
