/* Fonts */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/roboto-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/roboto-latin-500.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/roboto-latin-700.woff2") format("woff2");
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --brand: #00aaff;
    --carousel-slides-per-view: 3;
    --shiny-cta-bg: #0a1423;
    --shiny-cta-bg-subtle: #22314a;
    --shiny-cta-fg: #f7fbff;
    --shiny-cta-highlight: #54a0ff;
    --shiny-cta-highlight-subtle: #9dc4ff;
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

body {
    font-family: Roboto, "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    color: #222;
    background: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

textarea {
    resize: none;
}

h1,
h2,
h3 {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

button,
input,
textarea {
    font: inherit;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.96);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    border-bottom: none;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

header::before {
    content: none;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

header.scrolled::before {
    content: none;
}

header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    transition: padding 0.3s ease;
}

header.scrolled .container {
    padding: 0.6rem 2rem;
}

header .brand img {
    transition: transform 0.3s ease;
}

header.scrolled .brand img {
    transform: scale(0.85);
}

nav a {
    transition: color .25s ease;
}

nav a:hover {
    color: var(--brand);
}

header .brand {
    text-transform: lowercase;
    font-size: 1.5rem;
}

header .brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 8px;
}

header .brand img {
    width: 42px;
    height: auto;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    position: relative;
    padding-bottom: 6px;
    font-weight: 600;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .25s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.hamburger {
    position: relative;
    width: 72px;
    height: 72px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger svg {
    width: 62px;
    height: 62px;
    overflow: visible;
}

.hamburger circle {
    fill: transparent;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hamburger .line {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: transform .4s cubic-bezier(.645, .045, .355, 1), stroke-dasharray .3s cubic-bezier(.645, .045, .355, 1), stroke-dashoffset .3s cubic-bezier(.645, .045, .355, 1);
}

.hamburger .line--1,
.hamburger .line--3 {
    --total-length: 111.22813415527344;
    --offset: -50.22813415527344;
}

.hamburger .line--2 {
    --total-length: 99;
}

.hamburger.active .line {
    transform: translateX(30px);
}

.hamburger.active .line--1,
.hamburger.active .line--3 {
    --length: 22.627416998;
    --offset: -16.9705627485;
}

.hamburger.active .line--2 {
    --length: 0;
    --offset: -20;
}

.hamburger span {
    display: none;
}

/*
Legacy span styles kept inactive for compatibility with previous markup.
*/
.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
}

@media(max-width:900px) {
    header .container {
        position: relative;
        padding: 0.7rem 0.95rem;
    }

    header.scrolled .container {
        padding: 0.2rem 0.95rem;
    }

    header .brand {
        font-size: 1.25rem;
        padding-top: 0;
    }

    header .brand img {
        width: 34px;
    }

    header.scrolled .brand img {
        transform: scale(0.9);
    }

    .hamburger {
        width: 54px;
        height: 54px;
    }

    .hamburger svg {
        width: 46px;
        height: 46px;
    }

    header.scrolled .hamburger {
        width: 46px;
        height: 46px;
    }

    header.scrolled .hamburger svg {
        width: 38px;
        height: 38px;
    }

    nav {
        position: absolute;
        top: calc(100% - 1px);
        left: 50%;
        width: 100vw;
        margin-left: -50vw;
        background: rgba(10, 14, 22, 0.96);
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-12px) scale(0.985);
        transform-origin: top center;
        padding: 0;
        border-top: 0;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(10px);
        transition: max-height .28s cubic-bezier(.22, 1, .36, 1), opacity .18s ease, transform .2s cubic-bezier(.22, 1, .36, 1), padding .2s ease;
    }

    nav a {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .16s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
        -webkit-tap-highlight-color: transparent;
    }

    nav.open {
        max-height: 260px;
        opacity: 1;
        transform: translateY(0) scale(1);
        padding: 1rem 0 1.2rem;
    }

    nav.open a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--nav-item-index, 0) * 0.015s);
    }

    .hamburger {
        display: flex;
    }
}

/* Sections */
section {
    min-height: 100vh;
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

section h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand);
    margin: 0.5rem auto;
}

section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    z-index: 0;
    will-change: transform;
}

