:root {
    --ink: #251813;
    --cream: #f7f1e8;
    --caramel: #b56a42;
    --rose: #d7957b;
    --line: rgba(37, 24, 19, .14)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden
}

.grain {
    position: fixed;
    inset: 0;
    opacity: .025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 5
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.header {
    height: 86px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white
}

.brand {
    color: inherit;
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.7px
}

.brand span {
    border: 1px solid currentColor;
    display: inline-grid;
    place-items: center;
    margin-right: 10px;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    font-size: 8px;
    letter-spacing: 0
}

.brand i {
    font-family: 'Playfair Display';
    font-weight: 600
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px
}

.nav a {
    color: inherit;
    text-decoration: none;
    font-size: 13px
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, .7);
    padding: 11px 17px;
    border-radius: 30px
}

.menu-toggle {
    display: none
}

.hero {
    min-height: 720px;
    height: 100svh;
    max-height: 900px;
    position: relative;
    color: #fff;
    display: grid;
    align-items: center;
    overflow: hidden
}

.hero-image,
.contact-image {
    position: absolute;
    inset: 0;
    background: center/cover url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=1900&q=85')
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 13, 9, .78), rgba(24, 13, 9, .29) 58%, rgba(24, 13, 9, .12)), linear-gradient(0deg, rgba(24, 13, 9, .35), transparent 50%)
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 75px
}

.eyebrow,
.overline {
    font-size: 10px;
    letter-spacing: 2.3px;
    font-weight: 700;
    margin: 0 0 18px
}

.hero h1,
.contact h2 {
    font: 600 clamp(46px, 6.5vw, 86px)/.99 'Playfair Display';
    letter-spacing: -3px;
    margin: 0;
    max-width: 850px
}

.hero h1 em,
h2 em {
    color: #f5c5ae;
    font-weight: 600
}

.hero-copy {
    max-width: 430px;
    line-height: 1.65;
    font-size: 16px;
    margin: 28px 0
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 15px 19px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700
}

.button b {
    font-size: 21px;
    font-weight: 400
}

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

.play-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px
}

.play-link span {
    display: inline-grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    height: 28px;
    width: 28px;
    margin-right: 9px;
    font-size: 9px
}

.hero-note {
    position: absolute;
    bottom: 70px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px
}

.hero-note span {
    width: 35px;
    height: 1px;
    background: #f5c5ae
}

.scroll-cue {
    position: absolute;
    bottom: 32px;
    right: max(24px, calc((100vw - 1180px)/2));
    z-index: 1;
    font-size: 10px;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-transform: uppercase
}

.scroll-cue i {
    font-size: 18px;
    margin-top: 10px
}

.intro {
    display: grid;
    grid-template-columns: 1fr 2fr 1.15fr;
    gap: 50px;
    padding: 140px 0
}

.intro-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: bold
}

.intro-label span {
    color: var(--rose);
    margin-right: 10px
}

.overline {
    color: var(--caramel)
}

h2 {
    font: 600 clamp(35px, 4.1vw, 58px)/1.07 'Playfair Display';
    letter-spacing: -2px;
    margin: 0
}

h2 em {
    color: var(--caramel)
}

.intro-copy {
    padding-top: 30px;
    font-size: 14px;
    line-height: 1.75
}

.intro-copy a,
.socials a {
    display: inline-block;
    color: var(--ink);
    font-weight: 700;
    font-size: 12px;
    margin-top: 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--caramel);
    padding-bottom: 5px
}

.courses {
    background: #30201a;
    color: #f9f3eb;
    padding: 115px 0 125px
}

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 48px
}

.section-top .overline {
    color: #e9a682
}

.section-top>p {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
    color: #d6c6b9
}

.course-grid {
    display: grid;
    grid-template-columns: 1.1fr .95fr .95fr;
    gap: 18px
}

.course-card {
    background: #f6eee4;
    color: var(--ink);
    min-height: 470px;
    display: flex;
    flex-direction: column
}

.course-img {
    height: 235px;
    background-size: cover;
    background-position: center
}

.cake {
    background-image: url('https://images.unsplash.com/photo-1558301211-0d8c8ddee6ec?auto=format&fit=crop&w=900&q=80')
}

.decor {
    background-image: url('https://images.unsplash.com/photo-1464349095431-e9a21285b5f3?auto=format&fit=crop&w=900&q=80')
}

