/* BIV — Bipolär Innovation i Väst */
:root {
  --cream: #fffaf2;
  --cream-2: #f7efe3;
  --ink: #2b1716;
  --ink-soft: #5d4644;
  --maroon: #441010;
  --maroon-2: #5a1a19;
  --accent: #890b35;
  --mustard: #d8842d;
  --olive: #5d6c41;
  --accent-ink: #ffffff;
  --sage: #9aa678;
  --sage-soft: #e7ebdb;
  --line: rgba(68, 16, 16, 0.14);
  --radius: 14px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Almarai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Newsreader", Georgia, "Times New Roman", serif;
  /* Fluid type scale, same formulas as the original Squarespace site:
     size = (scale - 1) * unit + 1rem, where the unit is height-based on portrait phones
     and 1.2vw from 768px wide or in landscape. */
  --type-unit: calc(0.012 * min(100vh, 900px));
  --text-small: calc(0.1 * var(--type-unit) + 1rem);
  --text-normal: calc(0.3 * var(--type-unit) + 1rem);
  --text-large: calc(0.4 * var(--type-unit) + 1rem);
  --h1: calc(3.2 * var(--type-unit) + 1rem);
  --h2: calc(1.8 * var(--type-unit) + 1rem);
  --h3: calc(1.2 * var(--type-unit) + 1rem);
  --h4: calc(0.6 * var(--type-unit) + 1rem);
}

@media screen and (min-width: 768px), screen and (orientation: landscape) {
  :root { --type-unit: 1.2vw; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--accent);
  font-family: var(--font);
  font-size: var(--text-normal);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 400; color: var(--accent); }
