/**
 * STINA About Page — Light future corporate identity
 */

body.page-about {
    background:
        radial-gradient(1000px 650px at 12% 8%, rgba(27, 77, 46, 0.09), transparent 55%),
        radial-gradient(900px 600px at 88% 12%, rgba(197, 160, 115, 0.07), transparent 52%),
        linear-gradient(180deg, var(--home-bg), var(--home-bg-alt));
}

/* ── Hero ── */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
    background: transparent;
    text-align: center;
}

.about-hero__void {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 15%, rgba(27, 77, 46, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 85%, rgba(197, 160, 115, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--home-bg) 0%, var(--home-bg-alt) 100%);
    pointer-events: none;
}

.about-hero__grid {
    position: absolute;
    bottom: 0;
    left: -20%;
    right: -20%;
    height: 50%;
    background-image:
        linear-gradient(rgba(27, 77, 46, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 77, 46, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(480px) rotateX(76deg);
    transform-origin: center top;
    mask-image: linear-gradient(to top, black 10%, transparent 85%);
    -webkit-mask-image: linear-gradient(to top, black 10%, transparent 85%);
    pointer-events: none;
    opacity: 0.5;
}

.about-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.about-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stina-gold-dark);
    margin-bottom: 1rem;
}

.about-hero__label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--stina-gold);
    box-shadow: 0 0 10px rgba(197, 160, 115, 0.45);
    animation: about-pulse 2s ease-in-out infinite;
}

@keyframes about-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.about-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--stina-green-dark);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.about-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--stina-gray);
    margin: 0;
    line-height: 1.7;
    max-width: 36ch;
    margin-inline: auto;
}

/* ── Story ── */
.about-story {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.about-story__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 77, 46, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 77, 46, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.about-story__eyebrow {
    display: inline-block;
    color: var(--stina-gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-story__title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    color: var(--stina-green-dark);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.about-story__text {
    color: var(--stina-gray);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story__text--secondary {
    margin-bottom: 0;
    opacity: 0.92;
}

.about-story__visual {
    position: relative;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--home-surface);
    border: 1px solid var(--home-stroke);
    border-radius: var(--stina-radius-lg);
    box-shadow:
        0 16px 40px rgba(13, 18, 16, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.about-story__frame {
    position: absolute;
    inset: 1rem;
    pointer-events: none;
}

.about-story__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(197, 160, 115, 0.55);
    border-style: solid;
}

.about-story__corner--tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.about-story__corner--tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.about-story__corner--bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.about-story__corner--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.about-story__logo-plate {
    display: inline-block;
    padding: 1.25rem 1.75rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 115, 0.35);
    box-shadow: 0 8px 24px rgba(13, 18, 16, 0.08);
    margin-bottom: 1rem;
}

.about-story__logo-plate img {
    display: block;
    width: min(220px, 70vw);
    height: auto;
    margin: 0 auto;
}

.about-story__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--stina-gold-dark);
    margin-bottom: 1.25rem;
}

.about-story__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--home-stroke);
}

.about-story__stat {
    min-width: 5.5rem;
}

.about-story__stat-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--stina-green);
    line-height: 1.1;
}

.about-story__stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--stina-gray);
    opacity: 0.85;
}

/* ── Pillars (Mission / Vision / Values) ── */
.about-pillars {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.about-pillars__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(27, 77, 46, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, var(--home-bg-alt) 0%, var(--home-bg) 100%);
    pointer-events: none;
}

.about-pillars__label {
    display: inline-block;
    color: var(--stina-gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-pillars__title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    color: var(--stina-green-dark);
    margin-bottom: 0.75rem;
}

.about-pillars__lead {
    max-width: 600px;
    color: var(--stina-gray);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.about-pillar {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: var(--home-surface);
    border: 1px solid var(--home-stroke);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 18, 16, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: about-pillar-in 0.6s ease forwards;
    animation-delay: calc(var(--pi) * 0.12s);
}

@keyframes about-pillar-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.about-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 115, 0.45);
    box-shadow: 0 16px 40px rgba(13, 18, 16, 0.08);
}

.about-pillar__index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(197, 160, 115, 0.45);
}

.about-pillar__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--stina-gold-dark);
    background: rgba(197, 160, 115, 0.1);
    border: 1px solid rgba(197, 160, 115, 0.25);
    border-radius: 12px;
}

.about-pillar__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--stina-green-dark);
    margin-bottom: 0.65rem;
}

.about-pillar__text {
    font-size: 0.92rem;
    color: var(--stina-gray);
    line-height: 1.65;
    margin: 0;
}

