/* ==========================================================================
   Elora Dwellhome — editorial stylesheet
   Warm, elegant, welcoming design for a home organization & decor blog
   ========================================================================== */

:root {
    --cream: #faf7f0;
    --cream-2: #f3ecdf;
    --cream-3: #ece2d0;
    --sand: #e7dcc7;
    --ink: #2f2a23;
    --ink-soft: #6d6455;
    --ink-faint: #978c79;
    --line: rgba(47, 42, 35, 0.12);
    --green: #4f6b58;
    --green-deep: #3c5546;
    --green-dark: #314438;
    --brown: #9a6f47;
    --brown-soft: #b98a5f;
    --white: #fffdf8;
    --shadow-sm: 0 1px 2px rgba(47, 42, 35, 0.05), 0 6px 20px rgba(47, 42, 35, 0.06);
    --shadow-md: 0 4px 12px rgba(47, 42, 35, 0.08), 0 16px 40px rgba(47, 42, 35, 0.08);
    --radius: 1.15rem;
    --radius-sm: 0.7rem;
    --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.22;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.3rem; }

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover { color: var(--green-deep); }

img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--green);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
    left: 0;
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--brown-soft);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Buttons ---------- */

.btn {
    border-radius: 999px;
    padding: 0.6rem 1.45rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.btn-brand {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}
.btn-brand:hover,
.btn-brand:focus {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.btn-outline-brand {
    border: 1.5px solid var(--green);
    color: var(--green);
    background: transparent;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-light {
    border: 1.5px solid rgba(255, 253, 248, 0.85);
    color: var(--white);
    background: rgba(255, 253, 248, 0.08);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 253, 248, 0.2);
    border-color: var(--white);
    color: var(--white);
}
.btn-lg { padding: 0.8rem 1.9rem; font-size: 1.05rem; }

/* ---------- Header / navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .navbar {
    padding: 0.65rem 0;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
}
.site-brand:hover { color: var(--ink); }
.site-brand__mark {
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 4px rgba(47, 42, 35, 0.18));
}
.site-brand__name {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.site-brand__tag {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-faint);
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    position: relative;
}
.navbar-nav .nav-link:hover {
    color: var(--green-deep);
    background: rgba(79, 107, 88, 0.08);
}
.navbar-nav .nav-link.active {
    color: var(--green-deep);
    font-weight: 600;
}
.nav-cta {
    margin-left: 0.5rem;
    padding: 0.45rem 1.2rem;
}

.navbar-toggler {
    border: 0;
    padding: 0.35rem 0.5rem;
}
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 1.6em;
    height: 1.6em;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: "";
    position: absolute;
    left: 0.15em;
    width: 1.3em;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: 0.25s ease;
}
.navbar-toggler-icon::before { top: 0.42em; }
.navbar-toggler-icon span { top: 0.75em; }
.navbar-toggler-icon::after { top: 1.08em; }

@media (min-width: 992px) {
    .navbar-nav .nav-cta {
        margin-left: 1rem;
    }
}

/* ---------- Hero (homepage) ---------- */

.hero {
    position: relative;
    min-height: min(74vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(31, 41, 33, 0.18) 0%,
        rgba(31, 41, 33, 0.3) 45%,
        rgba(28, 35, 30, 0.78) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 8vw, 6rem) 0 4.5rem;
}
.hero__inner {
    max-width: 720px;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 253, 248, 0.85);
    background: rgba(60, 85, 70, 0.55);
    border: 1px solid rgba(255, 253, 248, 0.28);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}
.hero__title {
    color: var(--white);
    font-size: clamp(2.1rem, 5.4vw, 3.7rem);
    line-height: 1.12;
    text-wrap: balance;
}
.hero__lead {
    margin-top: 1.2rem;
    font-size: 1.15rem;
    color: rgba(255, 253, 248, 0.92);
    max-width: 560px;
}
.hero__actions {
    margin-top: 1.9rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* ---------- Section scaffolding ---------- */

.section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.section--tinted {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.4rem;
}
.section-head__eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brown);
    margin-bottom: 0.45rem;
}
.section-head__title {
    margin: 0;
}
.section-head__link {
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Article cards ---------- */

.article-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.article-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--sand);
}
.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-card__media img {
    transform: scale(1.05);
}
.article-card__body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card__meta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}
.article-card__cat {
    color: var(--brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}
.article-card__cat:hover { color: var(--green-deep); }
.article-card__dot { color: var(--sand); }
.article-card__title {
    margin: 0 0 0.6rem;
    font-size: 1.28rem;
    line-height: 1.3;
}
.article-card__title a {
    color: var(--ink);
}
.article-card__title a:hover {
    color: var(--green-deep);
}
.article-card__excerpt {
    margin: 0 0 1.1rem;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}
.article-card__link {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.94rem;
}
.article-card__link span {
    transition: margin 0.2s ease;
    display: inline-block;
}
.article-card__link:hover span {
    margin-left: 4px;
}

/* ---------- Category cards ---------- */

.category-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: var(--ink);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    color: var(--ink);
}
.category-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}
.category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover .category-card__media img {
    transform: scale(1.06);
}
.category-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
}
.category-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}
.category-card__desc {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.category-card__count {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brown);
}

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    padding: clamp(3rem, 6vw, 4.8rem) 0;
}
.page-hero--small {
    background: linear-gradient(180deg, var(--cream-2), var(--cream));
    padding: 2.6rem 0 2.2rem;
}
.page-hero--media {
    position: relative;
    padding: 0;
    overflow: hidden;
    color: var(--white);
}
.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero--media .page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 41, 33, 0.28), rgba(28, 35, 30, 0.82));
}
.page-hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.page-hero__inner {
    max-width: 760px;
}
.page-hero--media .page-hero__inner {
    color: var(--white);
}
.page-hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brown);
    margin-bottom: 0.6rem;
}
.page-hero--media .page-hero__eyebrow {
    color: rgba(255, 253, 248, 0.85);
}
.page-hero__title {
    text-wrap: balance;
}
.page-hero--media .page-hero__title {
    color: var(--white);
}
.page-hero__lead {
    margin: 1rem 0 0;
    font-size: 1.14rem;
    color: var(--ink-soft);
    max-width: 620px;
}
.page-hero--media .page-hero__lead {
    color: rgba(255, 253, 248, 0.92);
}
.page-hero__note {
    margin: 1rem 0 0;
    font-weight: 600;
    color: var(--brown);
}
.page-hero--media .page-hero__note {
    color: rgba(255, 253, 248, 0.9);
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
    padding: 1rem 0 0;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
    font-size: 0.86rem;
    color: var(--ink-faint);
}
.breadcrumbs a {
    color: var(--ink-faint);
    font-weight: 500;
}
.breadcrumbs a:hover {
    color: var(--green-deep);
}
.breadcrumbs li[aria-current="page"] {
    color: var(--ink-soft);
    font-weight: 600;
}
.breadcrumbs__sep {
    color: var(--sand);
}

