:root {
    --ink: #211d19;
    --muted: #756d64;
    --paper: #f6f1e8;
    --white: #fffdf8;
    --warm: #e9ddcd;
    --line: #d9cfc0;
    --accent: #a65e40;
    --dark: #24201c;
    --serif: "Noto Serif Devanagari", serif;
    --display: "Khand", sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.9
}

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

.header {
    height: 82px;
    padding: 0 6vw;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #f6f1e8ee;
    backdrop-filter: blur(12px);
    z-index: 5
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo>span {
    font: 600 38px var(--display);
    color: var(--accent)
}

.logo b {
    display: block;
    font: 600 27px var(--serif);
    line-height: 1.1
}

.logo small {
    display: block;
    font: 11px var(--display);
    letter-spacing: 2px;
    color: var(--muted)
}

nav {
    display: flex;
    gap: 30px;
    font: 500 15px var(--display)
}

nav a {
    padding: 28px 0;
    position: relative
}

nav a:after {
    content: "";
    height: 1px;
    background: var(--ink);
    width: 0;
    position: absolute;
    bottom: 22px;
    right: 0;
    transition: .2s
}

nav a:hover:after,
nav a.active:after {
    width: 100%
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    padding: 7vh 8vw;
    gap: 6vw
}

.eyebrow,
.label,
.card span,
.author>div>span,
.author-row>div>span {
    font: 500 12px var(--display);
    letter-spacing: 1.7px;
    color: var(--muted);
    text-transform: uppercase
}

.hero h1,
.pagehero h1,
.authorhero h1 {
    font: 500 clamp(60px, 8vw, 112px)/1.1 var(--serif);
    margin: 18px 0
}

.hero h1 em,
.pagehero h1 em {
    font-style: italic;
    color: var(--accent)
}

.hero p,
.pagehero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 610px
}

.actions {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-top: 35px
}

.btn {
    display: inline-block;
    background: var(--dark);
    color: white;
    border: 0;
    padding: 12px 25px;
    font: 500 15px var(--display);
    cursor: pointer
}

.under,
.arrow {
    font: 500 14px var(--display);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px
}

.art {
    height: 540px;
    background: #e8ddce;
    position: relative;
    overflow: hidden
}

.circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #cda57c;
    right: 45px;
    top: 45px
}

.sheet {
    position: absolute;
    background: #fffaf0;
    width: 255px;
    height: 350px;
    top: 16%;
    left: 22%;
    transform: rotate(-7deg);
    box-shadow: 15px 25px 50px #55453520;
    text-align: center;
    padding: 55px 30px
}

.sheet span {
    font: 60px var(--display);
    color: var(--accent)
}

.sheet p {
    font-size: 23px;
    line-height: 1.5
}

.leaf {
    position: absolute;
    width: 220px;
    height: 60px;
    border: 2px solid #59604b;
    border-radius: 100% 0 100% 0
}

.l1 {
    bottom: 65px;
    right: 50px;
    transform: rotate(-30deg)
}

.l2 {
    bottom: 120px;
    right: 110px;
    transform: rotate(32deg)
}

.section {
    padding: 100px 8vw
}

.white {
    background: var(--white)
}

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw
}

.cols h2,
.section h2 {
    font-size: clamp(39px, 5vw, 66px);
    line-height: 1.2;
    font-weight: 500;
    margin: 18px 0 25px
}

.cols p {
    color: var(--muted);
    font-size: 17px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px
}

.cards.two {
    grid-template-columns: repeat(2, 1fr)
}

.card {
    min-height: 320px;
    border: 1px solid var(--line);
    padding: 32px;
    background: var(--white);
    display: flex;
    flex-direction: column
}

.card.warm {
    background: var(--warm)
}

.card.dark {
    background: var(--dark);
    color: white
}

.card.dark p,
.card.dark span {
    color: #cfc4b8
}

.card h2,
.card h3 {
    font-size: 34px;
    line-height: 1.35;
    font-weight: 500
}

.card p {
    color: var(--muted);
    font-size: 16px
}

