:root {
    --about-burgundy: #6c0c0c;
    --about-burgundy-soft: #a24949;
    --about-navy: #171d58;
    --about-navy-soft: #4f5cb3;
    --about-ink: rgba(23, 29, 88, .76);
    --about-muted: rgba(23, 29, 88, .62);
    --about-line: rgba(23, 29, 88, .08);
    --about-line-strong: rgba(23, 29, 88, .14);
    --about-surface: rgba(255, 255, 255, .94);
    --about-shadow: 0 24px 60px rgba(17, 23, 61, .10);
    --about-shadow-lg: 0 32px 86px rgba(17, 23, 61, .16);
}

main.about-page {
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 231, 218, .34) 0%, rgba(255, 231, 218, 0) 25%),
        radial-gradient(circle at 88% 16%, rgba(113, 132, 255, .10) 0%, rgba(113, 132, 255, 0) 28%),
        linear-gradient(180deg, #faf9fd 0%, #f6f5fb 34%, #fbfbff 100%);
}

.about-page > section {
    position: relative;
    overflow: hidden;
}

.about-shell {
    width: min(100%, 1290px);
    margin: 0 auto;
    padding-inline: 1rem;
}

.about-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    max-width: 880px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-section-head__eyebrow,
.about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #8a2f2f;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-section-head__eyebrow::before,
.about-hero__eyebrow::before {
    content: '';
    width: 2.6rem;
    height: 1px;
    background: rgba(138, 47, 47, .4);
}

.about-section-head h2 {
    margin: 0;
    color: var(--about-navy);
    font-size: clamp(2rem, 3.6vw, 3.45rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.about-section-head h2::after,
.about-hero__title::after {
    content: '';
    display: block;
    width: 5.75rem;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(108, 12, 12, .94) 0%, rgba(40, 40, 112, .94) 100%);
    box-shadow: 0 8px 18px rgba(108, 12, 12, .12);
}

.about-section-head p {
    max-width: 60ch;
    margin: 0;
    color: var(--about-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-hero {
    padding: 4.3rem 0 4.8rem;
    background:
        radial-gradient(circle at top left, rgba(255, 226, 212, .52) 0%, rgba(255, 226, 212, 0) 25%),
        radial-gradient(circle at 86% 12%, rgba(113, 132, 255, .10) 0%, rgba(113, 132, 255, 0) 28%),
        linear-gradient(180deg, #f8f7fc 0%, #fdfdff 100%);
}

.about-hero::after,
.about-values::before,
.about-story::before,
.about-philosophy::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: min(100%, 1080px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg,
            rgba(23, 29, 88, 0) 0%,
            rgba(23, 29, 88, .08) 18%,
            rgba(108, 12, 12, .16) 50%,
            rgba(23, 29, 88, .08) 82%,
            rgba(23, 29, 88, 0) 100%);
}

.about-values::after,
.about-story::after,
.about-philosophy::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -1px;
    width: 5.75rem;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(108, 12, 12, .94) 0%, rgba(40, 40, 112, .94) 100%);
    box-shadow: 0 8px 18px rgba(108, 12, 12, .12);
}

.about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
    gap: 2.25rem;
    align-items: center;
}

.about-hero__copy {
    position: relative;
    z-index: 1;
}

.about-hero__title {
    max-width: 11ch;
    margin: 0 0 1.45rem;
    color: var(--about-navy);
    font-size: clamp(2.6rem, 5vw, 4.85rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.about-hero__title::after {
    margin-left: 0;
}

.about-hero__lead {
    max-width: 61ch;
    margin: 0;
    color: var(--about-ink);
    font-size: 1.08rem;
    line-height: 1.82;
}

.about-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

.about-hero__pills span {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 29, 88, .1);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(23, 29, 88, .82);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 14px 28px rgba(17, 23, 61, .06);
}

.about-hero__visuals {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-hero__photo-card {
    position: relative;
    width: min(100%, 34rem);
    padding: .95rem;
    border-radius: 2.1rem;
    border: 1px solid rgba(23, 29, 88, .08);
    background:
        radial-gradient(circle at top right, rgba(255, 226, 212, .32) 0%, rgba(255, 226, 212, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(250, 250, 255, .96) 100%);
    box-shadow: var(--about-shadow-lg);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.about-hero__photo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 12, 12, .14);
    box-shadow: 0 36px 92px rgba(17, 23, 61, .18);
}

.about-hero__photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.55rem;
    aspect-ratio: 3 / 4;
    background: #edf0fb;
}

.about-hero__photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.about-hero__photo-card:hover .about-hero__photo-frame img {
    transform: scale(1.035);
    filter: saturate(1.03) contrast(1.02);
}

.about-values {
    padding: 4.9rem 0 5.4rem;
    background:
        radial-gradient(circle at 10% 16%, rgba(126, 145, 255, .08) 0%, rgba(126, 145, 255, 0) 25%),
        linear-gradient(180deg, #f7f6fb 0%, #ffffff 100%);
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.55rem;
}

.about-value-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 2rem 1.7rem 1.75rem;
    border-radius: 1.8rem;
    border: 1px solid var(--about-line);
    background:
        radial-gradient(circle at top right, rgba(255, 229, 215, .28) 0%, rgba(255, 229, 215, 0) 26%),
        linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
    box-shadow: 0 18px 44px rgba(17, 23, 61, .08);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.about-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 12, 12, .14);
    box-shadow: 0 28px 62px rgba(17, 23, 61, .14);
}

