:root {
    --color-cream: #f7f1ea;
    --color-beige: #d9c6b9;
    --color-card: #ede4d8;
    --color-input: #fbf7f2;
    --color-text: #5a382c;
    --color-muted: #6a4a3c;
    --color-logo: #804a35;
    --color-cta: #945d47;
    --color-on-cta: #f0e4d8;
    --color-nav: #5c3d34;
    --color-icon: #2a231e;
    --font-display: "Jost", system-ui, sans-serif;
    --font-sans: "Josefin Sans", system-ui, sans-serif;
    --font-script: "Great Vibes", cursive;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --radius-card: 18px;
    --radius-pill: 24px;
    --space-8: 8px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;
    --space-88: 88px;
    --pad-x: 20px;
    --header-h: 72px;
    --page-max: 1440px;
    --shadow: 0 18px 40px rgba(90, 56, 44, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--color-cream);
}

body {
    position: relative;
    max-width: var(--page-max);
    margin: 0 auto;
    background: var(--color-cream);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.6em;
}

h3,
h4 {
    font-weight: 400;
}

p {
    margin: 0 0 1em;
}

button,
input,
textarea {
    font: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons — Penpot Boton */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-cta);
    color: var(--color-on-cta);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.4px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    /* Josefin Sans caps sit high in the em box. */
    padding: 0.22em 1.4rem 0;
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(0.96);
}

.btn--lg {
    min-height: 48px;
    padding: 0.22em 1.6rem 0;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(90, 56, 44, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: rgba(90, 56, 44, 0.05);
    filter: none;
}

/* Logo — LIS + MOVEMENT */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-logo);
    line-height: 1;
}

.logo__word {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 0.12em;
}

.logo__mark {
    margin-top: 0.15rem;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.32em;
}

/* Section chrome */
.section-kicker {
    margin: 0 0 var(--space-8);
    color: var(--color-cta);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.4vw, 3rem);
    font-weight: 400;
}

.section-lead {
    max-width: 46ch;
    margin: var(--space-16) auto 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.section--cream {
    background: var(--color-cream);
}

.section--beige {
    background: var(--color-beige);
}

.section__intro {
    text-align: center;
    padding: 0 var(--pad-x);
}

.landing-section {
    padding: var(--space-64) var(--pad-x);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    background: var(--color-cream);
}

.is-landing .site-header {
    position: absolute;
    left: 0;
    right: 0;
    background: transparent;
}

.is-landing .site-header.is-open,
.is-landing .site-header.is-scrolled {
    background: var(--color-cream);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 var(--pad-x);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.site-login {
    display: none;
    align-items: center;
    gap: var(--space-8);
    color: var(--color-nav);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
    padding-top: 0.17em;
}

.site-login svg {
    width: 18px;
    height: 18px;
    transform: translateY(-1px);
}

.site-header__join {
    display: none;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 10px 11px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
    display: none;
}

.site-header__panel {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    gap: var(--space-24);
    padding: var(--space-32) var(--pad-x) var(--space-48);
    background: var(--color-cream);
    overflow: auto;
}

.site-header.is-open .site-header__panel {
    display: flex;
}

.site-header__panel .site-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.site-header__panel .site-nav a,
.site-header__panel .site-login {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-nav);
    padding-top: 0;
}

.site-header__panel .site-header__join {
    display: inline-flex;
    align-self: flex-start;
}

/* Hero */
.hero {
    --hero-visual-h: 372px;
    --hero-seam: rgba(217, 198, 185, 0.6);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: var(--color-beige);
    color: var(--color-text);
}

.hero__visual {
    position: relative;
    height: var(--hero-visual-h);
    overflow: hidden;
}

.hero__visual picture {
    display: contents;
}

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

.hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-24) var(--pad-x) var(--space-48);
}

/* Mobile: under the photo, the hero continues its floor (the photo's bottom strip,
   mirrored and stretched) so the background does not cut to flat beige. */
