@font-face {
    font-family: Kohinoor;
    src: url('/assets/fonts/Kohinoor-Regular.ttf')
}

@font-face {
    font-family: Boris;
    src: url('/assets/fonts/CSBoris-Regular.otf')
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #e7e3d9;
    color: #384e39;
    font: 18px/1.7 Kohinoor, Arial, sans-serif
}

header,
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* padding: 20px clamp(24px, 6vw, 100px); */
    border-bottom: 1px solid rgba(56, 78, 57, .16)
}

.brand img {
    height: 44px;
    width: auto
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

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

nav a:hover,
.read,
h2 a:hover {
    color: #a4453e
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(64px, 10vw, 140px) clamp(24px, 6vw, 100px)
}

h1,
h2 {
    font-family: Boris, Georgia, serif;
    font-weight: 400;
    line-height: 1.02
}

h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(48px, 8vw, 110px)
}

h2 {
    margin: 8px 0;
    font-size: clamp(28px, 3vw, 42px)
}

.eyebrow,
.date {
    margin: 0 0 12px;
    color: #a4453e;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.intro {
    max-width: 670px;
    margin: 24px 0 58px;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.5
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px
}

.post {
    padding: 0 0 26px;
    border-bottom: 1px solid rgba(56, 78, 57, .2)
}

.post img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    margin-bottom: 20px
}

.post p:not(.date) {
    margin: 0 0 18px
}

.read {
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.empty {
    padding: 70px 0;
    color: rgba(56, 78, 57, .65)
}

footer {
    border-top: 1px solid rgba(56, 78, 57, .16);
    border-bottom: 0;
    font-size: 14px
}

.article {
    max-width: 950px
}

.back {
    display: inline-block;
    margin-bottom: 50px;
    color: #a4453e
}

.hero {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin: 0 0 48px
}

.body-copy {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.85
}

@media(max-width:760px) {
    header {
        align-items: flex-start;
        flex-direction: column
    }

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

    .post img {
        height: 230px
    }

    nav {
        gap: 14px
    }
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px clamp(24px, 6vw, 100px);
    border-bottom: 1px solid rgba(56, 78, 57, .16)
}

.site-footer {
    border-top: 1px solid rgba(56, 78, 57, .16);
    border-bottom: 0;
    font-size: 14px
}

.site-footer div,
.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.site-nav a {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.site-nav a.active {
    color: #a4453e
}

.site-nav .book-link {
    padding: 10px 14px;
    border-radius: 999px;
    background: #384e39;
    color: #e7e3d9
}

.site-nav .book-link:hover {
    background: #a4453e;
    color: #fff
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 58px;
    font-size: 14px
}

.blog-pagination a {
    padding: 9px 14px;
    border: 1px solid rgba(56, 78, 57, .2);
    border-radius: 999px
}

.blog-pagination a:hover {
    background: #384e39;
    color: #e7e3d9
}

@media(max-width:760px) {

    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .site-nav {
        gap: 13px
    }

    .site-footer div {
        gap: 14px
    }

    .site-nav .book-link {
        padding: 8px 12px
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(231, 227, 217, .86);
    backdrop-filter: blur(14px);
    min-height: clamp(76px, 7vw, 96px);
    padding: 0 clamp(18px, 4.4vw, 72px);
    border-bottom: 1px solid rgba(56, 78, 57, .11)
}

.site-header .brand img {
    height: clamp(30px, 3.1vw, 44px);
    display: block
}

.site-nav {
    gap: clamp(16px, 2.3vw, 34px)
}

.site-nav a {
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    font: 500 11px/1 Kohinoor, Arial, sans-serif;
    letter-spacing: .19em;
    text-transform: uppercase
}

.site-nav a.active {
    color: #384e39;
    border-color: #a4453e
}

.site-nav .book-link {
    padding: 13px 24px;
    border: 0;
    background: #a4453e;
    color: #e7e3d9
}

.site-footer {
    display: block;
    background: #384e39;
    color: #e7e3d9;
    padding: clamp(60px, 7.5vw, 110px) clamp(20px, 5.2vw, 84px) 36px;
    border: 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    max-width: 1560px;
    margin: 0 auto
}

.footer-grid img {
    height: clamp(26px, 2.6vw, 34px);
    width: auto;
    display: block;
    margin-bottom: 22px
}

.footer-grid p {
    margin: 22px 0 0;
    max-width: 26em;
    color: rgba(231, 227, 217, .7);
    font-size: 14.5px
}

.footer-grid>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 13px
}

.footer-grid a {
    color: rgba(231, 227, 217, .86);
    font-size: 15px
}

.footer-label {
    margin-bottom: 11px;
    color: rgba(231, 227, 217, .5);
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1560px;
    margin: clamp(48px, 6vw, 86px) auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(231, 227, 217, .16);
    color: rgba(231, 227, 217, .45);
    font-size: 12px
}

.footer-bottom span:last-child {
    font: 400 13px/1 Boris, Georgia, serif;
    color: rgba(231, 227, 217, .55)
}

@media(max-width:760px) {
    .site-header {
        align-items: center;
        min-height: 76px;
        padding: 16px 20px
    }

    .site-nav {
        gap: 12px
    }

    .site-nav a {
        font-size: 10px
    }

    .site-nav .book-link {
        padding: 10px 14px
    }

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

    .footer-bottom {
        margin-top: 48px
    }
}

.site-banner {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 11px 52px 11px 24px;
    background: #384e39;
    color: #e7e3d9;
    text-align: center;
    font: 400 12px/1.5 Kohinoor, Arial, sans-serif;
    letter-spacing: .06em
}

.site-banner em {
    font-style: italic
}

.site-banner a {
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(231, 227, 217, .5);
    color: #e7e3d9;
    font-weight: 500
}

.site-banner button {
    position: absolute;
    right: 18px;
    top: 50%;
    padding: 4px;
    border: 0;
    background: none;
    color: #e7e3d9;
    opacity: .55;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%)
}

.site-nav .social-link {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    opacity: .62;
    font-size: 0
}

.site-nav .social-link::before {
    font-size: 14px
}

.site-nav .social-link[href*="instagram"]::before {
    content: "◎"
}

.site-nav .social-link[href*="facebook"]::before {
    content: "f";
    font-weight: 700
}

a[href*="facebook.com"] { display: none !important }

a[data-nav="book"] span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-width: 1em
}

