/* =========================================
   Śmiertelna Misja — landing page
   Color sampling matches the book cover.
   ========================================= */

:root {
    --magenta-deep: #8c0e5e;
    --magenta: #a4196d;
    --magenta-light: #c12a82;
    --silver-1: #f4f1ea;
    --silver-2: #c8c4bd;
    --silver-3: #8e8a83;
    --silver-4: #4a4742;
    --blood: #c8102e;
    --ink: #1a0a13;
    --paper: #fbf6ee;
    --soft: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--paper);
    background: var(--magenta);
    background-image:
        radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(0, 0, 0, 0.25) 0%, transparent 60%),
        linear-gradient(180deg, var(--magenta) 0%, var(--magenta-deep) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* ---------- HERO ---------- */

.hero {
    position: relative;
    padding: 64px 0 0;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.author-name {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.18em;
    color: var(--silver-1);
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0.9;
}

.title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-top: 0.15em;
}

.title-top, .title-bottom {
    display: block;
    font-size: clamp(48px, 7vw, 88px);
    /* Fallback solid silver color */
    color: #e8e4dc;
    /* Chrome gradient (modern browsers) */
    background: linear-gradient(180deg,
        #ffffff 0%,
        #e8e4dc 25%,
        #b6b0a6 50%,
        #f4f1ea 65%,
        #8e8a83 85%,
        #d8d4cc 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Force fallback color where background-clip:text isn't supported */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .title-top, .title-bottom {
        color: #e8e4dc;
        background: none;
        -webkit-text-fill-color: #e8e4dc;
    }
}

.title-bottom {
    font-style: italic;
    margin-top: 0;
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--silver-1);
    opacity: 0.85;
    margin-bottom: 28px;
    border-top: 1px solid rgba(244, 241, 234, 0.25);
    padding-top: 20px;
    max-width: 420px;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--silver-1);
    margin-bottom: 36px;
    opacity: 0.95;
}

.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-width: 180px;
    border: 1.5px solid var(--silver-2);
    border-radius: 2px;
    color: var(--silver-1);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
}

.cta:hover:not(.cta-disabled) {
    background: var(--silver-1);
    color: var(--magenta-deep);
    transform: translateY(-2px);
}

.cta-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    border-style: dashed;
}

.cta-label {
    display: block;
}

.cta-soon {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    margin-top: 4px;
    opacity: 0.85;
}

.hero-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cover img {
    max-width: 100%;
    width: 360px;
    height: auto;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.3);
    transform: rotate(-1.5deg);
    transition: transform 0.4s ease;
}

.hero-cover img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ---------- DESCRIPTION ---------- */

.description {
    padding: 80px 0 64px;
    background: rgba(0, 0, 0, 0.18);
}

.description h2 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--silver-2);
    margin-bottom: 36px;
    text-align: center;
}

.description p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--paper);
}

.description .lead {
    font-size: 22px;
    font-style: italic;
}

.pullquote {
    margin: 48px auto 0;
    padding: 32px 24px;
    max-width: 720px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--silver-1);
    border-top: 1px solid rgba(244, 241, 234, 0.3);
    border-bottom: 1px solid rgba(244, 241, 234, 0.3);
    position: relative;
}

.pullquote::before,
.pullquote::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--blood);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.pullquote::before { top: -4px; }
.pullquote::after { bottom: -4px; }

/* ---------- AUTHOR ---------- */

.author {
    padding: 80px 0;
}

.author-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    align-items: start;
}

.author-photo img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.05);
    border: 2px solid var(--silver-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.author-bio h2 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--silver-2);
    margin-bottom: 20px;
}

.author-bio p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--paper);
    opacity: 0.92;
}

.author-bio .contact {
    margin-top: 24px;
    font-size: 17px;
    color: var(--paper);
    opacity: 0.92;
}

.author-bio .contact a {
    color: var(--silver-1);
    text-decoration: none;
    border-bottom: 1px solid var(--blood);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.author-bio .contact a:hover {
    color: var(--blood);
}

/* ---------- FOOTER ---------- */

.site-footer {
    padding: 32px 0 48px;
    text-align: center;
    border-top: 1px solid rgba(244, 241, 234, 0.15);
    background: rgba(0, 0, 0, 0.25);
}

.site-footer p {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--silver-3);
    margin-bottom: 6px;
}

.site-footer .copy {
    opacity: 0.6;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px 60px;
        text-align: center;
    }

    .hero-cover {
        order: -1;
    }

    .hero-cover img {
        width: 260px;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-row {
        justify-content: center;
    }

    .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-photo {
        max-width: 140px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .description p { font-size: 17px; }
    .pullquote { font-size: 19px; padding: 24px 16px; }
    .cta { min-width: 0; width: 100%; }
}
