:root {
    --forest: #243c32;
    --forest-light: #344f42;
    --cream: #f8f6f0;
    --white: #ffffff;
    --text: #373a34;
    --muted: #777a70;
    --gold: #b49a68;
    --border: #e7e3d9;
    --light-green: #edf0e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}
.hero-logo {
    position: absolute;
    top: 12px;
    left: 35px;
    width: 100px;
    z-index: 10;
}

.hero-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* ==========================================
   SLIDE FROM BELOW
========================================== */

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.7s ease,
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FULL-WIDTH NAVIGATION BAR */

.breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;

    width: 100%;
    box-sizing: border-box;
    padding: 12px 8%;

    background: var(--forest);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* LOGO */

.breadcrumb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0;
}

.breadcrumb-logo img {
    display: block;
    width: 65px;
    height: 65px;
    object-fit: contain;
}

/* NAVIGATION LINKS */

.breadcrumb > a:not(.breadcrumb-logo) {
    color: var(--white);
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.breadcrumb > a:not(.breadcrumb-logo):hover {
    color: var(--gold);
}

/* SEPARATOR */

.breadcrumb > span:not(.breadcrumb-current) {
    color: var(--gold);
    font-size: 16px;
}

/* CURRENT PAGE */

.breadcrumb-current {
    color: var(--white);
    font-size: 14px;
    white-space: nowrap;
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .breadcrumb {
        gap: 12px;
        padding: 10px 5%;
        overflow-x: auto;
    }

    .breadcrumb-logo img {
        width: 48px;
        height: 48px;
    }

    .breadcrumb > a:not(.breadcrumb-logo),
    .breadcrumb-current {
        font-size: 12px;
    }
}

/* MAIN LAYOUT */

.blog-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 75px 35px 100px;
    display: grid;
    grid-template-columns: minmax(0, 780px) minmax(240px, 290px);
    gap: 70px;
    align-items: start;
}


/* ARTICLE */

.article {
    min-width: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 11px;
}

.category {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.meta-divider {
    width: 25px;
    height: 1px;
    background: var(--gold);
}

.article-title {
    margin-top: 22px;
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 3.4vw, 47px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.6px;
    color: var(--forest);
}

.article-title em {
    display: block;
    color: var(--gold);
    font-weight: 400;
}

.article-date {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.article-cover {
    margin-top: 35px;
    position: relative;
}

.article-cover img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

.image-caption {
    display: block;
    margin-top: 11px;
    color: var(--muted);
    font-size: 11px;
    font-style: italic;
}


/* ARTICLE SECTIONS */

.article-section {
    margin-top: 65px;
    scroll-margin-top: 35px;
}

.article-section p {
    margin-top: 19px;
    color: #55584f;
    font-size: 14px;
    line-height: 2.05;
}

.article-section .lead {
    margin-top: 15px;
    color: #41483f;
    font-size: 16px;
    line-height: 2.05;
}

.section-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.8;
}

.article-section h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 37px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--forest);
}

.article-section h3 {
    margin-top: 35px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--forest);
}


/* ARTICLE IMAGES */

.article-figure {
    margin: 30px 0;
}

.article-figure img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 3px;
}

.article-figure figcaption {
    margin-top: 12px;
    padding-left: 13px;
    border-left: 2px solid var(--gold);
    color: var(--muted);
    font-size: 11px;
    font-style: italic;
}


/* FOOD HIGHLIGHT */

.food-highlight {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
    margin: 40px 0;
    background: var(--cream);
    scroll-margin-top: 30px;
}

.food-image {
    min-height: 290px;
    overflow: hidden;
}

.food-image img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.food-highlight:hover .food-image img {
    transform: scale(1.04);
}

.food-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.food-content h3 {
    margin-top: 13px;
    font-size: 26px;
}

.food-content p {
    font-size: 13px;
    line-height: 1.9;
}


/* CONCLUSION */

.conclusion {
    margin-top: 85px;
    padding: 42px;
    background: var(--cream);
    border-top: 3px solid var(--gold);
}

.conclusion h2 {
    font-size: 35px;
}

.conclusion h2 em {
    color: var(--gold);
    font-weight: 400;
}

.article-cta {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 24px;
    border: none;
    background: var(--forest);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.article-cta:hover {
    background: var(--gold);
    transform: translateY(-2px);
}
/* MAIN SIDEBAR */

.sidebar {
    position: sticky;
    top: 30px;
    align-self: start;

    display: flex;
    flex-direction: column;
    gap: 25px;

    max-height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;

    min-height: 0;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #c5c9bd transparent;
}

/* SIDEBAR SCROLLBAR */

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c5c9bd;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--forest);
}

/* SIDEBAR CARDS */

.sidebar-card {
    flex-shrink: 0;
    padding: 27px;
    border: 1px solid var(--border);
    background: var(--white);
}

/* SIDEBAR HEADING */

.sidebar-card h3 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--forest);
}