.bg-services {
    background-image: url('assets/content/photo-1498050108023-c5249f4df085.webp');
}

.bg-about {
    background-image: url('assets/content/photo-1508830524289-0adcbe822b40.webp');
}

@media(max-width:900px) {
    .bg-img {
        transform: none !important;
    }
}

.overlay-section {
    color: #fff;
}

.overlay-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: saturate(80%) brightness(85%);
    pointer-events: none;
    z-index: 1;
}

.overlay-section>.container,
.overlay-section .bg-content {
    position: relative;
    z-index: 2;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(4rem + 72px);
    padding-bottom: 3rem;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(0, 170, 255, 0.24), transparent 38%),
        radial-gradient(circle at right center, rgba(88, 137, 255, 0.12), transparent 26%),
        linear-gradient(-45deg, #09111b, #0d1724, #16304d, #0f1f31);
    background-size: auto, auto, 460% 460%;
    animation: heroGradient 14s ease infinite;
    color: #f6f7fb;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/content/hero-texture-dark-grey-speckled.jpg");
    background-repeat: repeat;
    background-size: 420px;
    mix-blend-mode: soft-light;
    opacity: 0.12;
    filter: grayscale(1) brightness(0.4) contrast(1.25);
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 3.8rem;
    height: auto;
    max-width: 1200px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-self: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    top: 46%;
    left: 44%;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(6, 12, 22, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transform: translate(-50%, -50%);
    animation: heroOrb 9s ease-in-out infinite;
    z-index: 0;
}

.hero-slideshow {
    position: relative;
    height: min(60vh, 500px);
    border-radius: 0;
    overflow: hidden;
    width: 380px;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    flex: 0 0 380px;
    z-index: 1;
}

.hero-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    transform: scale(1);
    animation: zoom 16s ease-in-out infinite alternate;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.hero-slideshow img.active {
    opacity: 1;
    z-index: 1;
}

#hero .hero-text {
    max-width: 560px;
}

#hero .hero-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(246, 247, 251, 0.74);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#hero h1 {
    font-size: clamp(2.8rem, 4.8vw, 4.1rem);
    text-align: left;
    line-height: 1.12;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

#hero .hero-underline-word {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    padding-bottom: 0.22em;
}

#hero .hero-underline-word svg {
    position: absolute;
    left: 0;
    top: 79%;
    width: 100%;
    height: auto;
    overflow: visible;
}

#hero .hero-underline-stroke {
    stroke: rgba(84, 160, 255, 0.96);
    stroke-width: clamp(3px, 0.28vw, 4.5px);
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 822;
    stroke-dashoffset: 822;
    animation: heroUnderlineDraw var(--hero-underline-duration, 2.25s) 1s cubic-bezier(.19, .82, .29, 1) forwards;
}

#hero h1::after {
    display: none;
}

@keyframes heroUnderlineDraw {
    from {
        stroke-dashoffset: 822;
    }

    to {
        stroke-dashoffset: 0;
    }
}

#hero p {
    font-size: 1rem;
    color: rgba(246, 247, 251, 0.8);
    max-width: 510px;
    line-height: 1.65;
    margin: 0 0 1.75rem;
    text-align: left;
}

.hero-cta {
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --shadow-size: 2px;
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: 54px;
    padding: 0.95rem 2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
        conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--shiny-cta-highlight) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)) border-box;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 0 18px rgba(157, 196, 255, 0.08),
        0 14px 30px rgba(10, 20, 36, 0.38);
    color: var(--shiny-cta-fg) !important;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    outline-offset: 4px;
    transform: translateZ(0);
    transition:
        var(--transition),
        transform 0.25s ease,
        box-shadow 0.25s ease;
    transition-property:
        --gradient-angle-offset,
        --gradient-percent,
        --gradient-shine,
        transform,
        box-shadow;
}

.hero-cta,
.hero-cta::before,
.hero-cta::after {
    animation: var(--animation) var(--duration);
}

.hero-cta::before,
.hero-cta::after,
.hero-cta span::before {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    pointer-events: none;
    z-index: -1;
}

