/* Home, proposal B "La Firma". */

/* ---------- Hero: three signed objects, one at a time ----------
   Each slide repaints the T91 brush mark left to right, then the object lands on it and the
   headline rises line by line. The index underneath is the timer: the orange marker stroke under
   the current label draws itself over the slide's duration, and its end advances the slider. */

.hs {
    --hs-dur: 7s;
    position: relative;
    padding-top: clamp(12px, 2vw, 28px);
    overflow: clip;
}

.hs__stage {
    display: grid;
    touch-action: pan-y;
}

.hs__slide {
    grid-area: 1 / 1;
    visibility: hidden;
    transition: visibility 0s linear .8s;
}

.hs__slide.is-active,
.hs__slide.is-leaving {
    visibility: visible;
    transition-delay: 0s;
}

.hs__slide.is-active {
    z-index: 2;
}

.hs__slide.is-leaving {
    z-index: 1;
    pointer-events: none;
}

/* Upcoming state is the default; .is-active plays the entrance, .is-leaving the exit. */
.js .hs .mark-t91--hero {
    clip-path: inset(0 100% 0 0);
}

.js .hs .is-active .mark-t91--hero {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(.65, 0, .35, 1) .35s;
}

/* The old mark wipes off first, so the new one is visibly painted on a clean stage. */
.js .hs .is-leaving .mark-t91--hero {
    clip-path: inset(0 0 0 100%);
    transition: clip-path .45s cubic-bezier(.65, 0, .35, 1);
}

.js .hs .hs__obj {
    opacity: 0;
    translate: 4% 14%;
    rotate: 16deg;
    scale: .9;
}

.js .hs .is-active .hs__obj {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
    transition: translate 1.2s var(--ease) .55s, rotate 1.4s var(--ease) .55s, scale 1.2s var(--ease) .55s, opacity .4s linear .55s;
}

/* The outgoing object is gone before the next one lands: never two objects in the air. */
.js .hs .is-leaving .hs__obj {
    opacity: 0;
    translate: -10% -6%;
    rotate: -10deg;
    transition: translate .45s cubic-bezier(.7, 0, .84, 0), rotate .45s cubic-bezier(.7, 0, .84, 0), opacity .3s linear .15s;
}

.hs__l {
    display: block;
    padding-bottom: .16em;
    margin-bottom: -.16em;
    overflow: clip;
}

.hs__l > span {
    display: inline-block;
}

/* Lines also fade: when a slide stops leaving it snaps back to the upcoming state, and without
   opacity the tops of its letters would sit visible in the clip padding until the slide hides. */
.js .hs .hs__l > span {
    opacity: 0;
    translate: 0 112%;
}

.js .hs .is-active .hs__l > span {
    opacity: 1;
    translate: 0 0;
    transition: translate 1s var(--ease) .4s, opacity .3s linear .4s;
}

.js .hs .is-active .hs__l + .hs__l > span {
    transition-delay: .5s;
}

.js .hs .is-leaving .hs__l > span {
    opacity: 0;
    translate: 0 -112%;
    transition: translate .45s cubic-bezier(.7, 0, .84, 0), opacity .3s linear .1s;
}

.js .hs .hs__base,
.js .hs .hero__sign {
    opacity: 0;
    translate: 0 14px;
}

.js .hs .is-active .hs__base,
.js .hs .is-active .hero__sign {
    opacity: 1;
    translate: 0 0;
    transition: opacity .6s linear .55s, translate .9s var(--ease) .55s;
}

.js .hs .is-active .hero__sign {
    transition-delay: 1.3s;
}

.js .hs .is-leaving .hs__base,
.js .hs .is-leaving .hero__sign {
    opacity: 0;
    transition: opacity .3s linear;
}

.js .hs__slide .br use {
    stroke-dashoffset: 100;
    transition: none;
}

.js .hs__slide.is-active .br use {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--draw) var(--ease) var(--sd, .9s);
}

/* Outgoing strokes fade with their slide instead of vanishing at once. */
.js .hs__slide.is-leaving .br use {
    stroke-dashoffset: 0;
}

.js .hs__slide.is-leaving .br {
    opacity: 0;
    transition: opacity .3s linear;
}

