/* ----------------------------------------------------------
   jonerikhall.se — minnessida
   Samma designspråk som janjohansson.se men split-hero
   för att passa porträttbilden istället för full bg-image.
   ---------------------------------------------------------- */

:root {
  --bg: #faf8f3;
  --bg-soft: #f3efe6;
  --bg-card: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a4640;
  --ink-mute: #7a736a;
  --rule: #e6e0d3;
  --accent: #3d4f3a;          /* dämpad skogsgrön — passar Hälsingland */
  --accent-soft: #6a7d66;
  --gold: #b08a3e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

em { font-style: italic; color: var(--ink-soft); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ----------------------------------------------------------
   Sidhuvud
   ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); text-decoration: none; }

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.brand-years {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--gold);
}

/* ----------------------------------------------------------
   Hero (split layout — text + porträtt)
   ---------------------------------------------------------- */

.hero-split {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--rule);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-split-text {
  padding: 20px 0;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  font-weight: 500;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(54px, 7.5vw, 96px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1;
}

.hero-subtitle {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  max-width: 520px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 28px;
}

.hero-meta {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

.hero-split-image {
  margin: 0;
  position: relative;
}
.hero-split-image::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--accent);
  z-index: 0;
  border-radius: 2px;
  opacity: 0.85;
}
.hero-split-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: grayscale(20%) contrast(1.02);
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(28, 26, 23, 0.18);
}

/* ----------------------------------------------------------
   Intro
   ---------------------------------------------------------- */

.intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding: 100px 28px 80px;
}

.lead p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}
.lead p:first-child {
  font-size: 22px;
  color: var(--ink);
  font-weight: 400;
}

.quick-facts {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 32px 24px;
  font-size: 15px;
}
.quick-facts h2 {
  font-size: 22px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.quick-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.quick-facts dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 2px;
}
.quick-facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

/* ----------------------------------------------------------
   Sektioner
   ---------------------------------------------------------- */

.section {
  padding: 90px 0;
  border-top: 1px solid var(--rule);
}
.section-light { background: var(--bg-soft); }
.section-feature {
  background: var(--accent);
  color: #fff;
  border-top: none;
}
.section-feature h2,
.section-feature h3 { color: #fff; }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 14px;
}
.section-feature .section-eyebrow { color: var(--gold); }

.section-title {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  margin: 0 0 16px;
}

.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 48px;
}
.section-feature .section-intro { color: rgba(255, 255, 255, 0.85); }

/* ----------------------------------------------------------
   Biografi-grid
   ---------------------------------------------------------- */

.bio-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.bio-text h3 {
  font-size: 28px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--accent);
}
.bio-text h3:first-child { margin-top: 0; }
.bio-text p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.bio-portrait {
  margin: 0;
  background: var(--bg-card);
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(28, 26, 23, 0.04);
}
.bio-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(15%);
}
.bio-portrait figcaption {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 12px;
  padding: 0 4px 4px;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Tidslinje
   ---------------------------------------------------------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-top: 4px;
}

.timeline-body h3 {
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--ink);
}
.timeline-body p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.timeline-item.highlight .timeline-body h3 { color: var(--accent); }
.timeline-item.highlight .timeline-year { color: var(--accent); }

/* ----------------------------------------------------------
   Feature-sektion (Spelstil)
   ---------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.feature-text .lead-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.feature-text p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.feature-side {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 32px 36px;
}
.feature-side h3 {
  font-size: 22px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.trait-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}
.trait-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.trait-list li::before {
  content: '♪';
  color: var(--gold);
  font-size: 14px;
  min-width: 18px;
}
.trait-list li:last-child { border-bottom: none; }

/* ----------------------------------------------------------
   Låtlista (återanvänder .album / .discography från Jan-sidan)
   ---------------------------------------------------------- */

.discography {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.album {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.album:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 26, 23, 0.06);
  border-color: var(--accent-soft);
}
.album-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.album h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.album-meta {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
  min-height: 1em;
}
.album.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f3f1eb 100%);
}
.album.featured .album-year { color: var(--accent); }

/* ----------------------------------------------------------
   Utmärkelser-aside
   ---------------------------------------------------------- */

.awards {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px;
}
.awards h3 {
  font-size: 22px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--accent);
}
.awards ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.awards li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.awards li:last-child { border-bottom: none; }
.awards li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ----------------------------------------------------------
   Citatsektion
   ---------------------------------------------------------- */

.quote-section {
  background: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.quote-section blockquote {
  margin: 0 auto;
  max-width: 820px;
  padding: 0 28px;
}
.quote-section p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  line-height: 1.4;
  color: var(--accent);
  margin: 0;
  font-weight: 400;
}
.quote-section p::before { content: '“'; color: var(--gold); margin-right: 4px; }
.quote-section p::after  { content: '”'; color: var(--gold); margin-left: 4px; }

/* ----------------------------------------------------------
   Sidfot
   ---------------------------------------------------------- */

.site-footer {
  background: #1c1a17;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  padding-bottom: 50px;
}
.footer-col h3 {
  color: #fff;
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}
.footer-col a { color: var(--gold); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-bottom p {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  text-align: center;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}
.footer-bottom a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ----------------------------------------------------------
   Responsivt
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-split { padding: 50px 0 70px; }
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-split-image {
    max-width: 380px;
    margin: 0 auto;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 28px 60px;
  }
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline-year { font-size: 22px; padding-top: 0; }
  .section { padding: 70px 0; }
  .quote-section { padding: 70px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-nav {
    gap: 18px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a { white-space: nowrap; font-size: 13px; }
  .container { padding: 0 20px; }
  .lead p:first-child { font-size: 19px; }
  .quick-facts, .awards, .feature-side { padding: 24px; }
  .album { padding: 20px 22px; }
  .footer-inner { gap: 32px; padding-bottom: 40px; }
  .hero-split-image::before { inset: 10px -10px -10px 10px; }
}