.hero-cta::before {
    --size: calc(100% - var(--shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);
    width: var(--size);
    height: var(--size);
    border-radius: inherit;
    background:
        radial-gradient(circle at var(--position) var(--position), rgba(255, 255, 255, 0.9) calc(var(--position) / 4), transparent 0) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
            black,
            transparent 10% 90%,
            black);
    opacity: 0.22;
    filter: blur(0.2px);
}

.hero-cta::after {
    --animation: shimmer linear infinite;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(-50deg, transparent, rgba(59, 140, 255, 0.95), transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.42;
    filter: blur(8px);
}

.hero-cta span {
    position: relative;
    z-index: 1;
}

.hero-cta span::before {
    --size: calc(100% + 2.2rem);
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: radial-gradient(circle at 50% 120%, rgba(99, 166, 255, 0.5), rgba(84, 160, 255, 0.2) 45%, transparent 72%);
    opacity: 0;
    transition: opacity var(--transition);
}

.hero-cta:hover {
    --duration: 5.8s;
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px var(--shiny-cta-bg-subtle),
        0 18px 34px rgba(18, 34, 64, 0.5);
}

.hero-cta:hover span::before,
.hero-cta:focus-visible span::before {
    opacity: 1;
}

.hero-cta:active {
    transform: translateY(0);
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
        rotate: 360deg;
    }
}


.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    margin-top: 1.35rem;
}

.hero-notes span {
    color: rgba(246, 247, 251, 0.7);
    font-size: 0.92rem;
}

.hero-notes span::before {
    content: "•";
    color: var(--brand);
    margin-right: 0.45rem;
}

.hero-links {
    position: relative;
    display: none;
    justify-items: center;
    row-gap: 0.7rem;
    z-index: 1;
}

.hero-links::before,
.hero-links::after {
    content: "";
    width: 1px;
    height: 48px;
    background: rgba(246, 247, 251, 0.65);
}

.hero-links a {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.88;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-links a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.hero-links img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
    .hero-links {
        display: grid;
    }
}

@media (max-width: 900px) {
    #hero {
        padding-top: calc(4.5rem + 36px);
        padding-left: 0;
        padding-right: 0;
    }

    #hero .container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        justify-items: center;
    }

    .hero-visual {
        order: -1;
        width: 100%;
        gap: 0;
        justify-content: center;
    }

    .hero-visual::before {
        width: 320px;
        height: 320px;
        top: 44%;
        left: 46%;
    }

    .hero-links {
        display: none !important;
    }

    #hero h1 {
        font-size: 2.1rem;
        line-height: 1.18;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        hyphens: none;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        word-break: normal;
        overflow-wrap: break-word;
    }

    #hero .hero-underline-word {
        padding-bottom: 0.16em;
    }

    #hero .hero-underline-word svg {
        top: 82%;
    }

    #hero .hero-tag {
        margin-bottom: 0.9rem;
    }

    #hero p {
        font-size: 0.98rem;
        line-height: 1.65;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        margin: 0;
        display: inline-flex;
        text-align: center;
    }

    .hero-slideshow {
        width: 280px;
        max-width: 100%;
        height: min(40vh, 330px);
        justify-self: center;
        flex-basis: 280px;
    }

    .hero-notes {
        margin-top: 1.2rem;
    }
}

@keyframes zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes heroGradient {
    0% {
        background-position: 0 0, 100% 50%, 0% 50%;
    }

    50% {
        background-position: 0 0, 100% 50%, 100% 50%;
    }

    100% {
        background-position: 0 0, 100% 50%, 0% 50%;
    }
}

@keyframes heroOrb {
    0% {
        transform: translate(-50%, -50%) translate3d(-10px, 8px, 0) scale(0.98);
        opacity: 0.84;
    }

    50% {
        transform: translate(-50%, -50%) translate3d(8px, -6px, 0) scale(1.02);
        opacity: 0.96;
    }

    100% {
        transform: translate(-50%, -50%) translate3d(-10px, 8px, 0) scale(0.98);
        opacity: 0.84;
    }
}

