:root {
    --bg: #faf9f5;
    --fg: #292929;
    --primary: #ffd000;
    --secondary: #f1f0eb;
    --muted: #777;
    --border: #d9d8d2;
    --white: #fff;
    --display: "Outfit", system-ui, sans-serif;
    --body: "Figtree", system-ui, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased
}

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

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

button,
input,
textarea {
    font: inherit
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto
}

.lang-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.site {
    display: none
}

.site-pt {
    display: block
}

.site-en {
    display: none
}

#lang-en:checked~.site-pt {
    display: none
}

#lang-en:checked~.site-en {
    display: block
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--fg);
    color: var(--bg)
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.logo {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05
}

.logo-brand {
    white-space: nowrap
}

.logo-accent {
    color: var(--primary)
}

.logo-name {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
    font-size: .5625em;
    font-weight: 700;
    letter-spacing: .02em;
    color: #ffffff
}

.header nav.nav-desktop {
    display: flex;
    gap: 32px
}

.header nav.nav-desktop a {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #aaa;
    transition: .2s
}

.header nav.nav-desktop a:hover {
    color: var(--primary)
}

.nav-mobile {
    display: none;
    position: relative
}

.nav-mobile-toggle {
    list-style: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #555;
    cursor: pointer;
    user-select: none
}

.nav-mobile-toggle::-webkit-details-marker {
    display: none
}

.nav-mobile-icon,
.nav-mobile-icon::before,
.nav-mobile-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--bg);
    transition: transform .2s ease, opacity .2s ease
}

.nav-mobile-icon {
    position: relative
}

.nav-mobile-icon::before,
.nav-mobile-icon::after {
    content: "";
    position: absolute;
    left: 0
}

.nav-mobile-icon::before {
    top: -6px
}

.nav-mobile-icon::after {
    top: 6px
}

.nav-mobile[open] .nav-mobile-icon {
    background: transparent
}

.nav-mobile[open] .nav-mobile-icon::before {
    top: 0;
    transform: rotate(45deg)
}

.nav-mobile[open] .nav-mobile-icon::after {
    top: 0;
    transform: rotate(-45deg)
}

.nav-mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: min(260px, calc(100vw - 40px));
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--fg);
    border: 1px solid #555;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    z-index: 30
}

