.hero {
    max-width: none;
    margin: 0 auto;
    padding: 144px max(var(--pad), calc((100% - 1280px) / 2)) 104px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: clip;
    box-sizing: border-box;
    min-height: 100svh;
}


.hero--text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.hero--title {
    font-size: clamp(48px, min(5.5vw, 8svh), 88px);
    line-height: .98;
}

.hero--lead {
    margin: 0;
    max-width: 520px;
    font-size: clamp(18px, 2.3svh, 24px);
    line-height: 1.45;
    color: var(--text-soft);
}

.hero--art {
    width: min(100%, 560px, max(230px, calc((100svh - 300px) * .8)));
    max-width: 560px;
    min-width: 0;
    justify-self: end;
    position: relative;
}

.feature {
    scroll-margin-top: 24px;
}


.feature--scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(620px, 82svh, 900px);
    display: flex;
    background-color: var(--cloth);
    background-image: url('../img/pt_train_front.jpg');
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
}

.feature--shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( 0deg, rgb(14 11 9 / .95), rgb(14 11 9 / .62) 30%, rgb(14 11 9 / .08) 72% ), linear-gradient( 90deg, rgb(14 11 9 / .3), transparent 65% );
    pointer-events: none;
}

.feature--inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px var(--pad) 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 140px;
}

.feature--top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    font-family: 'GOST', sans-serif;
    font-size: 15px;
    letter-spacing: .1em;
}

.feature--label {
    color: var(--text-soft);
}

.feature--status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px dashed var(--seam);
    border-radius: var(--corner);
    background: var(--cloth-dark);
    color: var(--gold-soft);
}

.feature--dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
}

.feature--row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: end;
    gap: 40px 80px;
}

.feature--name {
    min-width: 0;
}

.feature--genre {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 17px;
    letter-spacing: .08em;
}

.feature--title {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: 0;
    line-height: 1;
}

.feature--text {
    min-width: 0;
    max-width: 460px;
    justify-self: end;
}

.feature--lead {
    margin: 0 0 28px;
    color: var(--linen);
    font-size: clamp(21px, 1.7vw, 26px);
    line-height: 1.5;
}

.feature--link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 48px;
    padding-block: 12px;
    border-top: 1px dashed var(--seam);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 22px;
    text-decoration: none;
    transition: color .2s;
}

    .feature--link > span:last-child {
        font-size: 28px;
        transition: transform .2s;
    }

    .feature--link:hover {
        color: var(--linen-bright);
    }

        .feature--link:hover > span:last-child {
            transform: translate(3px, -3px);
        }

    .feature--link:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 6px;
    }

@media (max-width: 760px) {
    .feature--scene {
        min-height: 720px;
        background-position: 45% center;
    }

    .feature--inner {
        padding-top: 28px;
        padding-bottom: 40px;
        gap: 180px;
    }

    .feature--top {
        font-size: 12px;
    }

    .feature--row {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .feature--title {
        max-width: 380px;
    }

    .feature--text {
        max-width: 520px;
        justify-self: start;
    }

    .feature--genre {
        font-size: 15px;
    }

    .feature--lead {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature--link,
    .feature--link > span:last-child {
        transition: none;
    }
}

.catalog--note {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 24px 40px;
    padding-block: 32px;
    border-bottom: 1px dashed var(--seam);
}

.catalog--label {
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.catalog--text {
    margin: 0;
    color: var(--linen);
    font-size: 21px;
    line-height: 1.5;
}

    .catalog--text > span {
        display: block;
        color: var(--text-muted);
    }

.catalog--link,
.studio--link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 44px;
    padding-block: 10px;
    border-bottom: 1px dashed var(--seam);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 20px;
    text-decoration: none;
}

    .catalog--link:hover,
    .studio--link:hover {
        color: var(--linen-bright);
    }

    .catalog--link:focus-visible,
    .studio--link:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 6px;
    }

.studio {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 48px 88px;
    padding-block: clamp(72px, 8vw, 128px);
    scroll-margin-top: 32px;
}

.studio--heading,
.studio--body {
    min-width: 0;
}

.studio--eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 15px;
    letter-spacing: .1em;
}

    .studio--eyebrow > span {
        font-size: 26px;
        line-height: 1;
    }