@media (max-width: 767.98px) {
    .hero::before {
        content: "";
        position: absolute;
        inset: var(--hero-visual-h) 0 0;
        z-index: -1;
        /* First layer: a beige veil at the seam (bottom here, the element is flipped)
           that tones down the photo's bright bottom edge. */
        background-image: linear-gradient(to top, var(--hero-seam), transparent 40px), var(--hero-image);
        background-repeat: no-repeat;
        /* Width: the photo as rendered in .hero__visual (hero-hd is 2880x1623).
           Height 1000%: the bottom 1/10 of the photo fills the block. */
        background-size: 100% 100%, calc(var(--hero-visual-h) * 2880 / 1623) 1000%;
        background-position: 0 0, 62% 100%;
        transform: scaleY(-1);
    }

    /* Same veil on the photo side of the seam. */
    .hero__visual::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 40px;
        background: linear-gradient(to top, var(--hero-seam), transparent);
        pointer-events: none;
    }
}

/* Mobile: the title sits on the empty wall to the left of the figure, above her legs. */
.hero__title {
    position: absolute;
    left: var(--pad-x);
    top: 276px;
    z-index: 1;
    margin: 0;
    transform: translateY(-100%);
    font-size: clamp(1.9rem, 9.6vw, 2.75rem);
    line-height: 1.05;
    color: var(--color-text);
}

.hero__lead {
    max-width: 30ch;
    margin: 0 0 var(--space-24);
    color: var(--color-text);
    font-size: 1.125rem;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-16) var(--space-24);
}

.text-link {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Pillars strip under the hero */
.hero-traits {
    padding: var(--space-24) var(--pad-x);
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-card);
    color: var(--color-text);
}

.hero__traits {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.hero__traits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    text-align: center;
}

.hero__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--color-icon);
}

.hero__icon svg {
    width: 32px;
    height: 32px;
}

/* Qué ofrezco */
.offer__grid {
    display: grid;
    gap: var(--space-24);
    max-width: 1120px;
    margin: var(--space-32) auto 0;
}

.offer__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-16) var(--space-24);
    margin-top: var(--space-32);
    text-align: center;
    color: var(--color-text);
}

.offer__more p {
    margin: 0;
}

/* Cursos */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 22px 16px;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--color-card);
    text-align: center;
}

.card__icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0.95;
}

.card__icon svg {
    width: 210px;
    height: 210px;
    color: var(--color-cream);
}

.card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 1.6rem;
    color: var(--color-text);
}

.card p {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 28ch;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.cursos__grid {
    display: grid;
    gap: var(--space-16);
    margin-top: var(--space-32);
}

/* Planes */
.plans__list {
    display: grid;
    gap: var(--space-16);
    margin-top: var(--space-32);
}

.plan-card {
    position: relative;
    display: grid;
    gap: var(--space-16);
    min-height: 168px;
    padding: 28px 24px 24px;
    overflow: hidden;
    border-radius: var(--radius-card);
    color: var(--color-text);
}

.plan-card__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.plan-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 241, 234, 0.72), rgba(247, 241, 234, 0.28) 55%, rgba(247, 241, 234, 0.12));
}

.plan-card > *:not(.plan-card__media) {
    position: relative;
    z-index: 1;
}

.plan-card:has(.plan-card__badge) {
    padding-top: 48px;
}

.plan-card > .plan-card__badge {
    position: absolute;
    top: 14px;
    left: 24px;
    z-index: 2;
    width: max-content;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--color-cta);
    color: var(--color-on-cta);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.plan-card__name h3 {
    margin: 0;
    font-size: 1.6rem;
}

.plan-card__name p {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plan-card__price p {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: lining-nums;
}

.plan-card__price p small {
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.plan-card__price > small {
    display: block;
    margin-top: 0.4rem;
    color: var(--color-muted);
    font-size: 0.875rem;
}

.plan-card__features {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1rem;
}

.plan-card__features li {
    position: relative;
    padding-left: 1.3rem;
}

.plan-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-cta);
    font-size: 0.8rem;
}

.plan-card .btn {
    justify-self: start;
    align-self: center;
}

