/*
Theme Name: Woolf Journal
Version: 1.0.1
Text Domain: woolf-field
*/
:root{--ink:#181924;--muted:#555966;--body:#fff;--paper:#fff;--line:#dfe1e5;--accent:#db2f75;--soft:#f8edf1;--measure:1180px;--display:system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--body);font:16px/1.55 system-ui,sans-serif}
img{display:block;width:100%;height:auto}
a{color:inherit;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:.25rem}
h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.12}
h1{font-family:var(--display);font-size:clamp(2.4rem,6vw,5.1rem);letter-spacing:-.055em}
h2{font-family:var(--display);letter-spacing:-.02em}
.wrap{width:min(var(--measure),calc(100% - 64px));margin-inline:auto}
.skip-link{position:fixed;z-index:10;top:1rem;left:1rem;transform:translateY(-200%);padding:.6rem 1rem;background:#fff}
.skip-link:focus{transform:none}
.site-header{border-bottom:1px solid var(--line);background:var(--body)}
.masthead{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-family:var(--display);font-weight:850;font-size:1.45rem;letter-spacing:-.045em;line-height:1.05}
.brand-mark{display:grid;place-items:center;width:30px;height:30px;background:var(--accent);border-radius:9px;color:white;font:bold 1.25rem/1 system-ui}
.topic-links,.mast-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px}
.masthead nav a,.mast-actions a,.mast-actions summary{font-size:.88rem;text-decoration:none;font-weight:650}
.masthead a:hover,.mast-actions summary:hover,.topic-links [aria-current]{color:var(--accent)}
.mast-actions summary{cursor:pointer;list-style:none}
.search-box form{position:absolute;top:100%;right:0;z-index:2;background:var(--paper);border:1px solid var(--line);padding:14px;width:min(340px,100%);box-shadow:0 10px 25px #13162014}
.search-box label{display:block;margin-bottom:.45rem}
.search-box form div{display:flex;gap:.4rem}
.search-box input{min-width:0;flex:1;padding:.55rem;border:1px solid var(--line);font:inherit}
.search-box button,.button{display:inline-flex;align-items:center;justify-content:center;gap:.6em;border:none;border-radius:6px;background:var(--accent);color:white;padding:.62rem .95rem;text-decoration:none;font:700 .88rem/1.3 system-ui;cursor:pointer}
.button:hover,.search-box button:hover{filter:brightness(.88)}
.hero-split{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.hero-copy p,.care-intro p{font-size:clamp(1rem,1.8vw,1.2rem);color:var(--muted);max-width:38rem;margin:1.15rem 0 1.5rem}
.hero-visual{min-width:0}.hero-visual img{object-fit:cover;aspect-ratio:1.55}
.section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1.55rem}
.section-heading h2{font-size:clamp(1.35rem,2.7vw,2rem)}
.stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.story-card{min-width:0;background:var(--paper)}
.card-photo{display:block;overflow:hidden}.card-photo img{aspect-ratio:1.6;object-fit:cover;transition:transform .25s}
.card-photo:hover img{transform:scale(1.035)}
.card-text{padding:.9rem .95rem 1.1rem}
.story-kind{display:inline-block;font-size:.69rem;letter-spacing:.085em;text-transform:uppercase;font-weight:780;color:var(--accent)}
.card-text h2{font-size:clamp(1.05rem,2vw,1.32rem);margin:.3rem 0 .5rem}
.card-text h2 a,.woolf-lead h1 a{color:inherit;text-decoration:none}
.card-text h2 a:hover,.woolf-lead h1 a:hover{text-decoration:underline}
.card-text p{font-size:.89rem;color:var(--muted);overflow-wrap:anywhere}
time{display:block;color:var(--muted);font-size:.75rem;margin-top:.6rem}
#latest{padding:clamp(2rem,5vw,4rem) 0}
.site-footer{margin-top:2.75rem;border-top:1px solid var(--line);background:var(--soft);padding:2.1rem 0}
.footer-inner{display:flex;gap:1.5rem;align-items:flex-start;justify-content:space-between}
.footer-inner nav{display:flex;flex-wrap:wrap;gap:.75em}
.footer-inner a{text-decoration:none}.footer-inner a:hover{text-decoration:underline}
.footer-name{font-family:var(--display);font-weight:800;font-size:1.35rem}
.footer-inner p{font-size:.9rem;color:var(--muted);margin-top:.35rem}
.filter-links{display:flex;flex-wrap:wrap;gap:.45rem}
.filter-links a{background:var(--soft);border:1px solid var(--line);font-weight:680;font-size:.8rem;text-decoration:none;border-radius:30px;padding:.4rem .78rem}
.filter-links a:hover,.filter-links [aria-current]{background:var(--accent);border-color:var(--accent);color:#fff}
.archive-main{padding:clamp(2rem,7vw,6rem) 0;min-height:55vh}
.archive-heading h1{margin:0 0 1.25rem}.archive-heading{margin-bottom:2rem}
.article-main{padding:clamp(2rem,6vw,5rem) 0}
.article-header,.prose{width:min(710px,100%);margin-inline:auto}
.article-header{margin-bottom:2rem}.article-header h1{font-size:clamp(2rem,6vw,4.5rem);margin:.55rem 0}.article-header p{color:var(--muted);font-size:1.13rem}
.article-image{max-width:940px;margin:0 auto 2.25rem}.article-image img{aspect-ratio:1.8;object-fit:cover}
.prose{font-size:clamp(1rem,2vw,1.13rem);line-height:1.73}
.prose :is(p,ul,ol,figure){margin:0 0 1.2rem}.prose h2{font-size:1.55rem;margin:1.7rem 0 .65rem}.prose a{color:var(--accent);overflow-wrap:anywhere}
.prose table{width:100%;border-collapse:collapse;margin:1.2rem 0}.prose td,.prose th{padding:.5rem;text-align:left;border-bottom:1px solid var(--line)}
.prose blockquote{margin:1.2rem 0;padding:10px 20px;border-left:3px solid var(--accent);background:var(--soft)}
.archive-main > p{margin:1rem 0}.archive-main > .filter-links{margin-top:1rem}
.pagination{margin:2rem 0}.nav-links{display:flex;gap:.8rem}.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
@media(max-width:820px){.wrap{width:calc(100% - 40px)}.masthead{flex-wrap:wrap;justify-content:space-between;gap:12px;padding-block:15px}.masthead nav{order:3;flex-basis:100%}.hero-split{gap:1.5rem}.stories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.wrap{width:calc(100% - 30px)}.hero-split,.stories{grid-template-columns:1fr}.footer-inner{display:block}.footer-inner nav{margin-top:1rem}.topic-links{gap:11px}.story-card img{aspect-ratio:1.65}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

:root{--ink:#201e1b;--muted:#5a5149;--body:#f3ebe0;--paper:#f3ebe0;--line:#ddcdbf;--accent:#ad330e;--soft:#e1e8dd;--display:"Barlow Condensed","Arial Narrow",system-ui,sans-serif}
.masthead{display:grid;grid-template-columns:1fr 1fr 1fr;row-gap:14px;padding:18px 0 12px}
.brand{grid-column:2;grid-row:1;justify-self:center;text-transform:uppercase;white-space:nowrap;letter-spacing:.015em;background:#24201e;color:#fff;padding:7px 11px;font-weight:850;font-size:1.6rem}
.masthead nav{grid-column:1/-1;justify-self:center}.mast-actions{grid-column:3;grid-row:1;justify-self:end}
.woolf-mosaic{display:grid;grid-template-columns:1fr 2.2fr 1.02fr;gap:24px;padding-top:2rem}
.woolf-side{display:grid;gap:1rem;align-content:start}.small-story .card-text{padding:.45rem 0 .3rem}.small-story .card-text p{display:none}
.woolf-lead .lead-picture{display:block}.woolf-lead img{aspect-ratio:1.65;object-fit:cover}
.woolf-lead .story-kind{margin-top:1rem}.woolf-lead h1{font-size:clamp(2.2rem,5.2vw,4.5rem);line-height:.99;margin:.48rem 0 .8rem;letter-spacing:-.04em}
.woolf-lead p,.woolf-topics p{color:var(--muted)}
.woolf-topics{padding:0 0 0 16px;border-left:1px solid var(--line)}
.woolf-topics h2{font-size:1.4rem}.woolf-topics p{font-size:.88rem;margin:.6rem 0 1rem}
.woolf-topics .topic-links{align-items:stretch;flex-direction:column;gap:0}
.woolf-topics .topic-links a{padding:.5rem 0;border-bottom:1px solid var(--line);text-decoration:none;font-weight:720}
.text-link{display:block;margin-top:1rem;font-size:.88rem;font-weight:650;color:var(--accent)}
.stories{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.stories .card-text{padding:.65rem 0}
.woolf-band{background:#b93712;color:#fff3e7;padding:clamp(1.2rem,4vw,2.5rem);display:flex;align-items:center;justify-content:space-between;gap:20px}
.woolf-band h2{font-size:clamp(1.4rem,3vw,2.1rem);margin-bottom:.25rem}.woolf-band .button{background:#2d2018}
@media(max-width:900px){.woolf-mosaic{grid-template-columns:1fr 2fr}.woolf-topics{grid-column:1/-1;border-left:0;border-block-start:1px solid var(--line);padding:1rem 0}.woolf-topics .topic-links{flex-direction:row;gap:1rem}.stories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.masthead{grid-template-columns:1fr 1fr}.brand{grid-column:1;justify-self:start;font-size:1.25rem}.mast-actions{grid-column:2;gap:.55rem}.woolf-mosaic{display:flex;flex-direction:column}.woolf-lead{order:-1}.woolf-side{grid-template-columns:1fr 1fr}.woolf-band{align-items:flex-start;flex-direction:column}.stories{grid-template-columns:1fr}}

.photo-credit { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.photo-credit a { text-decoration: underline; }
.lead-photo, .feature-photo { margin: 0; min-width: 0; }

.stories--single .story-card { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 1rem; max-width: 740px; }
@media (max-width: 540px) { .stories--single .story-card { display: block; } }
