/*
  CSS local compilado para produção, reconstruído a partir do Tailwind exportado pelo Base44.
  Cores originais: void #0A0A0B, terminal #141416, graphite #2A2A2C, volt #FF9966, zinc #E4E4E7.
*/
:root {
    --void: #0A0A0B;
    --terminal: #141416;
    --graphite: #2A2A2C;
    --volt: #FF9966;
    --zinc: #E4E4E7;
    --muted: rgba(228, 228, 231, .6);
    --faint: rgba(228, 228, 231, .4);
    --container: 1280px;
    --font-heading: "Sora", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--void);
    color: var(--zinc);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

::selection {
    background: rgba(255, 153, 102, .3);
    color: var(--zinc);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--void);
}

::-webkit-scrollbar-thumb {
    background: var(--graphite);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--volt);
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.container.narrow {
    width: min(100% - 48px, 768px);
}

.mono {
    font-family: var(--font-mono);
}

.page-kicker,
.section-kicker {
    color: var(--volt);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-kicker {
    color: rgba(255, 153, 102, .6);
    margin-bottom: 16px;
}

.section-border {
    border-bottom: 1px solid var(--graphite);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 32px;
    border: 1px solid transparent;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.button-primary {
    background: var(--volt);
    color: var(--void);
}

.button-primary:hover {
    background: rgba(255, 153, 102, .9);
}

.button-ghost {
    border-color: var(--graphite);
    color: var(--zinc);
}

.button-ghost:hover {
    border-color: var(--volt);
    color: var(--volt);
}

.button-lg {
    min-height: 60px;
    padding-inline: 40px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.action-row.center {
    justify-content: center;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: transparent;
    transition: background-color .5s ease, border-color .5s ease, backdrop-filter .5s ease;
}

.site-nav.is-scrolled {
    background: rgba(10, 10, 11, .9);
    border-bottom: 1px solid var(--graphite);
    backdrop-filter: blur(12px);
}

.nav-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    height: 44px;
    width: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a:not(.nav-cta) {
    color: rgba(228, 228, 231, .6);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--volt);
}

.nav-cta {
    background: var(--volt);
    color: var(--void);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    padding: 10px 20px;
    text-transform: uppercase;
}

.mobile-toggle,
.mobile-close {
    display: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(10, 10, 11, .98);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-kicker {
    margin-bottom: 48px;
    color: rgba(255, 153, 102, .4);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-links a {
    color: var(--zinc);
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    transition: color .2s ease;
}

.mobile-links a:hover {
    color: var(--volt);
}

.mobile-project {
    margin-top: 48px;
}

.mobile-domain {
    position: absolute;
    bottom: 32px;
    color: var(--graphite);
    font-size: 12px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--graphite);
}

.hero-bg,
.hero-bg img,
.hero-gradient,
.final-bg,
.final-bg img,
.final-bg div {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
}

.hero-gradient {
    background: linear-gradient(90deg, var(--void) 0%, rgba(10, 10, 11, .95) 48%, rgba(10, 10, 11, .7) 100%);
}

.hero-coord {
    position: absolute;
    z-index: 1;
    color: var(--graphite);
    font-size: 12px;
    user-select: none;
}

.hero-coord.top {
    top: 112px;
    left: 32px;
}

.hero-coord.bottom {
    right: 32px;
    bottom: 32px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    gap: 64px;
    padding-block: 128px;
}

.hero-copy h1,
.section-heading h2,
.final-content h2,
.page-hero h1,
.contact-heading h1,
.briefing-success h1 {
    margin: 0;
    color: var(--zinc);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy h1 {
    margin-top: 24px;
    margin-bottom: 32px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: .95;
}

.hero-copy h1 span,
.text-link,
.score,
.project-foot a {
    color: var(--volt);
}

.hero-copy p {
    max-width: 576px;
    margin: 0 0 40px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.code-panel {
    border: 1px solid var(--graphite);
    background: rgba(20, 20, 22, .8);
    backdrop-filter: blur(4px);
}

.code-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--graphite);
}

.code-toolbar i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--graphite);
}

.code-toolbar span {
    margin-left: 12px;
    color: rgba(228, 228, 231, .3);
    font-size: 12px;
}

.code-panel pre {
    max-height: 420px;
    margin: 0;
    overflow: hidden;
    padding: 20px;
    color: rgba(228, 228, 231, .5);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.65;
}

.services {
    padding-block: 176px;
}

.section-heading {
    margin-bottom: 80px;
}

.section-heading.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.final-content h2 {
    margin-top: 16px;
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.08;
}

.section-heading p {
    max-width: 448px;
    margin: 0;
    color: rgba(228, 228, 231, .5);
    font-size: 18px;
    line-height: 1.65;
}

.service-grid,
.stats-grid,
.project-grid {
    display: grid;
    gap: 1px;
    background: var(--graphite);
}

.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.stat-card,
.project-card {
    background: var(--void);
}

.service-card {
    position: relative;
    padding: 48px;
    transition: background-color .3s ease;
}

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

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 8px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.badge-fill {
    background: var(--volt);
    color: var(--void);
}

.badge-line {
    border: 1px solid var(--volt);
    color: var(--volt);
}

.service-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.service-label .mono {
    color: rgba(255, 153, 102, .6);
    font-size: 12px;
    letter-spacing: .18em;
}

.service-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--volt);
    display: inline-block;
}