.benefits {
    display: grid;
    gap: var(--space-32);
    margin-top: var(--space-48);
    text-align: center;
}

.benefits svg {
    width: 40px;
    height: 40px;
    color: var(--color-text);
}

.benefits h3 {
    margin: var(--space-16) 0 var(--space-8);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.benefits p {
    margin: 0 auto;
    max-width: 28ch;
    color: var(--color-muted);
    font-size: 1rem;
}

.plans__tagline {
    margin: var(--space-48) 0 0;
    text-align: center;
    color: var(--color-cta);
    font-family: var(--font-script);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

/* Blog */
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

.blog-card__media {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: var(--space-16) 0 0;
}

.blog-card__cat {
    margin: 0 0 6px;
    color: var(--color-cta);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.blog-card p {
    margin: 0 0 var(--space-16);
    color: var(--color-muted);
    font-size: 0.92rem;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-16);
    color: var(--color-muted);
    font-size: 0.82rem;
}

.blog-card__meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog__grid {
    display: grid;
    gap: var(--space-24);
    margin-top: var(--space-32);
}

.blog__more {
    display: flex;
    justify-content: center;
    margin-top: var(--space-32);
}

/* Sobre mí */
.about {
    padding: 0;
    background: var(--color-cream);
}

.about__copy {
    padding: var(--space-64) var(--pad-x);
}

.about__copy h2 {
    max-width: 18ch;
    margin: 0 0 var(--space-24);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
}

.about__copy p {
    max-width: 48ch;
    color: var(--color-muted);
}

.about__sign {
    margin-top: var(--space-24);
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--color-cta);
}

.about__visual {
    position: relative;
    min-height: 420px;
}

.about__visual picture {
    display: contents;
}

.about__visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 20%;
}

.about__visual::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 88px;
    background: linear-gradient(to bottom, var(--color-cream), transparent);
    pointer-events: none;
}

/* Contacto + footer */
.contact {
    padding: var(--space-64) var(--pad-x);
    background: var(--color-cream);
    text-align: center;
}

/* Same treatment as the pillar cards: tinted card with a large line icon behind. */
.contact__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-48) var(--space-24);
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--color-card);
}

.contact__inner > :not(.card__icon) {
    position: relative;
    z-index: 1;
}

.contact__inner .card__icon svg {
    width: 300px;
    height: 300px;
}

.contact .section-lead {
    color: var(--color-text);
    font-size: 1.125rem;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-16) var(--space-24);
    margin-top: var(--space-32);
}

.field {
    display: block;
    margin-bottom: var(--space-16);
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 12px;
    background: var(--color-input);
    color: var(--color-text);
}

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

.site-footer {
    padding: var(--space-32) var(--pad-x) var(--space-48);
    background: var(--color-cream);
    text-align: center;
}

.site-footer .logo {
    margin: 0 auto var(--space-16);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.8rem;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.82rem;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8) var(--space-24);
    margin: 0 0 var(--space-16);
    color: var(--color-text);
}

/* Coming soon */
.page-placeholder {
    max-width: 520px;
    margin: 5rem auto 4rem;
    padding: 2.4rem 2rem;
    border-radius: var(--radius-card);
    background: var(--color-card);
    text-align: center;
}

.page-placeholder h1 {
    font-size: 2.2rem;
}

.page-placeholder p {
    color: var(--color-muted);
}