/* Services */
#servicos {
    --service-text-color: #52525b;
    --service-card-background-color: transparent;
    --service-card-border-color: rgba(24, 24, 27, 0.08);
    --service-card-box-shadow-1: rgba(24, 24, 27, 0.02);
    --service-card-box-shadow-1-y: 3px;
    --service-card-box-shadow-1-blur: 6px;
    --service-card-box-shadow-2: rgba(24, 24, 27, 0.04);
    --service-card-box-shadow-2-y: 2px;
    --service-card-box-shadow-2-blur: 7px;
    --service-card-label-color: #18181b;
    --service-card-icon-color: #18181b;
    --service-card-icon-background-color: rgba(24, 24, 27, 0.04);
    --service-card-icon-border-color: rgba(24, 24, 27, 0.1);
    --service-card-shine-opacity: 0.3;
    --service-card-shine-gradient: conic-gradient(from 225deg at 50% 50%, rgba(16, 185, 129, 0) 0deg, #10b981 25deg, #edfaf6 285deg, #ffffff 345deg, rgba(16, 185, 129, 0) 360deg);
    --service-card-line-color: #e9e9e7;
    --service-card-tile-color: rgba(16, 185, 129, 0.08);
    --service-card-hover-border-color: rgba(24, 24, 27, 0.15);
    --service-card-hover-box-shadow-1: rgba(24, 24, 27, 0.05);
    --service-card-hover-box-shadow-1-y: 3px;
    --service-card-hover-box-shadow-1-blur: 6px;
    --service-card-hover-box-shadow-2: rgba(24, 24, 27, 0.1);
    --service-card-hover-box-shadow-2-y: 8px;
    --service-card-hover-box-shadow-2-blur: 15px;
    --service-card-hover-icon-color: #18181b;
    --service-card-hover-icon-background-color: rgba(24, 24, 27, 0.04);
    --service-card-hover-icon-border-color: rgba(24, 24, 27, 0.34);
}

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

.service-card {
    background-color: #fafafa;
    box-shadow:
        0 var(--service-card-box-shadow-1-y) var(--service-card-box-shadow-1-blur) var(--service-card-box-shadow-1),
        0 var(--service-card-box-shadow-2-y) var(--service-card-box-shadow-2-blur) var(--service-card-box-shadow-2),
        0 0 0 1px var(--service-card-border-color);
    padding: 3rem 1rem 1rem;
    border-radius: 15px;
    cursor: default;
    position: relative;
    text-align: center;
    transition: box-shadow .25s ease, transform .25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background-color: var(--service-card-background-color);
}

.service-card .icon {
    z-index: 2;
    position: relative;
    display: table;
    padding: 8px;
    margin: 0 auto;
}

.service-card .icon::after {
    content: "";
    position: absolute;
    inset: 4.5px;
    border-radius: 50%;
    background-color: var(--service-card-icon-background-color);
    border: 1px solid var(--service-card-icon-border-color);
    backdrop-filter: blur(2px);
    transition: background-color .25s ease, border-color .25s ease;
}

.service-card .icon svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 24px;
    height: 24px;
    transform: translateZ(0);
    color: var(--service-card-icon-color);
    transition: color .25s ease;
}

.service-card h4 {
    z-index: 2;
    position: relative;
    margin: 12px 0 4px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    line-height: 2;
    color: var(--service-card-label-color);
}

.service-card p {
    z-index: 2;
    position: relative;
    margin: 0;
    text-align: center;
    max-width: 34ch;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--service-text-color);
}

.service-card .shine {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s ease;
}

.service-card .shine::before {
    content: "";
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 55%;
    filter: blur(35px);
    opacity: var(--service-card-shine-opacity);
    transform: translateX(-50%);
    background-image: var(--service-card-shine-gradient);
}

.service-card .background {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
    mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
}

.service-card .background .tiles {
    opacity: 0;
    transition: opacity .25s ease;
}

.service-card .background .tile {
    position: absolute;
    background-color: var(--service-card-tile-color);
    animation-duration: 8s;
    animation-iteration-count: infinite;
    opacity: 0;
}

.service-card .background .tile.tile-4,
.service-card .background .tile.tile-6,
.service-card .background .tile.tile-10 {
    animation-delay: -2s;
}

.service-card .background .tile.tile-3,
.service-card .background .tile.tile-5,
.service-card .background .tile.tile-8 {
    animation-delay: -4s;
}