/* TABLE OF CONTENTS */

.toc-card {
    position: static;
    align-self: auto;
}

.toc {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
}

/* TOC LINKS */

.toc a {
    position: relative;
    flex-shrink: 0;
    padding: 11px 0 11px 15px;
    border-bottom: 1px solid #efede7;
    color: #66695f;
    font-size: 12px;
    line-height: 1.6;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.toc a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.toc a:hover,
.toc a.active {
    color: var(--forest);
    padding-left: 20px;
}

.toc a:hover::before,
.toc a.active::before {
    opacity: 1;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 50px;
    align-items: start;
}

.blog-content {
    min-width: 0;
}
/* QUOTE CARD */

.quote-card {
    background: var(--forest);
    color: var(--white);
    border: none;
}

.quote-mark {
    display: block;
    height: 43px;
    font-family: "Playfair Display", serif;
    font-size: 68px;
    line-height: 1;
    color: var(--gold);
}

.quote-card p {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.65;
    color: var(--white);
}

.quote-author {
    display: block;
    margin-top: 22px;
    color: #d3bc8c;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.8;
}


/* CONTACT CARD */

.contact-card {
    background: var(--cream);
    border: none;
}

.contact-card p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.sidebar-button {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 18px;
    background: var(--forest);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: background 0.25s ease;
}

.sidebar-button:hover {
    background: var(--gold);
}


/* FOOTER */

.blog-footer {
    background: var(--forest);
    color: rgba(255, 255, 255, 0.8);
    padding: 65px 8% 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-logo .brand-name {
    color: var(--white);
}

.footer-logo .brand-subtitle {
    color: #d3bc8c;
}

.footer-brand p {
    max-width: 310px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h4 {
    margin-bottom: 10px;
    color: #d3bc8c;
    font-size: 10px;
    letter-spacing: 2px;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 3%;
    background: var(--dark-green);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    text-align: center;
    margin-left: 0;
}
.footer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a {
    color: white;
    text-decoration: none;
}



/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 20;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 30px;
    background: var(--forest);
    color: var(--white);
    font-size: 21px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
}


/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.02);
    }
}


/* TABLET */

@media (max-width: 1050px) {

    .site-header {
        padding: 18px 4%;
    }

    .navigation {
        gap: 17px;
    }

    .navigation > a {
        font-size: 11px;
    }

    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 35px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .sidebar-card {
        padding: 22px;
    }

    .article-cover img {
        height: 350px;
    }

    .article-figure img {
        height: 320px;
    }

}


/* MOBILE NAVIGATION */

@media (max-width: 760px) {

    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 5%;
    }

    .brand {
        align-items: center;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .navigation > a {
        font-size: 11px;
    }

    .navigation .nav-cta {
        padding: 9px 12px;
    }

    .blog-hero {
        min-height: 480px;
        padding: 65px 7%;
    }

    .hero-background {
        background:
            linear-gradient(
                90deg,
                rgba(24, 43, 34, 0.9),
                rgba(24, 43, 34, 0.55)
            ),
            url("images/blog-hero.jpg") center / cover no-repeat;
    }

    .hero-content h1 {
        font-size: clamp(42px, 8vw, 60px);
    }

    .hero-caption {
        right: 7%;
        bottom: 20px;
        font-size: 8px;
    }

    .breadcrumb {
        padding: 18px 6%;
        gap: 8px;
        font-size: 10px;
    }

    .blog-layout {
        display: flex;
        flex-direction: column;
        padding: 45px 6% 65px;
        gap: 45px;
    }

    .article {
        width: 100%;
    }

    .article-title {
        font-size: 36px;
    }

    .article-cover img {
        height: 300px;
    }

    .article-section {
        margin-top: 48px;
    }

    .article-section p {
        font-size: 13px;
        line-height: 1.95;
    }

    .article-section .lead {
        font-size: 14px;
    }

    .article-section h2 {
        font-size: 30px;
    }

    .article-section h3 {
        font-size: 22px;
    }

    .article-figure img {
        height: 280px;
    }

    .food-highlight {
        grid-template-columns: 1fr;
    }

    .food-image,
    .food-image img {
        min-height: 230px;
        height: 230px;
    }

    .food-content {
        padding: 25px;
    }

    .conclusion {
        padding: 28px;
    }

    .conclusion h2 {
        font-size: 29px;
    }

    .sidebar {
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .blog-footer {
        padding: 45px 7% 0;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .brand-name {
        font-size: 22px;
    }

    .navigation {
        gap: 10px 15px;
    }

    .navigation > a {
        font-size: 10px;
    }

    .blog-hero {
        min-height: 430px;
        padding: 55px 6%;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .hero-content h1 {
        font-size: 41px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .article-title {
        font-size: 31px;
    }

    .article-cover img {
        height: 235px;
    }

    .article-section h2 {
        font-size: 27px;
    }

    .article-figure img {
        height: 225px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
    }

    .sidebar-card {
        padding: 23px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}