
:root{color-scheme:light;--ink:#2b2926;--muted:#656059;--brand:#563e36;--accent:#725237;--paper:#fffefa;--cream:#f5f1eb;--line:#e5dfd6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);font:17px/1.72 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}a{color:#68452f;text-underline-offset:3px}a:hover{color:#765436}img{max-width:100%;height:auto}h1,h2,h3,.brand{font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.18;letter-spacing:-.025em;margin:.15em 0 .55em}h2{font-size:clamp(1.55rem,3vw,2rem);line-height:1.25;margin:1.45em 0 .55em}p{margin:0 0 1.2em}.container{width:min(100% - 2.5rem,1100px);margin-inline:auto}.skip{position:absolute;top:-100px;left:10px;background:white;padding:10px;z-index:20}.skip:focus{top:10px}.site-header{position:sticky;top:0;z-index:10;background:rgba(255,254,250,.97);border-bottom:1px solid var(--line);box-shadow:0 2px 15px #2920170d}.bar{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;min-height:86px}.brand{display:block;text-decoration:none;color:var(--brand);font-size:clamp(1.04rem,2vw,1.43rem);font-weight:bold;line-height:1.23;max-width:490px}.brand small{display:block;text-transform:uppercase;font:600 .61rem/1.7 system-ui,sans-serif;letter-spacing:.18em;color:var(--accent)}nav{display:flex;gap:.2rem;align-items:center}nav a{font-size:.93rem;text-decoration:none;color:var(--ink);padding:.65rem .85rem;border-radius:6px}nav a[aria-current=page],nav a:hover{background:var(--cream);color:var(--brand)}.menu-button{display:none;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;background:white;padding:.55rem .75rem;cursor:pointer;font:inherit}.hero{padding:5rem 0 4rem;background:linear-gradient(145deg,#f5f1eb 0%,#fffefa 80%);border-bottom:1px solid var(--line)}.eyebrow{font-weight:700;color:var(--accent);letter-spacing:.15em;text-transform:uppercase;font-size:.75rem}.hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:clamp(2rem,5vw,6rem);align-items:center}.lead{font-size:1.12rem;color:#4b463f}.button{display:inline-block;background:var(--brand);color:#fff;text-decoration:none;padding:.85rem 1.35rem;border-radius:5px;font-weight:600}.button:hover{color:#fff;background:#795b50}.button.ghost{background:transparent;border:1px solid var(--brand);color:var(--brand);margin-left:.5rem}.page{padding:3.5rem 0 5rem}.narrow{max-width:805px}.section{padding:3.2rem 0}.tinted{background:var(--cream)}.card{padding:2rem;background:white;border:1px solid var(--line);border-radius:8px}.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem}.placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:290px;aspect-ratio:4/5;background:#eae3d8;border:2px dashed #b3a392;border-radius:8px;text-align:center;padding:1.5rem;color:#55493b}.placeholder.landscape{aspect-ratio:16/9;min-height:200px}.placeholder svg{width:50px;height:50px;margin-bottom:1rem;opacity:.7}.placeholder strong{display:block;line-height:1.3}.placeholder small{display:block;max-width:280px;margin-top:.5rem}.caption{font-size:.84rem;color:var(--muted);margin-top:.65rem}.note{border-left:4px solid var(--accent);background:var(--cream);padding:1rem 1.3rem}.contact{font-style:normal;background:var(--cream);padding:1.6rem;border-radius:8px;line-height:1.8}ol{padding-left:1.5em}li{padding:.35rem 0}.footer{border-top:1px solid var(--line);background:#f4f0eb;padding:2.4rem 0;color:#60584e;font-size:.87rem}.footer .footrow{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.footer a{margin-left:1.2rem}.divider{border:0;border-top:1px solid var(--line);margin:2rem 0}@media(max-width:760px){.bar{min-height:73px}.brand{max-width:270px}.menu-button{display:inline-flex}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:1rem;box-shadow:0 12px 18px #0001;flex-direction:column;align-items:stretch}nav.open{display:flex}nav a{padding:.8rem 1rem}.hero{padding:3rem 0}.hero-grid,.columns{grid-template-columns:1fr}.hero-grid .placeholder{max-width:370px;margin:0 auto;width:100%}.button.ghost{margin:.6rem 0 0}.page{padding:2.3rem 0 3rem}.section{padding:2rem 0}.footer a{margin-left:0;margin-right:1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.original-photo{display:block;width:100%;border-radius:8px;object-fit:cover;background:#f5f1eb}.portrait-photo{aspect-ratio:1/1;object-fit:contain;background:#fff}.church-photo{aspect-ratio:1024/577}

/* Lokalt optimerat bildarkiv */
.align-center{align-items:center}.archive-section{background:#f5f1eb}.archive-cover{max-height:480px;object-fit:contain;object-position:center}.history-figure{float:right;max-width:210px;margin:.4rem 0 1rem 1.5rem}.book-image{max-height:310px;object-fit:contain}.content-gallery{clear:both;margin:3rem 0}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.photo-grid figure{margin:0}.photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block}.photo-grid figcaption{font-size:.82rem;color:var(--muted);padding:.3rem 0}.historical-document{padding:1.6rem;border:1px solid var(--line);background:var(--cream);border-radius:10px}@media(max-width:620px){.photo-grid{grid-template-columns:1fr}.history-figure{float:none;max-width:250px;margin:1rem auto}}

/* Porträttsymbol vid fondens namn – samma på alla sidor. */
.site-header .brand{display:flex;align-items:center;gap:.75rem;max-width:520px;min-width:0}
.brand-photo{display:block;flex:0 0 58px;width:58px;height:58px;object-fit:contain}
.brand-title{display:block;min-width:0}
@media(max-width:760px){.site-header .brand{max-width:calc(100% - 64px);gap:.55rem;font-size:clamp(.78rem,3.1vw,1.06rem)}.brand-photo{width:43px;height:43px;flex-basis:43px}.brand-title small{font-size:.52rem;letter-spacing:.12em}.menu-button{flex-shrink:0}}
@media(max-width:370px){.brand-photo{width:36px;height:36px;flex-basis:36px}.site-header .brand{font-size:.78rem}}
