/* "About Page" template only. Self-contained: relies only on the design
   tokens, .container, and .btn defined in custom.css (always loaded). */

.rv {
    opacity: 1;
    transform: none;
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.rv.rv--hidden {
    opacity: 0;
    transform: translateY(26px);
}

/* Hero */
.about-hero {
    padding: 48px 24px 0;
}
.about-hero__card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--cx-ink);
}
.about-hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.85) 100%);
}
.about-hero__content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(64px, 10vw, 120px) 32px;
    text-align: center;
}
.about-hero__heading {
    margin: 0;
    color: var(--cx-white);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2em;
    font-size: clamp(30px, 4.6vw, 54px);
}
.about-hero__text {
    margin: 22px auto 0;
    max-width: 62ch;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.7;
}
.about-hero__actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Pillars (01 / 02 / 03) */
.about-pillars {
    padding: 100px 24px;
}
.about-pillars__item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.about-pillars__item + .about-pillars__item {
    margin-top: 72px;
}
.about-pillars__item--offset-mid {
    margin-left: clamp(0px, 12vw, 200px);
}
.about-pillars__item--offset-far {
    margin-left: clamp(0px, 24vw, 380px);
}
.about-pillars__number {
    flex: none;
    font-family: var(--cx-heading-font);
    font-weight: 700;
    line-height: 1;
    font-size: clamp(70px, 9vw, 120px);
    color: var(--cx-border);
}
.about-pillars__heading {
    margin: 0 0 14px;
    color: var(--cx-ink);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: clamp(22px, 2.6vw, 30px);
}
.about-pillars__text {
    margin: 0;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cx-body);
}

@media (max-width: 900px) {
    .about-pillars__item--offset-mid,
    .about-pillars__item--offset-far {
        margin-left: 0;
    }
    .about-pillars__item {
        flex-direction: column;
        gap: 12px;
    }
}

/* Story */
.about-story {
    padding: 0 24px 120px;
}
.about-story__card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--cx-ink);
}
.about-story__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.about-story__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, .65);
}
.about-story__content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 120px) 32px;
    text-align: center;
}
.about-story__heading {
    margin: 0 0 32px;
    color: var(--cx-white);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(26px, 3.6vw, 42px);
}
.about-story__content p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 1.8;
}
.about-story__content p:last-child {
    margin-bottom: 0;
}

/* Values */
.about-values {
    padding: 0 24px 120px;
}
.about-values__heading {
    margin: 0 0 56px;
    text-align: center;
    color: var(--cx-ink);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: clamp(24px, 3vw, 34px);
}
.about-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.about-values__card {
    border: 1px solid var(--cx-border);
    border-radius: 16px;
    padding: 32px 28px;
}
.about-values__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--cx-muted-bg);
    color: var(--cx-accent);
    margin-bottom: 20px;
}
.about-values__icon svg {
    width: 22px;
    height: 22px;
}
.about-values__card h3 {
    margin: 0 0 10px;
    color: var(--cx-ink);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 15px;
}
.about-values__card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--cx-body);
}

/* Final call-to-action (shares content with the homepage's CTA section) */
.about-cta-section {
    padding: 0 24px 120px;
}
.about-cta {
    position: relative;
    text-align: center;
    background: var(--cx-muted-bg);
    border-radius: 24px;
    overflow: hidden;
}
.about-cta__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.about-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, .55);
}
.about-cta__content {
    position: relative;
    padding: clamp(64px, 9vw, 120px) 32px;
}
.about-cta__heading {
    margin: 0 0 32px;
    color: var(--cx-ink);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(30px, 4.6vw, 54px);
}
.about-cta--has-image .about-cta__heading {
    color: var(--cx-white);
}

/* Each section wrapper's own horizontal padding stacks with the nested
   .container's 16px gutter (40px total). On mobile that's excessive, so
   drop the outer padding and rely on .container alone -- same fix already
   applied to the homepage's sections. */
@media (max-width: 900px) {
    .about-hero {
        padding: 24px 0 0;
    }
    .about-pillars,
    .about-story,
    .about-values,
    .about-cta-section {
        padding-inline: 0;
    }
    .about-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .about-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