.card a {
    margin-top: auto;
    font: 500 14px var(--display)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.authors {
    background: #e8ddce
}

.author {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 8vw;
    align-items: center;
    margin-top: 60px
}

.author.reverse {
    grid-template-columns: 1fr 350px
}

.author.reverse .portrait {
    order: 2
}

.portrait {
    aspect-ratio: 1;
    background: #c6a48c;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease
}

.photo-frame:hover img {
    transform: scale(1.03)
}

.portrait:before,
.portrait:after {
    content: "";
    position: absolute;
    border: 1px solid #352d2645;
    border-radius: 50%
}

.portrait:before {
    width: 76%;
    height: 76%
}

.portrait:after {
    width: 45%;
    height: 45%
}

.portrait b {
    font: 500 45px var(--serif);
    z-index: 1
}

.p2 {
    background: #b9c0ad
}

.author h2 {
    font-size: 58px;
    margin: 14px 0
}

.author p {
    font-size: 17px;
    color: var(--muted);
    max-width: 650px
}

.quote {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 105px 8vw
}

.quote>div {
    font: 100px var(--serif);
    height: 85px;
    color: #ad8062
}

.quote blockquote {
    font: 500 clamp(34px, 5vw, 66px)/1.45 var(--serif);
    margin: 0 auto 20px
}

.quote small {
    font: 12px var(--display);
    letter-spacing: 2px;
    color: #bdb2a7
}

.subscribe {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.subscribe p {
    color: var(--muted)
}

#newsletter {
    display: flex;
    border-bottom: 1px solid var(--ink);
    min-width: 420px
}

#newsletter input {
    border: 0;
    background: transparent;
    flex: 1;
    padding: 12px;
    font: 16px var(--serif);
    outline: 0
}

.pagehero {
    padding: 115px 8vw 90px;
    background: #e8ddce
}

.pagehero.compact {
    padding: 90px 8vw 70px
}

.pagehero p {
    font-size: 19px
}

.principles {
    background: var(--white);
    max-width: none
}

.principle {
    max-width: 900px;
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 80px 1fr;
    font-size: 17px
}

.principle b {
    font: 400 30px var(--display);
    color: var(--accent)
}

.author-list {
    display: grid;
    gap: 25px
}

.author-row {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 7vw;
    align-items: center;
    padding: 42px;
    background: var(--white)
}

.author-row h2 {
    font-size: 57px;
    margin: 12px 0
}

.note {
    font-size: 12px !important;
    color: var(--muted) !important
}

.big {
    max-width: 330px
}

.authorhero {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 9vw;
    align-items: center;
    padding: 105px 8vw;
    background: #e8ddce
}

.huge {
    width: min(430px, 100%)
}

.writinggrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px
}

.filters {
    display: flex;
    gap: 9px;
    margin-bottom: 30px
}

.filter {
    background: transparent;
    border: 1px solid var(--line);
    padding: 8px 18px;
    font: 14px var(--display);
    cursor: pointer
}

.filter.active,
.filter:hover {
    background: var(--dark);
    color: white
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    background: var(--white)
}

.contact form {
    display: grid;
    gap: 18px
}

.contact label {
    font: 13px var(--display)
}

.contact input,
.contact textarea {
    width: 100%;
    margin-top: 6px;
    padding: 13px;
    border: 1px solid var(--line);
    background: transparent;
    font: 16px var(--serif);
    outline: 0
}

.status {
    font: 13px var(--display);
    color: var(--accent)
}

footer {
    padding: 45px 6vw;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font: 13px var(--display)
}

footer>div:last-child {
    display: flex;
    justify-content: end;
    gap: 22px
}

@media(max-width:800px) {
    .header {
        height: 70px;
        padding: 0 6vw
    }

    .menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 18px 7vw;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--line)
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 10px 0
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 7vw
    }

    .hero h1 {
        font-size: 65px
    }

    .art {
        height: 390px;
        margin-top: 30px
    }

    .sheet {
        left: 18%;
        width: 215px
    }

    .circle {
        right: -30px
    }

    .section,
    .pagehero,
    .authorhero {
        padding: 70px 7vw
    }

    .cols,
    .contact {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .cards,
    .cards.two,
    .writinggrid {
        grid-template-columns: 1fr
    }

    .author,
    .author.reverse,
    .author-row,
    .authorhero {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .author.reverse .portrait {
        order: 0
    }

    .author h2,
    .author-row h2 {
        font-size: 43px
    }

    .subscribe {
        display: block
    }

    #newsletter {
        min-width: 0;
        margin-top: 25px
    }

    .principle {
        grid-template-columns: 60px 1fr
    }

    footer {
        grid-template-columns: 1fr;
        gap: 14px
    }

    footer>div:last-child {
        justify-content: start
    }

    .pagehero h1 {
        font-size: 58px
    }
}

/* Author photo support */
.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    transition: transform .45s ease
}

.portrait:hover img {
    transform: scale(1.03)
}

.portrait img+b {
    display: none
}