h4 { font-weight: 500; }
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--cream); padding: 8px 12px; z-index: 100; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: var(--text-normal); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 6px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 1rem; line-height: 1.2; font-weight: 400;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.mustard { background: var(--mustard); border-color: var(--mustard); color: #fff; }
.btn.mustard:hover { background: #b96b1c; border-color: #b96b1c; }
.btn.white { background: #fff; border-color: #fff; color: var(--accent); }
.btn.white:hover { background: transparent; color: #fff; }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--maroon); }
.btn.light:hover { background: transparent; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .96); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--accent); text-decoration: none; padding: .5em .7em; font-size: var(--text-small); text-underline-offset: 6px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; }
.nav .btn { margin-left: 8px; padding: .55em 1.1em; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--maroon); }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; background: none; border: 1.5px solid var(--accent); color: var(--accent); border-radius: 6px; padding: .4em .9em; font: inherit; font-weight: 700; cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: .8em .6em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Sections */
section { padding: clamp(56px, 9vw, 110px) 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-sage { background: var(--sage-soft); }
.bg-maroon { background: var(--accent); color: #fff; }
.bg-maroon h1, .bg-maroon h2, .bg-maroon h3, .bg-maroon h4 { color: #fff; }
.bg-maroon a:not(.btn) { color: #ffd9e6; }
.bg-maroon .eyebrow { color: #f2a7c3; }
.bg-olive { background: var(--olive); color: #fff; }
.bg-olive h2, .bg-olive > .wrap > p { color: #fff; }
.bg-art { position: relative; color: #fff; background: var(--accent) center/cover no-repeat; }
.bg-art::before { content: ""; position: absolute; inset: 0; background: rgba(60, 8, 26, .45); }
.bg-art > * { position: relative; }
.bg-art h2 { color: #fff; }
.bg-maroon .muted, .bg-maroon .lead { color: #e7d3cf; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.rounded { border-radius: var(--radius); overflow: hidden; }
.cover { width: 100%; height: 100%; object-fit: cover; }

.grid { display: grid; gap: clamp(18px, 3vw, 32px); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Hero */
.hero { position: relative; padding: clamp(64px, 10vw, 140px) 0; overflow: hidden; background: var(--cream); }
.hero-art { position: absolute; inset: 0 0 0 40%; background-position: 80% center; background-size: cover; background-repeat: no-repeat; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 470px; }
.hero .lead { color: var(--accent); }
@media (max-width: 820px) {
  .hero-art { left: 0; opacity: .28; background-position: 70% center; }
}
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero.image { position: relative; color: #fff; padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 7vw, 80px); background: var(--maroon) center/cover no-repeat; }
.page-hero.image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(137,11,53,.15), rgba(90,6,34,.75)); }
.page-hero.image .wrap { position: relative; }
.page-hero.image h1, .page-hero.image .lead { color: #fff; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: .3em; flex: 1; }
.card-body .more { margin-top: auto; font-weight: 700; }
.card img.thumb { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.card img.wide { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card blockquote { margin: 0 0 1em; font-size: 1.05rem; color: var(--ink-soft); font-style: italic; }
a.card { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card.centered { border: 0; border-radius: 0; padding: 18px; text-align: center; }
.card.centered .card-body { padding: 18px 8px 8px; align-items: center; }
.card.centered h3 { font-size: var(--h4); }
.card.centered blockquote { font-style: normal; font-size: .95rem; color: #8a8f7a; }
.card.centered .btn { margin-top: auto; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(68,16,16,.12); color: inherit; }

.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.quick a { display: block; padding: 22px 22px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.quick a:hover { background: var(--cream); color: var(--maroon); }
.quick a span { display: block; font-weight: 400; font-size: .92rem; opacity: .85; margin-top: 4px; }

/* Long-form article */
.article { padding: clamp(40px, 7vw, 80px) 0; }
.article .narrow > h2 { margin-top: 1.6em; }
.article .narrow > h3, .article .narrow > h4 { margin-top: 1.4em; }
.article figure { margin: 2em 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article-head { text-align: center; padding-top: clamp(40px, 7vw, 80px); }
.article-head .quote { font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--ink-soft); font-weight: 400; font-style: italic; max-width: 760px; margin: 0 auto; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.5em; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 2em 0; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; }

/* Crisis */
.crisis { border-left: 6px solid var(--accent); background: #fff; border-radius: var(--radius); padding: 24px 26px; }
.crisis h3 { margin-bottom: .3em; }
.crisis .tel { font-size: 1.6rem; font-weight: 800; color: var(--maroon); text-decoration: none; }
.alert-112 { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 22px 26px; font-size: 1.25rem; font-weight: 800; }
.alert-112 a { color: #fff; }

/* Team */
.team img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; background: var(--cream-2); }
.team h4 { margin: .8em 0 .1em; }
.team p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* Donors marquee */
.donors { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.donors span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-weight: 700; color: var(--maroon); }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .8em 1em; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(137,21,65,.15); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .consent input { width: auto; margin-top: .35em; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.ok { color: #2f6b2f; }
.form-status.err { color: var(--accent); }
.bg-maroon .form input, .bg-maroon .form textarea { border-color: transparent; }
.bg-maroon .form-status.ok { color: #cfe8b8; }
.bg-maroon .form-status.err { color: #ffc2d6; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type="email"] { flex: 1 1 240px; }

/* Donate */
.amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.amounts .btn { min-width: 110px; justify-content: center; }

/* Shop */
.product img { aspect-ratio: 1; object-fit: cover; background: var(--cream-2); }
.price { font-weight: 800; color: var(--maroon); font-size: 1.1rem; }
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; } }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-gallery img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; background: var(--cream-2); }
.product-gallery img:first-child { grid-column: 1 / -1; }
.product-info ul { padding-left: 1.2em; }
.small { font-size: .88rem; color: var(--ink-soft); }

/* Instagram strip */
.ig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.ig a { display: block; border-radius: 10px; overflow: hidden; }
.ig img { aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.ig a:hover img { transform: scale(1.04); }


/* Kaos & Kreativitet page, matching the original layout */
.kaos-hero { position: relative; background: var(--accent) center/cover no-repeat; color: #fff; padding: clamp(120px, 22vw, 320px) 0 clamp(64px, 9vw, 120px); text-align: center; }
.kaos-hero h1 { color: #fff; font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1; margin-bottom: .2em; }
.kaos-hero .lead { color: #fff; margin-bottom: 2.4em; }
.kaos-panel { background: rgba(110, 8, 40, .72); border-radius: 4px; padding: clamp(24px, 4vw, 44px); text-align: left; max-width: 900px; margin: 0 auto 28px; }
.kaos-panel h2 { color: #fff; }
.kaos-panel p { color: #fbeef2; }
.book-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.book-img { background: #e4e4e4; display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 80px); }
.book-img img { max-width: 360px; width: 100%; }
.book-form { background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px); text-align: center; }
.book-form h2 { color: #fff; }
.book-form .inline-form { justify-content: center; }
.book-form .muted { color: #f3d6df; }
@media (max-width: 820px) { .book-split { grid-template-columns: 1fr; } }
.bg-olive .donors span { color: var(--olive); border-color: transparent; }
.bg-art .lead { color: #fff; }

/* Footer, as on the original */
.site-footer { background: var(--cream); padding: 48px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.footer-brand { display: grid; gap: 28px; justify-items: start; }
.footer-brand img { width: 200px; height: auto; }
.footer-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: var(--text-small); }
.footer-social a:hover { color: var(--accent); }
.footer-vb img { width: 150px; height: auto; }
.footer-help h4 { color: var(--ink); font-size: var(--h4); margin-bottom: .2em; font-weight: 500; }
.footer-help p { color: var(--ink); font-size: .9rem; margin-bottom: 1.2em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Extra button styles used on the original */
.btn.outline-mustard { background: transparent; border: 1.5px solid var(--mustard); color: var(--mustard); min-width: 200px; justify-content: center; }
.btn.outline-mustard:hover { background: var(--mustard); color: #fff; }
.btn.dark { background: #3b0d0d; border-color: #fff; color: #fff; min-width: 150px; justify-content: center; }
.btn.dark:hover { background: #fff; color: #3b0d0d; }
.btn.outline-white { background: transparent; border: 1.5px solid #fff; color: #fff; min-width: 220px; justify-content: center; }
.btn.outline-white:hover { background: #fff; color: var(--accent); }
.btn.sage { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn.block { width: 100%; justify-content: center; }

/* Homepage, as on the original */
.wrap-wide { max-width: 1300px; margin: 0 auto; padding: 0 var(--gutter); }
.about-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 1000px; }
.about-split img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }
.interview-cards .card.centered img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.interview-cards .card.centered .btn { padding: .7em 1.4em; }
.quick-access { text-align: center; padding: clamp(48px, 7vw, 80px) 0; }
.quick-access h2 { margin-bottom: .1em; }
.quick-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px 40px; justify-content: center; margin-top: 28px; }
.quick-buttons .btn { justify-content: center; }
@media (max-width: 520px) { .quick-buttons { grid-template-columns: 1fr; } }
.projects h2, .projects h3, .projects p { color: #fff; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.project { display: flex; flex-direction: column; gap: .4em; height: 100%; }
.project img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 1em; }
.project .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr; } }
.instagram { background: #ae4144; text-align: center; }
.instagram h2 a { color: #fff; text-decoration: none; letter-spacing: .02em; }
.instagram .ig { margin-top: 28px; }

/* Bipolär sjukdom, as on the original */
.art-band { height: clamp(140px, 26vw, 360px); padding: 0; background: var(--accent) center/cover no-repeat; }
.wrap-mid { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.intro-split { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.intro-grid h1 { font-size: var(--h2); margin: 0; }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }
.info-rows { padding-top: 0; }
.info-row { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(32px, 5vw, 56px); align-items: start; }
.info-img img { width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.info-text h4 { margin-top: 0; }
.info-text ul { padding-left: 1.2em; }
.info-text li { margin-bottom: .3em; }
@media (max-width: 760px) { .info-row { grid-template-columns: 1fr; } .info-img:empty { display: none; } }

/* Samtalsgrupp, as on the original */
.talk-split { display: grid; grid-template-columns: 0.75fr 1fr; padding: 0; min-height: 520px; }
.talk-left { background: #441010; position: relative; }
.talk-left img { position: absolute; top: 48px; left: clamp(16px, 6vw, 88px); width: min(560px, 140%); aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; z-index: 1; }
.talk-right { background: var(--olive); color: #fff; padding: 56px clamp(24px, 6vw, 100px) 64px clamp(24px, 22vw, 340px); }
.talk-right h1 { color: #fff; font-size: var(--h2); }
.talk-right h4 { color: #fff; margin: 1.4em 0 .6em; }
.talk-lead { font-size: var(--text-normal); }
.small-white { font-size: .85rem; }
@media (max-width: 820px) {
  .talk-split { grid-template-columns: 1fr; }
  .talk-left { padding: 24px var(--gutter); }
  .talk-left img { position: static; width: 100%; }
  .talk-right { padding: 40px var(--gutter); }
}
.sq-form fieldset { border: 0; padding: 0; margin: 0; }
.sq-form legend { font-weight: 400; padding: 0; margin-bottom: 4px; }
.sq-form label { font-weight: 400; font-size: .9rem; }
.sq-form label span { opacity: .7; font-size: .8rem; }
.sq-form input, .sq-form textarea { border-radius: 0; border: 1px solid #ccc; background: #fafafa; }

/* Krisstöd, as on the original */
.crisis-split { display: grid; grid-template-columns: 0.85fr 1fr; padding: 0; }
.crisis-left { background: #441010; color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 64px 32px; }
.crisis-left h1 { color: #fff; font-size: var(--h2); }
.crisis-left p { font-size: .95rem; max-width: 300px; margin: 0 auto; }
.crisis-right { padding: 48px clamp(24px, 6vw, 96px); }
.crisis-right p { margin-bottom: 1.8em; }
.crisis-right a[href^="tel"] { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .crisis-split { grid-template-columns: 1fr; } }
.raspberry-strip { height: 80px; background: var(--accent); }

/* Bli medlem, as on the original */
.member { padding: 0 0 24px; }
.member-box { max-width: 780px; margin: 0 auto; background: rgba(60, 8, 26, .45); padding: 48px clamp(20px, 5vw, 80px) 56px; text-align: center; }
.member-box h2 { color: rgba(255,255,255,.35); }
.member-box > p { color: rgba(255,255,255,.35); }
.member-form { position: relative; max-width: 440px; margin: 32px auto 0; background: rgba(255,255,255,.25); padding: 24px; text-align: left; }
.member-form .form { opacity: .35; }
.coming-soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; font-family: var(--font-heading); font-size: var(--h2); color: #fff; line-height: 1.05; padding: 0 30%; }

/* Kaos & Kreativitet, as on the original */
.book-split { min-height: 520px; }
.book-img { padding: 0; }
.book-img img { max-width: none; width: 100%; height: 100%; object-fit: cover; }
.donate { display: grid; justify-items: center; gap: 18px; margin: 18px 0 8px; }
.donate fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.donate label { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.donate input { accent-color: #fff; width: 16px; height: 16px; }
.donors-title { color: #fff; font-size: var(--h4); margin-top: 1.8em; }
.donor-marquee { overflow: hidden; white-space: nowrap; padding: 6px 0 4px; }
.donor-track { display: inline-flex; gap: 22px; animation: donors 40s linear infinite; font-family: var(--font-heading); font-size: var(--h4); color: #fff; }
@keyframes donors { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .donor-track { animation: none; white-space: normal; flex-wrap: wrap; justify-content: center; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Teamet, as on the original */
.team-hero { background: var(--accent) center/cover no-repeat; padding: clamp(48px, 6vw, 72px) 0 clamp(96px, 12vw, 180px); }
.team-hero h1 { color: #fff; text-align: center; font-size: var(--h3); margin-bottom: 1.6em; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px); }
.member-cell { display: flex; gap: 10px; align-items: flex-start; }
.member-cell img { width: 34%; max-width: 135px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.member-cell p { margin: 0; font-family: var(--font-heading); font-size: var(--h4); line-height: 1.15; color: #fff; }
.member-cell p span { color: #e3c8a8; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; } }
.team-about { clip-path: polygon(0 12%, 55% 0, 100% 6%, 100% 100%, 0 100%); margin-top: -60px; padding-top: 110px; }
.team-about p { font-family: var(--font-heading); font-size: var(--h4); color: #fff; }
.team-about a { color: #fff; font-family: var(--font); font-size: .85rem; }

/* Intervjuer, as on the original */
.iv-list h1 { color: #fff; text-align: center; font-size: var(--h2); margin-bottom: .2em; }
.iv-sub { text-align: center; color: var(--sage); font-family: var(--font-heading); font-size: var(--h4); margin-bottom: 2em; }
.iv-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(20px, 4vw, 44px); margin-bottom: clamp(32px, 5vw, 48px); align-items: start; }
.iv-row img { width: 100%; aspect-ratio: 9 / 8; object-fit: cover; border-radius: 10px; }
.iv-row h3 { color: #fff; margin-bottom: .4em; }
.iv-row h4 { color: #fff; font-weight: 500; }
.iv-row p { color: #fff; font-size: .9rem; }
@media (max-width: 700px) { .iv-row { grid-template-columns: 1fr; } }
.iv-head { padding: clamp(32px, 5vw, 48px) 0; }
.iv-head-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.iv-head-grid > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.iv-eyebrow { color: var(--sage); font-family: var(--font-heading); font-size: var(--h4); margin-bottom: 1.6em; }
.iv-head h1 { color: #fff; font-size: var(--h3); margin-bottom: .3em; }
.iv-quote { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; }
.iv-head .byline { color: #fff; font-size: .8rem; margin: 1.6em 0 0; }
@media (max-width: 760px) { .iv-head-grid { grid-template-columns: 1fr; } }
.iv-body { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 72px); font-size: .95rem; }
.iv-body .wrap-mid { display: flow-root; }
.iv-body p { max-width: 64%; }
.iv-body figure.float { float: right; clear: right; width: 30%; margin: 8px 0 24px 32px; }
.iv-body figure.float img { width: 100%; border-radius: 10px; }
.iv-body .gallery { clear: both; }
@media (max-width: 760px) { .iv-body p { max-width: none; } .iv-body figure.float { float: none; width: 100%; margin: 20px 0; } }

/* Stöd oss, as on the original */
.shop-title { padding: 24px 0 0; }
.shop-title-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 20px; flex-wrap: wrap; }
.shop-title h1 { color: var(--sage); font-size: var(--h2); margin: 0; max-width: 520px; }
.shop-title p { color: var(--sage); font-family: var(--font-heading); font-size: var(--h4); margin: 0; }
.shop { padding: 24px 0 32px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.shop-item h3 { color: var(--sage); font-size: var(--text-normal); margin: .8em 0 .2em; }
.shop-price { color: var(--sage); font-size: .8rem; margin-bottom: .6em; }
.shop-item .btn { padding: .55em 1em; font-size: .85rem; }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.community { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.community h2, .community p { color: #fff; }
.collage { position: relative; aspect-ratio: 5 / 4; }
.collage img { position: absolute; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.c-back { left: 30%; top: 0; width: 46%; height: 100%; }
.c-left { left: 0; top: 14%; width: 50%; height: 50%; }
.c-right { right: 0; top: 30%; width: 54%; height: 56%; }
@media (max-width: 760px) { .community { grid-template-columns: 1fr; } }
.join-grid { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.join-grid p { font-size: .9rem; }
@media (max-width: 600px) { .join-grid { grid-template-columns: 1fr; } }
.ways { padding-top: 0; }
.ways h2 { text-align: center; font-size: var(--h1); max-width: 520px; margin: 0 auto .6em; }
.ways-list { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; font-size: .85rem; padding-left: 1em; }
.ways-list a { color: inherit; }
@media (max-width: 600px) { .ways-list { grid-template-columns: 1fr; } }
.newsletter .wrap-wide { position: relative; display: grid; justify-items: center; gap: 48px; }
.note-box { justify-self: start; max-width: 320px; background: var(--cream); color: var(--accent); border-radius: 16px; padding: 18px; text-align: center; font-size: .9rem; }
.newsletter-box { text-align: center; max-width: 520px; }
.newsletter-box h2 { color: #fff; font-size: var(--h3); }

/* Product pages, as on the original */
.product-page { grid-template-columns: 1fr 1fr; }
.carousel { position: relative; background: #fff; }
.carousel img { display: none; width: 100%; aspect-ratio: 1; object-fit: contain; }
.carousel img.active { display: block; }
.carousel button { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: rgba(255,250,242,.8); color: #999; font-size: 1.6rem; cursor: pointer; }
.car-prev { left: 8px; } .car-next { right: 8px; }
.product-info, .product-info a { color: var(--sage); }
.product-info h1 { color: var(--sage); font-size: var(--h2); }
.crumb { font-size: .85rem; }
.product-info .price { color: var(--sage); font-weight: 400; font-size: .9rem; }
.product-info p, .product-info li { font-size: .9rem; }
.product-info .small, .product-info .small p { color: var(--sage); }

/* Homepage fine-tuning against the original */
.hero-copy { max-width: 430px; }
.hero .lead { max-width: 300px; }
.about-split { grid-template-columns: 1fr 1.25fr; max-width: 960px; }
.project h3 { font-size: var(--h4); }
.project p { font-size: .85rem; }

.instagram .ig { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .instagram .ig { grid-template-columns: repeat(2, 1fr); } }
.sq-form label { display: block; }
.sq-form label input, .sq-form label textarea { display: block; margin-top: 4px; }
.intro-grid h1 { font-size: var(--h2); }

/* Size fine-tuning against the original */
.kaos-hero h1 { font-size: clamp(3rem, 11vw, 9rem); }
.kaos-panel { max-width: 1060px; font-size: .9rem; }
.donate label { font-size: 1rem; }
#donera .donate .btn { background: var(--sage); border-color: var(--sage); color: #fff; }
.member-cell img { width: 140px; max-width: 34%; }
.team-grid { row-gap: clamp(40px, 7vw, 100px); }
.team-hero { padding-bottom: clamp(140px, 16vw, 240px); }
.iv-list h1 { font-size: var(--h1); }
.iv-sub { font-size: var(--h3); }
.iv-row p { font-size: calc(var(--text-normal) * 0.9); }
.iv-row .btn { min-width: 300px; padding: 1em; }
.iv-head h1 { font-size: var(--h2); }
.iv-eyebrow { font-size: calc(var(--h3) * 0.85); }
.iv-quote { font-size: calc(var(--h4) * 0.85); }
.iv-head-grid { grid-template-columns: 1fr 1.2fr; }
.iv-body { font-size: calc(var(--text-normal) * 0.9); }
.iv-body .gallery.pair { grid-template-columns: 1fr 1fr; max-width: 640px; margin: 2em auto; }
.iv-body .gallery.pair img { aspect-ratio: 4 / 5; border-radius: 10px; }
.ways-list { font-size: .95rem; }
.note-box { font-size: 1rem; max-width: 340px; }
.product-info h1 { font-size: calc(var(--h2) * 1.3); line-height: 1.05; }
.product-info p, .product-info li { font-size: calc(var(--text-normal) * 0.85); }
.member-box { max-width: 1060px; }
.member-form { max-width: 640px; }

/* Interviews use nearly the full page width, like the original */
.iv-head .wrap-mid, .iv-body .wrap-mid { max-width: 1300px; }
.iv-body figure.float { width: 32%; }

@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }

/* Bipolär sjukdom: one shared column grid, even spacing */
.intro-grid { grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); }
.intro-grid h1 { font-size: var(--h2); line-height: 1.05; }
.info-row { margin-bottom: clamp(40px, 5vw, 64px); }
.info-row:last-child { margin-bottom: 0; }
.info-img img { max-width: 300px; margin: 0; }
.info-text > :first-child { margin-top: 0; }
.info-text h4 { margin-top: 1.4em; }
.info-text h4:first-child { margin-top: 0; }
@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-row { gap: 16px; margin-bottom: 36px; }
  .info-img img { max-width: none; width: 100%; aspect-ratio: 4 / 3; }
}

/* Team, unfolded on the Kaos & Kreativitet page; every photo the same size */
.team-inline { padding: clamp(56px, 7vw, 88px) 0; scroll-margin-top: 72px; }
.team-inline h2 { color: #fff; text-align: center; font-size: var(--h3); margin-bottom: 1.4em; }
.member-cell img { width: 140px; height: 140px; max-width: none; flex: 0 0 140px; }
@media (max-width: 760px) { .member-cell img { width: 96px; height: 96px; flex-basis: 96px; } }
.team-about-inline { max-width: 720px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; background: rgba(60, 8, 26, .55); padding: 24px clamp(18px, 4vw, 36px); border-radius: 4px; }
.team-about-inline p { color: #fff; font-family: var(--font-heading); font-size: var(--h4); margin: 0; }
.team-inline { position: relative; }
.team-inline::before { content: ""; position: absolute; inset: 0; background: rgba(40, 0, 15, .38); }
.team-inline > * { position: relative; }
.team-inline .member-cell p, .team-inline h2 { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 12px rgba(0,0,0,.45); }

/* Sketch: Bipolär sjukdom redesign (sk-*) */
.sk-intro { padding: clamp(40px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); }
.sk-intro h1 { font-size: var(--h2); }
.sk-lead { font-size: var(--text-large); max-width: 38em; }
.sk-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sk-toc a { border: 1.5px solid var(--accent); border-radius: 999px; padding: .45em 1.1em; text-decoration: none; font-size: .95rem; }
.sk-toc a:hover { background: var(--accent); color: #fff; }
.sk-section { padding: clamp(32px, 5vw, 56px) 0; scroll-margin-top: 72px; }
.sk-section h2, .sk-card h2, .sk-mixed h2 { font-size: var(--h3); margin-bottom: .4em; }
.sk-measure { max-width: 65ch; }
.sk-split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.sk-split img { width: 100%; max-width: 320px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.sk-compare { background: var(--cream-2); }
.sk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.sk-card { background: #fff; border-radius: 10px; padding: clamp(22px, 3vw, 34px); border-top: 6px solid; scroll-margin-top: 80px; }
.sk-mani { border-top-color: var(--mustard); }
.sk-dep { border-top-color: var(--olive); }
.sk-card ul { padding-left: 1.2em; margin: 0 0 1em; }
.sk-card li { margin-bottom: .35em; }
.sk-tag { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; margin-bottom: .3em; opacity: .8; }
.sk-mani .sk-tag { color: #a8621a; }
.sk-dep .sk-tag { color: var(--olive); }
.sk-mixed { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; background: #fff; border-radius: 10px; padding: 20px; margin-top: clamp(18px, 3vw, 32px); border-left: 6px solid var(--accent); scroll-margin-top: 80px; }
.sk-mixed img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sk-hope { background: var(--olive); color: #fff; padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: 72px; }
.sk-hope h2 { color: #fff; font-size: var(--h2); }
.sk-hope p { color: #fff; }
.sk-hope-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.sk-hope-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.sk-hope .btn-row { margin-top: 1.4em; }
.sk-sources { padding: 28px 0 40px; font-size: .95rem; }
.sk-sources p { margin: 0 0 .3em; }
.sk-updated { opacity: .7; font-size: .85rem; }
.sk-badge { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: #2b1716; color: #fff; font: 700 12px/1 system-ui, sans-serif; letter-spacing: .08em; padding: 9px 12px; border-radius: 999px; }
@media (max-width: 760px) {
  .sk-split, .sk-cards, .sk-hope-grid { grid-template-columns: 1fr; }
  .sk-split img { max-width: none; aspect-ratio: 4 / 3; }
  .sk-mixed { grid-template-columns: 1fr; }
  .sk-mixed img { aspect-ratio: 16 / 9; }
  .sk-hope-grid img { order: -1; aspect-ratio: 4 / 3; }
}
/* No coloured edges on the cards */
.sk-card { border-top: 0; }
.sk-mixed { border-left: 0; }
.sk-tag { margin-bottom: .9em; }
.sk-intro { padding-top: clamp(48px, 7vw, 88px); }

/* Andra föreningar */
.org-intro { padding: clamp(48px, 7vw, 88px) 0 clamp(16px, 3vw, 24px); }
.org-intro h1 { font-size: var(--h2); }
.org-group { padding: clamp(32px, 5vw, 56px) 0; }
.org-group h2 { font-size: var(--h3); margin-bottom: 1em; }
.org-alt { background: var(--cream-2); }
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.org-card { background: #fff; border-radius: 10px; padding: 24px 26px; display: flex; flex-direction: column; gap: .5em; }
.org-card h3 { font-size: var(--h4); margin: 0; }
.org-card p { margin: 0; font-size: .95rem; }
.org-link { margin-top: auto; padding-top: .6em; font-weight: 700; text-decoration: none; }
.org-link:hover { text-decoration: underline; }
.org-cta { padding: clamp(32px, 5vw, 48px) 0 clamp(48px, 6vw, 72px); }
.ways-more { text-align: center; margin-top: 2em; font-weight: 700; }
.footer-social li:last-child a { padding-left: 32px; }
