:root {
    --bg-soft: #fdf7f3;
    --bg-hero: linear-gradient(135deg, #112d4e 0%, #3f72af 100%);
    --text-dark: #2b2523;
    --text-muted: #5f4f48;
    --accent: #f0688b;
    --accent-strong: #d75275;
    --card-bg: #ffffff;
    --shadow-soft: 0 24px 48px -28px rgba(68, 35, 29, 0.6);
    --radius-lg: 24px;
}

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

body {
    margin: 0;
    font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

a:focus-visible {
    outline: 3px solid var(--accent-strong);
    outline-offset: 4px;
}

main {
    flex: 1;
}

.hero {
    background: var(--bg-hero);
    color: #ffffff;
    padding: clamp(32px, 6vw, 72px) 0;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(0);
    opacity: 0.35;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle at center, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
}

.hero::after {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 80%);
}

.hero__inner {
    width: min(960px, 90%);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-family: 'Berkshire Swash', 'Work Sans', serif;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem;
}

.gallery-section {
    width: min(1100px, 92%);
    margin: clamp(-120px, -10vw, -80px) auto 80px;
    background: var(--card-bg);
    padding: clamp(36px, 5vw, 72px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.gallery {
    display: grid;
    gap: clamp(16px, 3vw, 28px);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery__item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3eae5;
    box-shadow: 0 18px 28px -24px rgba(0, 0, 0, 0.35);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.gallery__item:hover,
.gallery__item:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 26px 34px -20px rgba(240, 104, 139, 0.45);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
    transform: scale(1.04);
}

.noscript {
    margin-top: 24px;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .gallery-section {
        margin-top: clamp(-80px, -12vw, -40px);
    }
}
