:root {
    --bg: #ebe0cf;
    --sand: #d8c3a2;
    --line: #d3c2a8;
    --ink: #17110e;
    --ink-rgb: 23 17 14;
    --ink-soft: #5b4a3e;
    --ink-panel: #1e1714;
    --ink-deep: #0f0b09;
    --cream: #f2e9db;
    --cream-rgb: 242 233 219;
    --accent: #6e1c2a;
    --accent-light: #b5525f;
    --studio: radial-gradient(ellipse 90% 60% at 55% 28%, #3b3936, #171513 72%);
    --display: 'Oswald', 'Arial Narrow', sans-serif;
    --text: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
    --gutter: clamp(16px, 5vw, 80px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-wipe: cubic-bezier(.77, 0, .18, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html.is-locked {
    overflow: hidden;
}

body {
    margin: 0;
    background: var(--bg) url(../img/lines.svg) center top / max(1440px, 100%) auto repeat-y;
    color: var(--ink);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

.tag {
    display: inline-block;
    padding: 5px 8px 4px;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 48px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    transition: background .25s, color .25s;
}

.btn--accent {
    background: var(--accent);
    color: var(--cream);
}

.btn--accent:hover {
    background: var(--cream);
    color: var(--ink);
}

.btn--line {
    background: var(--cream);
    color: var(--ink);
}

.btn--line:hover {
    background: var(--accent);
    color: var(--cream);
}

/* Loader */

.loader {
    display: none;
}

.js .loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--ink);
    color: var(--cream);
    clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%);
    transition: clip-path .7s var(--ease-wipe);
}

.js .loader.is-done {
    clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%);
}

.loader__brand {
    font-family: var(--display);
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transform: skewX(-12deg);
}

.loader__label {
    color: rgb(var(--cream-rgb) / .55);
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.wordmark span {
    color: var(--accent);
}

.loader__brand span,
.footer__brand span {
    color: var(--accent-light);
}

.loader__count {
    color: var(--accent-light);
    font-family: var(--display);
    font-size: 22px;
}

/* Fixed controls */

.menu-btn {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 80px;
    height: 80px;
    background: var(--ink);
    color: var(--cream);
}

.menu-btn__lines {
    position: relative;
    width: 40px;
    height: 14px;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), top .35s var(--ease);
}

.menu-btn__lines::before {
    top: 0;
}

.menu-btn__lines::after {
    top: 12px;
}

.menu-btn[aria-expanded="true"] .menu-btn__lines::before {
    top: 6px;
    transform: rotate(30deg) scaleX(.8);
}

.menu-btn[aria-expanded="true"] .menu-btn__lines::after {
    top: 6px;
    transform: rotate(-30deg) scaleX(.8);
}

.menu-btn__label {
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.corner-cta {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 40;
    padding: 12px 34px;
    background: var(--accent);
    color: var(--cream);
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: background .25s;
}

.corner-cta:hover {
    background: var(--ink);
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 96px var(--gutter);
    overflow-y: auto;
    background: var(--ink);
    color: var(--cream);
    clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%);
    transition: clip-path .6s var(--ease-wipe);
}

.menu.is-open {
    clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%);
}

.menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: menu;
}

.menu__list li {
    counter-increment: menu;
}

.menu.is-open .menu__list li {
    animation: rise .7s var(--ease) both;
    animation-delay: calc(.12s + var(--k, 0) * 55ms);
}

.menu__list a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 4px 0;
    font-family: var(--display);
    font-size: clamp(36px, 6.4vw, 80px);
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color .2s, transform .3s var(--ease);
}

.menu__list a::before {
    content: counter(menu, decimal-leading-zero);
    color: var(--accent-light);
    font-size: .32em;
    letter-spacing: .06em;
}

.menu__list a:hover {
    color: var(--accent-light);
    transform: translateX(12px);
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: max(680px, 100svh);
    padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
    overflow: hidden;
}

.hero__y {
    position: absolute;
    top: 9%;
    right: 4%;
    bottom: calc(clamp(28px, 5vh, 56px) + 30px);
    left: 4%;
    pointer-events: none;
    background: radial-gradient(circle, var(--accent) 0 2.2px, transparent 2.6px) 0 0 / 10px 10px;
    clip-path: polygon(0 0, 14% 0, 50% 45.9%, 86% 0, 100% 0, 54.5% 58%, 54.5% 100%, 45.5% 100%, 45.5% 58%);
    opacity: .8;
}

