/**
 * About Block — matches ALKEMIA-Genesis About.tsx reference
 *
 * @package AloraAlkemia
 */

/* ── Section ────────────────────────────────────────────────────────────── */
.about-section {
    position: relative;
    background-color: oklch(0.13 0.04 260);
    background-image:
        radial-gradient(1200px 700px at 80% 10%, color-mix(in oklab, var(--color-red) 18%, transparent), transparent 55%),
        radial-gradient(900px 600px at 0% 90%, color-mix(in oklab, #092D4D 30%, transparent), transparent 60%),
        linear-gradient(180deg, oklch(0.14 0.045 260) 0%, oklch(0.11 0.04 260) 50%, oklch(0.16 0.05 260) 100%);
    padding: 112px 0;
    overflow: hidden;
}

/* ── Atmosphere ──────────────────────────────────────────────────────────── */
.about-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-atmosphere .grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in oklab, currentColor 10%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in oklab, currentColor 10%, transparent) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
}

.about-orb-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 30rem;
    height: 30rem;
    border-radius: 9999px;
    background: radial-gradient(circle, color-mix(in oklab, var(--color-red) 25%, transparent), transparent 70%);
    filter: blur(80px);
    opacity: 0.45;
}

.about-orb-2 {
    position: absolute;
    bottom: -10rem;
    left: -6rem;
    width: 32rem;
    height: 32rem;
    border-radius: 9999px;
    background: radial-gradient(circle, color-mix(in oklab, #092D4D 55%, transparent), transparent 70%);
    filter: blur(80px);
    opacity: 0.55;
}

/* ── Container z-index ───────────────────────────────────────────────────── */
.about-section .container {
    position: relative;
    z-index: 1;
}

/* ── Header area ─────────────────────────────────────────────────────────── */
.about-header {
    max-width: 768px;   /* ~max-w-3xl equivalent */
    margin-bottom: 4rem;
}

/* Badge: bar + text — same as hero badge */
.about-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.about-badge-bar {
    display: block;
    width: 2px;
    height: 16px;
    background: var(--color-red);
    flex-shrink: 0;
}

.about-badge-text {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.42em;
    color: var(--color-red);
    line-height: 1;
}

/* Title */
.about-title {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin: 0 0 2rem;
}

.about-title .text-vermilion {
    color: var(--color-red);
}

/* Description */
.about-description {
    font-size: var(--text-lg);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ── Feature cards ───────────────────────────────────────────────────────── */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-card {
    background: color-mix(in oklab, white 4%, transparent);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid color-mix(in oklab, white 8%, transparent);
    border-radius: 8px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-red) 30%, transparent),
                0 20px 60px -20px color-mix(in oklab, var(--color-red) 25%, transparent);
}

.about-card-icon {
    color: var(--color-red);
    margin-bottom: 1.5rem;
}

.about-card-title {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin: 0 0 1rem;
}

.about-card-body {
    font-size: var(--text-base);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Vermilion line at bottom of card */
.about-card-line {
    margin-top: 2rem;
    height: 2px;
    width: 32px;
    background: var(--color-red);
    transition: width 0.5s ease;
}

.about-card:hover .about-card-line {
    width: 64px;
}

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.about-cta {
    margin-top: 0;
}

/* ── Reveal animations ───────────────────────────────────────────────────── */
.reveal--delay {
    transition-delay: 0.15s;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .about-section { padding: 80px 0; }
    .about-card { padding: 2rem; }
}

@media (max-width: 767px) {
    .about-section { padding: 64px 0; }
    .about-cards { grid-template-columns: 1fr; }
    .about-header { margin-bottom: 2.5rem; }
    .about-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
}
