/* Botanica — plant & garden editorial tokens for station2023 */
:root {
    --forest-50: #f2f7f4;
    --forest-100: #dceee3;
    --forest-600: #2d6a4f;
    --forest-700: #1b4332;
    --forest-800: #081c15;
    --earth-50: #faf8f5;
    --earth-100: #f3efe6;
    --earth-200: #e6ded0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --white: #ffffff;
    --bg: var(--earth-50);
    --surface: var(--white);
    --text: var(--slate-700);
    --text-strong: var(--forest-800);
    --text-muted: var(--slate-500);
    --accent: var(--forest-700);
    --accent-hover: var(--forest-800);
    --accent-soft: var(--emerald-600);
    --border: var(--earth-200);
    --radius-xl: 1.5rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 1.75rem;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(8, 28, 21, 0.05);
    --shadow-md: 0 8px 24px rgba(8, 28, 21, 0.08);
    --shadow-xl: 0 20px 40px rgba(8, 28, 21, 0.1);
    --container: 80rem;
    --container-author: 72rem;
    --container-read: 56rem;
    --header-height: 50px;
    --font-serif: Georgia, "Times New Roman", Times, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-width: 0;
}

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

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

ul,
ol {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

.boxed_wrapper {
    min-width: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.clamp-2,
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-3,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* —— Header / Nav —— */
.main-header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.main-header > .container {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.main-nav {
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.logo,
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-700);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    z-index: 2;
}

.brand-mark {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--emerald-600);
}

.logo-text {
    white-space: nowrap;
}

.hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-700);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    background: var(--earth-50);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0 2rem;
    display: none;
    z-index: 90;
}

.nav-menu.is-open {
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.25rem;
}

.nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: 0.75rem;
}

.nav-links a:hover {
    color: var(--forest-700);
    background: var(--forest-50);
}

.nav-actions {
    display: none;
}

.author-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: var(--radius-pill);
    background: var(--forest-700);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.author-chip img {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        display: block;
        height: auto;
        max-height: none;
        overflow: visible;
        top: auto;
        right: auto;
        left: auto;
        padding: 0;
        background: transparent;
        border: 0;
        flex: 1;
    }

    .nav-menu.is-open {
        display: block;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 0;
    }

    .nav-links a {
        padding: 0;
        border-radius: 0;
        font-size: 0.875rem;
        background: transparent;
    }

    .nav-links a:hover {
        background: transparent;
        color: var(--forest-600);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
}

/* —— Page shell —— */
.page-main {
    padding: 2rem 0 4rem;
    min-width: 0;
}

.breadcrumb {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
}

.breadcrumb a:hover {
    color: var(--forest-700);
}

@media (min-width: 769px) {
    .breadcrumb {
        display: flex;
    }
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1,
.archive-heading {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .page-header h1,
    .archive-heading {
        font-size: 2.25rem;
    }
}

/* —— Eyebrow / pills —— */
.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    color: var(--forest-700);
    border: 1px solid var(--forest-100);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
}

/* —— Home Hero (reference collage) —— */
.hero-botanica {
    padding: 2rem 0 1rem;
    margin-bottom: 1.5rem;
}

.hero-botanica__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-botanica__copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.hero-botanica__title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-botanica__excerpt {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
    max-width: 42rem;
}

.hero-botanica__explore {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    max-width: 36rem;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--earth-200);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary,
.hero-botanica__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: var(--forest-700);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-primary:hover,
.hero-botanica__cta:hover {
    background: var(--forest-800);
}

.hero-botanica__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-700);
}

.hero-botanica__link:hover {
    color: var(--emerald-600);
}

.hero-botanica__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--earth-200);
}

.hero-botanica__stat-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.2;
}

.hero-botanica__stat-label {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.hero-botanica__stat-divider {
    width: 1px;
    height: 2rem;
    background: var(--earth-200);
}

.hero-botanica__visual {
    position: relative;
    min-width: 0;
}

.hero-botanica__glow {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 18rem;
    height: 18rem;
    background: var(--forest-100);
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1023px) {
    .hero-botanica,
    .hero-botanica__visual {
        overflow: hidden;
    }

    .hero-botanica__glow {
        top: -1.5rem;
        right: 0;
        width: 12rem;
        height: 12rem;
    }
}

.hero-botanica__collage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-botanica__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.hero-botanica__col--offset {
    padding-top: 2rem;
}

.hero-botanica__shot {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 16rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--earth-100);
}

