:root {
    --bg: #fffdf9;
    --ink: #2b2b2b;
    --muted: #6b6b6b;
    --cinnamon: #b86b35;
    --cinnamon-dark: #8f5227;
    --sand: #f4e7d6;
    --card: #ffffff;
    --border: #eae3da;
    --success: #2f9e44;
    --radius: 12px;
    --max-width: 1100px;
    --gap: 1.25rem;
    --container-padding: 1.25rem;
    --shadow: 0 6px 18px rgba(43, 43, 43, 0.06);
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1140px;
    margin-inline: auto;
    padding: 0 20px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 9999;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 700;
    text-decoration: none;
    color: var(--cinnamon-dark);
    letter-spacing: .3px;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--cinnamon);
}

/* General dropdown for desktop */
.nav-links li.dropdown {
    position: relative;
}

.nav-links li.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 10;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: #f7f3f0;
}

.nav-links li.dropdown .dropdown-menu.show {
    display: block;
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu li a {
        padding-left: 40px;
    }

    .dropdown-menu.show {
        display: block;
    }
}

/* Hamburger button for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 100%;
        padding: 10px 40px;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero */
.hero {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--gap);
    align-items: center;
    background: linear-gradient(90deg, rgba(184, 107, 53, 0.04), rgba(244, 231, 214, 0.6));
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.hero-inner h1 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    color: var(--cinnamon-dark);
}

.lead {
    margin: 0 0 1rem 0;
    color: var(--muted);
}

.hero-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Overview Nav */
.overview-nav {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.overview-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.overview-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--cinnamon-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.overview-nav a:hover,
.overview-nav a:focus {
    background: var(--cinnamon);
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(180deg, var(--cinnamon), var(--cinnamon-dark));
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--cinnamon-dark);
    border: 1px solid rgba(139, 82, 39, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--cinnamon-dark);
    border: 1px solid var(--border);
}

/* Content Grid */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card header h2 {
    margin-bottom: 0.4rem;
    color: var(--cinnamon-dark);
    font-size: 1.5rem;
}

.card .muted {
    color: var(--muted);
    font-size: 0.95rem;
}

.card-body {
    margin-top: 1rem;
    line-height: 1.6;
}

/* CTA buttons inside cards */
.section-cta {
    margin-top: 1.5rem;
}

.section-cta .btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline {
    border: 1px solid var(--cinnamon-dark);
    color: var(--cinnamon-dark);
}

.btn-outline:hover {
    background: var(--cinnamon-dark);
    color: #fff;
}

.btn-primary {
    background: var(--cinnamon);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: var(--cinnamon-dark);
}

/* Recipes */
.recipes {
    margin-top: 2rem;
}

.recipes h2 {
    color: var(--cinnamon-dark);
    text-align: center;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.recipe-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(43, 43, 43, 0.08);
}

.recipe-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recipe-body {
    padding: 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.recipe-body h3 {
    margin: 0;
    color: var(--cinnamon);
    font-size: 1.1rem;
}

.recipe-body .muted {
    font-size: 0.9rem;
    color: var(--muted);
}

.recipe-ctas {
    margin-top: auto;
    display: flex;
    justify-content: space-evenly;
    gap: 0.5rem;
}

/* FAQ */
.faq {
    margin-top: 2rem;
    background: linear-gradient(180deg, rgba(244, 231, 214, 0.4), transparent);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.faq dt {
    font-weight: 700;
    margin-top: 0.6rem;
    color: var(--cinnamon-dark);
}

.faq dd {
    margin: 0 0 0.6rem 0;
    color: var(--ink);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
    margin-top: 40px;
    font-size: 0.95rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 28px 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cinnamon);
}

.footer__meta p {
    margin: .2rem 0;
    color: var(--muted);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 14px;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    stroke: #555;
    /* Modern dark grey */
    stroke-width: 1.6;
    fill: none;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-icon:hover svg {
    stroke: var(--cinnamon);
    transform: scale(1.12);
}

/* Responsive Adjustments */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-figure {
        order: -1;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .overview-nav ul {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .card {
        padding: 1.2rem;
    }

    .recipe-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    .hero-inner h1 {
        font-size: 1.4rem;
    }

    .overview-nav ul {
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .card header h2 {
        font-size: 1.3rem;
    }

    .recipe-body h3 {
        font-size: 1rem;
    }
}