.hs .hero__note .br {
    --sd: 1.8s;
}

.hs .hero__arrow {
    --sd: 2s;
}

.hs .hero__price .mark {
    --sd: 1.2s;
}

/* Black Friday paints the mark in the accent: the one slide where orange is the stage. */
.hs__slide--deal .mark-t91--hero {
    color: var(--accent);
}

.hero__price s.mark {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    opacity: .7;
}

.hero__price s.mark > .br {
    left: -6%;
    width: 112%;
    bottom: .2em;
    height: .5em;
    stroke-width: 5;
}

/* Member card: the membership drawn as an object, so it can stand on the mark like a racket.
   The figure keeps the racket's square so the card lands where the rackets do. */
.hs__slide--member .hero__figure {
    aspect-ratio: 1;
}

/* Here the card carries the mark, so the stage mark steps back to a tonal print. */
.hs__slide--member .mark-t91--hero {
    color: rgba(242, 240, 236, .1);
}

.mcard {
    position: absolute;
    left: 30%;
    top: 34%;
    width: 60%;
}

/* Index and timer */
.hs__bar {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    padding-block: clamp(14px, 2vw, 22px) clamp(24px, 3vw, 40px);
    position: relative;
    z-index: 4;
}

.hs__index {
    display: flex;
    flex-wrap: wrap;
    gap: 4px clamp(20px, 3vw, 44px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs__dot {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: .55em;
    min-height: 44px;
    padding: 10px 0 14px;
    border: 0;
    background: none;
    color: var(--ink);
    font-weight: 700;
    font-size: .9375rem;
    cursor: pointer;
    opacity: .5;
    transition: opacity .3s;
}

.hs__dot:hover,
.hs__dot[aria-current] {
    opacity: 1;
}

.hs__n {
    font-size: 1.375rem;
    line-height: 1;
}

.hs__timer {
    position: absolute;
    left: -2%;
    bottom: 2px;
    width: 104%;
    height: 10px;
    stroke-width: 5;
}

.hs__timer use {
    stroke-dashoffset: 100;
}

.hs__dot[aria-current] .hs__timer use {
    animation: hs-timer var(--hs-dur) linear forwards;
}

.hs.is-hold .hs__dot[aria-current] .hs__timer use,
.hs.is-paused .hs__dot[aria-current] .hs__timer use {
    animation-play-state: paused;
}

/* Without autoplay (reduced motion) the current label is simply underlined. */
.hs.is-still .hs__dot[aria-current] .hs__timer use {
    animation: none;
    stroke-dashoffset: 0;
}

@keyframes hs-timer {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.hs__pause {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink-line);
    cursor: pointer;
    transition: box-shadow .2s;
}

.hs__pause:hover {
    box-shadow: inset 0 0 0 2px var(--ink);
}

.hs__pause .ico {
    width: 18px;
    height: 18px;
}

.hs__ico-play,
.hs.is-paused .hs__ico-pause,
.hs.is-still .hs__ico-pause {
    display: none;
}

.hs.is-paused .hs__ico-play,
.hs.is-still .hs__ico-play {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .js .hs .hs__slide * {
        clip-path: none !important;
        translate: none !important;
        rotate: none !important;
        scale: none !important;
    }

    .js .hs .hs__slide .hs__obj,
    .js .hs .hs__slide .hs__base,
    .js .hs .hs__slide .hero__sign {
        transition: opacity .3s linear !important;
    }

    .js .hs__slide .br use {
        stroke-dashoffset: 0 !important;
    }

    /* Nothing slides out of the way here, so the old slide must not linger over the new one. */
    .js .hs__slide.is-leaving {
        visibility: hidden;
    }
}

/* The racket is taller than the viewport and sits ON the giant headline in z-order. */
.hero__grid {
    position: relative;
    min-height: max(520px, calc(100dvh - var(--util) - var(--hdr) - 140px));
    display: grid;
    align-content: space-between;
}

.hero__copy {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: space-between;
    gap: clamp(20px, 2.4vw, 30px);
    min-height: inherit;
}

.hero__title {
    font-size: clamp(4.2rem, 11.4vw, 11.5rem);
    line-height: .9;
    letter-spacing: 0;
}

.hero__title .mark > .br {
    bottom: -.06em;
    height: .16em;
    stroke-width: 10;
}

.hero__base {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
    justify-items: start;
}

.hero__lead {
    max-width: 34ch;
}

.hero__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2em .6em;
    font-weight: 600;
}

.hero__price b {
    font-size: 2.25rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__figure {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 1%;
    width: min(48vw, 780px);
    margin: 0;
    pointer-events: none;
}

/* The full white T91 stroke sits behind the black racket so its silhouette reads on the black page. */
.mark-t91--hero {
    position: absolute;
    left: -4%;
    top: 4%;
    width: 104%;
    color: var(--ink);
    transform: rotate(-6deg);
}

.hero__racket {
    position: relative;
    width: 100%;
    transform: rotate(-18deg);
    filter: drop-shadow(0 50px 44px rgba(0, 0, 0, .5));
}

.hero__sign {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__note {
    position: absolute;
    right: 2%;
    top: 6%;
    text-align: right;
    line-height: 1.15;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    transform: rotate(6deg);
}

.hero__note .loop > .br {
    --d: 1300;
}

.hero__arrow {
    position: absolute;
    right: 6%;
    top: 21%;
    width: clamp(64px, 8vw, 110px);
    height: auto;
    aspect-ratio: 1.6;
    transform: rotate(150deg) scaleY(-1);
    stroke-width: 5;
}

.hero__arrow use {
    --d: 1500;
}

/* ---------- Lines: three racket stages side by side ---------- */

.lines__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.line a {
    display: grid;
    gap: 10px;
    justify-items: start;
    text-decoration: none;
}

.line__stage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    margin-bottom: 8px;
}

.line__stage .mark-t91--bg {
    top: 12%;
}

.line__img {
    position: relative;
    width: 70%;
    margin: 0 auto;
    transform: rotate(14deg);
    filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .35));
    transition: transform .7s var(--ease);
}

