/* MAIN STYLES */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-md);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */

.text-accent {
    color: var(--text-accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-xs {
    font-size: var(--text-xs);
}

.text-cyrillic {
    font-family: var(--font-cyrillic);
    font-style: italic;
}

.label {
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-heading-lg);
    line-height: 1.2;
    text-wrap: balance;
    margin-bottom: var(--space-md);
}

.subheading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-lg);
    line-height: 1.25;
    text-wrap: balance;
}

.text-lede {
    font-family: var(--font-heading);
    color: var(--text-accent);
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

blockquote {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    border-left: 2px solid var(--primary-color);
    padding-left: var(--space-md);
}

blockquote em {
    font-size: var(--text-md);
    color: var(--text-muted);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: fit-content;
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease
}

.btn-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--black);
}

.btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-text {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    font-family: var(--font-ui);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline var(--primary-color) 0.2em;
    text-underline-offset: 0.125em;
    transition:
        color 0.25s ease,
        text-underline-offset 0.25s ease,
        text-decoration-color 0.25s ease;
}

.btn-text:hover {
    color: var(--secondary-color);
    text-underline-offset: 0.2em;
    text-decoration-color: var(--secondary-color);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* SKIP LINK */

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-body);
    transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* LAYOUT */

.container {
    width: min(1200px, 100% - 3rem);
    margin-inline: auto;
}

.grid {
    display: grid;
}

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

.grid-2-1x2 {
    grid-template-columns: minmax(220px, 1fr) 2fr;
}

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

.grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-md);
}

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

/* SECTION  */

section:not(.hero, .hero-landing) {
    padding-block: var(--space-lg);
}

.section-label {
    margin-bottom: var(--space-xs);
}

.section-border {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* NAV */

.desktop-nav {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    z-index: 1000;
}

.nav-home {
    display: none;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: auto;
}

.desktop-nav ul li {
    display: flex;
    align-items: center;
}

.desktop-nav a {
    line-height: 1;
}

.nav-home,
.desktop-nav ul li a,
.mobile-menu ul li a,
footer {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s;
}

.desktop-nav ul li a:hover,
.nav-home:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-left: var(--space-md);
    border-left: 1px solid var(--white);
}

.social-links a {
    display: flex;
    align-items: center;
}

/* BURGER BUTTON */

.burger {
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    line-height: 1;
    display: none;
    cursor: pointer;
    z-index: 200;
    margin-left: auto;
    font-size: 2rem;
    transition: color 0.25s;
}

.burger:hover {
    color: var(--primary-color);
}

.burger[aria-expanded="true"] {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
}

/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    overflow-y: auto;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu>* {
    flex-shrink: 0;
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu ul {
    width: 100%;
}

.mobile-menu ul li {
    /* width: 100%; 
    overflow: hidden;*/
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.mobile-menu ul li a {
    display: block;
    /* inline-size: 100%; */
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    line-height: 1.25;
    padding: 0.75rem 1rem;
    opacity: 0;
}

.mobile-menu.open ul li a {
    animation: menuItemIn 0.4s ease both;
}

.mobile-menu ul li:nth-child(1) a {
    animation-delay: 0.05s;
}

.mobile-menu ul li:nth-child(2) a {
    animation-delay: 0.1s;
}

.mobile-menu ul li:nth-child(3) a {
    animation-delay: 0.15s;
}

.mobile-menu ul li:nth-child(4) a {
    animation-delay: 0.2s;
}

.mobile-menu ul li:nth-child(5) a {
    animation-delay: 0.25s;
}

.mobile-menu ul li:nth-child(6) a {
    animation-delay: 0.3s;
}

@keyframes menuItemIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu ul li a:focus-visible {
    outline-offset: -6px;
}

.mobile-menu-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    /* padding: 1.4rem 2rem; */
    padding: 1rem;
}

.mobile-menu-social a {
    /* font-size: clamp(1.4rem, 5vw, 2rem); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    font-size: 1.5rem;
    /* line-height: 1; */
    /* color: inherit; */
}

.mobile-menu-social a:hover {
    color: var(--primary-color);
}

.pointer-navigation .burger:focus-visible,
.pointer-navigation .mobile-menu a:focus-visible {
    outline: none;
}

/* HERO */

.hero {
    min-height: 100vh;
    background:
        linear-gradient(to right top, rgba(0, 0, 0, 0.4) 20%, transparent 70%),
        url(assets/img/olga-kravets-hero-2560.webp) bottom center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    margin-left: clamp(2rem, 8vw, 8rem);
    padding-bottom: clamp(2rem, 8vh, 6rem);
    display: flex;
    flex-direction: column;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.2rem;
    /* text-wrap: balance; */
}

.tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    /* font-weight: 400; */
    font-style: italic;
    line-height: 1.4;
    align-self: flex-end;
    text-align: right;
    max-width: 400px;
    margin-top: 2.5rem;
}

