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

:root {
    --color-bg: #0a0a0a;
    --color-bg-card: #111111;
    --color-gold: #c9a96e;
    --color-gold-dim: #8a7245;
    --color-text: #e8e0d4;
    --color-text-muted: #9a928a;
    --color-divider: #2a2520;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== FADE-IN ANIMATION ===== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    overflow: hidden;
}

.hero__smoke {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 30% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 70% 60%, rgba(201, 169, 110, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 800px 300px at 50% 80%, rgba(201, 169, 110, 0.02) 0%, transparent 70%);
    pointer-events: none;
    animation: smokeDrift 12s ease-in-out infinite alternate;
}

@keyframes smokeDrift {
    0% { opacity: 0.6; transform: scale(1) translateY(0); }
    100% { opacity: 1; transform: scale(1.05) translateY(-10px); }
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__epigraph {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold-dim);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero__subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    font-weight: 400;
    line-height: 1.6;
}

.hero__closed {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.hero__closed-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold-dim);
}

.hero__closed-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dim);
    white-space: nowrap;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollHintPulse 2.5s ease-in-out infinite;
    cursor: default;
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ===== ABOUT ===== */

.about {
    padding: 120px 0 100px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 400;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.about__divider {
    width: 40px;
    height: 1px;
    background: var(--color-gold-dim);
    margin: 0 auto 48px;
}

.about__text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}

.about__text--lead {
    font-size: 1.15rem;
    color: var(--color-text);
}

.about__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 72px;
}

.about__value {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-divider);
    border-radius: 2px;
    transition: border-color 0.4s ease;
}

.about__value:hover {
    border-color: var(--color-gold-dim);
}

.about__value-icon {
    color: var(--color-gold);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.about__value-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.about__value-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ===== FOOTER ===== */

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-divider);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-gold-dim);
    letter-spacing: 0.05em;
}

.footer__tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .about__values {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about {
        padding: 80px 0 60px;
    }

    .hero__closed-line {
        width: 30px;
    }

    .hero__closed-text {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    .footer__content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