.rail {
    position: absolute;
    bottom: clamp(28px, 5vh, 56px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.rail--right {
    right: 20px;
}

.rail__scroll {
    position: relative;
    width: 2px;
    height: 96px;
    overflow: hidden;
    background: var(--line);
}

.rail__scroll::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--accent);
    animation: scroll-hint 1.8s var(--ease-wipe) infinite;
}

@keyframes scroll-hint {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(250%);
    }
}

.lineup {
    --n: var(--count, 7);
    --lift: 1;
    --slant: .2;
    --h: min(60svh, 600px);
    --s: calc(var(--h) * var(--slant));
    --gap: 8px;
    --w: calc((100% + (var(--n) - 1) * (var(--s) - var(--gap))) / var(--n) - .5px);
    position: absolute;
    top: clamp(92px, 11svh, 120px);
    left: 50%;
    display: flex;
    width: min(1240px, calc(100% - 2 * var(--gutter) - 80px));
    height: var(--h);
    transform: translateX(-50%);
}

.slice,
.card {
    --frame: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
    pointer-events: none;
}

.slice::before,
.slice::after,
.card::before,
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--frame);
}

.slice::before,
.card::before {
    background: var(--studio);
}

.slice::after,
.card::after {
    pointer-events: auto;
}

.slice--empty::after,
.card--empty::after {
    pointer-events: none;
}

.slice {
    --dy: calc(var(--y, 0px) * var(--lift));
    --dx: calc(var(--dy) * var(--slant) * -1);
    position: relative;
    flex: none;
    width: var(--w);
    height: 100%;
    margin-left: calc(var(--gap) - var(--s));
    outline: none;
    transform: translate(var(--dx), var(--dy));
}

.slice:first-child {
    margin-left: 0;
}

.slice__clip,
.card__clip {
    position: absolute;
    inset: 0;
    clip-path: var(--frame);
    transition: clip-path .6s var(--ease);
}

.slice:hover .slice__clip,
.slice:focus-visible .slice__clip,
.card:hover .card__clip,
.card:focus-visible .card__clip {
    clip-path: polygon(-60% -40%, 160% -40%, 160% 100%, -60% 100%);
}

.slice__person,
.card__person {
    position: absolute;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
    transform-origin: 50% 75%;
    filter: grayscale(1) contrast(1.08);
    -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent var(--fade-to));
    mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent var(--fade-to));
    transition: transform .6s var(--ease), filter .5s;
}

.slice__person {
    --fade-from: 62%;
    --fade-to: 92%;
    top: 4%;
    left: calc(50% + var(--s) * .3);
    height: 102%;
}

.slice[href="#t-02"] .slice__person {
    --fade-from: 80%;
    --fade-to: 100%;
    top: 12%;
    height: 78%;
}

.slice[href="#t-03"] .slice__person {
    height: 122%;
}

.slice:hover,
.slice:focus-visible {
    z-index: 2;
}

.slice:hover .slice__person,
.slice:focus-visible .slice__person {
    filter: none;
    transform: translateX(-50%) translateY(-5%) scale(1.06);
}

.js .slice {
    opacity: 0;
    transform: translate(calc(var(--dx) - 80px * var(--slant)), calc(var(--dy) + 80px));
    transition: opacity .6s ease, transform .9s var(--ease);
    transition-delay: calc(var(--i) * 45ms);
}

.js .is-ready .slice {
    opacity: 1;
    transform: translate(var(--dx), var(--dy));
}

.hero__title {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wordmark {
    position: relative;
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(56px, 13vw, 196px);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.005em;
    white-space: nowrap;
    text-transform: uppercase;
    transform: skewX(-12deg);
}

.wordmark::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    color: var(--bg);
    -webkit-text-stroke: 14px var(--bg);
}

