/* About: Company, Founders, and the Ambar team. */
.about-page .home-container:is(.company-content, .founders-content, .team-content) {
    width: min(1440px, 74%);
}
.about-page .company-content {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.14fr 1fr;
    gap: clamp(60px, 8vw, 150px);
    align-items: center;
    padding-block: 140px 90px;
}
.about-page .company-copy h1,
.about-page .founders-copy h2,
.about-page .team-heading h2 {
    font-family: "Lora", Georgia, serif;
    font-size: clamp(42px, 3.51vw, 64px) !important;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
.about-page .home-eyebrow {
    color: #999;
    font-size: clamp(15px, 1.05vw, 18px);
    margin-bottom: 4px;
    line-height: 1.2;
}
.about-page .company-philosophy,
.about-page .founders-lead {
    font-size: clamp(16px, 1.053vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    color: #10101a;
}
.about-page .company-philosophy {
    margin-top: clamp(36px, 4vw, 68px);
}
.about-page .company-description,
.about-page .founders-description {
    margin-top: 24px;
    color: #999;
    font-size: clamp(16px, 1.053vw, 20px);
    font-weight: 400;
    line-height: 1.23;
}
.about-page .company-description p,
.about-page .founders-description p {
    margin: 0;
}
.about-page .company-monogram {
    width: min(100%, 21vw);
    height: auto;
    justify-self: center;
}
.about-page .founders-content {
    min-height: 100svh;
    padding-block: clamp(120px, 16.7svh, 190px) 50px;
}
.about-page .founders-story {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: clamp(40px, 5vw, 90px);
    align-items: start;
}
.about-page .founders-lead {
    margin-top: 24px;
}
.about-page .founders-description strong {
    color: #10101a;
    font-weight: 500;
}
.about-page .polaroid-pair {
    position: relative;
    height: clamp(230px, 17.7vw, 335px);
}
.about-page .polaroid-pair img {
    position: absolute;
    width: 52%;
    height: auto;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.18));
}
.about-page .polaroid-then {
    left: -3%;
    top: 0;
    z-index: 2;
}
.about-page .polaroid-now {
    right: 13%;
    top: 0;
    transform: rotate(26deg);
}
.about-page .polaroid-pair .polaroid-now {
    width: 46%;
}
.about-page .founder-profiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5.4vw, 95px);
    align-items: start;
    margin: clamp(36px, 2.8vw, 50px) 3.3% 0;
}
.about-page .founder-profile {
    position: relative;
    min-width: 0;
    border-radius: 22px;
    background: #ddd;
}
.about-page :is(.founder-summary, .team-card) {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: clamp(90px, 8vw, 128px) minmax(0, 1fr);
    gap: clamp(16px, 1.4vw, 24px);
    width: 100%;
    padding: clamp(14px, 1.05vw, 18px);
    align-items: center;
    border: 2px solid #fff;
    border-radius: 22px;
    box-shadow: 0 3px 5px #0005;
    background: linear-gradient(65deg, #265260, #0d1b20 65%);
    color: #fff;
    text-align: left;
    font-family: "Outfit", sans-serif;
    cursor: pointer;
}
.about-page .founder-social {
    position: absolute;
    top: clamp(12px, 0.9vw, 16px);
    right: clamp(12px, 0.9vw, 16px);
    z-index: 2;
    display: flex;
}
.about-page .founder-social a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    opacity: 0.35;
    transition: opacity 0.2s;
}
.about-page .founder-social a:hover,
.about-page .founder-social a:focus-visible {
    opacity: 0.9;
}
.about-page .founder-social img {
    width: 18px;
    height: 18px;
    /* the icons are black; the card wants them white */
    filter: invert(1);
}
.about-page .founder-summary:focus-visible {
    outline: 3px solid #2050f2;
    outline-offset: 5px;
}
.about-page .founder-portrait {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.about-page .founder-bio {
    display: block;
}
.about-page .founder-name {
    display: block;
    color: #75dafc;
    font-size: clamp(22px, 1.75vw, 30px);
    font-weight: 500;
    line-height: 1.2;
}
.about-page .founder-role {
    display: block;
    margin-top: 3px;
    font-size: clamp(17px, 1.3vw, 23px);
    font-weight: 300;
    line-height: 1.2;
}
.about-page .founder-description {
    display: block;
    margin-top: 10px;
    color: #bfc7ca;
    font-size: clamp(13px, 0.936vw, 17px);
    font-weight: 300;
    line-height: 1.3;
}
.about-page .founder-gallery {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.about-page .founder-profile.is-open .founder-gallery {
    grid-template-rows: 1fr;
}
.about-page .founder-gallery-clip {
    min-height: 0;
    overflow: hidden;
    border-radius: 0 0 22px 22px;
}
.about-page .founder-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.7vw, 30px);
    padding: 20px 18px;
}
.about-page .founder-work {
    aspect-ratio: 0.53;
    overflow: hidden;
    border-radius: 15px;
    background: #bfbfbf;
}
.about-page .founder-work img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-page .founder-mau .founder-work:last-child {
    background: #dfd3c9;
}
.about-page .founder-mau .founder-work:last-child img {
    object-position: 52% center;
}
.about-page .founder-work-humane {
    display: grid;
    grid-template-rows: 1fr 1fr;
}
.about-page .founder-work-humane img {
    min-height: 0;
}
.about-page .team-content {
    min-height: 100svh;
    padding-block: 120px 100px;
}
.about-page .team-lead {
    max-width: 760px;
    margin-top: 24px;
    color: #666;
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 300;
    line-height: 1.4;
}
.about-page .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 32px;
    margin-top: 48px;
}
.about-page .team-card {
    min-width: 0;
    cursor: default;
}
.about-page .team-card .founder-name {
    margin: 0;
}
/* a long name wraps before it reaches the social icon */
.about-page .team-card:has(.founder-social) .founder-name {
    padding-right: 30px;
}
.about-page :is(#company, #founders, #team) {
    scroll-margin-top: 0;
}
.about-page .nav-about[aria-current="page"] {
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 1100px) and (min-width: 861px) {
    .about-page .home-container:is(.company-content, .founders-content, .team-content) {
        width: calc(100% - 100px);
    }
    .about-page .founder-profiles {
        margin-inline: 0;
        gap: 24px;
    }
}
@media (max-width: 860px) {
    .about-page .home-container:is(.company-content, .founders-content, .team-content) {
        width: calc(100% - 48px);
    }
    .about-page .company-content {
        min-height: 100svh;
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 120px 64px;
    }
    .about-page .company-copy h1,
    .about-page .founders-copy h2,
    .about-page .team-heading h2 {
        font-size: clamp(38px, 9vw, 58px) !important;
    }
    .about-page .company-philosophy {
        margin-top: 32px;
    }
    .about-page .company-description,
    .about-page .founders-description {
        font-size: 17px;
        line-height: 1.4;
    }
    .about-page .company-monogram {
        width: 170px;
    }
    .about-page .founders-content {
        padding-block: 110px 64px;
    }
    .about-page .founders-story {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-page .founders-lead {
        margin-top: 28px;
        font-size: 18px;
    }
    .about-page .founders-memories {
        width: min(440px, 100%);
        margin-inline: auto;
    }
    .about-page .polaroid-pair {
        height: clamp(230px, 67vw, 315px);
    }
    .about-page .polaroid-pair img {
        width: 63%;
    }
    .about-page .polaroid-then {
        left: 0;
    }
    .about-page .polaroid-now {
        right: 4%;
    }
    .about-page .polaroid-pair .polaroid-now {
        width: 56%;
    }
    .about-page .founder-profiles {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 36px 0 0;
    }
    .about-page :is(.founder-summary, .team-card) {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 16px;
        padding: 14px;
    }
    .about-page .founder-name {
        font-size: 23px;
    }
    .about-page .founder-role {
        font-size: 17px;
    }
    .about-page .founder-description {
        font-size: 14px;
    }
    .about-page .founder-gallery-grid {
        gap: 14px;
        padding: 18px 14px;
    }
    .about-page .team-content {
        padding-block: 110px 64px;
    }
    .about-page .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
}
@media (max-width: 360px) {
    .about-page :is(.founder-summary, .team-card) {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }
    .about-page .founder-name {
        font-size: 21px;
    }
    /* the name would run under the social icons, so they get a row of their own */
    .about-page .founder-summary {
        padding-top: 46px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .about-page .founder-gallery {
        transition: none;
    }
}
