/* Lars Bloomquvist — monochrome visual system */

:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #141414;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c8c8c8;
  --accent-strong: #ffffff;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 13%, rgba(255, 255, 255, 0.055), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #d8d8d8; color: #090909; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; }

.site-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-nav a,
.language-switch a,
.language-current {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover,
.language-switch a:hover { color: var(--text); }

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.language-current {
  color: var(--text);
}

.language-separator {
  color: #555;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 80px 0 96px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.card-copy h3,
.story-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(4.7rem, 10vw, 9.2rem);
  line-height: .86;
  letter-spacing: -.055em;
}

.hero-line {
  margin: 34px 0 0;
  color: #c7c7c7;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-atmosphere {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.004));
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 14%;
  bottom: 12%;
  left: 14%;
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  width: 64%;
  height: 64%;
  right: -12%;
  bottom: -12%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .055);
  filter: blur(10px);
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.section-head-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: end;
}

.section-note {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.book-card { min-width: 0; }
.cover-placeholder {
  display: grid;
  place-items: end start;
  aspect-ratio: 2 / 3;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #1b1b1b, var(--panel));
}
.cover-placeholder span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 3rem;
}

.card-copy { padding-top: 18px; }
.card-copy h3 { font-size: 1.55rem; }
.card-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.story-list {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.story-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.story-number {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
}
.story-card h3 { font-size: 1.55rem; }
.story-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.story-status {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.footer a:hover { color: var(--text); }

.legal-page {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 72px 0 96px;
}
.legal-page h1 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -.045em;
}
.legal-page p,
.legal-page address { color: #c5c5c5; font-style: normal; }
.legal-back {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero,
  .section-head-wide { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-atmosphere { min-height: 360px; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions { gap: 18px; }
  .language-switch { padding-left: 18px; }
}

@media (max-width: 680px) {
  .site-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 76px; gap: 14px; }
  .brand { font-size: .9rem; }
  .header-actions { gap: 12px; }
  .site-nav { gap: 13px; font-size: .62rem; letter-spacing: .08em; }
  .site-nav a:last-child { display: none; }
  .language-switch {
    gap: 5px;
    padding-left: 12px;
    font-size: .62rem;
    letter-spacing: .08em;
  }

  .hero { padding: 58px 0 72px; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6.5rem); }
  .hero-atmosphere { min-height: 280px; }

  .section { padding: 78px 0; }
  .book-grid { grid-template-columns: 1fr; }
  .story-card { grid-template-columns: 58px 1fr; gap: 18px; }
  .story-status { display: none; }
  .footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .site-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