/* ── Tech commitment ── */
.about-tech {
    background: transparent;
}

.about-tech__label {
    display: inline-block;
    color: var(--stina-gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-tech__title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--stina-green-dark);
    margin-bottom: 0.75rem;
}

.about-tech__lead {
    max-width: 620px;
    color: var(--stina-gray);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.about-tech__card {
    position: relative;
    height: 100%;
    padding: 1.35rem 1.25rem;
    background: var(--home-surface);
    border: 1px solid var(--home-stroke);
    border-left: 3px solid var(--stina-gold);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 16px rgba(13, 18, 16, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-tech__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 18, 16, 0.08);
}

.about-tech__num {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(197, 160, 115, 0.7);
    letter-spacing: 0.05em;
}

.about-tech__card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--stina-green-dark);
    margin: 0.5rem 0 0.4rem;
    line-height: 1.3;
}

.about-tech__card-text {
    font-size: 0.82rem;
    color: var(--stina-gray);
    line-height: 1.55;
    margin-bottom: 0.65rem;
}

.about-tech__tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stina-gold-dark);
    padding: 0.2rem 0.5rem;
    background: rgba(197, 160, 115, 0.12);
    border-radius: 4px;
}

/* ── CTA ── */
.about-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: transparent;
}

.about-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 30% 50%, rgba(27, 77, 46, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 90% 30%, rgba(197, 160, 115, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--home-bg) 0%, var(--home-bg-alt) 100%);
    pointer-events: none;
}

.about-cta__panel {
    position: relative;
    z-index: 2;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--home-surface);
    border: 1px solid var(--home-stroke);
    border-radius: var(--stina-radius-lg);
    box-shadow: 0 16px 48px rgba(13, 18, 16, 0.06);
}

.about-cta__title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--stina-green-dark);
    margin-bottom: 0.75rem;
}

.about-cta__text {
    max-width: 520px;
    color: var(--stina-gray);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.about-cta .btn-hero-outline {
    color: var(--stina-green-dark);
    border: 2px solid rgba(27, 77, 46, 0.22);
    background: rgba(255, 255, 255, 0.72);
}

.about-cta .btn-hero-outline:hover {
    color: var(--stina-white);
    background: var(--stina-green);
    border-color: var(--stina-green);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    body.page-about .section-padding {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }

    body.page-about .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .about-hero {
        padding: 2rem 0 1.5rem;
    }

    .about-hero__grid {
        opacity: 0.35;
    }

    .about-story .row {
        row-gap: 2rem !important;
    }

    .about-story__visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-pillars .text-center.mb-5,
    .about-tech .text-center.mb-5 {
        margin-bottom: 2rem !important;
    }

    .about-pillar:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .about-hero {
        padding: 1.5rem 0 1.25rem;
    }

    .about-hero__label {
        font-size: 0.68rem;
    }

    .about-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.15rem);
    }

    .about-hero__subtitle {
        font-size: 0.92rem;
    }

    body.page-about .section-padding {
        padding: 2.25rem 0;
    }

    .about-story__title {
        font-size: clamp(1.55rem, 6.5vw, 1.9rem);
    }

    .about-story__text {
        font-size: 0.94rem;
    }

    .about-story__visual {
        padding: 1.25rem 1rem;
    }

    .about-story__logo-plate {
        padding: 1rem 1.25rem;
    }

    .about-story__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        text-align: center;
    }

    .about-story__stat {
        min-width: 0;
    }

    .about-story__stat-value {
        font-size: 1.2rem;
    }

    .about-story__stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.04em;
    }

    .about-pillars__title,
    .about-tech__title {
        font-size: clamp(1.55rem, 6.5vw, 1.85rem);
    }

    .about-pillars__lead,
    .about-tech__lead {
        font-size: 0.94rem;
    }

    .about-pillar {
        padding: 1.35rem 1.2rem;
    }

    .about-tech__card {
        padding: 1.15rem 1rem;
    }

    .about-tech__card-title {
        font-size: 0.9rem;
    }

    .about-tech__card-text {
        font-size: 0.8rem;
    }

    .about-cta {
        padding: 2rem 0 2.5rem;
    }

    .about-cta__panel {
        padding: 1.5rem 1.15rem;
    }

    .about-cta__title {
        font-size: clamp(1.45rem, 6vw, 1.75rem);
    }

    .about-cta__text {
        font-size: 0.94rem;
        margin-bottom: 1.25rem;
    }

    .about-cta__panel .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__label-dot,
    .about-pillar {
        animation: none;
        opacity: 1;
    }

    .about-pillar:hover,
    .about-tech__card:hover {
        transform: none;
    }
}