.nav-mobile-panel a {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #aaa;
    transition: color .2s ease, background .2s ease
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a:focus-visible {
    color: var(--primary);
    background: rgba(255, 255, 255, .04);
    outline: none
}

.nav-mobile-panel .button {
    margin-top: 8px;
    text-align: center
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px
}

.languages {
    display: flex;
    border: 1px solid #555
}

.languages label {
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer
}

.languages label:hover {
    background: #444
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: var(--primary);
    color: var(--fg);
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s
}

.button:hover {
    filter: brightness(.94)
}

.button.small {
    padding: 10px 14px
}

.languages .active {
    background: var(--primary);
    color: var(--fg)
}

.skip {
    position: fixed;
    left: 15px;
    top: -60px;
    z-index: 100;
    background: var(--primary);
    padding: 10px;
    font-weight: 800
}

.skip:focus {
    top: 15px
}

.hero {
    display: grid;
    grid-template-columns: 7fr 5fr;
    min-height: 760px
}

.hero-image {
    position: relative;
    min-height: 520px;
    overflow: hidden
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.eyebrow {
    position: absolute;
    z-index: 2;
    left: 20px;
    top: 32px;
    border-left: 8px solid var(--primary);
    padding-left: 14px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase
}

.hero-copy-wrap {
    display: flex;
    align-items: center
}

.hero-card {
    position: relative;
    z-index: 2;
    margin-left: -96px;
    background: var(--fg);
    color: var(--bg);
    padding: 56px;
    max-width: 610px
}

.hero-card h1,
h2,
h3 {
    font-family: var(--display);
    margin: 0
}

.hero-card h1 {
    font-size: clamp(48px, 5.6vw, 82px);
    line-height: .88;
    text-transform: uppercase;
    font-weight: 900
}

.titlealtcolor {
    color: var(--primary);
}

.outline {
    color: var(--primary);

}

.hero-card p {
    max-width: 390px;
    margin: 28px 0 0;
    color: #aaa;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px
}

.underlink {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bg);
    padding-bottom: 4px
}

.facts {
    border-block: 1px solid var(--border)
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.fact {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 28px 20px;
    border-right: 1px solid var(--border)
}

.fact:last-child {
    border-right: 0
}

.fact i {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    flex: 0 0 auto
}

.fact small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.fact strong {
    display: block;
    margin-top: 2px;
    font-size: 15px
}

.section {
    padding-block: 120px
}

.demos {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.kicker {
    display: inline-block;
    border-left: 8px solid var(--primary);
    padding-left: 12px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.section h2,
.work h2,
.services h2,
.contact h2 {
    margin-top: 16px;
    font-size: clamp(48px, 5.2vw, 70px);
    line-height: .94;
    text-transform: uppercase;
    font-weight: 900
}

.section-intro>p:not(.kicker) {
    max-width: 430px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6
}

.arrow {
    display: block;
    margin-top: 40px;
    color: var(--primary);
    font-size: 52px;
    font-weight: 300
}

.demo-list {
    border-block: 1px solid var(--border)
}

.demo {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border)
}

.demo:last-child {
    border-bottom: 0
}

.number {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800
}

.demo h3 {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 900
}

.demo p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5
}

.audio-note {
    font-size: 11px !important
}

.demo audio {
    width: 230px;
    height: 40px
}

.demo code {
    font-family: ui-monospace, monospace;
    font-size: 10px
}

.work {
    padding-block: 120px;
    background: var(--secondary)
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 48px
}

.work figure {
    position: relative;
    aspect-ratio: 16/10;
    margin: 0;
    overflow: hidden;
    background: #ddd
}

.work figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.work figure:hover img {
    transform: scale(1.05)
}

.object-left {
    object-position: left
}

.object-center {
    object-position: center
}

.object-right {
    object-position: right
}

.work figcaption {
    position: absolute;
    inset: auto 0 0;
    background: var(--fg);
    color: var(--bg);
    padding: 8px;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase
}

.work figcaption span {
    color: var(--primary);
    margin-right: 12px;
    font-family: var(--body);
    font-size: 12px
}

.video-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 11px
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.about-image {
    position: relative
}

.about-image img,
.about-image picture {
    display: block;
    width: 100%
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.about-image span {
    position: absolute;
    right: 20px;
    bottom: -20px;
    background: var(--primary);
    padding: 15px 22px;
    font-weight: 900;
    text-transform: uppercase
}

.large-copy {
    max-width: 620px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7
}

.about-social {
    display: flex;
    gap: 14px;
    margin-top: 28px
}

.social-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    color: var(--fg);
    transition: background .2s ease, border-color .2s ease, color .2s ease
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--primary);
    outline: none
}

.services {
    border-block: 1px solid var(--border);
    padding-block: 120px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 55px;
    border-top: 1px solid var(--border)
}

.service-grid article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    padding: 32px;
    border-right: 1px solid var(--border)
}

.service-grid article:first-child {
    padding-left: 0
}

.service-grid article:last-child {
    border-right: 0
}

.service-icon {
    display: block;
    color: var(--primary);
    font-size: 30px
}

.service-grid small {
    display: block;
    margin-top: 30px;
    font-weight: 800
}

.service-grid h3 {
    font-size: 25px;
    margin-top: 10px;
    text-transform: uppercase
}

.service-grid p {
    color: var(--muted);
    line-height: 1.6
}

.contact {
    background: var(--fg);
    color: var(--bg);
    padding-block: 120px
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.contact .kicker {
    color: #aaa
}

.contact h2 {
    max-width: 650px
}

.contact-grid>div>p:last-child {
    color: #999;
    line-height: 1.6
}

.contact form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.contact label {
    display: block;
    color: #999;
    font-size: 14px
}

.contact input,
.contact textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #555;
    background: transparent;
    color: var(--bg);
    padding: 13px 14px;
    outline: 0
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--primary)
}