.about-value-card__icon {
    width: 4.35rem;
    height: 4.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c0c0c, #282870);
    box-shadow: 0 16px 34px rgba(108, 12, 12, .18);
    color: #fff;
}

.about-value-card__icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.about-value-card h3 {
    margin: 1.5rem 0 .85rem;
    color: var(--about-navy);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.03em;
}

.about-value-card p {
    margin: 0;
    color: var(--about-muted);
    line-height: 1.82;
}

.about-story {
    padding: 5.3rem 0 5.6rem;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 229, 215, .30) 0%, rgba(255, 229, 215, 0) 24%),
        linear-gradient(180deg, #fbfbff 0%, #f7f6fb 100%);
}

.about-story__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 2rem;
    align-items: start;
}

.about-story__intro {
    position: sticky;
    top: 7.5rem;
}

.about-story__intro h2 {
    margin: .95rem 0 1rem;
    color: var(--about-navy);
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.about-story__intro h2::after {
    content: '';
    display: block;
    width: 5.5rem;
    height: 4px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(108, 12, 12, .94) 0%, rgba(40, 40, 112, .94) 100%);
}

.about-story__lead {
    max-width: 55ch;
    margin: 0;
    color: var(--about-muted);
    font-size: 1.02rem;
    line-height: 1.82;
}

.about-story__pills {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.45rem;
}

.about-story__pills span {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: .68rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 29, 88, .1);
    background: rgba(255, 255, 255, .72);
    color: rgba(23, 29, 88, .8);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 12px 24px rgba(17, 23, 61, .05);
}

.about-story__stack {
    display: grid;
    gap: 1.25rem;
}

.about-story__card {
    position: relative;
    overflow: hidden;
    padding: 1.9rem 1.6rem 1.75rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(23, 29, 88, .08);
    background:
        radial-gradient(circle at top right, rgba(255, 226, 212, .28) 0%, rgba(255, 226, 212, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(250, 250, 255, .98) 100%);
    box-shadow: var(--about-shadow);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.about-story__card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 12, 12, .14);
    box-shadow: 0 28px 68px rgba(17, 23, 61, .14);
}

.about-story__card-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(23, 29, 88, .08);
    color: #8a2f2f;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-story__card p {
    margin: 1rem 0 0;
    color: var(--about-ink);
    line-height: 1.86;
}

.about-philosophy {
    padding: 5.1rem 0 5.75rem;
    background:
        radial-gradient(circle at 10% 18%, rgba(255, 232, 221, .42) 0%, rgba(255, 232, 221, 0) 28%),
        linear-gradient(180deg, #f8f6fc 0%, #f2f0fa 100%);
}

.about-philosophy__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.about-philosophy__card {
    position: relative;
    min-height: 100%;
    padding: 1.75rem 1.45rem 1.55rem;
    border-radius: 1.55rem;
    border: 1px solid var(--about-line);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(17, 23, 61, .06);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.about-philosophy__card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 12, 12, .14);
    box-shadow: 0 24px 54px rgba(17, 23, 61, .12);
}

.about-philosophy__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(108, 12, 12, .96), rgba(40, 40, 112, .96));
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(108, 12, 12, .16);
}

