@import "tailwindcss";

:root {
    --yellow: #ffd55f;
    --ink: #202020;
    --cream: #efefea;
    --white: #fafaf7
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

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

.shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.05em
}

.logo span {
    font-size: .45em;
    vertical-align: top
}

.micro {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .66rem;
    font-weight: 800;
    color: var(--yellow)
}

.micro.dark {
    color: var(--ink)
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    border: 1px solid var(--ink);
    transition: transform .2s, box-shadow .2s
}

.pill:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 var(--ink)
}

.pillYellow {
    background: var(--yellow);
    color: var(--ink)
}

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

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

.outlined {
    margin-top: 24px
}

.hero {
    height: 920px;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white)
}

.nav {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 8;
    border-bottom: 1px solid rgba(255, 255, 255, .3)
}

.navLinks {
    display: flex;
    gap: 34px;
    font-size: .74rem
}

.heroPhoto {
    position: absolute;
    inset: 0;
    width: 130%;
    height: 120%;
    object-fit: cover;
    object-position: center
}

.heroShade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(32, 32, 32, .93) 0%, rgba(32, 32, 32, .78) 32%, rgba(32, 32, 32, .08) 67%, rgba(32, 32, 32, 0) 100%)
}

.heroContent {
    position: relative;
    z-index: 3;
    text-align: left;
    padding-top: 108px;
    margin-left: max(24px, calc((100% - 1200px)/2));
    width: min(620px, 48vw)
}

.heroContent h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(4.6rem, 7.2vw, 7.7rem);
    line-height: .78;
    letter-spacing: -.07em;
    margin: 32px 0 24px;
    color: var(--yellow);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25)
}

.heroContent h1 small {
    font-size: .16em;
    font-style: italic;
    letter-spacing: 0;
    vertical-align: top;
    margin-right: 8px;
    display: block;
}

part {
    display: block;
}

.heroLead {
    font-size: 1rem;
    font-weight: 700
}

.heroButtons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap
}

.heroButtons .pill {
    padding-inline: 18px
}

.ribbonStage {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: 78px;
    height: 170px;
    z-index: 5
}

.ribbon {
    position: absolute;
    left: -4%;
    width: 108%;
    padding: 15px 0;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid var(--ink);
    font-family: Georgia, serif;
    font-style: italic;
    font-size: .96rem;
    color: var(--ink)
}

.ribbonCream {
    background: var(--cream);
    transform: rotate(4deg);
    top: 45px
}

.ribbonYellow {
    background: var(--yellow);
    transform: rotate(-5deg);
    top: 68px
}

.ribbonTrack {
    display: flex;
    width: max-content;
    animation: ribbonFlow 18s linear infinite
}

.ribbonYellow .ribbonTrack {
    animation-direction: reverse;
    animation-duration: 15s
}

.ribbonTrack span {
    padding-right: 10px
}

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

.about {
    padding: 130px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.about h2,
.services h2,
.team h2,
.cta h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em
}

.about h2 {
    font-size: clamp(3.2rem, 5.2vw, 5.5rem);
    line-height: .92;
    margin: 22px 0
}

.about h2 em,
.services h2 em,
.team h2 em {
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1.25px var(--ink)
}

.aboutCopy>p:not(.micro) {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 570px
}

.aboutCollage {
    height: 570px;
    position: relative
}

.aboutCollage img {
    position: absolute;
    object-fit: cover;
    border: 1px solid var(--ink);
    border-radius: 36px
}

.collageMain {
    width: 68%;
    height: 63%;
    left: 0;
    top: 4%
}

.collageYani {
    width: 42%;
    height: 52%;
    right: 0;
    bottom: 0
}

.collageMatt {
    width: 30%;
    height: 40%;
    left: 18%;
    bottom: 0
}

.badge {
    position: absolute;
    right: 8%;
    top: 2%;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: var(--yellow);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: .64rem;
    font-weight: 900;
    transform: rotate(8deg);
    border: 1px solid var(--ink)
}

.services {
    background: #d7d5ce;
    padding: 115px 0
}

.servicesHead {
    display: grid;
    grid-template-columns: .55fr 1.4fr 1fr;
    gap: 45px;
    align-items: start;
    margin-bottom: 65px
}

.services h2 {
    font-size: clamp(3rem, 4.7vw, 5rem);
    line-height: .92;
    margin: 0
}

.servicesHead>p:last-child {
    line-height: 1.7;
    margin: 0
}

.serviceList {
    border-top: 1px solid var(--ink)
}

.serviceList article {
    display: grid;
    grid-template-columns: 70px 1fr 1.2fr 40px;
    gap: 24px;
    align-items: center;
    padding: 30px 18px;
    border-bottom: 1px solid var(--ink);
    transition: .25s
}