.line:nth-child(2) .line__img {
    transform: rotate(-6deg);
}

.line:nth-child(3) .line__img {
    transform: rotate(4deg);
}

.line a:hover .line__img {
    transform: rotate(-10deg) scale(1.04);
}

.line__role {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: 10%;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    color: var(--accent);
    transform: rotate(-8deg);
}

.line__name {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    font-weight: 800;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    line-height: .95;
}

.line__name .mark > .br {
    stroke-width: 8;
}

.line__pitch {
    font-weight: 500;
    max-width: 30ch;
    color: var(--on-ink-muted);
}

/* On chalk the tonal brush mark turns black, per the band rule. */
.lines .mark-t91--bg {
    color: rgba(12, 12, 12, .07);
}

.line__foot {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-weight: 600;
}

.line__foot b {
    font-size: 1.25rem;
}

.line__foot .ico {
    transition: transform .3s var(--ease);
}

.line a:hover .line__foot .ico {
    transform: translateX(6px);
}

.js .line a:hover .mark .br use,
.js .line a:focus-visible .mark .br use {
    transition: stroke-dashoffset 600ms var(--ease);
    stroke-dashoffset: 0;
}

/* Closing row: the whole range as a big typographic link, the quiz as a hand-annotated aside. */
.lines__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px clamp(28px, 5vw, 96px);
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 2px solid var(--ink);
}

.lines__all {
    display: inline-flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    justify-self: start;
    text-decoration: none;
}

.lines__all-t {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1;
}

.lines__all-t sup {
    margin-left: .15em;
    font-size: .5em;
    vertical-align: .9em;
    color: var(--accent);
}

.lines__all-go {
    display: grid;
    place-items: center;
    flex: none;
    width: clamp(44px, 3.6vw, 52px);
    aspect-ratio: 1;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px var(--ink);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.lines__all-go .ico {
    width: 40%;
    height: 40%;
    transition: translate .4s var(--ease);
}

.lines__all:hover .lines__all-go,
.lines__all:focus-visible .lines__all-go {
    background: var(--ink);
    color: var(--on-ink);
}

.lines__all:hover .lines__all-go .ico {
    translate: 3px 0;
}

.lines__quiz {
    display: grid;
    justify-items: start;
    gap: 10px;
    text-decoration: none;
}

.lines__quiz-note {
    position: relative;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    color: var(--accent);
    transform: rotate(-5deg);
    transform-origin: left;
}

/* The arrow curls from the note back down to the play button. */
.lines__quiz-arrow {
    position: absolute;
    left: 100%;
    top: 40%;
    width: 58px;
    height: 36px;
    margin-left: 4px;
    stroke-width: 5;
    transform: rotate(125deg) scaleY(-1);
    --d: 400;
}

.lines__quiz-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.125rem;
}