.studio--title {
    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 1.08;
}

.studio--body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.studio--intro {
    margin: 0;
    color: var(--linen);
    font-size: clamp(23px, 2vw, 28px);
    line-height: 1.45;
}

.studio--detail {
    margin: 0;
    color: var(--text-soft);
    font-size: 21px;
    line-height: 1.55;
}

.studio--link {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .catalog--note {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog--label {
        grid-column: 1 / -1;
    }

    .studio {
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .catalog--note {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        gap: 16px;
        padding-block: 28px;
    }

    .catalog--label {
        grid-column: auto;
    }

    .studio {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-block: 64px;
    }

    .studio--eyebrow {
        margin-bottom: 20px;
    }
}

.band {
    background: var(--cloth-dark);
}

.devlog {
    padding-block: clamp(56px, 6vw, 88px);
    display: flex;
    flex-direction: column;
    gap: 36px;
    scroll-margin-top: 32px;
}

.devlog--head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 32px;
}

    .devlog--head h2 {
        font-size: clamp(42px, 4vw, 58px);
        line-height: 1.1;
    }

.devlog--note {
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 18px;
    letter-spacing: .04em;
}

.devlog--card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding-block: 36px;
    border-top: 1px dashed var(--seam);
    border-bottom: 1px dashed var(--seam);
}

.devlog--image {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--seam);
    border-radius: var(--corner);
    background: var(--cloth);
    box-shadow: 6px 10px 24px rgb(0 0 0 / .2);
}

.devlog--card--text {
    grid-template-columns: minmax(0, 1fr);
}

    .devlog--image > .sewn {
        width: 100%;
        border-radius: calc(var(--corner) - 3px);
    }

        .devlog--image > .sewn::after {
            border-radius: calc(var(--corner) - 5px);
        }

.devlog--body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    overflow-wrap: anywhere;
}

.devlog--meta {
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 16px;
    letter-spacing: .08em;
}

.devlog--title {
    margin: 0;
    color: var(--linen-bright);
    font-family: 'Neucha', sans-serif;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.devlog--text {
    margin: 0;
    max-width: 480px;
    color: var(--text-soft);
    font-size: clamp(21px, 1.8vw, 24px);
    line-height: 1.5;
}

.devlog--link {
    align-self: flex-start;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 44px;
    margin-top: 8px;
    padding-block: 10px;
    border-bottom: 1px dashed var(--seam);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 20px;
    text-decoration: none;
}

    .devlog--link:hover,
    .devlog--link:focus-visible {
        color: var(--linen-bright);
        border-bottom-color: currentColor;
        border-bottom-style: solid;
    }

    .devlog--link:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 6px;
    }

@media (max-width: 760px) {
    .devlog {
        gap: 24px;
    }

    .devlog--card {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-block: 28px;
    }

    .devlog--body {
        gap: 16px;
    }

    .devlog--text {
        max-width: none;
    }
}

.follow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-block: clamp(72px, 8vw, 120px);
    text-align: center;
}

.follow--ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: min(100%, 260px);
    margin-bottom: 8px;
    color: var(--gold-soft);
}

    .follow--ornament > span:first-child,
    .follow--ornament > span:last-child {
        flex: 1;
        border-top: 1px dashed var(--seam);
    }

    .follow--ornament > span:nth-child(2) {
        font-size: 30px;
        line-height: 1;
    }

.follow--title {
    max-width: 800px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
}

.follow--description {
    max-width: 580px;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.5;
}

.follow--action {
    max-width: 100%;
    margin-top: 8px;
}

    .follow--action > .patch {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
        max-width: 100%;
        min-height: 64px;
    }

@media (max-width: 600px) {
    .follow {
        gap: 24px;
        padding-block: 72px;
    }

    .follow--ornament {
        width: 200px;
    }

    .follow--action > .patch {
        gap: 20px;
    }
}
.hero--portrait {
    position: relative;
    margin: 0;
    padding: 11px 11px 0;
    background: var(--cloth);
    border: 1px solid var(--seam);
    box-shadow: 8px 18px 30px var(--cloth-dark);
    transform-origin: 50% 0;
    animation: hero--portrait-sway 9s ease-in-out infinite;
    border-radius: var(--corner);
}

