/**
 * About page — layout + editorial styling (loads outside Vite).
 */

.page-about {
    width: 100%;
    max-width: 100%;
    --about-gold: #83582c;
    --about-gold-soft: rgba(131, 88, 44, 0.12);
    --about-stone-line: #e7e5e4;
    --about-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 4px 24px rgba(28, 25, 23, 0.06);
    --about-shadow-hover: 0 4px 12px rgba(28, 25, 23, 0.08), 0 12px 40px rgba(28, 25, 23, 0.08);
}

/* ----- Main column ----- */

.about-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
    width: 100%;
}

.about-split__main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.about-split__aside {
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .about-split {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.5rem;
    }

    .about-split__main {
        flex: 1 1 0%;
    }

    .about-split:not(.about-split--balanced) .about-split__aside {
        flex: 0 0 340px;
        max-width: 400px;
    }
}

/* Sidebar card */
.about-sidebar-card {
    position: relative;
    border-radius: 2px;
    border: 1px solid var(--about-stone-line);
    background: linear-gradient(165deg, #ffffff 0%, #fafaf9 100%);
    padding: 1.75rem;
    box-shadow: var(--about-shadow);
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
    .about-sidebar-card {
        padding: 2rem;
    }
}

.about-sidebar-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px 0 0 2px;
    background: linear-gradient(180deg, #c99d4f 0%, #83582c 100%);
    opacity: 0.85;
}

.about-sidebar-card:hover {
    border-color: #d6d3d1;
    box-shadow: var(--about-shadow-hover);
}

.about-sidebar-card h3 {
    letter-spacing: 0.14em;
}

.about-sidebar-card a {
    text-decoration: none;
}

/* ----- Section bands ----- */

.about-band {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--about-stone-line);
}

@media (min-width: 1024px) {
    .about-band {
        margin-top: 5rem;
        padding-top: 4rem;
    }
}

.about-band--muted {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin-top: 3.5rem;
    border-top: none;
    background: linear-gradient(180deg, rgba(250, 250, 249, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 4px;
}

@media (min-width: 640px) {
    .about-band--muted {
        margin-left: 0;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 3.5rem;
    }
}

/* ----- Four pillars ----- */

.about-pillars {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .about-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .about-pillars {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.about-pillars > li {
    min-width: 0;
}

.about-pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.35rem 1.6rem;
    border-radius: 3px;
    border: 1px solid var(--about-stone-line);
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.about-pillar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, transparent, var(--about-gold-soft), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.about-pillar:hover {
    border-color: #d6d3d1;
    box-shadow: var(--about-shadow-hover);
    transform: translateY(-2px);
}

.about-pillar:hover::after {
    opacity: 1;
}

.about-pillar__num {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(145deg, #fbf7ef 0%, #fff 100%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6d4829;
    border: 1px solid #e7e5e4;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
}

.about-pillar h3 {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1c1917;
}

.about-pillar p {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #57534e;
}

/* ----- List + trust ----- */

@media (min-width: 1024px) {
    .about-split--balanced .about-split__main,
    .about-split--balanced .about-split__aside {
        flex: 1 1 0%;
        min-width: 0;
        max-width: none;
    }
}

.about-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    display: flex;
    gap: 0.85rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(231, 229, 228, 0.7);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #57534e;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list__dot {
    flex-shrink: 0;
    margin-top: 0.45rem;
    height: 6px;
    width: 6px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #c99d4f, #83582c);
    box-shadow: 0 0 0 3px rgba(201, 157, 79, 0.15);
}

.about-trust-card {
    position: relative;
    height: 100%;
    border-radius: 3px;
    border: 1px solid var(--about-stone-line);
    background: linear-gradient(160deg, #ffffff 0%, #fafaf9 55%, #f5f5f4 100%);
    padding: 2rem;
    box-shadow: var(--about-shadow);
}

.about-trust-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #6d4829 0%, #c99d4f 100%);
    opacity: 0.9;
}

.about-trust-card h2 {
    padding-left: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1c1917;
}

.about-trust-card p {
    padding-left: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #57534e;
}

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

/* ----- CTA ----- */

.about-cta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 5rem;
    padding: 2.5rem 1.75rem;
    border-radius: 4px;
    border: 1px solid #292524;
    background: linear-gradient(125deg, #1c1917 0%, #292524 45%, #1c1917 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(28, 25, 23, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
    .about-cta {
        flex-direction: row;
        align-items: center;
        padding: 2.75rem 2.5rem;
    }
}

.about-cta__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.85);
}

.about-cta__text {
    margin-top: 0.5rem;
    max-width: 36rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fafaf9;
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.75rem 1.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.about-cta__btn--primary {
    background: #fff;
    color: #1c1917;
}

.about-cta__btn--primary:hover {
    background: #f5ebd6;
}

.about-cta__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.about-cta__btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.about-cta__btn:active {
    transform: scale(0.98);
}
