* { box-sizing: border-box; }

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    padding: 0;
    background: #E8D9B5;
    color: #24333B;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

.site-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 30px 0;
    display: grid;
    grid-template-columns: 132px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 24px;
}

.site-title { grid-column: 2; grid-row: 1; }
.site-title h1 {
    margin: 0;
    color: #24333B;
    font-family: "Cormorant Garamond", "Times New Roman", Times, Georgia, serif;
    font-size: 64px;
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.05;
}

.site-navigation {
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
    max-width: 100%;
    border-bottom: 1px solid rgba(36, 51, 59, .38);
    padding: 7px 0 14px;
}
.site-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.site-navigation a { color: #24333B; text-decoration: none; font-family: "Cormorant Garamond", "Times New Roman", Times, Georgia, serif; font-size: 1.32rem; font-weight: 600; letter-spacing: .025em; }
.site-navigation a:hover { text-decoration: underline; }

.site-main {
    width: min(100% - 32px, 950px);
    margin: 36px auto 40px;
    padding: 34px;
    background: #F7F1E6;
    border: 1px solid #D1BE94;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    min-height: 400px;
    overflow-wrap: anywhere;
}

.page-heading h1, .hearth-intro h1, .blog-page h1 { color: #24333B; font-family: "Cormorant Garamond", "Times New Roman", Times, Georgia, serif; font-weight: 500; margin-top: 0; }
.content-section { margin-top: 24px; }
.content-section h2 { color: #5C4033; font-weight: 500; }
.page-section { width: 100%; }
.page-header { text-align: center; margin-bottom: 30px; }
.page-header h1 { color: #24333B; font-weight: 500; margin: 0 0 10px; }
.page-header p { max-width: 720px; margin: 0 auto; }

.store-page .page-header h1 { color: #24333B; }
.store-coming-soon { max-width: 720px; margin: 30px auto 10px; padding: 46px 40px; text-align: center; background: #FFFDF8; border: 1px solid #C9B78F; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.store-icon { color: #8A6A4A; font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.store-coming-soon h2 { margin: 0 0 12px; color: #5C4033; font-weight: 500; font-size: 2rem; }
.store-coming-soon p { max-width: 620px; margin: 0 auto 12px; }
.store-coming-soon .store-note { margin-top: 18px; color: #6F6257; font-style: italic; font-size: .95rem; }

/* The Hearth is intentionally centered as a complete presentation. */
.hearth-page {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}
.hearth-page .hearth-intro,
.hearth-page .content-section,
.hearth-page .home-image-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.hearth-page h1,
.hearth-page h2,
.hearth-page p { text-align: center !important; }
.hearth-page p { width: min(100%, 720px) !important; margin-left: auto !important; margin-right: auto !important; }
.home-image-container { margin: 28px auto !important; }
.full-width-image { display: block !important; width: 100%; max-width: 850px; height: auto; margin: 0 auto !important; border-radius: 6px; }

.blog-feed { display: grid; gap: 16px; margin-top: 25px; }
.blog-block { display: block; padding: 22px 25px; background: #FFFDF8; border: 1px solid #C9B78F; border-radius: 7px; color: #24333B; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.blog-block:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,.08); }
.blog-block h2 { margin: 0 0 7px; color: #5C4033; font-weight: 500; }
.blog-block p { margin: 0; }
.private-label { display: inline-block; margin-top: 8px; color: #6F6257; font-size: .9rem; font-style: italic; }

.site-footer { max-width: 950px; margin: 0 auto; padding: 0 20px 30px; text-align: center; color: #6F6257; font-size: .9rem; }
.site-footer a { color: #24333B; }

@media (max-width: 700px) {
    .site-header { display: block; text-align: center; padding: 18px 15px 0; }
    .site-title h1 { font-size: 2.9rem; }
    .site-navigation { margin-top: 10px; padding-bottom: 12px; width: 100%; }
    .site-navigation ul { justify-content: center; margin-top: 4px; gap: 10px 18px; }
    .site-navigation a { font-size: 1.18rem; }
    .site-main { width: min(100% - 20px, 950px); padding: 22px 18px; margin-top: 30px; }
    .store-coming-soon { padding: 34px 22px; }
}
