/* A single replaceable backdrop connects hero, journal margins and footer. */
body { isolation: isolate; }
.palette-lilac { --action: #70528b; --pink-soft: #efe8f6; --pink-art: #baa3ce; --cream: #f3f0f5; --line: #dfd3e8; --control-line: #917ba4; }
.palette-tea { --action: #786137; --pink-soft: #f3ebdb; --pink-art: #d8bb91; --cream: #f6f2e9; --line: #e5d9c7; --control-line: #94836a; }
.site-backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--cream); }
.site-backdrop picture, .site-backdrop img { display: block; width: 100%; height: 100%; }
.site-backdrop img { object-fit: cover; object-position: var(--scene-focus); }
.site-backdrop::after { content: ''; position: absolute; inset: 0; background: var(--canvas); opacity: var(--scene-veil); }
.header-sentinel { position: absolute; top: 32px; width: 1px; height: 1px; pointer-events: none; }
.site-header { padding: 10px 24px; border: 0; background: transparent; transition: background-color var(--duration-control) var(--ease); }
.header-inner { min-height: 66px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 4px 24px; background: rgb(var(--paper-rgb) / var(--paper-ui)); }
.site-header.is-scrolled { background: rgb(var(--paper-rgb) / var(--paper-header)); }
.site-header.is-scrolled .header-inner { background: transparent; border-color: transparent; }
.site-brand a { color: var(--action); }
.brand-flower { width: 36px; }
.search-link { border-left: 1px solid var(--line); padding-left: 20px; }
#site-navigation > ul > li > a { text-underline-offset: .5em; }
.hero { position: relative; isolation: isolate; overflow: clip; min-height: min(760px, calc(100svh - 86px)); display: flex; align-items: flex-end; padding: 120px max(48px, calc((100vw - 1200px) / 2)) 92px; }
.hero-art { position: absolute; inset: -86px 0 0; z-index: -1; overflow: clip; }
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: center; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: var(--canvas); opacity: var(--scene-veil); }
.hero-art.fit-contain img, .hero-illustration .hero-art img { object-fit: contain; }
.hero-art.focus-left img { object-position: left center; }
.hero-art.focus-right img { object-position: right center; }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; justify-content: flex-start; }
.title-right .hero-inner { justify-content: flex-end; }
.title-center .hero-inner { justify-content: center; }
.hero-copy { position: relative; width: min(460px, 100%); padding: 30px 36px 32px; background: rgb(var(--paper-rgb) / var(--paper-ui)); border: 1px solid var(--line); border-radius: 3px 48px 3px 48px; box-shadow: 0 12px 48px rgb(54 35 44 / 6%); }
.hero-copy::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 2px 40px 2px 40px; pointer-events: none; }
.hero-seal { position: absolute; top: -20px; left: 28px; padding: 6px; color: var(--action); background: var(--canvas); border: 1px solid var(--line); border-radius: 50%; }
.hero-seal svg { width: 28px; }
.hero-seal.hero-avatar { top: 0; transform: translateY(-50%); }
.hero-no-image .hero-seal.hero-avatar { left: 50%; transform: translate(-50%, -50%); }
.hero .eyebrow { font-size: 10px; letter-spacing: .16em; margin: 8px 0 18px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 3.2vw, 46px); color: var(--action); line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
.hero-intro { font-size: 15px; line-height: 2; color: var(--muted); margin: 0 0 24px; }
.hero .button { border-radius: 2px 16px; padding-inline: 24px; min-height: 46px; font-size: 14px; }
.hero-petals { position: absolute; pointer-events: none; bottom: 22px; left: 12px; width: 100px; height: 140px; background: url('../art/blossom-branch.svg') right bottom / 170px auto no-repeat; opacity: .85; }
.title-right .hero-petals { left: auto; right: 12px; transform: scaleX(-1); }
.hero-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; pointer-events: none; }
.hero-bottom svg { width: 100%; height: 100%; fill: none; stroke: var(--canvas); stroke-width: 2; opacity: .8; }
.hero-bottom path + path { stroke: var(--pink-art); stroke-width: 1; }
.hero-uncovered { display: block; padding-top: 24px; }
.hero-uncovered .hero-art { position: relative; inset: auto; height: 440px; margin-bottom: 32px; }
.hero-uncovered .hero-inner { justify-content: center; }
.hero-uncovered .hero-copy { width: min(680px, 100%); }
.hero-no-image { min-height: 400px; padding-top: 80px; background: linear-gradient(135deg, var(--cream), var(--canvas)); }
.hero-no-image .hero-inner { justify-content: center; }
.hero-no-image .hero-copy { width: min(680px, 100%); text-align: center; }
.hero-no-image .hero-seal { left: calc(50% - 20px); }
.background-unavailable .hero-inherited { min-height: 400px; }
.journal-region { position: relative; background: linear-gradient(to bottom, rgb(var(--paper-rgb) / 0), rgb(var(--paper-rgb) / var(--paper-journal)) 180px); }
.journal { position: relative; }
.section-heading { position: relative; width: fit-content; max-width: 100%; min-width: 320px; padding: 30px 48px 24px; margin-inline: auto; border-radius: 60% 60% 8px 8px / 40px 40px 8px 8px; background: rgb(var(--paper-rgb) / var(--paper-ui)); }
.section-heading::before { content: ''; position: absolute; left: 50%; top: -48px; width: 1px; height: 48px; background: var(--action); }
.section-heading .eyebrow { font-size: clamp(40px, 5vw, 64px); letter-spacing: .08em; line-height: 1.1; color: var(--action); }
.section-heading h2 { font-size: 26px; letter-spacing: .12em; }
.heading-line { gap: 16px; }
.heading-line svg { width: 24px; }
.heading-line::before, .heading-line::after { width: 64px; background: var(--line); }
.post-card { box-shadow: 0 8px 30px rgb(46 32 39 / 8%); }
.category-label { border-radius: 3px 12px; }
.card-meta time::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--line); margin: 0 10px 4px 0; }
.page-numbers { background: var(--surface); }
.journal > .search-form, .empty-state { padding: 24px; background: var(--surface); border-radius: 16px; }
.single-post-body { max-width: var(--width-reading-surface); margin: 32px auto 64px; background: var(--canvas); border-radius: 24px 4px; box-shadow: var(--shadow); }
.page-content, body.page .article-heading, body.error404 .article-heading { background: var(--canvas); }
.site-footer { position: relative; isolation: isolate; overflow: clip; padding-top: 72px; border-top: 1px solid var(--line); background: rgb(var(--paper-rgb) / var(--paper-footer)); }
.site-footer::before { content: ''; position: absolute; z-index: -1; width: 240px; height: 200px; right: -75px; bottom: -60px; background: url('../art/blossom-branch.svg') center / contain no-repeat; opacity: .65; }
.footer-name { font-size: 28px; }
.footer-flower { width: 36px; }
dialog { border-top: 3px solid var(--pink-art); }
.dialog-heading { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
@media (max-width: 1023px) {
 .hero { padding-inline: 32px; }
 .hero-copy { width: min(430px, 100%); }
}
@media (max-width: 767px) {
 .site-backdrop img { object-position: var(--scene-mobile-focus); }
 .site-header { padding: 8px 12px; }
 .header-inner { padding: 8px 12px; min-height: 60px; gap: 12px; border-radius: 3px 18px; }
 .brand-flower { width: 28px; }
 .site-brand a { font-size: 20px; gap: 6px; }
 .header-actions { gap: 4px; }
 .search-link { border-left: 0; padding-left: 0; }
 .hero { min-height: calc(100svh - 76px); padding: 240px 20px 64px; }
 .hero-art { inset-block-start: -76px; }
 .hero-copy { width: 100%; padding: 24px 24px 26px; border-radius: 3px 36px; }
 .hero-copy::before { border-radius: 2px 28px; }
 .hero h1 { font-size: 32px; line-height: 1.55; }
 .hero .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 14px; }
 .hero-intro { font-size: 15px; margin-bottom: 20px; }
 .hero-petals { left: -20px; width: 64px; height: 90px; background-size: 110px auto; bottom: 12px; }
 .title-right .hero-petals { right: -20px; }
 .hero-bottom { height: 36px; }
 .hero-uncovered { padding-top: 24px; }
 .hero-uncovered .hero-art { height: 420px; }
 .hero-no-image { min-height: 0; padding-top: 48px; }
 .background-unavailable .hero-inherited { min-height: 0; padding-top: 48px; }
 .section-heading { min-width: 0; width: 100%; padding: 24px 20px 20px; }
 .section-heading::before { height: 32px; top: -32px; }
 .section-heading .eyebrow { font-size: 40px; }
 .section-heading h2 { font-size: 23px; }
 .single-post-body { margin-top: 20px; margin-bottom: 40px; border-radius: 16px 16px 0 0; }
 .site-footer { padding-top: 56px; }
 .site-footer::before { width: 160px; height: 134px; right: -75px; opacity: .45; }
}
@media (max-width: 359px) { .site-header { padding-inline: 8px; } .header-inner { padding-inline: 8px; } .site-brand a { font-size: 18px; } .hero { padding-inline: 16px; } .hero-copy { padding-inline: 20px; } .hero h1 { font-size: 29px; } }