/* ---------- Newsletter ---------- */

.newsletter {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.newsletter__inner {
    background:
        radial-gradient(1100px 400px at 90% -30%, rgba(185, 138, 95, 0.35), transparent 60%),
        linear-gradient(135deg, var(--green-dark), var(--green-deep));
    color: var(--white);
    border-radius: 1.6rem;
    padding: clamp(2.2rem, 5vw, 3.8rem);
    display: grid;
    gap: 2rem;
    box-shadow: var(--shadow-md);
}
@media (min-width: 992px) {
    .newsletter__inner {
        grid-template-columns: 1.3fr 1fr;
        align-items: center;
    }
}
.newsletter__eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sand);
    margin-bottom: 0.6rem;
}
.newsletter h2 {
    color: var(--white);
    text-wrap: balance;
    margin: 0 0 0.8rem;
}
.newsletter__text p:last-child {
    color: rgba(255, 253, 248, 0.88);
    margin: 0;
}
.newsletter__row {
    display: flex;
    gap: 0.6rem;
}
.newsletter__form .form-control {
    background: rgba(255, 253, 248, 0.96);
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    color: var(--ink);
}
.newsletter__form .form-control::placeholder {
    color: var(--ink-faint);
}
.newsletter__note {
    margin: 0.9rem 0 0;
    font-size: 0.92rem;
    color: var(--sand);
}
.newsletter__fineprint {
    margin: 0.8rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 253, 248, 0.7);
}

/* ---------- About / value cards ---------- */