.footer-phone {
    color: rgba(231, 227, 217, .5);
    font-size: 15px
}

.site-footer .footer-grid>div:nth-child(3) p {
    color: rgba(231, 227, 217, .62)
}

@media(max-width:960px) {
    .site-nav .social-link {
        display: none
    }
}

@media(max-width:600px) {
    .site-banner {
        padding-right: 44px
    }

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 50;
        align-items: stretch;
        width: 100%;
    }

    [data-mobilenav] {
        width: 100%;
        flex: 0 0 auto;
        gap: 0;
    }

    [data-mobilenav] a {
        display: block;
        font-family: Boris, Georgia, serif !important;
        line-height: 1.2 !important;
        padding: 4px 0;
    }

    .site-nav {
        max-height: 0;
        overflow: hidden
    }

    .site-header:hover .site-nav,
    .site-header:focus-within .site-nav {
        max-height: 260px
    }
}

/* Shared public mobile menu: opens in place, animates, and never remains open after a desktop resize. */
@media(max-width:940px) {
    [data-header] {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    [data-mobilenav] {
        display: flex !important;
        width: 100%;
        max-height: 0;
        min-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-bottom-color: transparent !important;
        transition: max-height .38s ease, opacity .22s ease, padding .38s ease, visibility 0s linear .38s;
    }

    [data-header].menu-open [data-mobilenav] {
        max-height: 620px;
        visibility: visible;
        opacity: 1;
        padding-top: 14px !important;
        padding-bottom: 30px !important;
        border-bottom-color: rgba(56,78,57,.11) !important;
        transition: max-height .42s ease, opacity .24s ease, padding .42s ease;
    }

    [data-header].menu-open [data-burger] svg {
        display: none;
    }

    [data-header].menu-open [data-burger]::after {
        content: '×';
        font: 300 28px/1 Arial, sans-serif;
    }
}

@media(min-width:941px) {
    [data-mobilenav] {
        display: none !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    [data-mobilenav] {
        transition: none !important;
    }
}

@media(max-width:600px) {
    .site-nav {
        max-height: none;
        overflow: visible
    }
}

.site-signup {
    position: relative;
    overflow: hidden;
    padding: clamp(66px, 8.5vw, 130px) clamp(20px, 5.2vw, 84px);
    background: #a4453e;
    color: #e7e3d9
}

.signup-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 90px);
    align-items: center;
    max-width: 1560px;
    margin: 0 auto
}

.signup-eyebrow {
    margin: 0 0 20px;
    color: rgba(231, 227, 217, .66);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase
}

.site-signup h2 {
    margin: 0;
    color: #e7e3d9;
    font: 400 clamp(30px, 4vw, 60px)/1.06 Boris, Georgia, serif
}

.site-signup h2+p {
    max-width: 34em;
    margin: 22px 0 0;
    color: rgba(231, 227, 217, .82);
    font-size: clamp(15px, 1.1vw, 17.5px);
    line-height: 1.8
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.signup-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.signup-form input:not([type="checkbox"]) {
    padding: 18px 22px;
    border: 1px solid rgba(231, 227, 217, .34);
    border-radius: 999px;
    outline: 0;
    background: rgba(231, 227, 217, .09);
    color: #e7e3d9;
    font: 300 15px/1 Kohinoor, Arial, sans-serif
}

.signup-form input::placeholder {
    color: rgba(231, 227, 217, .84)
}

.signup-form label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 4px;
    color: rgba(231, 227, 217, .82);
    font-size: 12.5px;
    line-height: 1.6;
    cursor: pointer
}

.signup-form input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin: 3px 0 0;
    accent-color: #e7e3d9
}

.signup-form button {
    align-self: flex-start;
    margin-top: 6px;
    padding: 19px 34px;
    border: 0;
    border-radius: 999px;
    background: #e7e3d9;
    color: #a4453e;
    font: 500 11.5px/1 Kohinoor, Arial, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer
}

.signup-note {
    margin: 4px 0 0;
    color: rgba(231, 227, 217, .6);
    font-size: 12px;
    line-height: 1.6
}

@media(max-width:760px) {
    .signup-inner {
        grid-template-columns: 1fr
    }

    .signup-names {
        grid-template-columns: 1fr
    }
}

[data-header],
footer[style] {
    display: block
}

@media(max-width:760px) {
    footer[style]>div>div:first-child {
        grid-template-columns: 1fr !important
    }
}

@media(max-width:940px) {
    [data-desknav] {
        display: none !important
    }

    [data-burger] {
        display: flex !important
    }
}

@media(max-width:600px) {
    [data-banner] {
        flex-direction: column !important;
        gap: 1px !important;
        padding: 8px 42px 8px 12px !important;
        line-height: 1.25 !important
    }

    [data-banner]>span,
    [data-banner]>a {
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 1.35 !important
    }

    [data-header]>div {
        /* height: 76px !important; */
        /* padding-inline: 18px !important */
    }
}