.service-card .background .tile.tile-2,
.service-card .background .tile.tile-9 {
    animation-delay: -6s;
}

.service-card .background .tile.tile-1 {
    top: 0;
    left: 0;
    width: 22.5%;
    height: 10%;
}

.service-card .background .tile.tile-2 {
    top: 0;
    left: 22.5%;
    width: 27.5%;
    height: 10%;
}

.service-card .background .tile.tile-3 {
    top: 0;
    left: 50%;
    width: 27.5%;
    height: 10%;
}

.service-card .background .tile.tile-4 {
    top: 0;
    left: 77.5%;
    width: 22.5%;
    height: 10%;
}

.service-card .background .tile.tile-5 {
    top: 10%;
    left: 0;
    width: 22.5%;
    height: 22.5%;
}

.service-card .background .tile.tile-6 {
    top: 10%;
    left: 22.5%;
    width: 27.5%;
    height: 22.5%;
}

.service-card .background .tile.tile-7 {
    top: 10%;
    left: 50%;
    width: 27.5%;
    height: 22.5%;
}

.service-card .background .tile.tile-8 {
    top: 10%;
    left: 77.5%;
    width: 22.5%;
    height: 22.5%;
}

.service-card .background .tile.tile-9 {
    top: 32.5%;
    left: 50%;
    width: 27.5%;
    height: 22.5%;
}

.service-card .background .tile.tile-10 {
    top: 32.5%;
    left: 77.5%;
    width: 22.5%;
    height: 22.5%;
}

@keyframes serviceTile {

    0%,
    12.5%,
    100% {
        opacity: 1;
    }

    25%,
    82.5% {
        opacity: 0;
    }
}

.service-card .background .line {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.service-card .background .line::before,
.service-card .background .line::after {
    content: "";
    position: absolute;
    background-color: var(--service-card-line-color);
    transition: transform .35s ease;
}

.service-card .background .line::before {
    left: 0;
    right: 0;
    height: 1px;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.service-card .background .line::after {
    top: 0;
    bottom: 0;
    width: 1px;
    transform-origin: 50% 0;
    transform: scaleY(0);
}

.service-card .background .line.line-1::before {
    top: 10%;
}

.service-card .background .line.line-1::after {
    left: 22.5%;
}

.service-card .background .line.line-1::before,
.service-card .background .line.line-1::after {
    transition-delay: .3s;
}

.service-card .background .line.line-2::before {
    top: 32.5%;
}

.service-card .background .line.line-2::after {
    left: 50%;
}

.service-card .background .line.line-2::before,
.service-card .background .line.line-2::after {
    transition-delay: .15s;
}

.service-card .background .line.line-3::before {
    top: 55%;
}

.service-card .background .line.line-3::after {
    right: 22.5%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 var(--service-card-hover-box-shadow-1-y) var(--service-card-hover-box-shadow-1-blur) var(--service-card-hover-box-shadow-1),
        0 var(--service-card-hover-box-shadow-2-y) var(--service-card-hover-box-shadow-2-blur) var(--service-card-hover-box-shadow-2),
        0 0 0 1px var(--service-card-hover-border-color);
}

.service-card:hover .icon::after {
    background-color: var(--service-card-hover-icon-background-color);
    border-color: var(--service-card-hover-icon-border-color);
}

.service-card:hover .icon svg {
    color: var(--service-card-hover-icon-color);
}

.service-card:hover .shine {
    opacity: 1;
}

.service-card:hover .background .tiles {
    opacity: 1;
    transition-delay: .25s;
}

.service-card:hover .background .tile {
    animation-name: serviceTile;
}

.service-card:hover .background .line {
    opacity: 1;
    transition-duration: .15s;
}

.service-card:hover .background .line::before {
    transform: scaleX(1);
}

.service-card:hover .background .line::after {
    transform: scaleY(1);
}

.service-card:hover .background .line.line-1::before,
.service-card:hover .background .line.line-1::after {
    transition-delay: 0s;
}

.service-card:hover .background .line.line-2::before,
.service-card:hover .background .line.line-2::after {
    transition-delay: .15s;
}

.service-card:hover .background .line.line-3::before,
.service-card:hover .background .line.line-3::after {
    transition-delay: .3s;
}

@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Portfolio and contact */
#portfolio {
    position: relative;
    padding: 4rem 1rem 11rem;
    overflow: hidden;
}

.portfolio-logo-marquee {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 0 1.1rem;
    margin-top: 2rem;
}

.portfolio-logo-kicker {
    width: min(100%, 1180px);
    margin: 0 auto 0.9rem;
    padding: 0 0.75rem;
    color: rgba(15, 23, 42, 0.52);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
}

.portfolio-logo-marquee-mask {
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, black 96px, black calc(100% - 96px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 96px, black calc(100% - 96px), transparent 100%);
}

.portfolio-logo-track {
    --portfolio-logo-gap: 5.4rem;
    display: flex;
    align-items: center;
    gap: var(--portfolio-logo-gap);
    width: max-content;
    animation: portfolioLogoScroll 42s linear infinite;
}

.portfolio-logo-list {
    display: flex;
    align-items: center;
    gap: var(--portfolio-logo-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-logo-list li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(var(--portfolio-logo-base-height, 34px) * 1.18);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none;
}

.portfolio-logo-list img {
    display: block;
    width: auto;
    height: calc(var(--portfolio-logo-base-height, 34px) * var(--logo-balance-factor, 1));
    max-width: none;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1) brightness(0.7) contrast(0.9);
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-logo-list img:hover {
        opacity: 0.85;
        filter: none;
        transform: scale(1.04);
    }
}

.portfolio-logo-list img:active {
    opacity: 0.85;
    filter: none;
    transform: scale(1.04);
}

@media (max-width: 768px) {
    #portfolio {
        padding-bottom: 4rem;
    }

    .portfolio-logo-marquee {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 2.5rem;
        padding-bottom: 0.8rem;
    }

    .portfolio-logo-track {
        --portfolio-logo-gap: 3.6rem;
    }

    .portfolio-logo-kicker {
        width: calc(100% - 2rem);
        margin-bottom: 0.7rem;
        padding: 0;
        font-size: 0.64rem;
        letter-spacing: 0.14em;
    }

    .portfolio-logo-marquee-mask {
        width: calc(100% - 2rem);
        mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
    }

    .portfolio-logo-list li {
        min-height: calc(var(--portfolio-logo-base-height-mobile, 24px) * 1.24);
    }

    .portfolio-logo-list img {
        height: calc(var(--portfolio-logo-base-height-mobile, 24px) * var(--logo-balance-factor, 1));
    }
}