.hero__desc {
    margin: clamp(14px, 2vh, 22px) 0 0;
    text-shadow: 0 0 3px var(--bg), 0 0 6px var(--bg), 0 0 9px var(--bg);
    font-family: var(--display);
    font-size: clamp(15px, 1.7vw, 24px);
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero__desc span {
    color: var(--accent);
}

.banner {
    margin: clamp(14px, 2.2vh, 24px) 0 0;
    padding: 10px clamp(28px, 4vw, 64px) 12px;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--display);
    font-size: clamp(18px, 2.3vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

.banner b {
    color: var(--accent-light);
    font-weight: 500;
    white-space: nowrap;
}

.js .wordmark {
    clip-path: inset(-30% 100% -30% -10%);
    transition: clip-path 1s var(--ease-wipe) .2s;
}

.js .is-ready .wordmark {
    clip-path: inset(-30% -10% -30% -10%);
}

.js .hero__desc {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease .5s, transform .8s var(--ease) .5s;
}

.js .is-ready .hero__desc {
    opacity: 1;
    transform: none;
}

.js .banner {
    clip-path: polygon(22px 0, 22px 0, 0 100%, 0 100%);
    transition: clip-path .8s var(--ease-wipe) .6s;
}

.js .is-ready .banner {
    clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

/* Sections */

.section {
    position: relative;
    padding: clamp(80px, 11vw, 160px) var(--gutter);
    overflow: hidden;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section--light + .section--light {
    padding-top: clamp(32px, 4vw, 64px);
}

.section--dark {
    --cut: clamp(28px, 4.2vw, 64px);
    z-index: 1;
    margin: calc(-1 * var(--cut)) 0;
    padding-top: calc(clamp(80px, 11vw, 160px) + var(--cut));
    padding-bottom: calc(clamp(80px, 11vw, 160px) + var(--cut));
    background: var(--ink);
    color: var(--cream);
    clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}

.contact {
    margin-bottom: 0;
    padding-bottom: clamp(80px, 11vw, 160px);
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}

.section--dark::before,
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url(../img/grain.svg);
    opacity: .09;
    pointer-events: none;
}

.section__title span {
    display: inline-block;
}

.section__title {
    margin: 0 0 clamp(40px, 6vw, 88px) calc(-1 * var(--gutter) - .03em);
    color: var(--accent);
    font-family: var(--display);
    font-size: clamp(60px, 12.4vw, 184px);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.section__lead {
    max-width: 1180px;
    margin: calc(-1 * clamp(16px, 3vw, 48px)) auto clamp(36px, 4vw, 56px);
    font-weight: 700;
}

.prose {
    max-width: 800px;
    margin: 0 auto 0 clamp(0px, 14vw, 240px);
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 700;
    line-height: 2;
}

.prose p {
    margin: 0 0 1.5em;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose__accent {
    color: var(--accent-light);
    font-size: clamp(25px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.55;
}

.section--light .prose__accent {
    color: var(--accent);
}

.section--dark .section__title {
    color: var(--sand);
}

/* Roster */

.team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start;
    gap: 24px;
    max-width: 1780px;
    margin: 0 auto;
}

.team-layout > .roster {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
}

.team-layout > .roster-filter {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 28px;
}

.team-layout .roster-filter__heading {
    gap: 8px;
    margin-bottom: 20px;
}

.team-layout .roster-filter__heading h3 {
    font-size: 28px;
}

.team-layout .roster-filter__types:not(:empty) {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 20px;
}

@media (min-width: 1280px) {
    .team-layout .card__top {
        right: calc(var(--s) * .2 + 4px);
        left: calc(var(--s) * .55 + 4px);
    }

    .team-layout .card__subject b {
        font-size: clamp(14px, 1vw, 18px);
    }

    .team-layout .card__name {
        font-size: clamp(20px, 1.65vw, 28px);
    }
}

@media (max-width: 1279px) {
    .team-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-layout > .roster-filter,
    .team-layout > .roster {
        grid-column: 1;
        grid-row: auto;
    }

    .team-layout .roster-filter__types:not(:empty) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .team-layout .roster-filter__types:not(:empty) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .team-layout .roster-filter__types:not(:empty) {
        grid-template-columns: 1fr;
    }
}

.roster-filter {
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 28px 32px;
    border: 1px solid rgb(var(--cream-rgb) / .12);
    border-top: 4px solid var(--accent-light);
    background: #343332;
    box-shadow: 8px 8px 0 rgb(113 26 43 / .12);
    color: var(--cream);
}

.roster-filter__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.roster-filter__heading h3 {
    position: relative;
    margin: 0;
    padding-left: 20px;
    font-family: var(--display);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 500;
    text-transform: uppercase;
}

.roster-filter__heading h3::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 2px;
    width: 6px;
    background: var(--accent-light);
    transform: skewX(-12deg);
    content: '';
}

.roster-filter fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.roster-filter legend {
    margin-bottom: 12px;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
}

.roster-filter legend::before {
    display: inline-block;
    width: 13px;
    height: 3px;
    margin: 0 8px 4px 0;
    background: var(--accent-light);
    transform: skewX(-16deg);
    content: '';
}

.roster-filter legend span {
    display: inline-block;
    margin-left: 12px;
    color: rgb(var(--cream-rgb) / .55);
    font-size: 12px;
    font-weight: 400;
}

.roster-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    padding: 10px 20px;
    border: 1px solid rgb(var(--cream-rgb) / .25);
    color: var(--cream);
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    background: rgb(0 0 0 / .1);
    transform: skewX(-8deg);
    transition: background .2s, border-color .2s;
}

.filter-chip:hover {
    background: rgb(113 26 43 / .3);
    border-color: var(--accent-light);
}

.filter-chip[aria-pressed="true"] {
    border-color: var(--accent-light);
    background: var(--accent);
}

.filter-chip--type {
    padding: 8px 18px;
    font-size: 14px;
}

.roster-filter__types:not(:empty) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
    padding-top: 24px;
    border-top: 1px solid rgb(179 76 92 / .5);
}

@media (max-width: 1100px) {
    .roster-filter__types:not(:empty) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .roster-filter__types:not(:empty) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .roster-filter__types:not(:empty) {
        grid-template-columns: 1fr;
    }
}

.roster-filter__status {
    margin: 20px 0 0;
    color: rgb(var(--cream-rgb) / .65);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .roster-filter {
        padding: 24px 16px;
    }

    .filter-chip {
        padding: 9px 14px;
        font-size: 14px;
    }
}

.roster {
    --h: clamp(420px, 32vw, 480px);
    --slant: .2;
    --s: calc(var(--h) * var(--slant));
    --gap: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1300px;
    margin: 0 auto;
}

.roster__row {
    --cap: calc(var(--s) * 1.5);
    display: flex;
    height: var(--h);
}

.roster__row > * {
    flex: none;
    height: 100%;
    margin-left: calc(var(--gap) - var(--s));
}

.roster__row > :first-child {
    margin-left: 0;
}

.roster__row > .roster__cap {
    flex: 1 0 var(--cap);
}

.roster__cap--start {
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--s)) 100%);
}