@media (min-width: 768px) {
    :root {
        --pad-x: 40px;
        --header-h: 96px;
    }

    .site-header__join {
        display: inline-flex;
    }

    .hero {
        display: block;
        min-height: 696px;
    }

    .hero__visual {
        position: absolute;
        inset: 0;
        height: auto;
    }

    .hero__copy {
        position: relative;
        z-index: 1;
        max-width: 560px;
        min-height: 696px;
        justify-content: flex-end;
        padding: calc(var(--header-h) + 40px) 24px var(--space-64) var(--pad-x);
        background: linear-gradient(90deg, rgba(217, 198, 185, 0.55) 0%, rgba(217, 198, 185, 0.08) 92%, transparent);
    }

    .hero__title {
        position: static;
        transform: none;
        font-size: 3.25rem;
    }

    .hero__lead {
        margin: var(--space-16) 0 var(--space-32);
    }

    .hero__traits {
        gap: var(--space-32);
    }

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

    .plan-card {
        grid-template-columns: 0.9fr 0.7fr 1.2fr auto;
        align-items: center;
        padding: 32px 28px 24px;
    }

    .plan-card:has(.plan-card__badge) {
        padding-top: 32px;
    }

    .plan-card > .plan-card__badge {
        top: 14px;
        left: 28px;
    }

    .plan-card__price {
        justify-self: center;
        width: min(100%, 12.5rem);
        text-align: center;
    }

    .benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-24);
    }

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

    .about__visual {
        min-height: 560px;
    }

    .about__visual img {
        min-height: 560px;
    }
}

@media (min-width: 1024px) {
    :root {
        --pad-x: 88px;
        --header-h: 80px;
    }

    .nav-toggle,
    .site-header__panel {
        display: none !important;
    }

    .site-nav {
        display: flex;
        align-items: center;
        gap: 28px;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 1.6px;
        line-height: 1;
        text-transform: uppercase;
        color: var(--color-nav);
    }

    .site-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding-top: 0;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        color: var(--color-cta);
    }

    .site-login,
    .site-header__join {
        display: inline-flex;
    }

    .hero,
    .hero__copy {
        min-height: 760px;
    }

    .hero__copy {
        max-width: 640px;
        padding-bottom: 72px;
        background: linear-gradient(90deg, rgba(217, 198, 185, 0.42), rgba(217, 198, 185, 0.08) 70%, transparent);
    }

    .hero__title {
        font-size: clamp(3.5rem, 5.4vw, 4.75rem);
    }

    .hero__lead {
        font-size: 1.25rem;
    }

    .landing-section {
        padding: 72px var(--pad-x) 64px;
    }

    .cursos__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 680px;
    }

    .about__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 80px var(--space-88);
    }

    .about__visual {
        min-height: 680px;
    }

    .about__visual img {
        min-height: 680px;
        /* At ~1024px the box is ~505px wide: nudge the figure clear of the left fade. */
        object-position: 48% center;
    }

    .about__visual::before {
        inset: 0 auto 0 0;
        width: 64px;
        height: auto;
        background: linear-gradient(to right, var(--color-cream), transparent);
    }
}

/* Hero wider than --page-max: the side gutters continue the photo's background
   (its edge mirrored and stretched) and fade into the page cream. */
@media (min-width: 1441px) {
    html {
        overflow-x: clip;
    }

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: max(0px, (100vw - 100%) / 2);
        background-image: var(--hero-image);
        background-repeat: no-repeat;
        /* 1200%: shows the outer 1/12 of the photo stretched across the gutter.
           Height: the photo at --page-max width (hero-hd is 2880x1623), centred like the <img>. */
        background-size: 1200% calc(var(--page-max) * 1623 / 2880);
        background-position-y: 50%;
        transform: scaleX(-1);
        pointer-events: none;
    }

    .hero::before {
        right: 100%;
        /* Same beige veil .hero__copy lays over the photo's left edge. */
        background-image: linear-gradient(rgba(217, 198, 185, 0.42), rgba(217, 198, 185, 0.42)), var(--hero-image);
        background-size: 100% 100%, 1200% calc(var(--page-max) * 1623 / 2880);
        background-position: 0 0, 0 50%;
        mask-image: linear-gradient(to right, #000, rgba(0, 0, 0, 0.55) 45%, transparent);
    }

    .hero::after {
        left: 100%;
        background-position-x: 100%;
        mask-image: linear-gradient(to left, #000, rgba(0, 0, 0, 0.55) 45%, transparent);
    }
}

@media (pointer: coarse) {
    .site-footer__nav a,
    .site-footer__legal a,
    .blog-card__meta a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