.lines__quiz-cta small {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--on-ink-muted);
}

.lines__quiz-play {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink);
    transition: transform .3s var(--ease);
}

.lines__quiz-play .ico {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.lines__quiz:hover .lines__quiz-play {
    transform: scale(1.08);
}

.lines__quiz:hover .lines__quiz-cta > :not(.lines__quiz-play) {
    text-decoration: underline;
}

/* ---------- Team: three signed rackets, staggered like autographs on a wall ---------- */

.team__grid {
    display: grid;
    grid-template-columns: 1.15fr .9fr 1fr;
    align-items: start;
    gap: clamp(20px, 3vw, 56px);
}

.tsig {
    display: grid;
    gap: 6px;
    text-decoration: none;
}

.tsig:nth-child(2) {
    margin-top: clamp(60px, 10vw, 160px);
}

.tsig:nth-child(3) {
    margin-top: clamp(24px, 4vw, 64px);
}

.tsig__stage {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    margin-bottom: 14px;
    background: rgba(242, 240, 236, .07);
    overflow: hidden;
}

.tsig__racket {
    position: absolute;
    inset: 6% 8%;
    width: 84%;
    height: 88%;
    object-fit: contain;
    transform: rotate(calc(-10deg + var(--i) * 9deg));
    filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .35));
    transition: transform .7s var(--ease);
}

.tsig:hover .tsig__racket {
    transform: rotate(calc(-14deg + var(--i) * 9deg)) scale(1.04);
}

/* Portrait instead of the racket: the autograph signs the photo the same way. */
.tsig__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    transition: transform .7s var(--ease);
}

.tsig:hover .tsig__photo {
    transform: scale(1.04);
}

.tsig__sign {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 10%;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    color: var(--paper);
    transform: rotate(-9deg);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.js .tsig.draw .tsig__sign {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s var(--ease);
    transition-delay: calc(var(--i) * 180ms + 300ms);
}

.js .tsig.draw.is-in .tsig__sign,
.js .tsig.draw.is-static .tsig__sign {
    clip-path: inset(0 0 0 0);
}

.tsig__name {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    line-height: 1;
    letter-spacing: 0;
}

.tsig__meta,
.tsig__racket-name {
    font-weight: 500;
}

.tsig__meta b {
    font-size: 1.125rem;
}

.team__more {
    margin-top: clamp(36px, 5vw, 64px);
}

/* ---------- Mystery Box: the studio shot as a paper plate, levels on the black page ---------- */

.box__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 88px);
}

.box__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 40% 50%;
}

.box__copy {
    display: grid;
    gap: 22px;
    justify-items: start;
}

.box__copy p {
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 38ch;
}

.box__rows {
    width: 100%;
    margin: 6px 0 10px;
    padding: 0;
    list-style: none;
    border-top: 2px solid var(--ink);
}

.box__rows li {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "name price"
        "value price";
    gap: 2px 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 2px solid var(--ink);
}

.box__name {
    grid-area: name;
    font-size: 1.25rem;
    font-weight: 800;
}

.box__value {
    grid-area: value;
    font-weight: 500;
}

.box__value s {
    text-decoration: none;
    font-weight: 700;
}

.box__value .mark > .br {
    bottom: .3em;
    height: .45em;
    stroke-width: 4;
}

.box__value .mark .br use {
    --d: inherit;
}

.box__price {
    grid-area: price;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1;
}

.box__price small {
    font-size: .45em;
    vertical-align: .3em;
    font-weight: 600;
}

/* ---------- Centres ---------- */

.centers__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(28px, 4vw, 64px);
}

.centers__head > div {
    display: grid;
    gap: 24px;
    justify-items: start;
}

/* The marquee is the band's bottom edge: no empty strip under the names. */
.centers {
    padding-bottom: 0;
}

