/* Daily Life Notes — Premium warm editorial stylesheet */

:root {
    --color-cream: #F5EFE6;
    --color-cream-dark: #EBE3D8;
    --color-cream-deep: #DFD6C9;
    --color-terracotta: #B85C38;
    --color-terracotta-dark: #9A4A2E;
    --color-terracotta-light: #D4845F;
    --color-charcoal: #2C2C2C;
    --color-charcoal-soft: #4A4A4A;
    --color-muted: #6B6560;
    --color-white: #FFFFFF;
    --color-border: #D4C9BC;
    --color-focus: #B85C38;
    --color-error: #8B2E2E;
    --color-success: #3D6B4F;

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 44, 44, 0.1);
    --shadow-lg: 0 8px 32px rgba(44, 44, 44, 0.12);

    --max-width: 72rem;
    --sidebar-width: 18rem;
    --content-width: 42rem;
    --line-height: 1.65;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: var(--line-height);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-terracotta);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

a:hover,
a:focus-visible {
    color: var(--color-terracotta-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 10000;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-charcoal);
    color: var(--color-cream);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-charcoal);
    margin-top: 0;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: var(--space-sm); }

p {
    margin: 0 0 var(--space-md);
}

ul, ol {
    margin: 0 0 var(--space-md);
    padding-left: 1.5rem;
}

li + li {
    margin-top: var(--space-xs);
}

/* Site header */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.header-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-charcoal);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand:hover,
.brand:focus-visible {
    color: var(--color-terracotta);
}

.brand-mark {
    color: var(--color-terracotta);
    font-size: 0.875rem;
}

.header-tagline {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-md);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--color-muted);
    border-top: 1px solid var(--color-cream-dark);
    padding-top: var(--space-sm);
}

/* Navigation */
.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-lg);
}

.primary-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-charcoal-soft);
    padding: var(--space-xs) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--color-terracotta);
}

.primary-nav a.is-active {
    color: var(--color-terracotta);
    border-bottom-color: var(--color-terracotta);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Layout */
.page-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-3xl);
    min-width: 0;
    width: 100%;
    overflow-x: clip;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-2xl);
    align-items: start;
    min-width: 0;
}

.layout-main {
    min-width: 0;
    max-width: 100%;
}

.layout-sidebar {
    position: sticky;
    top: calc(5rem + var(--space-xl));
}

.sidebar-block {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.sidebar-block h2 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-cream-dark);
}

.sidebar-block p:last-child,
.sidebar-block ul:last-child {
    margin-bottom: 0;
}

.sidebar-block ul {
    list-style: none;
    padding: 0;
}

.sidebar-block li {
    margin: 0;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-cream-dark);
}

.sidebar-block li:last-child {
    border-bottom: none;
}

.sidebar-block a {
    text-decoration: none;
    color: var(--color-charcoal-soft);
    font-size: 0.9375rem;
}

.sidebar-block a:hover {
    color: var(--color-terracotta);
}

.sidebar-meta {
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* Hero */
.hero {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    min-width: 0;
    max-width: 100%;
}

.hero-image {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    width: 100%;
}

.hero-content {
    padding: var(--space-xl) var(--space-2xl);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero-lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-charcoal-soft);
    max-width: 38rem;
    line-height: 1.5;
}

.hero-compact {
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-cream-dark) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--color-border);
}

.hero-compact h1 {
    margin-bottom: var(--space-sm);
}

/* Section headers */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-terracotta);
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header a {
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

/* Post cards */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    min-width: 0;
}

.post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0;
    max-width: 100%;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.post-card-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.post-card-body {
    padding: var(--space-lg);
}

.post-card-meta {
    font-size: 0.8125rem;
    color: var(--color-muted);
    margin-bottom: var(--space-xs);
}

.post-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
    transition: color var(--transition);
}

.post-card:hover h3 {
    color: var(--color-terracotta);
}