.roster__cap--end {
    clip-path: polygon(var(--s) 0, 100% 100%, 0 100%);
}

.card {
    position: relative;
    display: block;
    width: calc((100% - var(--cap) + var(--cards) * (var(--s) - var(--gap))) / var(--cards));
    outline: none;
}

.card::before,
.card::after {
    display: block;
}

.card__top {
    position: absolute;
    top: 14px;
    right: calc(var(--s) * .4 + 4px);
    left: calc(var(--s) + 8px);
    display: grid;
    gap: 10px;
    z-index: 3;
    color: var(--cream);
    text-align: right;
}

.card__subject {
    display: grid;
    gap: 4px;
    line-height: 1.4;
    justify-items: end;
}

.card__subject b {
    padding: 2px 6px;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.card__clip {
    position: absolute;
    inset: 0;
    display: block;
    overflow: visible;
    clip-path: var(--frame);
}

.card:hover .card__clip,
.card:focus-visible .card__clip {
    clip-path: polygon(-60% -40%, 160% -40%, 160% 100%, -60% 100%);
}

.card:hover,
.card:focus-visible {
    z-index: 2;
}

.card__person {
    --fade-from: 36%;
    --fade-to: 53%;
    position: absolute;
    top: 13%;
    left: 40%;
    width: auto;
    height: 160%;
    max-width: none;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent var(--fade-to));
    mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent var(--fade-to));
    filter: grayscale(1) contrast(1.08);
}

.card[href="#t-02"] .card__person {
    --fade-from: 46%;
    --fade-to: 72%;
    top: 18%;
    height: 115%;
}

