/* Layout: etiketten. Centrerade versalblock, hårfina linjer, mycket luft.
   Färg: svart på vitt, inget accentfärg. Typ: en familj, Inter Tight i versaler med spärrning. */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --soft: #f4f4f4;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d0d0d; --ink: #ececec; --muted: #8e8e8e; --line: #262626; --soft: #161616; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0d0d0d; --ink: #ececec; --muted: #8e8e8e; --line: #262626; --soft: #161616; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-weight: 300; font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.cap, .nav, .role, h1, h2, h3, .btn, .credits, figcaption, .facts dt, .yt .reel-label, footer {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-weight: 400;
}

.wrap {
  max-width: 68rem; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 40rem; margin-left: auto; margin-right: auto; }

/* Navigering */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line); font-size: .7rem;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.nav .brand { text-decoration: none; letter-spacing: .28em; font-weight: 500; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) { .nav ul li.opt { display: none; } .nav ul { gap: .3rem 1rem; } }

/* Etiketten */
.label { text-align: center; padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2.5rem, 6vw, 4rem); }
h1 {
  margin: 0; font-weight: 400; line-height: 1.05;
  font-size: clamp(2.1rem, 7vw, 4.6rem); letter-spacing: .26em;
  margin-right: -.26em; /* spärrningen ska inte skjuta namnet åt vänster */
}
.label .cap { font-size: .72rem; color: var(--muted); margin: 1.4rem 0 0; letter-spacing: .3em; }
.label .lede { max-width: 34rem; margin: 2.2rem auto 0; font-size: 1.05rem; color: var(--ink); }
.label hr { width: 2.5rem; border: 0; border-top: 1px solid var(--ink); margin: 2.2rem auto 0; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.2rem; }
.btns.left { justify-content: flex-start; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.4rem;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none;
  font-size: .68rem; letter-spacing: .2em; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.now { margin: 1.8rem auto 0; font-size: .82rem; color: var(--muted); max-width: 34rem; }

.portrait-wrap { padding-bottom: clamp(3rem, 8vw, 6rem); }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 30rem; margin: 0 auto; background: var(--soft); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { display: none; }
.portrait.missing img { display: none; }
figcaption { font-size: .62rem; color: var(--muted); margin-top: .8rem; letter-spacing: .18em; text-align: center; }

/* Sektioner */
section.block { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); scroll-margin-top: 3.5rem; }
.head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.role { font-size: .64rem; color: var(--muted); margin: 0 0 1rem; letter-spacing: .3em; }
h2 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0; letter-spacing: .22em; line-height: 1.4; text-wrap: balance; }
h3 { font-size: .8rem; margin: 0; letter-spacing: .2em; }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sub { margin-top: clamp(2.5rem, 6vw, 3.5rem); }

/* Krediter som etikettrader */
.credits { list-style: none; margin: 2.2rem 0 0; padding: 0; font-size: .7rem; letter-spacing: .14em; }
.credits li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; padding: .95rem 0; border-top: 1px solid var(--line); }
.credits li:last-child { border-bottom: 1px solid var(--line); }
.credits .what { min-width: 0; color: var(--ink); }
.credits .note { display: block; color: var(--muted); margin-top: .3rem; letter-spacing: .12em; }
.credits .yr { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }

/* Böcker */
.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: .5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; text-align: center; }
.book + .book { border-left: 1px solid var(--line); }
@media (max-width: 820px) { .books { grid-template-columns: minmax(0, 1fr); } .book + .book { border-left: 0; border-top: 1px solid var(--line); } }
.book .num { font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.book h3 { font-size: 1.15rem; letter-spacing: .3em; margin-right: -.3em; }
.book p { margin: 0; font-size: .92rem; }
.book .badge { font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.book .buy { margin-top: auto; padding-top: .6rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.1rem; font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.upcoming { margin-top: 2.5rem; text-align: center; }
.upcoming p { margin: 0 auto; max-width: 34rem; }

/* Video */
.video { margin: 0; min-width: 0; }
.video[hidden] { display: none; }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%;
  padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #000; color: #fff; font: inherit; text-align: left;
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .4s ease, opacity .4s ease; }
.yt:hover img, .yt:focus-visible img { filter: none; opacity: 1; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 45%); pointer-events: none; }
.yt .play { display: none; }
.yt .reel-label { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: end; gap: .8rem; flex-wrap: wrap; font-size: .66rem; letter-spacing: .22em; }
.yt .reel-label strong { font-weight: 500; }
.yt .reel-label strong::before { content: ""; display: inline-block; width: 0; height: 0; border-left: .55rem solid currentColor; border-top: .34rem solid transparent; border-bottom: .34rem solid transparent; margin-right: .7rem; transform: translateY(.05rem); }
.yt .reel-label small { font-size: inherit; opacity: .8; }
.yt-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.video-pair .video[hidden] + .video { grid-column: 1 / -1; }
@media (max-width: 760px) { .video-pair { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .yt img { transition: none; } }

/* Nyhetsbrev */
.signup { border-top: 1px solid var(--line); background: var(--soft); }
.signup .wrap { padding-block: clamp(3.5rem, 8vw, 5.5rem); text-align: center; }
.signup form { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 2rem auto 0; max-width: 30rem; }
.signup input[type="email"] {
  flex: 1 1 14rem; min-width: 0; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--ink); border-radius: 0;
  background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem;
}
.signup .checks { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.4rem; width: 100%; font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.signup .checks label { display: inline-flex; gap: .45rem; align-items: center; }
.signup .fine { font-size: .78rem; color: var(--muted); margin: 1.2rem auto 0; max-width: 30rem; }

/* Fakta */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .9rem 2rem; margin: 0; }
.facts dt { font-size: .62rem; letter-spacing: .22em; color: var(--muted); padding-top: .3rem; }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); gap: .2rem; } .facts dd { margin-bottom: .9rem; } }
.copyrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.copy { font-family: var(--sans); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; padding: .35rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink); }

.bio { border-top: 1px solid var(--line); padding-block: 1.8rem; }
.bio:last-child { border-bottom: 1px solid var(--line); }
.bio header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.bio header span { font-family: var(--sans); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bio p { margin: 0 0 .9rem; }

.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 18rem)); justify-content: center; gap: 1.5rem; }
.photos .portrait { max-width: none; }

footer { border-top: 1px solid var(--line); font-size: .62rem; color: var(--muted); }
footer .wrap { padding-block: 2rem 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
.sr { position: absolute; left: -9999px; }
@media (max-width: 480px) {
  .label .cap { letter-spacing: .18em; font-size: .66rem; }
  h1 { letter-spacing: .2em; margin-right: -.2em; }
}

.photos.four { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; }
@media (max-width: 900px) { .photos.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photos .portrait { aspect-ratio: 3 / 4; }
