.hero {
    min-height: 76.25rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 32.5rem 43.75rem;
    overflow: hidden;
    background: var(--color-cream);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8rem;
    background: linear-gradient(170deg, transparent 0 49%, var(--color-paper) 50%);
    pointer-events: none;
}

.hero-portrait {
    min-width: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-portrait--long {
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero-portrait--short {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-center {
    padding: 4.7rem var(--page-gutter) 8.5rem;
    position: relative;
    z-index: 5;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: rgb(255 250 240 / 80%);
}

.hero-center h1 {
    max-width: 32rem;
    font-size: clamp(3rem, 14vw, 3.65rem);
}

.hero-center h1 em {
    color: var(--color-sage-dark);
}

.hero-intro {
    max-width: 27rem;
    margin: 1.9rem auto;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.heart-trace {
    width: min(23rem, 112vw);
    height: 32.5rem;
    position: absolute;
    z-index: 4;
    top: 1.1rem;
    left: 50%;
    overflow: visible;
    fill: none;
    stroke: var(--color-pink);
    stroke-width: 2;
    transform: translateX(-50%);
    pointer-events: none;
}

.heart-trace path:last-child {
    stroke: var(--color-sage-dark);
    stroke-dasharray: .012 .025;
    opacity: .55;
}

.motion-ready .heart-trace path:first-child {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.25s cubic-bezier(.22, 1, .36, 1) 250ms;
}

.motion-ready .hero.hero-ready .heart-trace path:first-child {
    stroke-dashoffset: 0;
}

.motion-ready .hero-portrait--long {
    transform: translateX(-2.3rem);
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .hero-portrait--short {
    transform: translateX(2.3rem);
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .hero.hero-ready .hero-portrait {
    transform: translateX(0);
}

.generation-index {
    width: calc(100% - 2.75rem);
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 4.6rem;
    display: flex;
    justify-content: space-between;
    color: var(--color-pink-dark);
    font-family: var(--font-display);
    font-size: 1.05rem;
    transform: translateX(-50%);
}

.generation-index span {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background: var(--color-paper);
    border: 1px solid currentColor;
    border-radius: 50%;
}

.motion-ready .generation-index span {
    opacity: 0;
    transform: scale(.75);
    transition: opacity 350ms ease var(--index-delay), transform 450ms cubic-bezier(.22, 1, .36, 1) var(--index-delay);
}

.motion-ready .hero.hero-ready .generation-index span {
    opacity: 1;
    transform: scale(1);
}

.hero-address {
    position: absolute;
    z-index: 7;
    right: .5rem;
    bottom: 4.9rem;
    font-size: .5rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.generations {
    --weave-progress: 0;
    min-height: 93rem;
    padding: 5.6rem var(--page-gutter);
    position: relative;
    overflow: hidden;
    color: var(--color-paper);
    background: var(--color-ink);
}

.generations-heading,
.strands {
    position: relative;
    z-index: 5;
}

.generations h2 {
    margin-top: 1.4rem;
    font-size: clamp(3rem, 13.4vw, 3.8rem);
}

.generations h2 em {
    color: var(--color-sage);
}

.strands {
    margin: 5rem 0 0;
    padding: 0;
    list-style: none;
}

.strand {
    min-height: 14.3rem;
    padding: 2.25rem .9rem;
    position: relative;
    display: grid;
    grid-template-columns: 3.1rem 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    border-top: 1px solid rgb(255 250 240 / 35%);
}

.strand:last-child {
    border-bottom: 1px solid rgb(255 250 240 / 35%);
}

.strand::after {
    content: "";
    width: 32%;
    height: .18rem;
    position: absolute;
    right: 0;
    bottom: -.1rem;
    background: var(--color-pink);
    transform: scaleX(.2);
    transform-origin: right center;
    transition: height var(--transition-fast), transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.strand:hover::after,
.strand:focus-visible::after,
.strand.is-active::after {
    height: .38rem;
    transform: scaleX(1);
}

.strand .roman {
    color: var(--color-pink);
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.strand strong {
    font-family: var(--font-display);
    font-size: clamp(2.45rem, 11vw, 3.15rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .95;
}

.strand small {
    grid-column: 2;
    justify-self: start;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.strand--2,
.strand--4 {
    margin-left: 1.5rem;
}

.strand--3 {
    margin-right: 1.5rem;
}

.strand--2 strong,
.strand--4 strong {
    color: var(--color-sage);
}

.strand--3 strong {
    color: var(--color-pink);
}

.weave {
    width: 240vw;
    height: 60rem;
    position: absolute;
    z-index: 2;
    top: 26.8rem;
    left: -70vw;
    overflow: visible;
    fill: none;
    stroke-width: 26;
    opacity: .23;
    transform: rotate(90deg);
    pointer-events: none;
}

.weave path {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--weave-progress));
}

.weave-pink { stroke: var(--color-pink); }
.weave-green { stroke: var(--color-sage); }
.weave-cream { stroke: var(--color-paper); stroke-width: 4; }

.duality {
    background: var(--color-paper);
}

.duality-heading {
    min-height: 36rem;
    padding: 5.7rem var(--page-gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.duality-heading h2 {
    margin-top: 1.5rem;
    font-size: clamp(3.35rem, 15vw, 4.25rem);
}

.duality-heading h2 span {
    color: var(--color-pink);
}

.duality-heading > p:last-child {
    margin-top: 2.7rem;
    font-family: var(--font-display);
    font-size: 1.18rem;
}

.practice {
    min-height: 57.5rem;
    display: grid;
    grid-template-rows: 30rem 27.5rem;
    overflow: hidden;
}

.practice-photo {
    min-height: 30rem;
    position: relative;
    overflow: hidden;
}

.practice-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practice-copy {
    min-height: 27.5rem;
    padding: 4.4rem var(--page-gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.practice--long .practice-copy {
    color: var(--color-paper);
    background: var(--color-sage-dark);
}

.practice--short .practice-copy {
    background: var(--color-rose);
}

.practice-copy > p {
    margin-bottom: 2rem;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.practice-copy h3 {
    font-size: clamp(3rem, 13.8vw, 3.8rem);
}

.practice-copy a {
    min-height: 2.75rem;
    margin-top: 2.5rem;
    padding: .7rem 0 .3rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    border-bottom: 1px solid currentColor;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}

.motion-ready .practice[data-practice="left"] .practice-photo {
    transform: translateX(-2.2rem);
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .practice[data-practice="right"] .practice-photo {
    transform: translateX(2.2rem);
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .practice[data-practice="left"] .practice-copy,
.motion-ready .practice[data-practice="right"] .practice-copy {
    transform: translateY(1rem);
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .practice.is-visible .practice-photo,
.motion-ready .practice.is-visible .practice-copy {
    transform: translateX(0);
}

.statement {
    min-height: 61.25rem;
    padding: 6.2rem var(--page-gutter) 4.5rem;
    position: relative;
    display: grid;
    grid-template-rows: auto 22.5rem;
    overflow: hidden;
    background: var(--color-cream);
}

.statement-mark {
    position: absolute;
    top: -2.8rem;
    left: 1.1rem;
    color: rgb(237 127 169 / 25%);
    font-family: var(--font-display);
    font-size: 21rem;
    line-height: 1;
}

.statement-copy {
    position: relative;
    z-index: 3;
}

.statement h2 {
    margin-top: 1.5rem;
    font-size: clamp(3.15rem, 13.8vw, 4rem);
}

.statement-copy > p:last-child {
    margin-top: 2.2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.statement-profile {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
}

.statement-profile svg {
    width: 18rem;
    overflow: visible;
    fill: none;
    stroke: var(--color-pink-dark);
    stroke-width: 2.5;
}

.statement-profile path {
    transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.statement-profile path:last-child {
    stroke: var(--color-sage-dark);
}

.motion-ready .statement-profile path:first-child {
    transform: translateX(-1.6rem);
}

.motion-ready .statement-profile path:last-child {
    transform: translateX(1.6rem);
}

.motion-ready .statement.is-visible .statement-profile path {
    transform: translateX(0);
}

.contact {
    min-height: 53rem;
    padding: 5.3rem var(--page-gutter) 7.5rem;
    position: relative;
    overflow: hidden;
    color: var(--color-paper);
    background: var(--color-sage-dark);
}

.contact-logo {
    width: 10.4rem;
    padding: .75rem;
    background: var(--color-paper);
}

.contact-logo img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.contact-copy {
    margin-top: 5.2rem;
    position: relative;
    z-index: 3;
}

.contact h2 {
    margin-top: 1.4rem;
    font-size: clamp(3.9rem, 17vw, 5rem);
}

.contact h2 em {
    color: var(--color-sage);
}

.contact-details {
    max-width: 56rem;
    margin-top: 4rem;
    position: relative;
    z-index: 4;
    display: grid;
    gap: .7rem;
    font-style: normal;
}

.contact-details a,
.contact-details span {
    min-height: 2.75rem;
    padding: .65rem 0 .45rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(255 250 240 / 55%);
    text-decoration: none;
}

.contact-line {
    width: 230%;
    height: 16rem;
    position: absolute;
    z-index: 2;
    bottom: 3.7rem;
    left: -65%;
    overflow: visible;
    fill: none;
    stroke: var(--color-pink);
    stroke-width: 18;
    opacity: .72;
    pointer-events: none;
}

.contact-line path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.35s cubic-bezier(.22, 1, .36, 1);
}

.contact.is-visible .contact-line path {
    stroke-dashoffset: 0;
}

@media (min-width: 48rem) {
    .hero {
        min-height: 62.5rem;
        grid-template-rows: 35rem 27.5rem;
    }

    .hero-portrait {
        clip-path: none;
    }

    .hero-center {
        padding: .75rem 12vw 4rem;
        justify-content: flex-start;
    }

    .hero-center h1 {
        font-size: clamp(3rem, 6.5vw, 3.35rem);
    }

    .heart-trace {
        width: 29.5rem;
        height: 36.8rem;
    }

    .generation-index {
        width: 56vw;
        bottom: 4.5rem;
    }

    .hero-address {
        right: auto;
        left: 1.8rem;
    }

    .generations {
        min-height: 85.6rem;
        padding: 8rem 6vw 7rem;
    }

    .generations h2 {
        font-size: clamp(4.2rem, 8.5vw, 6rem);
    }

    .strands {
        margin-top: 7.5rem;
    }

    .strand {
        min-height: 11rem;
        padding: 2rem 4vw;
        grid-template-columns: 4.4rem 1fr 10.6rem;
        grid-template-rows: auto;
    }

    .strand strong {
        font-size: clamp(3.1rem, 6.7vw, 5rem);
    }

    .strand small {
        grid-column: auto;
        justify-self: end;
    }

    .strand--2,
    .strand--4 {
        margin-left: 5vw;
    }

    .strand--3 {
        margin-right: 5vw;
    }

    .weave {
        width: 104vw;
        height: 50rem;
        top: 25.5rem;
        left: -2vw;
        transform: none;
    }

    .duality-heading {
        min-height: 32.5rem;
        padding: 6.5rem 7vw;
        display: grid;
        grid-template-columns: 1fr .72fr;
        column-gap: 5vw;
        align-content: center;
    }

    .duality-heading .eyebrow {
        grid-column: 1 / -1;
    }

    .duality-heading h2 {
        font-size: clamp(4.4rem, 8.4vw, 6.4rem);
    }

    .duality-heading > p:last-child {
        margin-top: 0;
        align-self: end;
    }

    .practice {
        min-height: 75rem;
        grid-template-rows: 40.6rem 34.4rem;
    }

    .practice-photo {
        min-height: 40.6rem;
    }

    .practice-copy {
        min-height: 34.4rem;
        padding: 6.2rem 10vw;
    }

    .practice-copy h3 {
        font-size: clamp(3.8rem, 7.4vw, 5.5rem);
    }

    .statement {
        min-height: 56.25rem;
        padding: 8.5rem 7vw;
        grid-template-columns: 1fr .55fr;
        grid-template-rows: auto;
        align-items: center;
    }

    .statement h2 {
        font-size: clamp(4.5rem, 8.2vw, 6.3rem);
    }

    .statement-copy > p:last-child {
        max-width: 36rem;
        font-size: 1.25rem;
    }

    .statement-profile svg {
        width: min(21rem, 36vw);
    }

    .contact {
        min-height: 51.25rem;
        padding: 8rem 7vw 10rem;
    }

    .contact-logo {
        width: 13rem;
    }

    .contact h2 {
        font-size: clamp(5.2rem, 10vw, 8rem);
    }

    .contact-details {
        margin-left: auto;
        grid-template-columns: 1fr 1fr;
        gap: 1.4rem 3.4rem;
    }

    .contact-details span {
        grid-column: 1 / -1;
    }

    .contact-line {
        width: 100%;
        left: 0;
    }
}

@media (min-width: 73.75rem) {
    .hero {
        min-height: 58.1rem;
        grid-template-columns: 1fr .86fr 1fr;
        grid-template-rows: 1fr;
    }

    .hero::before {
        height: 11.25rem;
    }

    .hero-portrait {
        min-height: 58.1rem;
    }

    .hero-portrait--long {
        grid-column: 1;
        grid-row: 1;
        clip-path: polygon(0 0, 82% 0, 100% 22%, 86% 47%, 100% 72%, 76% 100%, 0 100%);
    }

    .hero-portrait--short {
        grid-column: 3;
        grid-row: 1;
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 24% 100%, 0 72%, 14% 47%, 0 22%);
    }

    .hero-center {
        padding: 9.4rem 1rem 11.9rem;
        grid-column: 2;
        grid-row: 1;
    }

    .hero-center h1 {
        font-size: clamp(3.7rem, 5.7vw, 5.75rem);
    }

    .heart-trace {
        width: min(44vw, 38.75rem);
        height: 47.5rem;
        top: 4.5rem;
    }

    .generation-index {
        width: min(31.25rem, 40vw);
        bottom: 6.1rem;
    }

    .hero-address {
        bottom: 6.4rem;
    }

    .generations {
        min-height: 88.75rem;
        padding: 9.4rem 7vw 7.5rem;
    }

    .generations-heading {
        max-width: 65rem;
    }

    .generations h2 {
        font-size: clamp(4.8rem, 7.6vw, 7.6rem);
    }

    .strand {
        grid-template-columns: 5.6rem 1fr 15rem;
    }

    .strand strong {
        font-size: clamp(3.1rem, 6vw, 5.5rem);
    }

    .strand--2 { margin-left: 8vw; }
    .strand--3 { margin-right: 10vw; }
    .strand--4 { margin-left: 15vw; }

    .weave {
        top: 25.6rem;
    }

    .duality-heading {
        min-height: 35rem;
        grid-template-columns: 1fr 1fr;
    }

    .duality-heading h2 {
        font-size: clamp(5rem, 8.2vw, 8.25rem);
    }

    .practice {
        min-height: 53.1rem;
        grid-template-columns: 1.15fr .85fr;
        grid-template-rows: 1fr;
    }

    .practice--short {
        grid-template-columns: .85fr 1.15fr;
    }

    .practice-photo,
    .practice-copy {
        min-height: 53.1rem;
    }

    .practice--long .practice-photo {
        clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    }

    .practice--short .practice-photo {
        grid-column: 2;
        grid-row: 1;
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    }

    .practice--short .practice-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .practice-copy {
        padding: 6.25rem 7vw;
    }

    .practice-copy h3 {
        font-size: clamp(3.7rem, 6.4vw, 6.4rem);
    }

    .statement {
        min-height: 58.75rem;
        grid-template-columns: 1.15fr .85fr;
    }

    .statement h2 {
        font-size: clamp(4.5rem, 8vw, 8rem);
    }

    .statement-profile svg {
        width: min(30rem, 36vw);
    }

    .contact h2 {
        font-size: clamp(5.5rem, 10vw, 9.9rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .heart-trace path,
    .weave path,
    .contact-line path {
        stroke-dashoffset: 0 !important;
    }

    .hero-portrait,
    .generation-index span,
    .practice-photo,
    .practice-copy,
    .statement-profile path {
        opacity: 1 !important;
        transform: none !important;
    }
}