.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-charcoal-soft);
    margin-bottom: 0;
    line-height: 1.55;
}

.post-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-terracotta);
    background: var(--color-cream);
    padding: 0.2em 0.6em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

/* Featured post */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-md);
    min-width: 0;
    max-width: 100%;
}

.featured-post-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
    width: 100%;
}

.featured-post-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.featured-post h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-md);
}

.featured-post h2 a {
    text-decoration: none;
    color: var(--color-charcoal);
}

.featured-post h2 a:hover {
    color: var(--color-terracotta);
}

.featured-excerpt {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--color-charcoal-soft);
    margin-bottom: var(--space-lg);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    line-height: 1.2;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
}

.btn-outline {
    background: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--color-terracotta);
    color: var(--color-white);
}

/* Article prose */
.article-header {
    margin-bottom: var(--space-2xl);
}

.article-meta {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}

.article-meta time {
    font-weight: 500;
}

.article-category {
    color: var(--color-terracotta);
    font-weight: 600;
}

.article-hero-image {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.prose {
    max-width: var(--content-width);
    font-size: 1.0625rem;
    overflow-wrap: break-word;
}

.prose h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.prose h3 {
    margin-top: var(--space-xl);
}

.prose blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--color-terracotta);
    background: var(--color-white);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-charcoal-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose figure {
    margin: var(--space-2xl) 0;
}

.prose figcaption {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-top: var(--space-sm);
    text-align: center;
    font-style: italic;
}

.prose img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.article-footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: space-between;
}

/* Topics */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
    gap: var(--space-lg);
    min-width: 0;
}

.topic-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    min-width: 0;
    max-width: 100%;
}

.topic-card:hover {
    box-shadow: var(--shadow-md);
}

.topic-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--color-terracotta);
}

.topic-card h3 {
    margin-bottom: var(--space-sm);
}

.topic-card p {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}

/* Reading list */
.book-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.book-item:first-child {
    padding-top: 0;
}

.book-item:last-child {
    border-bottom: none;
}

.book-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-terracotta-light);
    line-height: 1;
}

.book-item h3 {
    margin-bottom: var(--space-xs);
}

.book-author {
    font-size: 0.9375rem;
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 16rem;
    gap: var(--space-2xl);
    align-items: start;
    min-width: 0;
}

.about-portrait {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-white);
}

.about-portrait-wrap {
    position: sticky;
    top: calc(5rem + var(--space-xl));
}

/* Contact form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    min-width: 0;
}

.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.form-group .hint {
    font-size: 0.8125rem;
    color: var(--color-muted);
    font-weight: 400;
    margin-top: var(--space-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-charcoal);
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.15);
    outline: none;
}

.form-group textarea {
    min-height: 9rem;
    resize: vertical;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-errors {
    background: #FDF0F0;
    border: 1px solid var(--color-error);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    color: var(--color-error);
}

.form-errors ul {
    margin: var(--space-sm) 0 0;
    padding-left: 1.25rem;
}

.form-success {
    background: var(--color-white);
    border: 1px solid var(--color-success);
    border-left: 4px solid var(--color-success);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    max-width: var(--content-width);
}

.form-success h2 {
    color: var(--color-success);
    margin-bottom: var(--space-md);
}

.contact-details {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-details address {
    font-style: normal;
}

.contact-details p {
    margin-bottom: var(--space-sm);
}

/* Map */
.map-section {
    margin-top: var(--space-2xl);
}