.hero-botanica__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-botanica__pick {
    display: block;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--forest-800);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.hero-botanica__pick-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 0.35rem;
}

.hero-botanica__pick-title {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-botanica__tip {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--white);
    border: 1px solid var(--earth-200);
    box-shadow: var(--shadow-md);
}

.hero-botanica__tip-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--forest-50);
    margin-bottom: 0.75rem;
    position: relative;
}

.hero-botanica__tip-icon::after {
    content: "";
    position: absolute;
    inset: 0.7rem;
    border-radius: 50%;
    background: var(--forest-700);
    opacity: 0.85;
}

.hero-botanica__tip-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.35rem;
}

.hero-botanica__tip-text {
    font-size: 0.75rem;
    color: var(--slate-500);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .hero-botanica__title {
        font-size: 3rem;
    }

    .hero-botanica__shot {
        max-height: 18rem;
    }
}

@media (min-width: 1024px) {
    .hero-botanica {
        padding: 3rem 0 1.5rem;
    }

    .hero-botanica__grid {
        grid-template-columns: 7fr 5fr;
        gap: 3rem;
    }

    .hero-botanica__title {
        font-size: 3.75rem;
    }

    .hero-botanica__shot {
        max-height: 16rem;
    }
}

/* —— Topics (category hubs) —— */
.topics-section {
    margin: 3rem 0;
}

.section-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.section-head .eyebrow {
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--slate-600);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.topic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 14rem;
    padding: 2rem;
    border-radius: var(--radius-3xl);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.topic-card:hover {
    box-shadow: var(--shadow-xl);
}

.topic-card--accent {
    background: var(--forest-800);
    color: var(--white);
    border-color: transparent;
}

.topic-card--accent .topic-card__title {
    color: var(--white);
}

.topic-card--accent .topic-card__meta {
    color: rgba(52, 211, 153, 0.8);
}

.topic-card__badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    color: var(--forest-700);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.topic-card--accent .topic-card__badge {
    background: var(--forest-700);
    color: var(--emerald-400);
}

.topic-card__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.topic-card__desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.6;
    max-width: 28rem;
}

.topic-card--accent .topic-card__desc {
    color: var(--earth-200);
}

.topic-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.topic-card__meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-400);
}

.topic-card__arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-700);
    color: var(--white);
    font-size: 0.875rem;
}

.topic-card--accent .topic-card__arrow {
    background: var(--emerald-500);
    color: var(--forest-900, var(--forest-800));
}

@media (min-width: 768px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topic-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .topic-card:first-child {
        grid-column: span 2;
    }
}

/* —— Feed header / article cards —— */
.feed-header,
.articles-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .feed-header,
    .articles-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.feed-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.feed-subtitle {
    color: var(--slate-600);
}

.feed-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-700);
    white-space: nowrap;
}

.feed-all:hover {
    color: var(--emerald-600);
}

.articles-grid,
.articles-listing-grid,
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .articles-grid,
    .articles-listing-grid,
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card,
.article-card,
.listing-card,
.related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0;
}

.post-card:hover,
.article-card:hover,
.listing-card:hover,
.related-card:hover {
    box-shadow: var(--shadow-xl);
}

.post-card > a,
.article-card > a,
.listing-card > a,
.related-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    color: inherit;
}

.post-thumb-wrap,
.article-image,
.listing-card-image,
.related-card > .media-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--earth-100);
}

.post-thumb-wrap img,
.article-image img,
.listing-card-image img,
.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumb-wrap img,
.article-card:hover .article-image img,
.listing-card:hover .listing-card-image img,
.related-card:hover img {
    transform: scale(1.05);
}

.post-badge,
.cover-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--forest-800);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.post-body,
.article-content,
.listing-card-content,
.related-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    min-width: 0;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--slate-400);
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-700);
}

.post-title,
.listing-card-title,
.related-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.35;
    transition: color var(--transition);
}

.post-card:hover .post-title,
.article-card:hover .post-title,
.listing-card:hover .post-title {
    color: var(--emerald-600);
}

.post-excerpt,
.listing-card-excerpt {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.65;
    flex: 1;
}

.post-footer,
.listing-card-meta,
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--earth-100);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-700);
}

.read-more {
    color: var(--forest-700);
}

.no-image .post-thumb-wrap,
.no-image .article-image,
.no-image .listing-card-image {
    display: none;
}

/* —— Author spotlight (home) —— */
.author-spotlight {
    margin: 3.5rem 0 1rem;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-sm);
}