.about-photo {
    box-shadow: var(--shadow-md);
}
.value-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.value-card__icon {
    color: var(--green);
    background: rgba(79, 107, 88, 0.12);
    padding: 0.6rem;
    border-radius: 14px;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
}
.value-card__title {
    font-size: 1.22rem;
    margin-bottom: 0.6rem;
}
.value-card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin: 0;
}

/* ---------- Contact ---------- */

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.contact-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.contact-card address {
    font-style: normal;
    color: var(--ink-soft);
    margin: 0;
}
.contact-card__link {
    font-size: 1.2rem;
    font-weight: 600;
}
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: clamp(1.8rem, 4vw, 3rem);
}
.contact-form .form-control,
.contact-form .form-select {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--ink);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--white);
    border-color: var(--brown-soft);
    box-shadow: 0 0 0 0.22rem rgba(185, 138, 95, 0.18);
}
.contact-form .form-label {
    font-weight: 600;
    font-size: 0.94rem;
}
.contact-form__status {
    margin-top: 1.2rem;
    background: rgba(79, 107, 88, 0.12);
    border: 1px solid rgba(79, 107, 88, 0.3);
    color: var(--green-deep);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.96rem;
}

/* ---------- Article page ---------- */

.article {
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.article__wrap {
    max-width: 1180px;
    margin: 0 auto;
}
.article__header {
    text-align: center;
    max-width: 820px;
    margin: 2.4rem auto 2.6rem;
}
.article__category {
    margin: 0 0 0.9rem;
}
.article__category a {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brown);
}
.article__category a:hover { color: var(--green-deep); }
.article__title {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    margin: 0 0 1rem;
    text-wrap: balance;
}
.article__excerpt {
    font-size: 1.14rem;
    color: var(--ink-soft);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.article__meta {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: var(--ink-faint);
}
.article__author {
    font-weight: 600;
    color: var(--ink);
}
.article__meta-sep {
    margin: 0 0.3rem;
    color: var(--sand);
}
.article__hero {
    margin: 0 0 2.6rem;
    text-align: center;
}
.article__hero img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}
.article__hero-caption {
    margin-top: 0.7rem;
    font-size: 0.84rem;
    color: var(--ink-faint);
}

.article__layout {
    display: grid;
    gap: 3rem;
    align-items: start;
}
@media (min-width: 992px) {
    .article__layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

.article__content {
    max-width: 780px;
    font-size: 1.09rem;
    line-height: 1.8;
    color: #3a342b;
}
.article__content > h2 {
    margin-top: 2.8rem;
    padding-top: 0.4rem;
    position: relative;
    scroll-margin-top: 6rem;
}
.article__content > h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: var(--brown-soft);
    margin-bottom: 0.8rem;
}
.article__content > h3 {
    margin-top: 2.2rem;
    scroll-margin-top: 6rem;
}
.article__content p {
    margin: 0 0 1.3rem;
}
.article__content ul {
    margin: 0 0 1.5rem;
    padding-left: 1.3rem;
}
.article__content li {
    margin-bottom: 0.55rem;
}
.article__content ul li::marker {
    color: var(--brown-soft);
}
.article__content a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(185, 138, 95, 0.55);
}
.article__content a:hover { text-decoration-color: var(--green-deep); }

.article-lead {
    font-size: 1.18rem;
    color: var(--ink-soft);
    line-height: 1.75;
}
.article-lead p:first-child::first-letter {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 600;
    float: left;
    line-height: 0.8;
    color: var(--green);
    padding-right: 0.45rem;
    padding-top: 0.35rem;
}

.article-tip {
    background: linear-gradient(135deg, rgba(79, 107, 88, 0.12), rgba(79, 107, 88, 0.05));
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.4rem 1.6rem;
    margin: 2rem 0;
    color: #3a342b;
}
.article-tip__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--green-deep);
    margin-bottom: 0.4rem;
}
.article-tip p:last-child { margin-bottom: 0; }

.article-toc {
    background: var(--cream-2);
    border: 1px solid var(--line);
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.8rem;
}
.article-toc__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-deep);
    margin-bottom: 0.5rem;
}
.article-toc ol {
    margin: 0;
    padding-left: 1.25rem;
}
.article-toc li {
    font-size: 0.96rem;
    margin-bottom: 0.35rem;
}
.article-toc a {
    color: var(--ink-soft);
}
.article-toc a:hover { color: var(--green-deep); }

