:root {
    --aga-marcin-bg: #F9EEEE;
    --aga-marcin-text: #B96770;
    --aga-marcin-and: #8E999F;
    --aga-marcin-menu: #6F6668;
    --aga-marcin-hover: #B96770;
    --aga-marcin-border: rgba(0, 0, 0, 0.06);
    --aga-marcin-header-height: 76px;
    --aga-marcin-body-text: #A8999D;
    --aga-marcin-shadow: rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Manrope, "Segoe UI", sans-serif;
    background: var(--aga-marcin-bg);
    color: var(--aga-marcin-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(249, 238, 238, 0.96);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid var(--aga-marcin-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--aga-marcin-header-height);
    gap: 1rem;
}

.site-brand {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--aga-marcin-text);
}

.site-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.site-nav__list li {
    position: relative;
}

.site-nav__list a {
    color: var(--aga-marcin-menu);
    font-size: 0.96rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible,
.site-nav__list a.current-menu-item {
    color: var(--aga-marcin-hover);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--aga-marcin-border);
    background: transparent;
    border-radius: 999px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--aga-marcin-text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-main {
    min-height: calc(100vh - var(--aga-marcin-header-height));
}

.site-main--content {
    min-height: auto;
    padding: 4rem 0;
}

.entry {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.entry-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.06em;
    color: var(--aga-marcin-text);
}

.entry-content {
    color: var(--aga-marcin-menu);
    font-size: 1rem;
    line-height: 1.75;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--aga-marcin-header-height));
    background: var(--aga-marcin-bg);
    color: var(--aga-marcin-text);
    padding: 2rem 0;
}

.hero__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    transform: scale(0.985);
    opacity: 0;
    animation: agaimarcinFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3em;
    font-size: clamp(3.6rem, 5vw, 7.5rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.hero-name,
.hero-symbol,
.hero-subtitle {
    display: block;
}

.hero-name {
    white-space: nowrap;
}

.hero-symbol {
    font-size: clamp(2.2rem, 3vw, 4.5rem);
    line-height: 1;
    font-weight: 600;
    color: var(--aga-marcin-and);
    letter-spacing: -0.08em;
    opacity: 0.95;
}

.hero-subtitle {
    margin: 1.3rem 0 0;
    font-size: clamp(0.9rem, 1.6vw, 1.5rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aga-marcin-body-text);
    font-weight: 600;
}

.site-footer {
    padding: 1rem 0 1.5rem;
    background: var(--aga-marcin-bg);
    color: var(--aga-marcin-body-text);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.85rem;
}

@keyframes agaimarcinFadeIn {
    from {
        opacity: 0;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        background: rgba(249, 238, 238, 0.98);
        border-bottom: 1px solid var(--aga-marcin-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-nav.is-open {
        max-height: 300px;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
    }

    .site-nav__list li {
        width: 100%;
        border-top: 1px solid var(--aga-marcin-border);
    }

    .site-nav__list a {
        display: block;
        padding: 0.8rem 0;
    }

    .hero {
        min-height: calc(100vh - var(--aga-marcin-header-height));
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-title {
        gap: 0.15em;
        font-size: clamp(3.6rem, 12vw, 5.4rem);
    }

    .hero-symbol {
        font-size: clamp(2.1rem, 8vw, 3.4rem);
    }

    .hero-subtitle {
        letter-spacing: 0.12em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .menu-toggle span,
    .site-nav {
        transition: none;
    }
}