.card[href="#t-03"] .card__person {
    top: 3%;
}

.card[href="#t-04"] .card__person {
    --fade-from: 38%;
    --fade-to: 55%;
    top: 10%;
}

.card[href="#t-04"] .card__bottom {
    right: calc(var(--s) + 2px);
}

.card:hover .card__person,
.card:focus-visible .card__person {
    filter: none;
    transform: translateX(-50%) translateY(-5%) scale(1.05);
}

.card__bottom {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: calc(var(--s) + 8px);
    z-index: 3;
}

.card__name {
    color: var(--accent-light);
    font-family: var(--display);
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.card__cross {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    width: 100%;
    height: 100%;
    clip-path: var(--frame);
    pointer-events: none;
}

.card__cross path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 7;
    stroke-linecap: round;
}

.card.is-excluded .card__cross {
    display: block;
}

.card.is-excluded:hover,
.card.is-excluded:focus-visible {
    z-index: auto;
}

.card.is-excluded .card__clip {
    clip-path: var(--frame);
}

.card.is-excluded .card__person {
    filter: grayscale(1) brightness(.45);
    transform: translateX(-50%);
}

.roster.has-selection .card:not(.is-excluded) .card__person {
    filter: none;
}

.js .roster .card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms);
}

.js .roster[data-reveal] {
    opacity: 1;
    transform: none;
}

.js .roster.is-in .card {
    opacity: 1;
    transform: none;
}

/* Lesson */

