body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #faf6f0;
    color: #1a1815;
    -webkit-font-smoothing: antialiased;
}

.font-caslon {
    font-family: 'Libre Caslon Text', serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e8ded1;
}

.ambient-shadow {
    box-shadow: 0 20px 40px -15px rgba(26, 24, 21, 0.08);
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-4px);
}

.form-input {
    border: 1px solid #e8ded1;
    border-radius: 0.125rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #c86a3b;
    box-shadow: 0 0 0 3px rgba(200, 106, 59, 0.12);
}

.alert {
    border-radius: 0.125rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #f5ede2;
    border: 1px solid #d99a38;
    color: #1a1815;
}

.alert-error {
    background: #fde8e4;
    border: 1px solid #c86a3b;
    color: #7a2e12;
}

.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    background-size: cover;
    background-position: center;
}

/* Admin-authored article content */
.article-body {
    color: #1a1815;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.article-body > * + * {
    margin-top: 1.4em;
}

.article-body h2 {
    font-family: 'Libre Caslon Text', serif;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    margin-top: 2.4em;
    padding-top: 1.2em;
    border-top: 1px solid #e8ded1;
    scroll-margin-top: 7rem;
}

.article-body > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.article-body h3 {
    font-family: 'Libre Caslon Text', serif;
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 2em;
    color: #b85d19;
    scroll-margin-top: 7rem;
}

.article-body h2 + p,
.article-body h3 + p {
    margin-top: 0.9em;
}

.article-body > p:first-of-type::first-letter {
    font-family: 'Libre Caslon Text', serif;
    float: left;
    font-size: 3.6em;
    line-height: 0.9;
    margin: 0.08em 0.12em 0 0;
    color: #c86a3b;
}

.article-body a {
    color: #b85d19;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: #c86a3b;
}

.article-body strong {
    font-weight: 700;
}

.article-body ul,
.article-body ol {
    padding-left: 1.4em;
}

.article-body ul {
    list-style: none;
    padding-left: 0;
}

.article-body ul li {
    position: relative;
    padding-left: 1.5em;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0.2em;
    top: 0.75em;
    width: 0.45em;
    height: 0.45em;
    background: #c86a3b;
}

.article-body ol {
    list-style: decimal;
}

.article-body ol li::marker {
    font-family: 'Libre Caslon Text', serif;
    color: #c86a3b;
    font-weight: 700;
}

.article-body li + li {
    margin-top: 0.6em;
}

.article-body .article-quote {
    margin: 2.2em 0;
    padding: 1.75rem;
    background: #f7eee2;
    border: 1px solid #e8ded1;
    border-left: 4px solid #c86a3b;
}

.article-body .article-quote blockquote {
    font-family: 'Libre Caslon Text', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.45;
}

.article-body .article-quote figcaption {
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b85d19;
}

.article-body .article-figure img {
    width: 100%;
    border: 1px solid #e8ded1;
}

.article-body .article-figure figcaption {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #6e675f;
}

.article-body hr {
    border: 0;
    border-top: 1px solid #e8ded1;
    margin: 2.5em 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 246, 240, 0.72) 0%, rgba(245, 237, 226, 0.85) 100%);
}