.map-section h2 {
    margin-bottom: var(--space-md);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 9;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-fallback {
    font-size: 0.9375rem;
    color: var(--color-muted);
}

.map-consent-note {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-top: var(--space-sm);
}

/* Legal pages */
.legal-content {
    max-width: var(--content-width);
    overflow-wrap: break-word;
}

.legal-content h2 {
    margin-top: var(--space-2xl);
}

.legal-content h3 {
    margin-top: var(--space-xl);
}

.legal-updated {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: var(--space-xl);
}

/* 404 */
.error-page {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 32rem;
    margin: 0 auto;
}

.error-code {
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-terracotta-light);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-page h1 {
    margin-bottom: var(--space-md);
}

.error-page p {
    color: var(--color-charcoal-soft);
    margin-bottom: var(--space-xl);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-charcoal);
    color: var(--color-cream);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.cookie-banner h2 {
    color: var(--color-cream);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.cookie-banner p {
    font-size: 0.9375rem;
    color: #D4CCC4;
    margin-bottom: var(--space-md);
    max-width: 48rem;
}

.cookie-banner a {
    color: var(--color-terracotta-light);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.cookie-banner .btn-primary {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.cookie-banner .btn-secondary {
    color: var(--color-cream);
    border-color: #6B6560;
}

.cookie-banner .btn-secondary:hover {
    border-color: var(--color-cream);
    color: var(--color-cream);
}

/* Footer */
.site-footer {
    background: var(--color-charcoal);
    color: #C4BEB8;
    margin-top: var(--space-3xl);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    min-width: 0;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9375rem;
    font-style: italic;
    color: #9A9590;
}

.footer-col h2 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-xs);
}

.footer-col a {
    color: #C4BEB8;
    text-decoration: none;
    font-size: 0.9375rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--color-terracotta-light);
}

.footer-contact address p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    border-top: 1px solid #4A4A4A;
    padding: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #9A9590;
}

/* Utility */
.text-muted {
    color: var(--color-muted);
}

.text-center {
    text-align: center;
}

.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;
}

/* Responsive */
@media (max-width: 960px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }

    .layout-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
        gap: var(--space-lg);
        min-width: 0;
    }

    .sidebar-block {
        margin-bottom: 0;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-image {
        min-height: 14rem;
        max-height: 20rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-portrait-wrap {
        position: static;
        max-width: 16rem;
        margin: 0 auto var(--space-xl);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--color-cream-dark);
    }

    .header-bar {
        position: relative;
        flex-wrap: wrap;
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .featured-post-content {
        padding: var(--space-lg);
    }

    .page-hero-band-content {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .post-grid,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-wrap: wrap;
    }

    .section-header a {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .nav-toggle,
    .layout-sidebar,
    .skip-link {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}

/* ── Premium enhancements v2 ── */

.hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    object-fit: cover;
    width: 100%;
    min-height: 280px;
    max-height: 520px;
}

.hero-content {
    background: linear-gradient(180deg, rgba(245, 239, 230, 0.92) 0%, var(--color-cream) 100%);
    padding: var(--space-xl) var(--space-2xl);
}

.featured-post {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.featured-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.post-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0;
    max-width: 100%;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.post-card-image {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.page-hero-band {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-md);
    min-width: 0;
    max-width: 100%;
}

.page-hero-band--compact {
    margin-bottom: var(--space-xl);
}

.page-hero-band-image {
    width: 100%;
    object-fit: cover;
    max-height: 420px;
    min-height: 220px;
    aspect-ratio: 21 / 9;
}

.page-hero-band-content {
    padding: var(--space-xl) var(--space-2xl);
    background: var(--color-white);
    border-top: 3px solid var(--color-terracotta);
}

.topic-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0;
    max-width: 100%;
}

.topic-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.topic-card-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.topic-card-body {
    padding: var(--space-lg);
}

.topic-icon {
    display: none;
}

.about-secondary {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.sidebar-author-photo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 3px solid var(--color-terracotta-light);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    min-height: 360px;
    background: var(--color-cream-dark);
    max-width: 100%;
    min-width: 0;
}

.map-wrapper iframe {
    width: 100%;
    max-width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.prose {
    color: var(--color-charcoal);
}

.prose h2 {
    margin-top: var(--space-2xl);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.article-hero-image {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
}