.timeline {
    display: flex;
    gap: 8px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.timeline li {
    flex: calc(var(--w) + 8) 1 0;
    min-width: 0;
}

.timeline__bar {
    display: flex;
    align-items: baseline;
    gap: 6px;
    height: 72px;
    margin-bottom: 20px;
    padding: 0 16px 0 28px;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--display);
    font-size: 40px;
    font-weight: 500;
    line-height: 72px;
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.timeline li:nth-child(3) .timeline__bar {
    background: var(--accent);
}

.timeline__bar small {
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.timeline h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.timeline p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(24px, 3vw, 48px);
    max-width: 1180px;
    margin: clamp(56px, 7vw, 96px) auto 0;
    padding: 0;
    list-style: none;
}

.features li {
    padding: 24px 0 26px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.55;
}

.features b {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.features b::before {
    content: '/';
    margin-right: 10px;
    color: var(--accent);
}

/* Price */

.price {
    max-width: 1180px;
    margin: 0 auto;
}

.price__value {
    margin: 20px 0 10px;
    font-family: var(--display);
    font-size: clamp(92px, 14vw, 220px);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: .82;
    white-space: nowrap;
}

.price__value small {
    margin-right: .18em;
    font-size: .2em;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.price__currency {
    margin-left: .08em;
    color: var(--accent);
}

.price__unit {
    margin: 0 0 24px;
    font-family: var(--display);
    font-size: clamp(22px, 2.2vw, 32px);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.price__note {
    max-width: 460px;
    margin: 0;
    color: var(--ink-soft);
}

/* Contact */

.contact__body {
    max-width: 900px;
    margin: 0 auto 0 clamp(0px, 14vw, 240px);
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 700;
    line-height: 1.8;
}

.contact__lead {
    margin: 0 0 24px;
    font-family: var(--display);
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* Footer */

.footer {
    position: relative;
    padding: 64px var(--gutter) 40px;
    border-top: 1px solid rgb(var(--cream-rgb) / .08);
    background: var(--ink);
    color: var(--cream);
    text-align: center;
}

.footer > * {
    position: relative;
}

.footer__brand {
    display: inline-block;
    font-family: var(--display);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transform: skewX(-12deg);
}

.pill {
    display: table;
    margin: 28px auto 18px;
    padding: 6px 36px;
    background: var(--accent);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.footer__copy {
    margin: 0;
    color: rgb(var(--cream-rgb) / .45);
    font-size: 13px;
}

.request {
    width: min(720px, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    margin: auto;
    padding: 36px;
    overflow-y: auto;
    border: 0;
    border-top: 5px solid var(--accent);
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 24px 100px rgb(0 0 0 / .35);
}

.request__header {
    padding: 0 28px 20px 18px;
    border-left: 4px solid var(--accent);
    border-bottom: 1px solid var(--line);
}

.request::backdrop {
    background: rgb(var(--ink-rgb) / .75);
    backdrop-filter: blur(6px);
}

.request__close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    color: var(--ink-soft);
    font-size: 32px;
    line-height: 1;
    transition: color .2s;
}

.request__close:hover {
    color: var(--accent);
}

.request__title {
    margin: 0;
    color: var(--accent);
    font-family: var(--display);
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.request__form,
.request__form label {
    display: grid;
    gap: 8px;
}

.request__form {
    margin-top: 24px;
    gap: 22px;
}

.request__form label {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
}

.request__form input:not([type="checkbox"]),
.request__form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgb(255 255 255 / .4);
    color: var(--ink);
    font: 400 16px var(--text);
    transition: border-color .2s, background .2s;
}

.request__form input:not([type="checkbox"]):focus,
.request__form textarea:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
    background: rgb(255 255 255 / .6);
}

.request__form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.request__form legend {
    margin-bottom: 12px;
    padding: 0;
    color: var(--accent);
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.request__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 3px;
}

.request__form .request__choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.request__choice input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.request__choice span {
    display: block;
    padding: 9px 14px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    transform: skewX(-8deg);
    transition: background .2s, border-color .2s, color .2s;
}

.request__choice:hover span {
    border-color: var(--accent-light);
    background: rgb(110 28 42 / .07);
}

.request__choice input:checked + span {
    border-color: var(--accent-light);
    background: var(--accent);
    color: var(--cream);
}

.request__choice input:focus-visible + span {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

.request__types {
    padding: 20px;
    border-top: 3px solid var(--accent-light);
    background: #343332;
}

.request__types:not([hidden]) {
    display: grid;
    gap: 20px;
}

.request__types legend {
    color: var(--cream);
    font-size: 18px;
}

.request__types legend::before {
    display: inline-block;
    width: 14px;
    height: 3px;
    margin: 0 8px 5px 0;
    background: var(--accent-light);
    transform: skewX(-12deg);
    content: '';
}

.request__types .request__choice span {
    border-color: rgb(var(--cream-rgb) / .25);
    color: var(--cream);
}

.request__types .request__choice:hover span {
    border-color: var(--accent-light);
    background: rgb(110 28 42 / .3);
}

.request__types .request__choice input:checked + span {
    border-color: var(--accent-light);
    background: var(--accent);
}

.request__form textarea {
    resize: vertical;
    min-height: 88px;
}

.request__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.request__status {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.5;
}

.request .btn--accent:hover {
    background: var(--ink);
    color: var(--cream);
}

.request__status:empty {
    display: none;
}

.request .btn:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 640px) {
    .request {
        padding: 28px 20px;
    }

    .request__row {
        grid-template-columns: 1fr;
    }
}

/* Profile */

.profile {
    position: fixed;
    inset: 0;
    z-index: 90;
    overflow: hidden auto;
    overscroll-behavior: contain;
    scrollbar-color: #4a3d35 var(--ink-panel);
    scrollbar-width: thin;
    background: var(--ink-panel);
    color: var(--cream);
    opacity: 0;
    transition: opacity .35s ease;
}

.profile.is-open {
    opacity: 1;
}

.profile:focus {
    outline: none;
}

.profile__bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(rgb(var(--cream-rgb) / .06) 1px, transparent 1.4px) 0 0 / 6px 6px,
        linear-gradient(115deg, transparent 52%, var(--ink-deep) 52%, var(--ink-deep) 70%, transparent 70%),
        linear-gradient(65deg, transparent 8%, var(--ink-deep) 8%, var(--ink-deep) 22%, transparent 22%);
}

.profile__close {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    background: var(--ink-deep);
    color: var(--cream);
    transition: background .25s;
}

.profile__close:hover {
    background: var(--accent);
}

.profile__close svg {
    width: 30px;
    height: 30px;
}

.profile__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1440px;
    min-height: 100svh;
    margin: 0 auto;
}

.profile__visual {
    position: relative;
}

.profile__photo {
    position: sticky;
    top: 0;
    height: 100svh;
}

.profile__photo::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 4%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, var(--accent) 0 2px, transparent 2.4px) 0 0 / 9px 9px;
    clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
    opacity: .9;
}

.profile__photo img {
    --cut: 24%;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
    filter: contrast(1.05) saturate(.9);
    animation: photo-in .8s var(--ease-wipe) both;
}

.profile__title,
.profile__info > * {
    animation: rise .7s var(--ease) both;
    animation-delay: calc(.1s + var(--k, 0) * 50ms);
}

.profile__info > .profile__plate {
    animation: plate-in .8s var(--ease-wipe) .15s both;
}

.profile__title {
    position: absolute;
    bottom: 168px;
    left: clamp(24px, 5vw, 80px);
    z-index: 2;
}

.profile__subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile__name {
    margin: 12px 0 0;
    font-family: var(--display);
    font-size: clamp(48px, 6.4vw, 104px);
    font-weight: 600;
    line-height: 1.06;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
    text-transform: uppercase;
}

.profile__info {
    --pad-r: clamp(24px, 6vw, 96px);
    --bleed: calc(var(--pad-r) + max(0px, (100vw - 1440px) / 2));
    padding: clamp(104px, 15svh, 150px) var(--pad-r) 200px clamp(24px, 3vw, 48px);
}

.profile__rank {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.profile__number {
    margin-top: 8px;
    color: var(--accent-light);
    font-family: var(--display);
    font-size: clamp(96px, 11vw, 176px);
    font-weight: 500;
    line-height: .8;
}

.profile__plate {
    margin: 32px calc(-1 * var(--bleed)) 36px 0;
    padding: 20px var(--bleed) 22px 72px;
    background: var(--ink-deep);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.4;
    text-align: right;
    clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
}

.profile__about {
    margin: 0 0 40px;
    color: rgb(var(--cream-rgb) / .85);
    font-size: 17px;
    line-height: 1.85;
}

.profile__achievements {
    margin: 14px 0 40px;
    padding: 0;
    list-style: none;
}

.profile__achievements li {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgb(var(--cream-rgb) / .12);
    font-weight: 700;
    line-height: 1.45;
}

.profile__achievements li::before {
    content: '/';
    color: var(--accent-light);
    font-weight: 800;
}

.profile__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.profile__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: -20px 0 40px;
    padding: 0;
    list-style: none;
    color: rgb(var(--cream-rgb) / .75);
    font-size: 14px;
}

.profile__sources a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.profile__sources a:hover {
    color: var(--cream);
}

.profile__stats b {
    display: block;
    font-family: var(--display);
    font-size: clamp(44px, 4.4vw, 64px);
    font-weight: 500;
    line-height: 1;
}

.profile__stats span {
    display: block;
    margin-top: 8px;
    color: rgb(var(--cream-rgb) / .6);
    font-size: 14px;
    line-height: 1.4;
}

.profile__exams {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 44px;
    padding: 0;
    list-style: none;
}

.profile__exams li {
    padding: 7px 22px 6px;
    background: rgb(var(--cream-rgb) / .1);
    font-family: var(--display);
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.profile__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding-top: 32px;
    border-top: 1px solid rgb(var(--cream-rgb) / .14);
}

.profile__price-value {
    display: block;
    font-family: var(--display);
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 500;
    line-height: 1;
}

.profile__price-unit {
    display: block;
    margin-top: 6px;
    color: rgb(var(--cream-rgb) / .6);
    font-size: 15px;
}

.profile__strip {
    --strip-h: 128px;
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: var(--strip-h);
    margin-top: calc(-1 * var(--strip-h));
    padding: 28px 16px 16px;
    background: linear-gradient(to top, rgb(var(--ink-rgb) / .97) 62%, rgb(var(--ink-rgb) / 0));
}

.strip__items {
    position: relative;
    display: flex;
    padding-left: 10px;
}

.strip__item {
    position: relative;
    flex: none;
    width: 66px;
    height: 84px;
    margin-left: -10px;
    overflow: hidden;
    background: var(--ink-deep);
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    filter: grayscale(1) brightness(.55);
    transform: translateY(30%) scale(2.3);
    transform-origin: 50% 14%;
    transition: filter .3s;
}

.strip__item:hover img {
    filter: grayscale(1) brightness(.9);
}

.strip__item.is-current img {
    filter: none;
}

.strip__item span {
    position: absolute;
    bottom: 4px;
    left: 6px;
    color: var(--accent-light);
    font-family: var(--display);
    font-size: 15px;
    line-height: 1;
}

.strip__nav {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink-deep);
    transition: background .25s;
}