.centers__marquee {
    margin-top: clamp(48px, 7vw, 96px);
    overflow: hidden;
    border-top: 2px solid var(--ink);
}

.centers__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 22px 0;
    list-style: none;
    animation: crawl 70s linear infinite;
}

.centers__marquee:hover .centers__track {
    animation-play-state: paused;
}

.centers__track li {
    display: flex;
    align-items: baseline;
    gap: .5em;
    padding-right: 2.4em;
    white-space: nowrap;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.centers__track b {
    font-weight: 800;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    letter-spacing: 0;
}

.centers__track .hand {
    font-size: .6em;
}

@keyframes crawl {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .box__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero__grid,
    .hero__copy {
        min-height: 0;
    }

    .hero__figure {
        position: relative;
        top: auto;
        right: auto;
        order: -1;
        justify-self: center;
        width: min(80%, 440px);
        margin: 0 auto -10%;
    }

    .hero__grid {
        display: flex;
        flex-direction: column;
    }

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

    .tsig:nth-child(n) {
        margin-top: 0;
        width: 88%;
    }

    .tsig:nth-child(2) {
        justify-self: end;
    }

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

@media (max-width: 640px) {
    .hs {
        padding-top: 0;
    }

    /* Visually hidden, still announced: the buttons keep their names for screen readers. */
    .hs__dot:not([aria-current]) .hs__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .hero__note {
        top: auto;
        bottom: 14%;
        right: -14%;
        font-size: 1.05rem;
    }

    .hero__arrow {
        display: none;
    }

    .hero__title {
        font-size: clamp(3.4rem, 15vw, 4.6rem);
        line-height: .92;
    }

    .hero__price b {
        font-size: 1.875rem;
    }

    .hero__cta .btn {
        flex: 1 1 auto;
    }

    .box__media img {
        aspect-ratio: 1;
    }
}

/* ---------- Membership: the number does the talking, on the black page ---------- */

.member {
    padding: var(--sec) 0;
}

.member__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px clamp(32px, 6vw, 112px);
}

.member__big {
    margin: 0;
    font-size: clamp(6rem, 19vw, 17rem);
    font-weight: 800;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    line-height: .8;
    letter-spacing: 0;
}

.member__big {
    position: relative;
    justify-self: start;
    margin-bottom: .3em;
}

.member__big .loop > .br {
    inset: -14% -5%;
    width: 110%;
    height: 128%;
    stroke-width: 3;
}

.member__side {
    display: grid;
    justify-items: start;
    gap: 22px;
}

.member__title {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: .92;
}

.member__side p {
    max-width: 44ch;
    font-size: 1.125rem;
}

.member__perks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member__perks li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
}

.member__perks .br {
    width: 26px;
    height: 22px;
    stroke-width: 6;
}

.member__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 6px;
}

/* ---------- T91 Points: three levels, the top one on a chalk plate ---------- */

.pts {
    margin-top: clamp(72px, 9vw, 128px);
}

.pts__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: end;
    gap: 16px clamp(28px, 4vw, 64px);
    margin-bottom: clamp(28px, 4vw, 48px);
}

.pts__head h3 {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
}

.pts__head p {
    color: rgba(242, 240, 236, .72);
    max-width: 52ch;
}

.pts__levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pts__levels li {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: clamp(22px, 2.4vw, 36px);
    box-shadow: inset 0 0 0 2px var(--ink-line);
}

.pts__levels b {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: .95;
}

.pts__levels li > span:last-child {
    max-width: 34ch;
    color: rgba(242, 240, 236, .72);
}

.pts__from {
    font-size: 1.25rem;
    color: var(--accent);
    transform: rotate(-4deg);
    transform-origin: left;
}

.pts__levels .pts__top {
    background: var(--paper);
    box-shadow: none;
}

.pts__levels .pts__top > span:last-child {
    color: var(--on-ink-muted);
}

.member__hand {
    position: absolute;
    right: 0;
    bottom: -2.6em;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-variation-settings: normal;
    letter-spacing: 0;
    line-height: 1.05;
    transform: rotate(-8deg);
}


/* ---------- Wear: the men's scene first, then women and accessories ---------- */

