/* About Hero */
.about-hero {
    position: relative;
    width: 100vw;
    min-height: 28rem;
    margin-top: -2.5rem;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    background:
        radial-gradient(circle at 20% 20%, rgba(127, 196, 255, 0.16), transparent 24%),
        linear-gradient(135deg, #11161b 0%, #232b34 45%, #30353c 100%);
    overflow: hidden;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% auto;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(143, 211, 242, 0.08), transparent 66%);
    pointer-events: none;
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    min-height: 28rem;
    margin: 0 auto;
    display: grid;
    align-content: end;
    gap: 0.55rem;
    padding: 3rem 0 3.35rem;
}

.about-hero__eyebrow {
    display: inline-block;
    width: fit-content;
    color: #8fd3f2;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-hero__inner h1 {
    margin: 0;
    color: white;
    font-size: clamp(3.1rem, 6vw, 5.6rem);
    line-height: 0.98;
}

.about-hero__inner p {
    margin: 0;
    color: rgba(236, 244, 252, 0.8);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* About Story */
.about-story {
    display: grid;
    gap: 2rem;
}

.about-story__intro {
    max-width: 58rem;
}

.about-story__intro h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(1.95rem, 3.2vw, 3rem);
    line-height: 1.14;
}

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

.about-story__content p {
    margin: 0;
    padding: 1.45rem 1.35rem;
    border: 1px solid rgba(47, 57, 69, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    box-shadow: 0 14px 32px rgba(27, 69, 113, 0.06);
    color: #667382;
    font-size: 1rem;
    line-height: 1.8;
}

/* About Gallery */
.about-gallery {
    padding-top: 0.45rem;
}

.about-gallery__heading {
    margin-bottom: 1.8rem;
    display: grid;
    gap: 0.55rem;
    max-width: 42rem;
}

.about-gallery__heading h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.06;
}

.about-gallery__heading p {
    margin: 0;
    color: #667382;
    font-size: 1rem;
    line-height: 1.75;
}

.about-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    grid-auto-rows: 5.6rem;
}

.about-gallery__item {
    grid-column: span 4;
    grid-row: span 3;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #dbe6f2;
    box-shadow: 0 18px 36px rgba(27, 69, 113, 0.08);
}

.about-gallery__item--large {
    grid-column: span 5;
    grid-row: span 4;
}

.about-gallery__item--wide {
    grid-column: span 7;
    grid-row: span 3;
}

.about-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.about-gallery__item:hover img {
    transform: scale(1.04);
    filter: saturate(1.03);
}

/* About Responsive */
@media (max-width: 960px) {
    .about-hero,
    .about-hero__inner {
        min-height: 22rem;
    }

    .about-hero__inner {
        padding: 2.65rem 0 2.6rem;
    }

    .about-story__intro {
        max-width: 100%;
    }

    .about-story__content {
        grid-template-columns: 1fr;
    }

    .about-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 13rem;
    }

    .about-gallery__item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about-gallery__item--large,
    .about-gallery__item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 18.5rem;
        margin-top: -1.5rem;
    }

    .about-hero__inner {
        width: calc(100% - 1.5rem);
        min-height: 18.5rem;
        padding: 2.2rem 0 2.05rem;
    }

    .about-hero__eyebrow {
        font-size: 0.74rem;
        letter-spacing: 0.14em;
    }

    .about-hero__inner h1 {
        font-size: clamp(2.45rem, 11vw, 3.5rem);
    }

    .about-hero__inner p {
        font-size: 0.95rem;
    }

    .about-story__intro h2 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
    }

    .about-story__content {
        gap: 1rem;
    }

    .about-story__content p {
        padding: 1.2rem 1rem;
        border-radius: 18px;
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .about-gallery {
        padding-top: 0;
    }

    .about-gallery__heading {
        margin-bottom: 1.35rem;
    }

    .about-gallery__heading h2 {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }

    .about-gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 14rem;
        gap: 0.85rem;
    }

    .about-gallery__item,
    .about-gallery__item--large,
    .about-gallery__item--wide {
        grid-column: span 1;
        grid-row: span 1;
        border-radius: 18px;
    }
}

/* Final about palette alignment */
.about-hero {
    min-height: 24rem;
    background: #031629;
}

.about-hero::after {
    display: none;
}

.about-hero__inner {
    min-height: 24rem;
}

.about-hero__eyebrow {
    color: #f78b08;
}

.about-hero__inner h1 {
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.about-hero__inner p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    letter-spacing: 0;
}

.about-story__intro h2,
.about-gallery__heading h2 {
    font-size: 2.05rem;
    line-height: 1.18;
}

.about-story__content p {
    border-color: rgba(3, 22, 41, 0.1);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(3, 22, 41, 0.06);
    color: #4d5663;
}

.about-gallery__item {
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(3, 22, 41, 0.08);
}

@media (max-width: 640px) {
    .about-hero__inner h1 {
        font-size: 2.15rem;
    }

    .about-story__intro h2,
    .about-gallery__heading h2 {
        font-size: 1.55rem;
    }
}