.strip__nav:hover {
    background: var(--accent);
}

.strip__nav svg {
    width: 20px;
    height: 20px;
}

/* Reveal */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .8s var(--ease);
    transition-delay: calc(var(--k, 0) * 80ms);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.js .section__title[data-reveal] {
    opacity: 1;
    transform: none;
}

.js .section__title[data-reveal] span {
    clip-path: inset(-25% 100% -25% -5%);
    transition: clip-path 1.1s var(--ease-wipe);
}

.js .section__title[data-reveal].is-in span {
    clip-path: inset(-25% -5% -25% -5%);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes photo-in {
    from {
        clip-path: polygon(var(--cut) 0, var(--cut) 0, 0 100%, 0 100%);
    }
}

@keyframes plate-in {
    from {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
}

/* Typography */

.section__title,
.prose__accent,
.contact__lead,
.profile__plate,
h3 {
    text-wrap: balance;
}

p,
li,
dd {
    text-wrap: pretty;
}

/* Responsive */

@media (max-width: 1100px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 899px) {
    .rail {
        display: none;
    }

    .hero {
        min-height: 0;
        padding-top: 96px;
    }

    .lineup {
        --n: var(--row1, 4);
        --lift: 0;
        --slant: .22;
        --h: min(26svh, 240px);
        position: relative;
        top: auto;
        left: auto;
        flex-wrap: wrap;
        row-gap: 12px;
        width: 100%;
        height: auto;
        margin-bottom: calc(var(--h) * -.18);
        transform: none;
    }

    .slice {
        height: var(--h);
    }

    .slice--row2 {
        margin-left: calc((100% - var(--row2) * var(--w) + (var(--row2) - 1) * (var(--s) - var(--gap))) / 2 - var(--s) / 2);
    }

    .hero__desc span {
        display: block;
    }

    .roster {
        --h: 470px;
        --slant: .18;
        margin: 0 calc(-1 * var(--gutter));
    }

    .roster__row {
        --cap: calc(var(--s) * 1.1);
    }

    .card__subject b {
        font-size: 15px;
    }

    .card__subject > span {
        font-size: 11px;
    }

    .card__name {
        font-size: clamp(20px, 4.7vw, 26px);
        overflow-wrap: anywhere;
    }

    .prose,
    .contact__body {
        margin-left: 0;
    }

    .timeline {
        flex-direction: column;
        gap: 28px;
    }

    .timeline__bar {
        width: calc(var(--w) * 1% + 30%);
        min-width: 150px;
    }

    .profile__grid {
        grid-template-columns: 1fr;
    }

    .profile__photo {
        position: relative;
        height: 64svh;
    }

    .profile__photo img {
        --cut: 14%;
    }

    .profile__title {
        top: auto;
        bottom: 20px;
    }

    .profile__info {
        padding-top: 32px;
        padding-bottom: 160px;
    }

    .strip__items {
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .strip__items::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        background-image: none;
        font-size: 16px;
    }

    .menu-btn {
        width: 60px;
        height: 60px;
        gap: 8px;
    }

    .menu-btn__lines {
        width: 30px;
        height: 12px;
    }

    .menu-btn__lines::after {
        top: 10px;
    }

    .menu-btn[aria-expanded="true"] .menu-btn__lines::before,
    .menu-btn[aria-expanded="true"] .menu-btn__lines::after {
        top: 5px;
    }

    .menu-btn__label {
        font-size: 11px;
    }

    .corner-cta {
        top: 12px;
        right: 12px;
        padding: 9px 22px;
        font-size: 14px;
    }

    .wordmark::before {
        -webkit-text-stroke-width: 8px;
    }

    .lineup {
        margin-bottom: calc(var(--h) * -.08);
    }

    .banner {
        font-size: 17px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .profile__close {
        width: 60px;
        height: 60px;
    }

    .profile__stats {
        grid-template-columns: 1fr 1fr;
    }

    .btn {
        width: 100%;
        padding: 0 32px;
    }

    .profile__price .btn {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .js .loader {
        display: none;
    }
}