.serviceList article:hover {
    background: var(--yellow);
    padding-left: 28px
}

.serviceList span {
    font-size: .68rem
}

.serviceList h3 {
    font-family: Georgia, serif;
    font-size: 1.85rem;
    margin: 0
}

.serviceList p {
    font-size: .86rem;
    line-height: 1.55;
    margin: 0
}

.serviceList b {
    font-size: 1.5rem
}

.team {
    background: var(--ink);
    color: var(--cream);
    padding-top: 115px
}

.teamHead {
    display: grid;
    grid-template-columns: .5fr 1.5fr;
    gap: 40px;
    align-items: start
}

.team h2 {
    font-size: clamp(3.2rem, 6vw, 6.3rem);
    line-height: .88;
    margin: 0
}

.team h2 em {
    -webkit-text-stroke-color: var(--yellow)
}

.teamCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 75px
}

.personCard {
    background: #2b2b2b;
    border: 1px solid #4a4a4a;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 390px;
    overflow: hidden;
    border-radius: 8px
}

.personCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #f7f5ef
}

.personCard>div {
    padding: 34px
}

.personCard span {
    font-size: .58rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--yellow)
}

.personCard h3 {
    font-family: Georgia, serif;
    font-size: 2.4rem;
    margin: 18px 0
}

.personCard p {
    color: #c9c8c1;
    line-height: 1.65;
    font-size: .88rem
}

.cta {
    background: var(--yellow);
    color: var(--ink);
    margin-top: 100px;
    padding: 56px;
    display: grid;
    grid-template-columns: .6fr 1.5fr auto;
    align-items: end;
    gap: 30px;
    border-radius: 8px
}

.cta>p {
    text-transform: uppercase;
    font-size: .65rem;
    letter-spacing: .12em
}

.cta h2 {
    font-size: 3.8rem;
    line-height: .9;
    margin: 0
}

.cta h2 em {
    font-weight: 400
}

.footer {
    margin-top: 90px;
    padding: 34px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #494949;
    color: #aaa;
    font-size: .66rem
}

.instagramLink {
    color: var(--yellow);
    font-weight: 800
}

.instagramLink:hover {
    text-decoration: underline
}

@media(max-width:900px) {
    .shell {
        width: min(100% - 28px, 1200px)
    }

    .navLinks {
        display: none
    }

    .hero {
        height: 820px
    }

    .heroContent {
        padding-top: 135px;
        width: min(590px, 76vw)
    }

    .heroContent h1 {
        font-size: clamp(4.2rem, 14vw, 7rem)
    }

    .about {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .servicesHead {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .serviceList article {
        grid-template-columns: 50px 1fr 30px
    }

    .serviceList article p {
        grid-column: 2/3
    }

    .teamHead {
        grid-template-columns: 1fr
    }

    .teamCards {
        grid-template-columns: 1fr
    }

    .cta {
        grid-template-columns: 1fr
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px
    }
}

@media(max-width:560px) {
    .nav .pill {
        padding: 10px 13px
    }

    .hero {
        height: 760px
    }

    .heroPhoto {
        object-position: 62% top
    }

    .heroShade {
        background: linear-gradient(180deg, rgba(32, 32, 32, .87) 0%, rgba(32, 32, 32, .52) 52%, rgba(32, 32, 32, .1) 100%)
    }

    .heroContent {
        padding-top: 84px;
        margin-inline: 14px;
        width: auto;
        text-align: center
    }

    .heroContent h1 {
        font-size: 3.75rem;
        line-height: .82
    }

    .heroLead {
        padding-inline: 20px
    }

    .heroButtons {
        flex-direction: column;
        align-items: center;
        z-index: 1;
    }

    .heroButtons .pill {
        min-width: 245px
    }

    .ribbonStage {
        top: 615px;
    }

    .about {
        padding: 85px 0
    }

    .aboutCollage {
        height: 470px
    }

    .collageMain {
        width: 78%
    }

    .collageMatt {
        left: 4%;
        width: 36%
    }

    .collageYani {
        width: 48%
    }

    .serviceList article {
        padding-inline: 6px
    }

    .serviceList h3 {
        font-size: 1.45rem
    }

    .team {
        padding-top: 80px
    }

    .personCard {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .personCard img {
        height: 380px;
        object-position: center 20%
    }

    .cta {
        padding: 32px;
        margin-top: 70px
    }

    .cta h2 {
        font-size: 3rem
    }
}

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

    .ribbonTrack {
        animation: none
    }

    .pill,
    .serviceList article {
        transition: none
    }
}