.article__footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}
.article__author {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.article__author-avatar {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.article__author-name {
    font-weight: 700;
    margin: 0 0 0.3rem;
}
.article__author-note {
    color: var(--ink-soft);
    font-size: 0.94rem;
    margin: 0;
}
.article__tags {
    margin: 1.6rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.article__tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--cream-2);
    border: 1px solid var(--line);
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
}
.article__share {
    margin-top: 1.8rem;
}
.article__share-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.9rem;
}
.article__share-links {
    display: inline-flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.article__share-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--green-deep);
}

.article__side {
    position: sticky;
    top: 6.5rem;
}
.article__side-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sand);
}
.side-card {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.7rem;
    margin-bottom: 0.7rem;
    color: var(--ink);
    transition: all 0.2s ease;
}
.side-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
    color: var(--ink);
}
.side-card__img {
    flex: 0 0 74px;
    width: 74px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}
.side-card__title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}
.side-card__cat {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brown);
    margin-top: 0.2rem;
}
.side-card__more {
    display: inline-block;
    margin-top: 0.6rem;
    font-weight: 600;
    font-size: 0.92rem;
}

/* ---------- About photo & misc ---------- */

.rounded-4 { border-radius: 1.4rem !important; }

/* ---------- Policy pages ---------- */

.policy {
    max-width: 780px;
}
.policy h2 {
    margin-top: 2.6rem;
    font-size: 1.55rem;
}
.policy h3 {
    margin-top: 1.8rem;
    font-size: 1.2rem;
}
.policy p {
    color: #3a342b;
    margin-bottom: 1.1rem;
}
.policy ul {
    margin-bottom: 1.3rem;
    padding-left: 1.3rem;
}
.policy li {
    margin-bottom: 0.5rem;
}
.policy a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: linear-gradient(160deg, #26241f, #201e1a);
    color: rgba(250, 247, 240, 0.85);
    padding-top: 4rem;
}
.site-footer__top {
    padding-bottom: 3rem;
}
.site-footer__brand {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.site-footer__brand:hover { color: var(--sand); }
.site-footer__about p {
    font-size: 0.96rem;
    color: rgba(250, 247, 240, 0.75);
}
.site-footer__address {
    font-style: normal;
    font-size: 0.94rem;
    color: rgba(250, 247, 240, 0.85);
    margin-top: 1.2rem;
}
.site-footer__address a {
    color: var(--sand);
    font-weight: 600;
}
.site-footer__address a:hover { color: var(--white); }
.site-footer__heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sand);
    margin-bottom: 1.1rem;
}
.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer__links li {
    margin-bottom: 0.55rem;
}
.site-footer__links a {
    color: rgba(250, 247, 240, 0.78);
    font-size: 0.95rem;
}
.site-footer__links a:hover {
    color: var(--white);
}
.site-footer__bottom {
    border-top: 1px solid rgba(250, 247, 240, 0.14);
    padding: 1.5rem 0 2rem;
    text-align: center;
}
.site-footer__copy {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    color: var(--sand);
}
.site-footer__legal {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(250, 247, 240, 0.55);
    max-width: 640px;
    margin-inline: auto;
}

/* ---------- Cookie popup ---------- */

.cookie-popup {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 2000;
    width: min(94vw, 480px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cookie-popup.is-visible {
    opacity: 1;
    visibility: visible;
}
.cookie-popup__card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    box-shadow: var(--shadow-md);
    padding: 1.7rem 1.8rem 1.6rem;
    text-align: center;
}
.cookie-popup__eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brown);
    margin-bottom: 0.4rem;
}
.cookie-popup__title {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}
.cookie-popup__text {
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.cookie-popup__actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Entrance reveal (JS-gated) ---------- */

.js .article-card,
.js .category-card,
.js .value-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .article-card.is-in,
.js .category-card.is-in,
.js .value-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Small screens ---------- */

@media (max-width: 575.98px) {
    .hero { min-height: 520px; }
    .newsletter__row {
        flex-direction: column;
    }
    .newsletter__row .btn {
        width: 100%;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .article__share-links {
        display: flex;
        margin-top: 0.6rem;
    }
    .article__side {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        transition: none !important;
        animation: none !important;
    }
}