.wear__scene {
    position: relative;
    display: block;
    text-decoration: none;
}

.wear__photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 78vh;
    object-fit: cover;
    object-position: 70% 30%;
    transition: scale 1.2s var(--ease);
}

.wear__scene,
.wear__donna,
.wear__media {
    overflow: clip;
}

.wear__scene:hover .wear__photo img,
.wear__donna:hover img {
    scale: 1.03;
}

/* The black plate reads on any part of the photo, like a reading panel laid on it. */
.wear__plate {
    position: absolute;
    left: 0;
    bottom: 0;
    display: grid;
    justify-items: start;
    gap: 14px;
    width: min(100%, 460px);
    padding: clamp(24px, 3vw, 44px);
    background: var(--paper);
}

.wear__big {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: .85;
}

.wear__note {
    margin: -.6em 0 0 2.4em;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    color: var(--accent);
    transform: rotate(-6deg);
}

.wear__sub {
    max-width: 30ch;
    font-weight: 500;
    color: var(--on-ink-muted);
}

.wear__acc .wear__sub {
    color: rgba(242, 240, 236, .72);
}

.wear__scene:hover .btn .ico {
    translate: 4px 0;
}

.wear__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: stretch;
    gap: clamp(14px, 1.6vw, 24px);
    margin-top: clamp(14px, 1.6vw, 24px);
}

.wear__donna {
    position: relative;
    display: block;
    align-self: stretch;
    text-decoration: none;
}

.wear__donna img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: scale .9s var(--ease);
}

.wear__tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: 12px 20px;
    border-radius: 999px;
    background: #0c0c0c;
    color: #f2f0ec;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.wear__tag small {
    font-family: var(--f);
    font-variation-settings: normal;
    font-size: .8125rem;
    font-weight: 600;
    opacity: .75;
}

.wear__tag small {
    padding-top: .15em;
}

.wear__acc {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    min-width: 0;
    text-decoration: none;
}

/* Three cut-outs on one plate: accessories read as one shelf, not three categories. */
.wear__trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    min-height: 240px;
    padding: 6% 4%;
    background: var(--plate);
}

.wear__trio img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 8%;
    transition: scale .7s var(--ease), rotate .7s var(--ease);
}

.wear__acc:hover .wear__trio img {
    scale: 1.06;
    rotate: -4deg;
}

.wear__acc-foot {
    display: grid;
    gap: 6px;
    justify-items: start;
}

.wear__name {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1;
}

.wear__n {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-size: .875rem;
    font-weight: 700;
}

.js .wear__acc:hover .mark .br use,
.js .wear__acc:focus-visible .mark .br use {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .5s var(--ease);
}

/* ---------- Services teaser ---------- */

.svc__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 28px clamp(28px, 4vw, 64px);
    margin-bottom: clamp(40px, 6vw, 80px);
}

.svc__head > div {
    display: grid;
    gap: 24px;
    justify-items: start;
}

.svc__head p {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(242, 240, 236, .72);
    max-width: 46ch;
}

.svc__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Every other tile drops, so the row reads as a contact sheet rather than a card grid. */
.svc__item:nth-child(even) {
    margin-top: clamp(28px, 5vw, 72px);
}

.svc__item a {
    display: grid;
    gap: 8px;
    text-decoration: none;
}

.svc__img {
    display: block;
    overflow: clip;
    margin-bottom: 10px;
    aspect-ratio: 4 / 5;
    background: var(--paper-2);
}

.svc__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter .6s var(--ease), scale .7s var(--ease);
}

.svc__item a:hover .svc__img img,
.svc__item a:focus-visible .svc__img img {
    filter: none;
    scale: 1.03;
}

.svc__name {
    display: flex;
    align-items: center;
    gap: .4em;
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1;
}

.svc__name .ico {
    width: 1em;
    height: 1em;
    color: var(--accent);
    transition: translate .3s var(--ease);
}

.svc__item a:hover .svc__name .ico {
    translate: 4px 0;
}

.svc__short {
    color: rgba(242, 240, 236, .72);
    font-size: .9375rem;
    max-width: 34ch;
}

/* ---------- Blog: three random articles ---------- */

