/* About Libris — editorial layout, matches global tokens in style.css */

.about-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.about-hero-visual {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-book-sculpture {
    position: relative;
    width: 200px;
    height: 220px;
}

.about-book-sculpture span {
    position: absolute;
    display: block;
    border-radius: 4px 10px 10px 4px;
    box-shadow:
        0 12px 28px rgba(26, 26, 26, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.about-book-sculpture .spine-a {
    left: 0;
    bottom: 0;
    width: 42px;
    height: 180px;
    background: linear-gradient(90deg, #3d3d2e 0%, #5a5a40 45%, #6b6b4f 100%);
    transform: rotate(-6deg);
}

.about-book-sculpture .spine-b {
    left: 36px;
    bottom: 8px;
    width: 46px;
    height: 195px;
    background: linear-gradient(90deg, #2a2a24 0%, #1a1a1a 50%, #2e2e28 100%);
    transform: rotate(2deg);
    z-index: 1;
}

.about-book-sculpture .spine-c {
    left: 78px;
    bottom: 0;
    width: 44px;
    height: 170px;
    background: linear-gradient(90deg, #e8e4dc 0%, #fdfcfb 50%, #d4cfc4 100%);
    border: 1px solid rgba(26, 26, 26, 0.08);
    transform: rotate(8deg);
    z-index: 2;
}

.about-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.12;
    color: var(--ink-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--muted-color);
    max-width: 36rem;
}

.about-hero-lead blockquote {
    margin: 0;
    padding: 0 0 0 1.1rem;
    border-left: 3px solid var(--accent-color);
    font-style: italic;
    color: var(--ink-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 72px;
}

.about-stat {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
}

.about-stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--ink-color);
    margin-bottom: 6px;
}

.about-stat span {
    font-size: 0.9rem;
    color: var(--muted-color);
    line-height: 1.45;
}

.about-section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--ink-color);
}

.about-prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.about-prose p + p {
    margin-top: 1rem;
}

.about-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 72px;
    align-items: start;
}

.about-card-dark {
    background: var(--ink-color);
    color: #f5f5f4;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(26, 26, 26, 0.18);
}

.about-card-dark h3 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c4c4a8;
    margin-bottom: 14px;
}

.about-card-dark p {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.92;
}

.about-card-light {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.06);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(26, 26, 26, 0.05);
}

.about-card-light h3 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-color);
    margin-bottom: 14px;
}

.about-card-light p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-color);
}

.about-features {
    margin-bottom: 72px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-feature {
    padding: 24px;
    border-radius: 16px;
    background: rgba(90, 90, 64, 0.06);
    border: 1px solid rgba(90, 90, 64, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
}

.about-feature h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--ink-color);
}

.about-feature p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted-color);
}

.about-steps {
    margin-bottom: 72px;
    padding: 40px;
    background: linear-gradient(180deg, rgba(253, 252, 251, 0) 0%, rgba(90, 90, 64, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.about-steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: about-step;
}

.about-steps li {
    counter-increment: about-step;
    position: relative;
    padding-left: 52px;
    margin-bottom: 24px;
}

.about-steps li:last-child {
    margin-bottom: 0;
}

.about-steps li::before {
    content: counter(about-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink-color);
    color: var(--bg-color);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-steps h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.about-steps p {
    font-size: 0.95rem;
    color: var(--muted-color);
    line-height: 1.55;
}

.about-cta {
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    background: var(--ink-color);
    color: #f5f5f4;
}

.about-cta p {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.45;
    max-width: 560px;
    margin: 0 auto 28px;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.about-cta .btn-primary {
    background: var(--bg-color);
    color: var(--ink-color);
}

.about-cta .btn-primary:hover {
    opacity: 0.92;
}

.about-cta .btn-outline {
    border-color: rgba(253, 252, 251, 0.5);
    color: var(--bg-color);
}

.about-cta .btn-outline:hover {
    background: var(--bg-color);
    color: var(--ink-color);
}

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-lead blockquote {
        text-align: left;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .about-features-grid {
        grid-template-columns: 1fr;
    }
}