.tagline span {
    color: var(--text-accent);
    font-weight: 500;
}

.hero-content .btn {
    align-self: flex-end;
    margin-top: var(--space-md);
}

/* WIP */

.grid-wip {
    gap: var(--space-xl);
    align-items: center;
}

.grid-wip+.grid-wip {
    margin-top: var(--space-lg);
}

.grid-wip>img {
    height: auto;
}

.wip-info h2 {
    font-family: var(--font-heading);
    font-size: var(--text-heading-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.wip-text {
    margin-bottom: var(--space-md);
}

.wip-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.wip-meta:last-child {
    margin-bottom: 0;
}

.wip-meta-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-xs);
}

.wip-meta-item dd {
    font-size: var(--text-sm);
}

.wip-cta {
    display: flex;
    gap: var(--space-sm);
}

/* CARDS */

.card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--dark-blue);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.card-media {
    width: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-media {
    transform: scale(1.05);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-label {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--text-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-lg);
    line-height: 1.2;
    text-wrap: balance;
}

.card-meta {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* FILMS */

.card-movie .card-media {
    height: auto;
    aspect-ratio: 2/3;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.card-movie .card-content {
    position: relative;
    z-index: 2;
    padding: 0 1.75rem 2rem;
    margin-top: -5rem;
}

.card-movie .card-title {
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-movie .card-label {
    margin: 0.5rem 0 1.5rem;
}

.card-movie .card-content>p:not(.card-meta):has(+ .btn-text) {
    margin-bottom: 1.2rem;
}

.card-movie .card-meta-label {
    display: block;
    color: var(--soft-red);
    margin-bottom: 0.3rem;
}

.card-movie .card-meta {
    margin-block: 1.2rem;
    padding-block: 1.2rem;
    border-top: 1px solid var(--border);
}

/* JOURNALISM */

.card-journal .card-media {
    aspect-ratio: 16/9;
    height: auto;
}

.card-journal .card-content {
    gap: var(--space-xs);
    padding: 1.25rem;
}

.card-featured {
    grid-column: span 2;
    flex-direction: row;
    min-height: 350px;
    border: none;
}

.card-featured .card-media {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 1;
}

.card-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.card-featured-left::after {
    background: linear-gradient(to left top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            transparent 100%);
}

.card-featured-center::after {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            transparent 100%);
}

.card-featured-right::after {
    background: linear-gradient(to right top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            transparent 100%);
}

.card-featured .card-content {
    justify-content: flex-end;
    position: relative;
    z-index: 3;
    max-width: 55%;
    width: 100%;
}

.card-featured-left .card-content {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.card-featured-center .card-content {
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

/* ABOUT */

#about {
    background: linear-gradient(to bottom, #000000, #030203, #050505, #080708, #0a0a0b);
}

.about-portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-bottom: 1px solid var(--border);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.about-portrait:hover img {
    transform: scale(1.04);
}

.about-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 11, 0.4) 20%,
            transparent 70%);
}

.about-heading {
    position: absolute;
    bottom: 3%;
    left: 5%;
    max-width: 60ch;
    z-index: 2;
}

.about-statement {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.about-heading em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-accent);
}

.grid-about {
    gap: var(--space-xxl);
    padding: var(--space-lg) var(--space-xl) 0;
}

.about-col>p+p {
    margin-top: var(--space-sm);
}

.prose a {
    color: var(--text-accent);
    text-decoration: underline dotted;
    text-underline-offset: 0.2em;
    transition: color 0.25s ease;
}

.prose a:hover {
    color: var(--softer-red);
}

/* CLIENTS */

.clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clients h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

.clients-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 30px;
    width: auto;
    filter: invert(100%);
    opacity: 0.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-container img:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.logo-container img[alt="Channel 4 logo"],
.logo-container img[alt="Amnesty International logo"] {
    height: 40px;
}

/* HIRE ME */

.grid-hireme {
    gap: var(--space-xxl);
    align-items: center;
}

.hireme-list {
    margin-top: var(--space-md);
}

.hireme-list li {
    padding: 0.4rem 0;
    margin-top: var(--space-sm);
}

.hireme-text {
    max-width: 55ch;
}

.hireme-text p.text-lede {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.hireme-text h3 {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-card {
    position: relative;
    min-width: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-card-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgb(0 0 0 / 45%) 0%,
            rgb(0 0 0 / 50%) 35%,
            rgb(0 0 0 / 50%) 65%,
            rgb(0 0 0 / 10%) 100%),
        url(assets/img/get-in-touch-bg-480.webp) center/cover no-repeat;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-form .card-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    line-height: inherit;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field label {
    font-size: var(--text-sm);
}

.contact-field input,
.contact-field textarea {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgb(242 243 244 / 55%);
}

.contact-field textarea {
    resize: vertical;
}

.contact-field:focus-within label {
    color: var(--primary-color);
}

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

.contact-form .btn {
    align-self: center;
    margin-top: var(--space-xs);
    cursor: pointer;
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.contact-form .btn:hover {
    background-color: var(--black);
    color: var(--white);
}

/* FOOTER */

footer {
    text-align: center;
    padding-block: var(--space-md);
}

footer a {
    color: var(--primary-color);
}

footer a:hover {
    color: var(--softer-red);
}

/* Scroll to top */

.scroll-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 200;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--black);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background-color 0.4s ease,
        color 0.4s ease;
}

.scroll-to-top i {
    font-size: 1.1rem;
}

.scroll-to-top:hover {
    color: var(--white);
    background-color: var(--primary-color);
    filter: brightness(1.1);
    transform: translateY(-5px) scale(1.1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* MEDIA QUERIES */

@media (max-width: 1024px) {
    .desktop-nav ul {
        gap: var(--space-sm);
    }

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

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

    .grid-wip {
        gap: var(--space-md);
    }

    .grid-cards {
        gap: var(--space-sm);
    }

    .card-featured {
        flex-direction: column;
        min-height: auto;
        border: 1px solid var(--border);
    }

    .card-featured::after {
        display: none;
    }

    .card-featured .card-content {
        max-width: 60ch;
        width: 100%;
        margin: 0 auto;
        text-align: left;
        align-items: flex-start;
    }

    .card-featured .card-media {
        position: relative;
        inset: auto;
        height: auto;
    }

    .grid-about {
        gap: var(--space-lg);
        padding: var(--space-md) var(--space-md) 0;
    }

    .about-heading .section-label {
        font-size: var(--text-xs);
    }

    .about-statement {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .grid-hireme {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        padding: 1.25rem;
    }

    .burger {
        display: flex;
    }

    .desktop-nav>ul {
        display: none;
    }

    section:not(.hero, .hero-landing) {
        padding-block: var(--space-md);
    }

    .hero {
        min-height: 100svh;
        background:
            radial-gradient(ellipse 95% 75% at center,
                rgb(0 0 0 / 32%) 0%,
                rgb(0 0 0 / 22%) 45%,
                rgb(0 0 0 / 10%) 72%,
                transparent 100%),
            url(assets/img/olga-kravets-hero-2560.webp) bottom center / cover no-repeat;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: min(46ch, calc(100% - 3rem));
        padding: 0;
        margin: 0;
    }

    .hero-content h1 {
        line-height: 1.1;
        text-align: center;
    }

    .tagline {
        max-width: 100%;
        align-self: center;
        text-align: center;
    }

    .hero-content .btn {
        align-self: center;
    }

    .grid-2,
    .grid-2-1x2,
    .grid-3,
    .grid-journal {
        grid-template-columns: 1fr;
    }

    .grid-wip,
    .grid-hireme {
        gap: var(--space-md);
    }

    .grid-wip>img {
        order: -1;
    }

    .wip-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-md) var(--space-sm);
        text-align: center;
    }

    .wip-meta-item {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .card-content {
        padding: var(--space-sm);
    }

    .card-movie .card-content {
        margin-top: -3rem;
        padding: 0 1rem 1.5rem;
    }

    .card-movie .card-title {
        font-size: 1.4rem;
    }

    .grid-journal {
        gap: var(--space-xs);
    }

    .card-featured {
        grid-column: auto;
    }

    .about-portrait {
        aspect-ratio: 4/3;
    }

    .about-heading {
        left: 4%;
        bottom: 4%;
        max-width: 90%;
    }

    .about-statement {
        font-size: clamp(1.15rem, 4vw, 1.4rem);
    }

    .grid-about {
        gap: var(--space-sm);
        padding: var(--space-md) 0 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(1200px, calc(100% - var(--space-md)));
    }

    .hero {
        background:
            radial-gradient(ellipse 95% 75% at center,
                rgb(0 0 0 / 32%) 0%,
                rgb(0 0 0 / 22%) 45%,
                rgb(0 0 0 / 10%) 72%,
                transparent 100%),
            url(assets/img/olga-kravets-hero-1080.webp) center/cover no-repeat;
    }

    .wip-cta {
        flex-direction: column;
        align-items: center;
    }

    .wip-cta a {
        text-align: center;
        justify-content: center;
    }

    .card-movie .card-media {
        aspect-ratio: 1/1;
        object-position: center;
    }

    .about-portrait {
        aspect-ratio: 1/1;
    }

    .contact-card {
        padding: var(--space-sm);
    }

    .contact-form {
        gap: var(--space-sm);
    }
}

/* Animations reduction */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .mobile-menu.open ul li a {
        opacity: 1;
        /* transform: none; */
    }

    .card:hover .card-media,
    .about-portrait:hover img,
    .logo-container img:hover,
    .scroll-to-top:hover,
    .step:hover .step-circle {
        transform: none;
    }
}