.spotlight-media {
    text-align: center;
}

.spotlight-avatar {
    width: 11rem;
    height: 11rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
}

.spotlight-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
}

.spotlight-role {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-700);
}

.spotlight-copy {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.spotlight-headline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.25;
}

.spotlight-bio {
    color: var(--slate-600);
    line-height: 1.7;
}

.spotlight-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.spotlight-stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-strong);
}

.spotlight-stat span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.spotlight-divider {
    width: 1px;
    height: 2rem;
    background: var(--earth-200);
}

.spotlight-cta {
    display: inline-flex;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-700);
}

.spotlight-cta:hover {
    color: var(--emerald-600);
}

@media (min-width: 1024px) {
    .spotlight-card {
        grid-template-columns: 4fr 8fr;
        padding: 3rem;
        gap: 2rem;
    }

    .spotlight-headline {
        font-size: 1.75rem;
    }
}

/* —— Author page —— */
.author-page-nav {
    max-width: var(--container-author);
    margin: 0 auto;
    padding: 0 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.author-page .container,
.author-shell {
    max-width: var(--container-author);
}

.author-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid rgba(230, 222, 208, 0.8);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.author-hero::before {
    content: "";
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 24rem;
    height: 24rem;
    background: var(--forest-50);
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.profile-aside {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-frame {
    position: relative;
    margin-bottom: 1.25rem;
    width: 12rem;
    height: 12rem;
    aspect-ratio: 1 / 1;
}

.avatar-frame::before {
    content: "";
    position: absolute;
    inset: -0.35rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--forest-600), var(--emerald-400));
    opacity: 0.3;
    filter: blur(2px);
}

.avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.25rem;
}

.author-role-tag,
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--emerald-700);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.verified-badge {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    font-size: 0.75rem;
    font-weight: 600;
}

.profile-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.bio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    color: var(--forest-700);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bio-headline {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.bio-body {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.75;
}

.bio-body p {
    margin: 0 0 1rem;
}

.bio-body p:last-child {
    margin-bottom: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: -1rem 0 3rem;
    padding: 0 2rem 0;
}

.author-hero + .metrics-grid,
.profile-content .metrics-inline {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--earth-200);
}

.metrics-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card,
.metric-item {
    min-width: 0;
}

.metric-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-700);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

@media (min-width: 1024px) {
    .author-hero {
        grid-template-columns: 4fr 8fr;
        padding: 3rem;
        gap: 3rem;
    }

    .author-name {
        font-size: 1.75rem;
    }

    .bio-headline {
        font-size: 2.25rem;
    }

    .avatar-frame {
        width: 14rem;
        height: 14rem;
    }

    .metric-value {
        font-size: 1.75rem;
    }
}

.articles-section {
    margin-top: 1rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-subtitle {
    color: var(--slate-600);
}

/* —— Detail page —— */
.article-shell {
    max-width: var(--container-read);
    margin: 0 auto;
}

.article-header {
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    color: var(--forest-700);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.75rem;
    }
}

.article-deck {
    color: var(--slate-600);
    font-size: 1.0625rem;
    margin-bottom: 1rem;
}

.byline-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--earth-200);
    border-bottom: 1px solid var(--earth-200);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .byline-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.byline-person {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.byline-person img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--forest-100);
}

.byline-person__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-strong);
}

.byline-person__role {
    font-size: 0.75rem;
    color: var(--slate-400);
}

.byline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--slate-500);
}

.meta-divider {
    color: var(--slate-400);
}

.hero-figure {
    margin: 0 0 2.5rem;
}

.hero-image-box {
    aspect-ratio: 16 / 9;
    max-height: 30rem;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--earth-100);
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-prose,
.article-detail {
    min-width: 0;
}

.article-body.detail-post-content,
.detail-post-content {
    color: var(--slate-700);
    line-height: 1.8;
    font-size: 1rem;
}

.article-body.detail-post-content p,
.detail-post-content p {
    margin: 0 0 15px;
}

.article-body.detail-post-content p:last-child,
.detail-post-content p:last-child {
    margin-bottom: 0;
}

.article-body.detail-post-content h2,
.article-body.detail-post-content h3,
.detail-post-content h2,
.detail-post-content h3 {
    font-family: var(--font-serif);
    color: var(--text-strong);
    margin: 1.75rem 0 0.85rem;
    line-height: 1.3;
}