.blog__list {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(28px, 3vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.post a {
    display: grid;
    gap: 12px;
    align-content: start;
    text-decoration: none;
}

.post__img {
    display: block;
    overflow: clip;
    margin-bottom: 6px;
    aspect-ratio: 3 / 2;
    background: var(--holo-soft);
}

.post:first-child .post__img {
    aspect-ratio: 4 / 3;
}

.post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .7s var(--ease);
}

.post a:hover .post__img img {
    scale: 1.04;
}

.post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2em .7em;
    color: rgba(242, 240, 236, .72);
    font-weight: 600;
}

.post__cat {
    display: inline-block;
    font-size: 1.125rem;
    color: var(--accent);
    transform: rotate(-4deg);
}

.post__title {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.05;
    text-wrap: balance;
}

.post:first-child .post__title {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.post__excerpt {
    color: rgba(242, 240, 236, .72);
    max-width: 44ch;
}

.blog__more {
    margin-top: clamp(32px, 4vw, 56px);
}

/* ---------- After purchase: five moments in order ---------- */

.after__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px clamp(16px, 2vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.after__steps li {
    display: grid;
    align-content: start;
    gap: 8px;
    padding-top: 18px;
    border-top: 2px solid var(--ink);
}

.after__when {
    font-size: 1.25rem;
    color: var(--accent);
    transform: rotate(-3deg);
    transform-origin: left;
}

.after__steps b {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.3rem, 1.7vw, 1.55rem);
    line-height: 1.05;
}

.after__steps li > span:last-child {
    color: rgba(242, 240, 236, .72);
    font-size: .9375rem;
}

.after__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: clamp(40px, 5vw, 64px);
}

/* ---------- Pro, maestri and the centre call ---------- */

.coach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px clamp(28px, 5vw, 88px);
    margin-top: clamp(64px, 8vw, 120px);
}

.coach__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.coach__copy {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.coach__copy h3 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.coach__copy p {
    max-width: 42ch;
    font-size: 1.125rem;
}

.club {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    align-items: end;
    gap: 24px clamp(28px, 4vw, 64px);
    margin-top: clamp(64px, 8vw, 120px);
    padding-block: clamp(32px, 4vw, 56px);
    border-block: 2px solid var(--ink);
    text-decoration: none;
}

.club__q {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(2.8rem, 7.4vw, 5.6rem);
    line-height: .95;
}

.club__side {
    display: grid;
    gap: 20px;
    justify-items: start;
    font-size: 1.125rem;
    font-weight: 500;
}

.club:hover .btn {
    background: var(--ink-2);
}

.club:hover .btn .ico {
    translate: 4px 0;
}

@media (max-width: 1080px) {
    .lines__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(240px, 40vw);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .line {
        scroll-snap-align: start;
    }

    .wear__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .wear__donna img {
        aspect-ratio: 16 / 9;
        object-position: 50% 25%;
    }

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

    .after__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lines__cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc__head,
    .coach,
    .club {
        grid-template-columns: 1fr;
    }

    .blog__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .post a {
        grid-template-columns: 38% minmax(0, 1fr);
        column-gap: 18px;
    }

    .post__img {
        grid-row: span 3;
        margin: 0;
    }

    .post:first-child a {
        grid-template-columns: minmax(0, 1fr);
    }

    .post:first-child .post__img {
        grid-row: auto;
    }

    .post:not(:first-child) .post__excerpt {
        display: none;
    }

    .member__inner,
    .pts__head,
    .pts__levels {
        grid-template-columns: minmax(0, 1fr);
    }

    .member__big {
        font-size: clamp(6rem, 33vw, 9rem);
        margin-bottom: .45em;
    }

    .mcard {
        left: 22%;
        top: 40%;
        width: 66%;
    }

    .hs__slide--member .hero__note {
        display: none;
    }
}

@media (max-width: 640px) {
    .lines__list {
        grid-auto-columns: 72vw;
    }

    .wear__photo img {
        aspect-ratio: 4 / 5;
        max-height: none;
        object-position: 50% 20%;
    }

    .wear__plate {
        position: relative;
        width: 100%;
    }

    .wear__trio {
        min-height: 0;
    }

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

    .svc__list {
        gap: 24px 14px;
    }
}