@keyframes portfolioLogoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--portfolio-logo-gap) / 2)));
    }
}

#contato {
    background: #f9f9f9;
    color: #222;
}

.form-wrap {
    width: min(100%, 900px);
    margin: 1rem auto 0;
}

.field {
    display: grid;
    gap: 0.5rem;
}

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

form {
    display: grid;
    gap: 1rem;
    width: 100%;
}

input,
textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.05rem;
    width: 100%;
    font-family: inherit;
}

form button[type="submit"] {
    width: 100%;
    grid-column: 1 / -1;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background .25s;
}

form button[type="submit"]:hover {
    background: #0088cc;
}

@media(min-width:880px) {
    form.two-col {
        grid-template-columns: 1fr 1fr;
    }
}

footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    transition: opacity .25s, transform .25s, border-color .25s, background-color .25s;
}

.social a:hover {
    opacity: .9;
    transform: translateY(-2px);
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.08);
}

.social img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: opacity .25s;
}

.social a:hover img {
    opacity: .75;
}

@media (max-width: 480px) {
    .social {
        flex-wrap: nowrap;
        gap: 0.7rem;
    }

    .social a {
        width: 36px;
        height: 36px;
    }

    .social img {
        width: 20px;
        height: 20px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio carousel */
.infinite-carousel,
.infinite-carousel * {
    user-select: none;
    -webkit-user-drag: none;
}

.infinite-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.infinite-carousel .carousel-viewport {
    display: flex;
}

.carousel-status {
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

.infinite-carousel .slide {
    flex: 0 0 calc(100% / var(--carousel-slides-per-view));
    aspect-ratio: 4 / 3;
}

@media (max-width: 600px) {
    .infinite-carousel .slide {
        aspect-ratio: 4 / 4.6;
    }
}

.infinite-carousel .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0px;
    display: block;
}

.slide {
    position: relative;
    cursor: pointer;
}

.slide-hover {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 11, 19, 0.08) 0%, rgba(5, 11, 19, 0.74) 100%),
        radial-gradient(circle at top left, rgba(0, 170, 255, 0.2), transparent 35%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
    border-radius: 0px;
    text-align: left;
    padding: 1.25rem 1.1rem;
    transform: translateY(10px);
}

.slide:hover .slide-hover {
    opacity: 1;
    transform: translateY(0);
}

.slide-hover-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.slide-hover-eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
}