.about-philosophy__card h3 {
    margin: 1rem 0 .7rem;
    color: var(--about-navy);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.about-philosophy__card p {
    margin: 0;
    color: var(--about-muted);
    line-height: 1.8;
}

@media (max-width: 1023px) {
    .about-hero {
        padding-top: 3.3rem;
    }

    .about-hero__grid,
    .about-story__grid {
        grid-template-columns: 1fr;
    }

    .about-hero__title {
        max-width: 12ch;
    }

    .about-hero__visuals {
        justify-content: center;
        content-visibility: auto;
        contain-intrinsic-size: 1px 540px;
    }

    .about-hero__photo-card {
        width: min(100%, 32rem);
    }

    .about-hero__copy,
    .about-story__intro {
        text-align: center;
    }

    .about-hero__title::after,
    .about-story__intro h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero__lead,
    .about-story__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero__pills,
    .about-story__pills {
        justify-content: center;
    }

    .about-story__intro {
        position: relative;
        top: auto;
    }

.about-values__grid,
.about-philosophy__grid {
    grid-template-columns: 1fr;
}
}

.about-method,
.about-reassurance {
    padding: 4.75rem 0 5rem;
}

.about-method__grid,
.about-reassurance__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.about-method__card,
.about-reassurance__card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 1.85rem 1.55rem 1.55rem;
    border: 1px solid rgba(23, 29, 88, .08);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 22px 56px rgba(17, 23, 61, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.about-method__card::before,
.about-reassurance__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(108, 12, 12, .02) 0%, rgba(40, 40, 112, .04) 100%);
    opacity: 0;
    transition: opacity .28s ease;
}

.about-method__card:hover,
.about-reassurance__card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 12, 12, .14);
    box-shadow: 0 30px 66px rgba(17, 23, 61, .12);
}

.about-method__card:hover::before,
.about-reassurance__card:hover::before {
    opacity: 1;
}

.about-method__step,
.about-reassurance__kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0 .95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(108, 12, 12, .96) 0%, rgba(40, 40, 112, .92) 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(17, 23, 61, .14);
}

.about-reassurance__kicker {
    min-height: 2.4rem;
    font-size: .72rem;
}

.about-method__card h3,
.about-reassurance__card h3 {
    position: relative;
    z-index: 1;
    margin: 1.15rem 0 .85rem;
    color: var(--about-navy);
    font-size: 1.25rem;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.about-method__card p,
.about-reassurance__card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(23, 29, 88, .72);
    font-size: .98rem;
    line-height: 1.8;
}

.about-reassurance__pills {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.2rem;
}

.about-reassurance__pills span {
    min-height: 2.3rem;
    padding: .58rem .9rem;
    border: 1px solid rgba(23, 29, 88, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: var(--about-navy);
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 1023px) {
    .about-method__grid,
    .about-reassurance__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .about-shell {
        padding-inline: 1rem;
    }

    .about-hero,
    .about-values,
    .about-story,
    .about-method,
    .about-philosophy,
    .about-reassurance {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }

    .about-section-head {
        gap: .7rem;
        margin-bottom: 2.25rem;
    }

    .about-section-head__eyebrow,
    .about-hero__eyebrow {
        font-size: .75rem;
        letter-spacing: .1em;
    }

    .about-section-head__eyebrow::before,
    .about-hero__eyebrow::before {
        width: 2rem;
    }

    .about-hero__title {
        max-width: 14ch;
        font-size: clamp(2.25rem, 10vw, 3.25rem);
        margin-bottom: 1.15rem;
    }

    .about-hero__lead,
    .about-section-head p,
    .about-story__lead,
    .about-value-card p,
    .about-story__card p,
    .about-philosophy__card p {
        font-size: .98rem;
        line-height: 1.75;
    }

    .about-hero__visuals {
        justify-content: center;
    }

    
    .about-hero__photo-card,
    .about-value-card,
    .about-story__card,
    .about-philosophy__card {
        border-radius: 1.45rem;
    }

    .about-hero__photo-card {
        width: min(100%, 27rem);
        padding: .7rem;
    }

    .about-hero__photo-frame {
        border-radius: 1.05rem;
    }

    .about-values__grid,
    .about-story__stack,
    .about-method__grid,
    .about-philosophy__grid,
    .about-reassurance__grid {
        gap: 1rem;
    }

    .about-value-card,
    .about-story__card,
    .about-method__card,
    .about-reassurance__card {
        padding: 1.55rem 1.2rem 1.35rem;
    }

    .about-philosophy__card {
        padding: 1.4rem 1.15rem 1.25rem;
    }
}

@supports (content-visibility: auto) {
    main.about-page > section:not(:first-of-type) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 920px;
    }
}