.service-icon-code::before,
.service-icon-code::after,
.service-icon-globe::before,
.service-icon-server::before,
.service-icon-cart::before,
.service-icon-cart::after {
    content: "";
    position: absolute;
    border-color: var(--volt);
}

.service-icon-code {
    border: 0;
}

.service-icon-code::before {
    width: 8px;
    height: 8px;
    left: 1px;
    top: 5px;
    border-left: 2px solid var(--volt);
    border-bottom: 2px solid var(--volt);
    transform: rotate(45deg);
}

.service-icon-code::after {
    width: 8px;
    height: 8px;
    right: 1px;
    top: 5px;
    border-right: 2px solid var(--volt);
    border-top: 2px solid var(--volt);
    transform: rotate(45deg);
}

.service-icon-globe {
    border-radius: 999px;
}

.service-icon-globe::before {
    inset: 4px;
    border-left: 1.5px solid var(--volt);
    border-right: 1.5px solid var(--volt);
    border-radius: 999px;
}

.service-icon-server::before {
    left: 3px;
    right: 3px;
    top: 8px;
    border-top: 1.5px solid var(--volt);
}

.service-icon-cart {
    border: 0;
    border-bottom: 2px solid var(--volt);
    transform: translateY(-3px);
}

.service-icon-cart::before {
    left: 2px;
    top: 4px;
    width: 14px;
    height: 8px;
    border: 1.5px solid var(--volt);
}

.service-icon-cart::after {
    left: 4px;
    right: 1px;
    bottom: -6px;
    height: 4px;
    border-left: 4px dotted var(--volt);
    border-right: 4px dotted var(--volt);
}

.service-card h3 {
    margin: 0 0 16px;
    color: var(--zinc);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
}

.service-card p {
    margin: 0 0 24px;
    color: rgba(228, 228, 231, .5);
    line-height: 1.65;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span {
    border: 1px solid var(--graphite);
    color: rgba(228, 228, 231, .4);
    font-size: 10px;
    letter-spacing: .18em;
    padding: 5px 8px;
    text-transform: uppercase;
}

.tag-row.small {
    gap: 6px;
    margin-bottom: 16px;
}

.tag-row.small span {
    color: rgba(228, 228, 231, .3);
    padding-block: 3px;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 64px;
    border: 1px solid var(--graphite);
    padding: 32px;
}

.cta-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.stats {
    padding-block: 128px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--graphite);
}

.stat-card {
    padding: 48px;
    text-align: center;
}

.stat-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--volt);
    font-family: var(--font-heading);
    font-size: clamp(40px, 4vw, 52px);
    font-weight: 800;
    line-height: 1;
}

.stat-card .mono {
    color: rgba(228, 228, 231, .4);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding-block: 176px;
}

.final-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .1;
}

.final-bg div {
    background: rgba(10, 10, 11, .8);
}

.final-content {
    position: relative;
    max-width: 896px;
    text-align: center;
}

.final-content p {
    max-width: 576px;
    margin: 32px auto 48px;
    color: rgba(228, 228, 231, .5);
    font-size: 18px;
    line-height: 1.65;
}

.page-hero {
    padding-block: 160px 80px;
}

.page-hero h1,
.contact-heading h1 {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: clamp(40px, 5.6vw, 64px);
    line-height: 1;
}

.page-hero p,
.contact-heading p {
    max-width: 576px;
    margin: 0;
    color: rgba(228, 228, 231, .5);
    font-size: 18px;
    line-height: 1.65;
}

