:root {
    color-scheme: light;
    --paper: #f9f8f4;
    --ink: #222820;
    --muted: #535b50;
    --accent: #96472e;
    --green: #26392e;
    --band: #eeeee6;
    --line: #d8dbd1;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { min-height: 55vh; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { margin-top: .6rem; color: var(--muted); font-size: .78rem; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; overflow-wrap: break-word; }
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.055em; }
h1 span, .wordmark span { color: var(--accent); }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.035em; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .7rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.preview { background: var(--band); color: var(--muted); text-align: center; font-size: .75rem; padding: .25rem; }
.site-header { border-bottom: 1px solid var(--line); }
.masthead, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding-block: 1.1rem; }
.wordmark { font: 1.65rem/1 var(--serif); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem clamp(.55rem, 1.6vw, 1.45rem); }
nav a { display: inline-block; padding: .4rem .1rem; text-decoration: none; font-size: .9rem; }
nav a[aria-current] { text-decoration: underline 2px; text-decoration-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(4rem, 10vw, 9rem); line-height: .84; margin: .9rem 0 1.6rem; }
.hero-photo img { width: 100%; aspect-ratio: 1; }
.eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .085em; text-transform: uppercase; color: var(--muted); }
.lead { max-width: 53ch; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.5rem; }
.button { display: inline-block; background: var(--green); color: white; padding: .75rem 1.05rem; text-decoration: none; font-weight: 600; }
.button:hover { background: #3c5345; color: white; }
.text-link { font-weight: 650; display: inline-block; }
.band { background: var(--band); }
.feature { display: grid; grid-template-columns: minmax(8rem, .75fr) 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2rem, 5vw, 4.5rem); }
.feature h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); margin-bottom: .75rem; }
.cover { display: grid; place-items: center; }
.cover img { width: min(100%, 14rem); box-shadow: 0 .9rem 1.8rem #19291f29; }
.section { padding-block: clamp(2rem, 5vw, 4.5rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.two-cards, .book-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards article { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); padding: clamp(1.15rem, 3vw, 2rem); }
.cards h2, .prose h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: .65rem; }
.cards article > a { margin-top: auto; }
.page-head { padding-block: clamp(2rem, 6vw, 5rem) clamp(1.1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.page-head p { margin: .9rem 0 0; }
.page-body { padding-top: clamp(1.6rem, 4vw, 3rem); }
.book-feature { background: var(--band); padding-inline: clamp(1.2rem, 5vw, 4rem); }
.book-cards { margin: 1.5rem 0 3rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.8rem, 6vw, 5rem); align-items: start; }
.profile-photo { width: min(100%, 24rem); }
.profile-photo img { width: 100%; }
.prose p { max-width: 65ch; }
.prose h2:not(:first-child) { margin-top: 2rem; }
.services section { padding-block: 1rem; border-top: 1px solid var(--line); }
.services section p { margin-bottom: 0; }
.services .button { margin-top: 1rem; }
.rows, .plain { list-style: none; padding: 0; }
.rows li { padding-block: .9rem; border-bottom: 1px solid var(--line); }
.bibliography li { display: grid; grid-template-columns: 4rem 1fr; gap: .5rem; }
.articles li { display: grid; gap: .2rem; }
.articles a, .article-title { font: clamp(1.35rem, 3vw, 2rem)/1.2 var(--serif); }
.note { margin-top: 1.5rem; }
.plain { margin: 0; overflow-wrap: anywhere; }
.site-footer { background: var(--band); border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.7rem; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; }
@media (max-width: 740px) {
    .wrap { width: min(100% - 2rem, 75rem); }
    .masthead { align-items: flex-start; flex-direction: column; }
    .hero, .split { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(4rem, 15vw, 7rem); }
    .cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .feature { grid-template-columns: 1fr; }
    .cover { justify-items: start; }
    .cover img { width: min(100%, 10rem); }
}

.hero h1 {font-size:clamp(3rem,6.8vw,6.4rem);line-height:.98;}  .intro{margin-bottom:2rem} .book-cards article .cover{margin-bottom:1.4rem;width:100%;justify-items:start} .book-cards article .cover img{max-height:250px;width:auto} .cards article .actions{margin-top:auto;padding-top:1rem} .filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:end;margin-bottom:2rem} .filters label{display:grid;gap:.25rem;font-size:.85rem} .filters input,.filters select{font:inherit;padding:.65rem;border:1px solid var(--line);background:white;max-width:100%} .filters button{border:0;cursor:pointer;font:inherit} .services ul{padding-left:1.3rem} .page-head h1{font-size:clamp(2.6rem,6vw,5.5rem)} @media(max-width:740px){.hero h1{font-size:clamp(3rem,11vw,5rem)} .filters label{flex:1 1 130px;min-width:0}}

.book-cards article .cover { height: 250px; align-items: start; }
.book-cards article .cover img { height: 250px; width: auto; max-width: 100%; object-fit: contain; object-position: left top; }

/* Foredrag – version 2.2 */
.talk-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(2rem,6vw,5rem); align-items:start; margin-bottom:2.5rem; }
.talk-portrait { width:min(100%, 22rem); justify-self:center; }
.talk-portrait img { width:100%; height:auto; }
.talk-portrait .button { margin-top:1rem; }
.talk-cover { margin-bottom:1.3rem; }
.talk-cover img { height:220px; width:auto; max-width:100%; object-fit:contain; object-position:left; box-shadow:0 .6rem 1.3rem #19291f29; }
@media(max-width:740px) { .talk-intro { grid-template-columns:1fr; } .talk-portrait { justify-self:start; } }

.hero h1 { margin: 0 0 1rem; }
.hero-roles { font-size: clamp(.67rem, 1.1vw, .82rem); letter-spacing: .055em; }
.hero-roles span { display: block; }
.hero-roles { margin-bottom: 1.25rem; }
.services > ul:first-child + p + p { font-weight: 650; }
.filters label { grid-template-columns: minmax(0, 1fr); }

.article-year { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.article-year summary { font: 1.65rem/1.25 var(--serif); cursor: pointer; padding-block: .25rem; }
.article-year > p { margin: .75rem 0 0; }
.article-year .rows { margin-bottom: 0; }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); }
.contact-layout .cards { grid-template-columns: 1fr; }
@media (max-width: 740px) { .contact-layout { grid-template-columns: 1fr; } }

.admin { max-width: 54rem; overflow-wrap: anywhere; }
.admin h1 { font-size: clamp(2rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.admin h2 { margin-top: 2rem; }
.admin form { display: grid; gap: .85rem; justify-items: start; margin-top: 1rem; }
.admin label { display: grid; gap: .3rem; width: min(100%, 36rem); }
.admin input { width: 100%; min-width: 0; padding: .65rem; font: inherit; border: 1px solid var(--line); }
.admin button { border: 0; font: inherit; cursor: pointer; }

.admin textarea { width: 100%; min-width: 0; padding: .65rem; font: inherit; border: 1px solid var(--line); }
.admin-cover { width: auto; max-height: 10rem; }
.admin-tabs { margin-block: 1.5rem; }
.admin-items li { display: flex; justify-content: space-between; gap: 1rem; }