.slide-hover-title {
    max-width: 15ch;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.carousel-control-previous,
.carousel-control-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 68px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background: rgba(9, 16, 28, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 24px rgba(6, 14, 24, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s ease, transform 0.26s ease, color 0.26s ease, background 0.26s ease, border-color 0.26s ease;
    pointer-events: none;
}

.infinite-carousel:hover .carousel-control-previous,
.infinite-carousel:hover .carousel-control-next {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.carousel-control-previous:focus-visible,
.carousel-control-next:focus-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.carousel-control-previous:hover,
.carousel-control-next:hover {
    color: #ffffff;
    background: rgba(9, 16, 28, 0.22);
    border-color: rgba(255, 255, 255, 0.14);
}

.carousel-control-previous:disabled,
.carousel-control-next:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.carousel-control-previous {
    left: 18px;
    transform: translateX(-10px);
}

.carousel-control-next {
    right: 18px;
    transform: translateX(10px);
}

.infinite-carousel:hover .carousel-control-previous,
.carousel-control-previous:focus-visible {
    transform: translateX(0);
}

.infinite-carousel:hover .carousel-control-next,
.carousel-control-next:focus-visible {
    transform: translateX(0);
}

/* Lightbox */
#projectLightbox,
#projectLightbox * {
    user-select: none;
    -webkit-user-drag: none;
}

#projectLightbox {
    position: fixed;
    inset: 0;
    padding: 1.5rem;
    background: rgba(4, 8, 14, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

#projectLightbox[hidden] {
    display: none;
}

#projectLightbox .lightbox-dialog {
    position: relative;
    width: min(100%, 1440px);
    height: clamp(520px, 78vh, 760px);
    height: clamp(520px, 78dvh, 760px);
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
    background: rgba(8, 14, 24, 0.78);
    color: #f7f9fc;
    border-radius: 26px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: auto;
}

#projectLightbox .lightbox-content {
    width: 100%;
    height: 100%;
}

#projectLightbox .lightbox-media {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem 2.5rem;
    background: transparent;
}

#projectLightbox h2,
#projectLightbox p {
    margin: 0;
}

#projectLightbox img {
    width: 100%;
    height: auto;
    display: block;
}

#projectLightbox .lightbox-gallery-grid {
    width: min(72%, 940px);
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

#projectLightbox .lightbox-gallery-thumb {
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#projectLightbox .lightbox-gallery-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#projectLightbox .lightbox-gallery-thumb:hover,
#projectLightbox .lightbox-gallery-thumb:focus-visible,
#projectLightbox .lightbox-gallery-thumb.active {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

#projectLightbox .lightbox-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 18;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 8.75rem;
    margin-bottom: -6.4rem;
    padding: 1.4rem 1.5rem 4.75rem;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.78) 38%,
        rgba(0, 0, 0, 0.42) 68%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

#projectLightbox .lightbox-caption {
    width: min(72%, 920px);
    min-width: 0;
    padding: 0.15rem 0 0;
    text-align: left;
    background: transparent;
    pointer-events: auto;
}

#projectLightbox .lightbox-caption h2 {
    font-size: clamp(1rem, 1.6vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
    text-wrap: balance;
}

#projectLightbox .lightbox-caption p {
    margin-top: 0.35rem;
    max-width: 58rem;
    color: rgba(244, 247, 252, 0.78);
    font-size: 0.96rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#projectLightbox .lightbox-close {
    position: static;
    flex: 0 0 auto;
    z-index: 19;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.86;
    backdrop-filter: blur(8px);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