.business {
    background-image: url('https://images.unsplash.com/photo-1571115177098-24ec42ed204d?auto=format&fit=crop&w=900&q=80')
}

.course-info {
    padding: 23px 25px;
    display: flex;
    flex: 1;
    flex-direction: column
}

.course-info span {
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #a86646;
    font-weight: bold
}

.course-info h3 {
    font: 600 31px/1 'Playfair Display';
    letter-spacing: -1px;
    margin: 15px 0 13px
}

.course-info p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    color: #67554e
}

.course-info a {
    margin-top: auto;
    color: var(--ink);
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 16px
}

.course-info a b {
    font-size: 20px;
    font-weight: 400
}

.portfolio {
    padding: 130px 0
}

.profile-panel {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    background: #e8b19a;
    padding: 42px;
    max-width: 700px;
    align-items: center
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #663923, #e8a87f);
    color: #fff;
    font: 600 42px 'Playfair Display';
    border: 8px solid rgba(255, 255, 255, .35)
}

.profile-panel h2 {
    font-size: 43px
}

.profile-panel h2 em {
    color: #764329
}

.profile-panel p:not(.overline) {
    font-size: 13px;
    line-height: 1.65;
    max-width: 320px
}

.socials {
    display: flex;
    gap: 17px
}

.portfolio-title {
    margin: 100px 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: end
}

.gallery {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.1fr;
    grid-template-rows: 250px;
    gap: 15px
}

.gallery-item {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden
}

.gallery-item:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(27, 13, 8, .65), transparent 60%)
}

.gallery-item span {
    position: absolute;
    bottom: 17px;
    left: 18px;
    z-index: 1;
    color: white;
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: bold
}

.g1 {
    background-image: url('https://images.unsplash.com/photo-1542826438-bd32f43d626f?auto=format&fit=crop&w=1000&q=80')
}

.g2 {
    background-image: url('https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=800&q=80')
}

.g3 {
    background-image: url('https://images.unsplash.com/photo-1563729784474-d77dbb933a9e?auto=format&fit=crop&w=1000&q=80')
}

.contact {
    height: 580px;
    color: white;
    position: relative;
    display: grid;
    align-items: center
}

.contact-image {
    background-image: url('https://images.unsplash.com/photo-1550617931-e17a7b70dce2?auto=format&fit=crop&w=1900&q=85')
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 16, 10, .67)
}

.contact-content {
    position: relative;
    z-index: 1
}

.contact h2 {
    font-size: clamp(43px, 5vw, 70px)
}

.contact-content>p:not(.eyebrow) {
    max-width: 420px;
    line-height: 1.7;
    font-size: 15px;
    margin: 23px 0 28px
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 25px
}

.text-link {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #e8ad8c;
    padding-bottom: 5px
}

footer {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #725e55
}

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

@media(max-width:720px) {
    .container {
        width: min(100% - 36px, 550px)
    }

    .header {
        height: 72px
    }

    .nav {
        display: none;
        position: absolute;
        top: 63px;
        right: 0;
        background: #30201a;
        width: 220px;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px
    }

    .nav.open {
        display: flex
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        background: none;
        border: 0;
        padding: 5px
    }

    .menu-toggle span {
        width: 23px;
        height: 1px;
        background: white
    }

    .hero {
        min-height: 650px
    }

    .hero h1 {
        letter-spacing: -2px
    }

    .hero-actions {
        flex-wrap: wrap
    }

    .hero-note {
        bottom: 55px
    }

    .scroll-cue {
        display: none
    }

    .intro {
        display: block;
        padding: 80px 0
    }

    .intro-label {
        margin-bottom: 45px
    }

    .intro-copy {
        padding-top: 22px
    }

    .courses {
        padding: 75px 0
    }

    .section-top {
        display: block
    }

    .section-top>p {
        margin-top: 18px
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .course-card {
        min-height: 420px
    }

    .course-img {
        height: 220px
    }

    .portfolio {
        padding: 75px 0
    }

    .profile-panel {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 22px
    }

    .profile-photo {
        width: 110px;
        height: 110px;
        font-size: 33px
    }

    .portfolio-title {
        display: block;
        margin: 75px 0 30px
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 190px 150px
    }

    .g1 {
        grid-column: span 2
    }

    .contact {
        height: auto;
        min-height: 590px
    }

    .contact-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    footer {
        height: auto;
        padding: 28px 0;
        gap: 18px;
        flex-wrap: wrap
    }
}