.hero--caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 3px;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: clamp(11px, 1.1vw, 15px);
    letter-spacing: .04em;
}

.hero--caption > span:nth-child(2) {
    text-align: center;
}

.hero--caption > span:last-child {
    color: var(--gold);
    font-size: 22px;
}

.hero--portrait::before,
.hero--portrait::after {
    --rope-base: rgb(141, 91, 53);
    --rope-light: rgb(182, 125, 78);
    --rope-dark: rgb(74, 44, 24);
    content: "";
    position: absolute;
    bottom: calc(100% - 13px);
    width: 6px;
    height: 150vh;
    pointer-events: none;
    border-radius: 3px;
    background-color: var(--rope-base);
    background-image: repeating-linear-gradient( 35deg, transparent 0 3px, rgb(48 25 12 / .45) 3px 5px, transparent 5px 7px ), linear-gradient( 90deg, var(--rope-dark), var(--rope-base) 20%, var(--rope-light) 42%, var(--rope-base) 70%, var(--rope-dark) );
    box-shadow: 2px 0 3px var(--cloth-dark);
    z-index: 3;
}

.hero--portrait::before {
    left: 23.5%;
}

.hero--portrait::after {
    --rope-base: rgb(97, 57, 32);
    --rope-light: rgb(143, 91, 50);
    --rope-dark: rgb(52, 31, 18);
    right: 29%;
}

.hero--scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    display: grid;
    place-items: center;
    width: 48px;
    height: 52px;
    background: var(--linen);
    color: var(--patch-ink);
    font: 30px/1 'GOST', sans-serif;
    text-decoration: none;
    box-shadow: 3px 5px 8px var(--cloth-dark);
    transition: transform .2s;
    border-radius: var(--corner);
}

.hero--scroll::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px dashed var(--seam);
    pointer-events: none;
    border-radius: calc(var(--corner) - 4px);
}

.hero--scroll:hover {
    color: var(--patch-ink);
    transform: translateX(-50%) rotate(0deg) translateY(3px);
}

.hero--scroll:focus-visible {
    outline: 2px dashed var(--gold-soft);
    outline-offset: 6px;
}

.hero--portrait > .sewn {
    border-radius: calc(var(--corner) - 3px);
}

.hero--portrait > .sewn::after {
    border-radius: calc(var(--corner) - 5px);
}

.hero--actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

    .hero--actions > .patch {
        min-width: 220px;
        justify-content: space-between;
        gap: 36px;
    }

.hero--devlog {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding-block: 10px;
    border-bottom: 1px dashed var(--seam);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 19px;
    text-decoration: none;
}

    .hero--devlog:hover {
        color: var(--linen-bright);
    }

    .hero--devlog:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 6px;
    }

.hero--badge {
    position: absolute;
    right: -22px;
    bottom: 8px;
    z-index: 4;
    transform: rotate(-8deg);
    font-size: clamp(22px, 2vw, 30px);
    cursor: default;
    pointer-events: none;
}

@media (max-width: 760px) {
    .hero {
        padding-top: 172px;
        padding-bottom: 112px;
        gap: 44px;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero--title {
        font-size: clamp(44px, 9vw, 68px);
    }

    .hero--art {
        width: min(88%, 380px);
        max-width: 380px;
        justify-self: center;
        padding-top: 32px;
        border-top: 1px dashed var(--seam);
    }

    .hero--badge {
        right: -12px;
        bottom: 6px;
        font-size: 22px;
    }

    .hero--text {
        position: relative;
        z-index: 2;
    }

    .hero--portrait::before, .hero--portrait::after {
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--scroll {
        transition: none;
    }

    .hero--portrait {
        animation: none;
    }
}

@media (min-width: 761px) {
    .follow--description {
        min-height: 3em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1000px) {
    .studio--title {
        min-height: 3.24em;
        display: flex;
        align-items: center;
    }
}