.filter-bar {
    border-bottom: 1px solid var(--graphite);
}

.filter-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-block: 16px;
}

.filter-scroll button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: rgba(228, 228, 231, .4);
    font-size: 12px;
    letter-spacing: .18em;
    padding: 9px 16px;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.filter-scroll button:hover {
    color: var(--zinc);
}

.filter-scroll button.active {
    background: var(--volt);
    color: var(--void);
}

.portfolio-list {
    padding-block: 64px 96px;
}

.empty-state {
    padding-block: 128px;
    text-align: center;
}

.empty-state .mono {
    margin-bottom: 16px;
    color: var(--graphite);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.empty-state p {
    margin: 0 0 8px;
    color: rgba(228, 228, 231, .4);
    font-size: 18px;
}

.empty-state span {
    color: rgba(228, 228, 231, .3);
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--graphite);
}

.project-card {
    transition: opacity .2s ease, background-color .2s ease;
}

.project-card.is-hidden {
    display: none;
}

.project-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.project-image img,
.project-image div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-image img {
    object-fit: cover;
    transition: transform .7s ease;
}

.project-image div {
    background: rgba(10, 10, 11, .6);
    transition: background-color .5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card:hover .project-image div {
    background: rgba(10, 10, 11, .3);
}

.project-body {
    padding: 32px;
}

.project-meta,
.project-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.project-meta {
    margin-bottom: 16px;
}

.project-meta span:first-child {
    color: var(--volt);
}

.project-meta span,
.project-client {
    color: rgba(228, 228, 231, .3);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0 0 8px;
    color: var(--zinc);
    font-family: var(--font-heading);
    font-size: 18px;
    transition: color .2s ease;
}

.project-card:hover h3 {
    color: var(--volt);
}

.project-client {
    margin: 0 0 12px;
    letter-spacing: 0;
    text-transform: none;
}

.project-desc {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    color: rgba(228, 228, 231, .5);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-foot {
    padding-top: 16px;
    border-top: 1px solid var(--graphite);
}

.project-foot .mono {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.score {
    font-size: 12px;
}

.score em {
    margin-left: 4px;
    color: rgba(228, 228, 231, .3);
    font-style: normal;
}

.portfolio-cta {
    border-top: 1px solid var(--graphite);
    padding-block: 80px;
    text-align: center;
}

.portfolio-cta p {
    margin: 0 0 24px;
    color: rgba(228, 228, 231, .5);
}

.contact-page {
    min-height: 100vh;
    padding-block: 160px 96px;
}

.contact-heading {
    margin-bottom: 64px;
}

.briefing-form {
    display: block;
}

.contact-website {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.form-feedback {
    margin-top: 20px;
    color: #ff8a80;
}

.steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
}

.steps button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--graphite);
    background: var(--terminal);
    color: rgba(228, 228, 231, .3);
    font-family: var(--font-mono);
    font-size: 12px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.steps button.active {
    border-color: var(--volt);
    background: var(--volt);
    color: var(--void);
}

.steps button.done {
    border-color: rgba(255, 153, 102, .3);
    background: rgba(255, 153, 102, .2);
    color: var(--volt);
}

.steps span {
    flex: 1;
    height: 1px;
    background: var(--graphite);
}

.steps span.done {
    background: rgba(255, 153, 102, .3);
}

.form-step {
    display: none;
    animation: stepIn .28s ease both;
}

.form-step.active {
    display: block;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-copy {
    margin-bottom: 32px;
}

.step-copy h2 {
    margin: 0 0 4px;
    color: var(--zinc);
    font-family: var(--font-heading);
    font-size: 20px;
}

.step-copy p,
.field-title,
.field label {
    color: rgba(228, 228, 231, .4);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border: 1px solid var(--graphite);
    padding: 16px 20px;
    color: rgba(228, 228, 231, .6);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.choice:hover {
    border-color: rgba(228, 228, 231, .3);
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice span {
    font-size: 14px;
    line-height: 1.35;
}

.choice i {
    color: var(--volt);
    font-style: normal;
    opacity: 0;
}

.choice:has(input:checked) {
    border-color: var(--volt);
    background: rgba(255, 153, 102, .05);
    color: var(--volt);
}

.choice:has(input:checked) i {
    opacity: 1;
}

.form-group {
    margin-bottom: 32px;
}

.field-title {
    display: block;
    margin-bottom: 12px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--graphite);
    border-radius: 0;
    background: var(--terminal);
    color: var(--zinc);
    outline: 0;
    padding: 13px 16px;
    transition: border-color .2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 118px;
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(228, 228, 231, .25);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--graphite);
}

.form-actions button {
    border: 0;
    background: transparent;
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.form-actions .back {
    color: rgba(228, 228, 231, .4);
}

.form-actions .back:hover {
    color: var(--zinc);
}

.form-actions .next {
    min-height: 48px;
    background: var(--volt);
    color: var(--void);
    padding: 0 24px;
}

.form-actions .next:disabled {
    cursor: not-allowed;
    opacity: .3;
}

.briefing-success {
    min-height: 58vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.briefing-success[hidden] {
    display: none;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    border: 1px solid var(--volt);
    background: rgba(255, 153, 102, .1);
    color: var(--volt);
    font-size: 28px;
}

.briefing-success h1 {
    margin: 16px 0;
    font-size: 32px;
}

.briefing-success p {
    max-width: 448px;
    margin: 0 auto 32px;
    color: rgba(228, 228, 231, .5);
    line-height: 1.65;
}

.not-found {
    min-height: 72vh;
}

.not-found .button {
    margin-top: 32px;
}

.site-footer {
    border-top: 1px solid var(--graphite);
    background: var(--void);
}

.footer-wordmark {
    position: relative;
    overflow: hidden;
    padding-block: 160px;
}

.footer-wordmark img,
.footer-wordmark-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.footer-wordmark img {
    object-fit: cover;
    opacity: .5;
}

.footer-wordmark-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 11, .8), rgba(10, 10, 11, .4), rgba(10, 10, 11, .8));
}

.footer-wordmark-text {
    position: relative;
    color: transparent;
    font-family: var(--font-heading);
    font-size: 10vw;
    font-weight: 800;
    line-height: .95;
    letter-spacing: 0;
    -webkit-text-stroke: 2px #FFD700;
    user-select: none;
}

.footer-info {
    border-top: 1px solid var(--graphite);
    padding-block: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    margin: 0 0 8px;
    color: rgba(228, 228, 231, .6);
    transition: color .2s ease;
}

.footer-grid a:first-of-type {
    color: var(--zinc);
}

.footer-grid a:hover {
    color: var(--volt);
}

.footer-bottom {
    border-top: 1px solid var(--graphite);
    padding-block: 24px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom .mono {
    color: var(--graphite);
    font-size: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: .24s;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .code-panel {
        display: none;
    }

    .services,
    .final-cta {
        padding-block: 128px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container,
    .container.narrow {
        width: min(100% - 32px, var(--container));
    }

    .desktop-nav {
        display: none;
    }

    .brand img {
        height: 36px;
    }

    .mobile-toggle {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border: 0;
        background: transparent;
    }

    .mobile-toggle span {
        width: 22px;
        height: 2px;
        background: var(--zinc);
        transition: transform .2s ease;
    }

    .mobile-close {
        position: absolute;
        top: 24px;
        right: 24px;
        display: block;
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
    }

    .mobile-close::before,
    .mobile-close::after {
        content: "";
        position: absolute;
        top: 16px;
        left: 5px;
        width: 24px;
        height: 2px;
        background: var(--zinc);
    }

    .mobile-close::before {
        transform: rotate(45deg);
    }

    .mobile-close::after {
        transform: rotate(-45deg);
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 148px 96px;
    }

    .hero-coord.bottom {
        bottom: 16px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .button,
    .button-lg {
        width: 100%;
        padding-inline: 20px;
        text-align: center;
    }

    .section-heading.split,
    .cta-strip,
    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-grid,
    .project-grid,
    .choice-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .stat-card {
        padding: 32px;
    }

    .stats,
    .services,
    .final-cta {
        padding-block: 96px;
    }

    .page-hero,
    .contact-page {
        padding-top: 128px;
    }

    .footer-wordmark {
        padding-block: 96px;
    }

    .footer-wordmark-text {
        font-size: 12vw;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        height: 72px;
    }

    .hero-copy h1,
    .page-hero h1,
    .contact-heading h1 {
        font-size: 40px;
    }

    .section-heading h2,
    .final-content h2 {
        font-size: 32px;
    }

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

    .stat-card {
        padding: 28px 18px;
    }

    .stat-card strong {
        font-size: 36px;
    }

    .stat-card .mono,
    .filter-scroll button {
        font-size: 10px;
    }

    .choice {
        padding-inline: 16px;
    }
}