.contact .full {
    grid-column: 1/-1
}

.contact .button {
    margin-top: 2px
}

footer {
    background: var(--primary);
    padding: 30px 0;
    color: var(--fg)
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    font-weight: 800
}

footer .logo-accent {
    color: var(--fg)
}

footer .logo-name {
    color: rgba(41, 41, 41, .7)
}

.footer-grid nav {
    display: flex;
    gap: 22px
}

.footer-grid nav a:hover {
    text-decoration: underline
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px 24px;
    margin-top: 48px
}

.showcase:hover .media img {
    transform: scale(1.05)
}

.section,
.work-section,
.services-section,
.contact-section {
    padding-top: 80px;
    padding-bottom: 80px
}

.section h2,
.work-section h2,
.services-section h2,
.contact-section h2 {
    font-size: 48px
}

.work-heading>p {
    max-width: 650px
}

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

.services-grid article,
.services-grid article:first-child {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border)
}

.services-grid article:last-child {
    border-bottom: 0
}

.section,
.work-section,
.services-section,
.contact-section {
    padding-top: 96px;
    padding-bottom: 96px
}

.work-section {
    background: var(--secondary);
    padding: 128px 0
}

.work-heading {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: end
}

.work-heading>p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6
}

.section h2,
.work-section h2,
.services-section h2,
.contact-section h2 {
    margin-top: 16px;
    font-size: clamp(48px, 5vw, 78px);
    line-height: .94
}

.demo-card audio,
.demo-card video {
    width: 100%;
    display: block;
    border-radius: 0;
}

.demo-card audio {
    height: 42px;
}

.demo-card video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.work figure video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

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

    .nav-mobile {
        display: block
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .hero-image {
        min-height: 620px
    }

    .hero-copy-wrap {
        padding: 40px 0
    }

    .hero-card {
        margin: -100px 20px 0 0;
        padding: 38px
    }

    .demos,
    .about,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .section,
    .work,
    .services,
    .contact {
        padding-block: 85px
    }

    .work-grid,
    .service-grid {
        grid-template-columns: 1fr
    }

    .service-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 28px 0
    }

    .service-grid article:last-child {
        border-bottom: 0
    }

    .demo {
        grid-template-columns: 35px 1fr
    }

    .demo audio {
        grid-column: 2;
        width: 100%
    }

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

    .fact {
        border-right: 0;
        border-bottom: 1px solid var(--border)
    }

    .fact:last-child {
        border-bottom: 0
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-grid nav {
        order: 2
    }

    .desktop-book {
        display: none
    }
}

@media(max-width:520px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    .nav-wrap {
        min-height: 68px
    }

    .about-image img {
        aspect-ratio: 1/1;
        max-height: 280px;
        object-position: center top
    }

    .about-image span {
        right: 12px;
        bottom: -14px;
        padding: 10px 14px;
        font-size: 12px
    }

    .hero-image {
        min-height: 500px
    }

    .hero-card {
        margin: -70px 10px 0 0;
        padding: 28px
    }

    .hero-card h1 {
        font-size: 48px
    }

    .section h2,
    .work h2,
    .services h2,
    .contact h2 {
        font-size: 46px
    }

    .demo {
        grid-template-columns: 28px 1fr
    }

    .demo h3 {
        font-size: 21px
    }

    .languages label {
        padding: 6px 8px
    }

    .showcase-meta {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 0;
        border-bottom: 1px solid var(--border)
    }

    .showcase-meta small {
        font-size: 11px;
        text-transform: uppercase;
        color: var(--muted)
    }

    .showcase-meta h3 {
        margin-top: 8px;
        font-size: 27px
    }

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

    .section h2,
    .work-section h2,
    .services-section h2,
    .contact-section h2 {
        margin-top: 16px;
        font-size: clamp(48px, 5vw, 78px);
        line-height: .94
    }
}


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

    .work figure img {
        transition: none
    }
}