.ny-icon--youtube::before { content: '\f2d4'; }
.ny-icon--vk::before { content: '\f421'; }
.ny-icon--telegram::before { content: '\f0d9'; }
.ny-icon--chevron::before { content: '\ea6e'; }

.ny-crew {
    --crew-cream: #f1dac2;
    --crew-ink: #1b1916;
    --crew-copper: #cf5738;
    --crew-rule: #c79e776e;
    --crew-workshop: url('../images/november-crew-workshop-v1.webp');
    --crew-shade: radial-gradient(ellipse at 45% 41%, #1d1813ad, #1a161243 44%, transparent 70%);
    position: relative; isolation: isolate; overflow: clip; color: #fff8ef;
    background: #211b17 url('../images/creator-texture-v1.webp') center / cover;
}
.ny-crew::before {
    content: ''; position: absolute; z-index: -1; inset: 0;
    background: var(--crew-shade), var(--crew-workshop) center / cover;
}
.ny-crew__workbench { display: none; }
.ny-crew__inner {
    display: grid; grid-template: 'portrait title projects' auto 'portrait intro projects' 1fr / minmax(0, 27.6fr) minmax(0, 27.6fr) minmax(0, 44.8fr);
    align-items: start; gap: 0 clamp(12px, 1.6vw, 26px); max-width: 1510px; min-height: clamp(604px, 60.5vw, 870px);
    margin-inline: auto; padding: clamp(52px, 5.5vw, 84px) clamp(22px, 3.1vw, 48px) clamp(40px, 5vw, 76px);
}
.ny-page .ny-crew h2 {
    grid-area: title; margin: clamp(15px, 2.45vw, 37px) 0 0; color: var(--crew-cream);
    font: 700 clamp(43px, 5.55vw, 83px)/.94 NyHeadline, sans-serif;
    letter-spacing: -.024em; text-transform: none; text-shadow: 0 3px 16px #140d0970;
}
.ny-crew h2 span { display: block; }
.ny-crew h2::after { content: ''; display: block; width: min(137px, 45%); height: 8px; margin-top: 13px; background: #a7412b; transform: skewX(-15deg); }
.ny-crew__portrait { grid-area: portrait; position: relative; align-self: stretch; }
.ny-crew__portrait img {
    position: absolute; top: 0; left: 49%; width: 120%; max-width: none; height: auto;
    transform: translateX(-50%);
}
.ny-crew__portrait figcaption { position: absolute; left: 14%; top: 75%; display: grid; justify-items: start; transform: skewX(-14deg); }
.ny-crew__portrait figcaption strong, .ny-crew__portrait figcaption span {
    padding: 4px 15px; font: italic 700 clamp(20px, 2.8vw, 37px)/1 NyHeadline, sans-serif;
    background: #f6d9b3 url('../images/november-paper-stock-v1.webp') center / 600px auto; color: var(--crew-ink);
}
.ny-crew__portrait figcaption span { margin: -1px 0 0 10px; color: #fff1df; background: #8d3524; font-size: clamp(14px, 1.78vw, 24px); }
.ny-crew__intro { grid-area: intro; min-width: 0; margin-top: 20px; }
.ny-page .ny-crew__intro > p { margin: 0 0 clamp(14px, 1.9vw, 27px); max-width: 31ch; color: #fff8ef; font-size: clamp(15px, 1.55vw, 22px); line-height: 1.31; }
.ny-crew__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 14px 0; border-block: 1px solid var(--crew-rule); }
.ny-crew__facts div + div { border-left: 1px solid var(--crew-rule); padding-left: clamp(12px, 1.45vw, 21px); }
.ny-crew__facts dt { color: var(--crew-copper); font: 700 clamp(30px, 3.6vw, 50px)/.98 NyHeadline, sans-serif; white-space: nowrap; }
.ny-crew__facts dd { margin: 5px 0 0; color: #fff5e9; font-size: clamp(12px, 1.12vw, 16px); line-height: 1.2; }
.ny-crew__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.ny-page .ny-crew__links a {
    display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding-inline: clamp(7px, .78vw, 12px);
    border: 1px solid #cb9371; border-radius: var(--ny-control-pill); background: linear-gradient(#f8e5ce, #eed3b8);
    box-shadow: 0 3px 8px #140d0959;
    color: #4a1a10; font: 700 clamp(13px, 1.18vw, 16px)/1 NyHeadline, sans-serif; white-space: nowrap;
}
.ny-crew__links .ny-icon:first-child { color: #a62516; font-size: 20px; }
.ny-crew__links .ny-icon:last-child { font-size: 13px; }

.ny-crew__feature-projects { grid-area: projects; min-width: 0; }
.ny-page .ny-crew__projects-title {
    position: relative; display: inline-block; margin: 0 0 19px 10px; padding: 8px 28px;
    border: 1px solid #c38b63; border-radius: 6px; box-shadow: 7px 7px #79301e, 8px 10px 15px #100a07a3;
    transform: skewX(-16deg); background: #f8dfc1 url('../images/november-paper-stock-v1.webp') center / 600px auto;
    background-blend-mode: multiply;
    color: var(--crew-ink); font: italic 700 clamp(29px, 3.42vw, 49px)/1.05 NyHeadline, sans-serif; text-transform: none;
}
.ny-crew__projects-title span { display: block; transform: skewX(8deg); }
.ny-crew__projects-title::before, .ny-crew__projects-title::after {
    content: ''; position: absolute; top: 5px; width: 4px; height: 4px; border: 1px solid #655146; border-radius: 50%;
    background: #af8262; box-shadow: 0 28px 0 -1px #655146;
}
.ny-crew__projects-title::before { left: 6px; }
.ny-crew__projects-title::after { right: 6px; }
.ny-crew__projects { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.ny-crew__projects li { min-width: 0; }
.ny-page .ny-crew__projects a {
    display: grid; grid-template-columns: minmax(108px, 46%) minmax(0, 1fr) auto; align-items: center;
    overflow: hidden; border: 1px solid #d6b28edb; border-radius: 13px;
    background: #171817ed; color: #f6e5d1; transition: border-color 180ms, background-color 180ms;
}
.ny-page .ny-crew__projects li:first-child a {
    grid-template-columns: 1fr; color: var(--crew-ink);
    background: linear-gradient(105deg, #f9ebd9b3, #e3be9666), #f3dbbf url('../images/november-paper-stock-v1.webp') center / 680px auto;
}
.ny-crew__project-photo { position: relative; overflow: hidden; height: 100%; min-height: 78px; background: #172333; }
.ny-crew__projects li:first-child .ny-crew__project-photo { aspect-ratio: 2.17; }
.ny-crew__project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease-out; }
.ny-crew__projects li:first-child .ny-crew__project-photo img { object-position: center top; }
.ny-crew__projects li + li .ny-crew__project-photo { min-height: clamp(87px, 8.25vw, 120px); }
.ny-crew__projects li + li .ny-crew__project-photo img { position: absolute; inset: 0; }
.ny-crew__project-photo span {
    position: absolute; top: 50%; left: 50%; display: grid; place-items: center; translate: -50% -50%;
    width: 40px; aspect-ratio: 1; padding-left: 2px; border: 1px solid #fff0d6; border-radius: 50%;
    background: #131817db; color: #ffedd6; font-size: 23px;
}
.ny-crew__projects li:first-child .ny-crew__project-photo span { width: clamp(49px, 5vw, 69px); border-width: 2px; font-size: clamp(27px, 3.4vw, 38px); }
.ny-crew__project-copy { min-width: 0; padding: 8px clamp(9px, 1.25vw, 19px); }
.ny-crew__project-copy strong { display: block; font: 700 clamp(18px, 2.25vw, 33px)/1.04 NyHeadline, sans-serif; }
.ny-crew__project-copy small { display: block; margin-top: 5px; color: #fff6ea; font-size: clamp(13px, 1.16vw, 16px); line-height: 1.2; }
.ny-crew__projects li:first-child .ny-crew__project-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 13px; padding: 9px clamp(12px, 1.55vw, 22px); }
.ny-crew__projects li:first-child .ny-crew__project-copy small { margin: 0; padding: 3px 0 3px 16px; border-left: 1px solid #97543a; color: #2b2017; }
.ny-crew__projects a > .ny-crew__project-arrow { padding-right: 7px; color: var(--crew-copper); font-size: 27px; }
.ny-crew a:focus-visible { outline: 2px solid #ffc38e; outline-offset: 2px; }
@media (hover: hover) {
    .ny-page .ny-crew__links a:hover { background: #ffebd4; border-color: #f5bf98; }
    .ny-page .ny-crew__projects a:hover { border-color: #ffb57e; }
    .ny-crew__projects a:hover img { transform: scale(1.035); }
}
@media (min-width: 931px) {
    .ny-crew { --crew-workshop-position: 75%; }
    .ny-crew::before { background-position: center, center var(--crew-workshop-position); }
    .ny-crew__portrait img { top: clamp(0px, 137.5px - 11vw, 36px); }
    .ny-crew__portrait figcaption { z-index: 2; }
    .ny-crew__workbench {
        display: block; position: absolute; z-index: 1; inset: 0;
        container-type: size; pointer-events: none;
    }
    .ny-crew__workbench::before {
        /* Контур тисков и столешницы в координатах фотографии мастерской. */
        content: ''; position: absolute; left: 50%; top: var(--crew-workshop-position);
        width: max(100cqw, calc(100cqh * 1536 / 879)); aspect-ratio: 1536 / 879;
        transform: translate(-50%, calc(-1 * var(--crew-workshop-position)));
        background: var(--crew-shade) center var(--crew-workshop-position) / 100cqw 100cqh no-repeat,
            var(--crew-workshop) center / 100% 100% no-repeat;
        clip-path: polygon(
            0.00% 76.45%, 0.78% 75.20%, 3.71% 73.72%, 7.23% 73.49%, 8.01% 74.29%,
            11.07% 74.52%, 12.50% 75.43%, 13.35% 76.68%, 13.87% 78.27%, 13.74% 79.64%,
            13.28% 80.20%, 13.28% 82.94%, 14.78% 83.85%, 16.15% 84.07%, 16.73% 85.67%,
            16.93% 86.80%, 39.45% 88.85%, 39.71% 100.00%, 0.00% 100.00%
        );
    }
}
@media (min-width: 931px) and (max-width: 1680px) {
    .ny-crew__portrait figcaption { left: 41%; }
}
@media (min-width: 2100px) {
    .ny-crew { --crew-workshop-position: 90%; }
}
@media (min-width: 1250px) {
    .ny-page .ny-crew__intro > p { margin-left: 24px; }
    .ny-crew__facts { grid-template-columns: 55% 45%; margin-inline: 18px 3px; padding: 19px 0 30px; }
    .ny-crew__facts dt { font-size: clamp(38px, 3.25vw, 47px); }
    .ny-crew__links { display: flex; flex-wrap: nowrap; gap: 7px; margin: 18px -12px 0 -15px; }
    .ny-page .ny-crew__links a { flex: 1 1 auto; padding-inline: 7px; }
    .ny-crew__links .ny-icon:last-child { font-size: 11px; }
    .ny-crew__feature-projects { padding-top: 10px; }
    .ny-page .ny-crew__projects-title { margin: 0 0 23px 43px; }
    .ny-crew__projects { gap: 12px; }
    .ny-crew__projects li + li { margin-left: clamp(12px, 1.65vw, 24px); }
}

@media (max-width: 930px) {
    .ny-crew__inner { grid-template: 'title projects' auto 'portrait projects' auto 'intro projects' 1fr / minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; min-height: 0; padding: 26px 16px 30px; }
    .ny-page .ny-crew h2 { margin: 0; }
    .ny-crew h2 span { display: inline; }
    .ny-crew h2::after { width: 94px; height: 5px; margin-top: 8px; }
    .ny-crew__portrait { height: clamp(218px, 54vw, 265px); overflow: hidden; }
    .ny-crew__portrait img { width: clamp(220px, 61vw, 290px); left: 47%; }
    .ny-crew__portrait figcaption { left: auto; right: 13px; top: auto; bottom: 11px; }
    .ny-crew__portrait figcaption strong, .ny-crew__portrait figcaption span { padding: 4px 9px; }
    .ny-crew__intro { margin: 0; }
    .ny-page .ny-crew__intro > p { max-width: 39ch; margin: 0 0 8px; }
    .ny-crew__facts { padding: 9px 0; }
    .ny-crew__links { margin-top: 9px; }
}
@media (max-width: 650px) {
    .ny-crew::before {
        height: 408px; background-position: 30% top; transform: scaleX(-1);
        background-image: linear-gradient(#16120edb, #16120e24 27%, transparent 64%, #23170b57),
            var(--crew-workshop);
        mask-image: linear-gradient(#000 65%, transparent);
    }
    .ny-crew__inner { grid-template: 'title' 'portrait' 'intro' 'projects' / minmax(0, 1fr); gap: 8px; padding: 14px 16px 26px; }
    .ny-page .ny-crew h2 { font-size: clamp(35px, 11.15vw, 48px); }
    .ny-crew h2::after { width: 102px; height: 6px; margin-top: 9px; }
    .ny-crew__portrait { height: clamp(210px, 57vw, 252px); }
    .ny-crew__portrait figcaption { right: 10px; bottom: 8px; }
    .ny-crew__portrait figcaption strong { font-size: 26px; }
    .ny-crew__portrait figcaption span { font-size: 16px; }
    .ny-page .ny-crew__intro > p { max-width: 30.5ch; margin: 0 12px 10px; font-size: clamp(16px, 4.48vw, 18px); }
    .ny-crew__facts { margin-inline: 12px; }
    .ny-crew__facts dt { font-size: clamp(32px, 9vw, 38px); }
    .ny-crew__facts dd { font-size: 13px; }
    .ny-crew__links { display: grid; grid-template-columns: auto auto auto; }
    .ny-page .ny-crew__links a { padding-inline: 6px; }
    .ny-crew__feature-projects { padding-top: 10px; }
    .ny-page .ny-crew__projects-title { margin-bottom: 12px; }
    .ny-crew__projects li:first-child .ny-crew__project-photo { aspect-ratio: 2.35; }
    .ny-crew__projects a > .ny-crew__project-arrow { padding-right: 6px; font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .ny-crew__projects a, .ny-crew__project-photo img { transition: none; }
    .ny-crew__projects a:hover img { transform: none; }
}
