:root {
    --as-about-ink: #171717;
    --as-about-muted: #666;
    --as-about-line: #d8d6d1;
    --as-about-surface: #f3f2ef;
    --as-about-accent: #8f3f2f;
}

html:has(body.page-id-94),
body.page-id-94 {
    overflow-x: clip;
}

body.page-id-94 .entry-title {
    display: none;
}

body.page-id-94 .elementor-location-header > .elementor-section {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.as-about {
    color: var(--as-about-ink);
    background: #fff;
}

.as-about h1,
.as-about h2,
.as-about p {
    letter-spacing: 0;
}

.as-about-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 720px;
    margin-top: -100px;
    padding: 180px clamp(20px, 6vw, 96px) 84px;
    background-color: #111;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    box-sizing: border-box;
}

.as-about-hero__veil {
    position: absolute;
    inset: 0;
    background: rgba(16, 16, 16, 0.28);
}

.as-about-hero__content {
    position: relative;
    z-index: 1;
    width: min(650px, 48vw);
    color: #fff;
}

.as-about-kicker {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.as-about .as-about-hero h1 {
    margin: 0;
    color: #fff !important;
    font-family: inherit;
    font-size: clamp(56px, 7vw, 108px) !important;
    font-weight: 500 !important;
    line-height: 0.95 !important;
}

.as-about-hero__lead {
    max-width: 520px;
    margin: 30px 0 34px;
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.35;
}

.as-about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: var(--as-about-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.as-about .as-about-link--light {
    color: #fff !important;
}

.as-about-section-label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid var(--as-about-line);
    color: var(--as-about-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.as-about-intro,
.as-about-practice,
.as-about-publications {
    width: min(calc(100% - 48px), 1360px);
    margin-inline: auto;
    padding-block: 112px;
}

.as-about-intro {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
    gap: 48px;
}

.as-about-intro h2,
.as-about-practice h2,
.as-about-recognition h2,
.as-about-publications h2 {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
}

.as-about-intro__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 48px;
}

.as-about-intro__columns p,
.as-about-practice__heading p,
.as-about-publications__heading p {
    margin: 0;
    color: var(--as-about-muted);
    font-size: 17px;
    line-height: 1.7;
}

.as-about-practice {
    border-top: 1px solid var(--as-about-line);
}

.as-about-practice__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 64px;
    margin-top: 44px;
}

.as-about-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 64px 0 42px;
}

.as-about-project {
    min-width: 0;
}

.as-about-project a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.as-about-project__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--as-about-surface);
}

.as-about-project__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease-out;
}

.as-about-project a:hover img,
.as-about-project a:focus-visible img {
    transform: scale(1.025);
}

.as-about-project a:focus-visible {
    outline: 3px solid var(--as-about-accent);
    outline-offset: 4px;
}

.as-about-project__caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    font-size: 16px;
    line-height: 1.35;
}

.as-about-project__caption span:last-child {
    color: var(--as-about-muted);
    font-size: 12px;
}

.as-about-recognition {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
    gap: 48px;
    padding: 112px max(24px, calc((100vw - 1360px) / 2));
    color: #fff;
    background: #161616;
}

.as-about .as-about-recognition h2 {
    color: #fff !important;
}

.as-about-section-label--light {
    border-color: rgba(255, 255, 255, 0.25);
    color: #d58a78;
}

.as-about-awards {
    margin-top: 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.as-about-award {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 28px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.as-about-award time {
    color: #d58a78;
    font-size: 14px;
    font-weight: 600;
}

.as-about-award p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}

.as-about-publications {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
    gap: 48px;
}

.as-about-publications__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.65fr);
    align-items: end;
    gap: 52px;
}

.as-about-books {
    margin: 56px 0 36px;
    padding: 0;
    border-top: 1px solid var(--as-about-line);
    list-style: none;
}

.as-about-books li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--as-about-line);
    font-size: 20px;
    line-height: 1.35;
}

.as-about-books li span {
    color: var(--as-about-accent);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .as-about-hero {
        min-height: 660px;
        margin-top: -67px;
        padding-top: 150px;
        background-position: right center;
    }

    .as-about-hero__content {
        width: min(580px, 58vw);
    }

    .as-about-intro,
    .as-about-practice,
    .as-about-publications {
        padding-block: 84px;
    }

    .as-about-intro,
    .as-about-recognition,
    .as-about-publications {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .as-about-practice__heading,
    .as-about-publications__heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .as-about-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .as-about-project:last-child {
        grid-column: 1 / -1;
    }

    .as-about-project:last-child .as-about-project__image {
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 640px) {
    .as-about-hero {
        min-height: 700px;
        padding: 132px 18px 54px;
        background-position: center;
        background-size: auto 100%;
    }

    .as-about-hero__veil {
        inset: 0;
        width: auto;
        height: auto;
        background: rgba(16, 16, 16, 0.48);
    }

    .as-about-hero__content {
        width: 100%;
    }

    .as-about .as-about-hero h1 {
        font-size: 56px !important;
    }

    .as-about-hero__lead {
        margin-block: 22px 28px;
        font-size: 19px;
    }

    .as-about-intro,
    .as-about-practice,
    .as-about-publications {
        width: calc(100% - 32px);
        padding-block: 64px;
    }

    .as-about-intro,
    .as-about-recognition,
    .as-about-publications {
        gap: 34px;
    }

    .as-about-intro__columns {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .as-about-intro h2,
    .as-about-practice h2,
    .as-about-recognition h2,
    .as-about-publications h2 {
        font-size: 38px;
    }

    .as-about-projects {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 42px;
    }

    .as-about-project:last-child {
        grid-column: auto;
    }

    .as-about-project:last-child .as-about-project__image {
        aspect-ratio: 4 / 5;
    }

    .as-about-recognition {
        padding: 64px 16px;
    }

    .as-about-awards {
        margin-top: 38px;
    }

    .as-about-award {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
    }

    .as-about-award p {
        font-size: 15px;
    }

    .as-about-books li {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-about-project__image img {
        transition: none;
    }
}

.as-cv-attachment {
    padding: 56px clamp(20px, 6vw, 96px) 64px;
    color: #171717;
    background: #f3f2ef;
}

.as-cv-attachment__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    width: min(100%, 1220px);
    margin: 0 auto;
    padding-top: 12px;
    border-top: 1px solid #c9c7c2;
}

.as-cv-attachment__header p,
.as-cv-attachment__header h2 {
    letter-spacing: 0;
}

.as-cv-attachment__header p {
    margin: 0 0 10px;
    color: #8f3f2f;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.as-cv-attachment__header h2 {
    margin: 0;
    color: #171717;
    font-family: inherit;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.05;
}

.as-cv-attachment__actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.as-cv-attachment__actions > span {
    color: #686868;
    font-size: 13px;
    text-transform: uppercase;
}

.as-cv-attachment__actions a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 700px) {
    .as-cv-attachment {
        padding: 48px 16px 52px;
    }

    .as-cv-attachment__header {
        display: block;
        margin-bottom: 28px;
    }

    .as-cv-attachment__actions {
        justify-content: space-between;
        margin-top: 24px;
    }

}