.article-body.detail-post-content h2,
.detail-post-content h2 {
    font-size: 1.5rem;
}

.article-body.detail-post-content img,
.detail-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem auto;
    border-radius: 1rem;
}

.article-body.detail-post-content ul,
.article-body.detail-post-content ol,
.detail-post-content ul,
.detail-post-content ol {
    margin: 0 0 15px 1.25rem;
    list-style: disc;
}

.article-body.detail-post-content ol,
.detail-post-content ol {
    list-style: decimal;
}

.article-body.detail-post-content blockquote,
.detail-post-content blockquote {
    margin: 1.25rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--forest-50);
    border-left: 4px solid var(--forest-700);
    border-radius: 1rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--forest-800);
}

@media (max-width: 768px) {
    .article-body.detail-post-content,
    .detail-post-content {
        font-size: 1.125rem;
    }

    .article-title {
        font-size: 1.5rem;
    }
}

.share-container {
    margin: 2rem 0;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--earth-200);
}

.share-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-tags span,
.tag-pill {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--forest-50);
    color: var(--forest-700);
    font-size: 0.75rem;
    font-weight: 600;
}

.detail-author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    padding: 2rem;
    margin: 2.5rem 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-sm);
}

.detail-author-card img {
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.detail-author-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-strong);
}

.detail-author-card .role {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin: 0.25rem 0 0.5rem;
}

.detail-author-card .written-by {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
}

.detail-author-card p {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.65;
}

.detail-author-card .profile-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-700);
}

@media (min-width: 640px) {
    .detail-author-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.adjacent-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .adjacent-nav {
        grid-template-columns: 1fr 1fr;
    }
}

.adjacent-nav a {
    display: block;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    background: var(--surface);
    transition: box-shadow var(--transition);
}

.adjacent-nav a:hover {
    box-shadow: var(--shadow-md);
}

.adjacent-nav .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-400);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.adjacent-nav .title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-strong);
}

.adjacent-nav .next {
    text-align: right;
}

.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--earth-200);
}

.related-heading {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-strong);
    text-align: center;
    margin-bottom: 0.5rem;
}

.related-lead {
    text-align: center;
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.related-card .related-card-body {
    padding: 1.25rem 1.5rem;
}

.related-tag {
    font-size: 0.75rem;
    color: var(--slate-400);
}

.related-title {
    font-size: 1.05rem;
}

.related-cta {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--earth-100);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-700);
}

.related-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--earth-100);
    position: relative;
}

.related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* —— Comments —— */
.comments-section {
    margin: 2.5rem 0;
}

.comment-form {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
}

.comment-form h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-strong);
    margin-bottom: 1.25rem;
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.stay-touch__field input,
.stay-touch__field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--earth-50);
    color: var(--text);
    font-size: 1rem;
}

.form-group input:disabled,
.form-group textarea:disabled,
.stay-touch__submit:disabled,
.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.comment-form .btn-primary {
    margin-top: 0.25rem;
}

/* —— All articles archive —— */
.archive-list {
    max-width: 52rem;
}

.archive-row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--earth-200);
}

.archive-row time {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.archive-row a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-strong);
    line-height: 1.45;
}

.archive-row a:hover {
    color: var(--emerald-700);
}

/* —— Alone / stay-touch —— */
.standalone-page .article-prose {
    max-width: 820px;
    margin: 0 auto;
}

.stay-touch {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
}

.stay-touch__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
}

.stay-touch__desc {
    color: var(--slate-600);
    margin-bottom: 1.25rem;
}

.stay-touch__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stay-touch__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: 0.4rem;
}

.stay-touch__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--forest-700);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.stay-touch__submit:hover:not(:disabled) {
    background: var(--forest-800);
}

.stay-touch__msg {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.stay-touch__msg.is-ok {
    color: var(--emerald-700);
}

.stay-touch__msg.is-error {
    color: #b91c1c;
}

/* —— Pager —— */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-700);
}

.pager__btn:hover {
    background: var(--forest-50);
}

.pager__btn--curr {
    background: var(--forest-700);
    color: var(--white);
    border-color: var(--forest-700);
}

.pager__btn--off {
    opacity: 0.45;
    pointer-events: none;
}

/* —— Footer —— */
.main-footer,
.site-footer {
    border-top: 1px solid var(--earth-200);
    background: var(--white);
    padding: 2.5rem 1.5rem;
}

.footer-links {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-500);
}

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

.phoneCont {
    z-index: 50;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