#projectLightbox .lightbox-close {
    font-size: 1.9rem;
    line-height: 1;
}

#projectLightbox .lightbox-close:hover {
    opacity: 1;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.13);
}

#projectLightbox .lightbox-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(3, 7, 12, 0.72);
    backdrop-filter: blur(4px);
}

#projectLightbox .lightbox-zoom-overlay[hidden] {
    display: none;
}

#projectLightbox .lightbox-zoom-stage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(90vw, 1180px);
    max-height: calc(100vh - 5rem);
    border-radius: 22px;
    overflow: visible;
    background: transparent;
}

#projectLightbox .lightbox-zoom-stage img {
    width: auto;
    max-width: min(90vw, 1180px);
    max-height: calc(100vh - 5rem);
    object-fit: contain;
    background: transparent;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    border-radius: 22px;
}

#projectLightbox img,
#projectLightbox .lightbox-dialog,
#projectLightbox .lightbox-caption,
#projectLightbox .lightbox-gallery-grid,
#projectLightbox .lightbox-close,
#projectLightbox .lightbox-zoom-overlay,
#projectLightbox .lightbox-zoom-stage {
    pointer-events: auto;
}

@media (min-width: 1400px) {
    #projectLightbox .lightbox-gallery-grid {
        width: min(74%, 1040px);
    }
}

@media (max-width: 900px) {

    .carousel-control-previous,
    .carousel-control-next {
        width: 30px;
        height: 44px;
        font-size: 1.35rem;
        opacity: 0.68;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        color: rgba(255, 255, 255, 0.82);
        background: rgba(9, 16, 28, 0.12);
        border-color: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(6, 14, 24, 0.08);
    }

    .carousel-control-previous {
        left: 6px;
    }

    .carousel-control-next {
        right: 6px;
    }

    #projectLightbox {
        padding: 0.85rem;
        align-items: center;
    }

    #projectLightbox .lightbox-dialog {
        height: calc(100vh - 1.7rem);
        height: calc(100dvh - 1.7rem);
        max-height: calc(100vh - 1.7rem);
        max-height: calc(100dvh - 1.7rem);
        border-radius: 18px;
    }

    #projectLightbox .lightbox-content {
        height: 100%;
    }

    #projectLightbox .lightbox-media {
        gap: 0.75rem;
        padding: 0.9rem 1rem calc(1.75rem + env(safe-area-inset-bottom));
    }

    #projectLightbox .lightbox-header {
        left: auto;
        min-height: 8.2rem;
        margin-bottom: -6rem;
        padding: 1rem 1rem 4.5rem;
    }

    #projectLightbox .lightbox-gallery-grid {
        width: min(100%, 640px);
    }

    #projectLightbox .lightbox-caption {
        width: min(100% - 3.25rem, 640px);
    }

    #projectLightbox .lightbox-caption h2 {
        font-size: 0.95rem;
    }

    #projectLightbox .lightbox-caption p {
        max-width: none;
        font-size: 0.92rem;
    }

    #projectLightbox .lightbox-close {
        width: 2.4rem;
        height: 2.4rem;
        background: rgba(8, 14, 24, 0.62);
        backdrop-filter: blur(6px);
    }

    #projectLightbox .lightbox-close {
        font-size: 1.65rem;
    }

    #projectLightbox .lightbox-gallery-grid {
        width: min(100%, 420px);
        gap: 0.6rem;
    }

    #projectLightbox .lightbox-gallery-thumb {
        border-radius: 14px;
    }

    #projectLightbox .lightbox-zoom-overlay {
        padding: 1rem;
        backdrop-filter: none;
    }

    #projectLightbox .lightbox-zoom-stage,
    #projectLightbox .lightbox-zoom-stage img {
        max-height: calc(100vh - 3.5rem);
        max-height: calc(100dvh - 3.5rem);
    }

    #projectLightbox .lightbox-zoom-stage img {
        max-width: calc(100vw - 2rem);
        box-shadow: none;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.footer-name {
    font-weight: 600;
    text-transform: lowercase;
}

.footer-blog-link {
    margin-top: 0.6rem;
}

.footer-blog-link a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-blog-link a:hover,
.footer-blog-link a:focus-visible {
    color: #fff;
}
