:root {
    --text: #11231f;
    --muted: #4f635f;
    --line: rgba(17, 35, 31, 0.22);
    --accent: #0f8b79;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100dvh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 86% 10%, rgba(15, 139, 121, 0.2), rgba(15, 139, 121, 0) 36%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.52), rgba(241, 245, 241, 0.82)),
        url("./background.svg") center / cover no-repeat fixed;
}

.layout-a {
    min-height: 100dvh;
    width: min(940px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1.4rem, 5vw, 3.6rem) 0;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 0.95rem;
}

.logo {
    width: clamp(132px, 22vw, 182px);
    height: auto;
}

.statement,
p {
    margin: 0;
}

.statement {
    font-size: clamp(1.35rem, 4.2vw, 2.45rem);
    line-height: 1.08;
    max-width: 20ch;
    text-wrap: balance;
    border-left: 2px solid var(--line);
    padding-left: 0.85rem;
}

.lema-inline {
    display: inline;
    margin-left: 0.35ch;
    color: var(--muted);
    font-size: 0.48em;
    letter-spacing: 0.01em;
    line-height: 1.3;
    opacity: 0.9;
}

.minimal-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: color 0.24s ease, border-color 0.24s ease;
}

.minimal-link:hover,
.minimal-link:focus-visible {
    outline: none;
    color: var(--accent);
    border-color: var(--accent);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .layout-a {
        width: calc(100% - 1.5rem);
        padding: 1.2rem 0;
    }

    .statement {
        max-width: 17ch;
    }

    .lema-inline {
        display: block;
        margin-left: 0;
        margin-top: 0.4rem;
        font-size: 0.45em;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .minimal-link {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}