:root {
  --page: #fbfaf6;
  --linen: #f2f1ec;
  --warm: #e6e3d9;
  --ink: #1f2e22;
  --muted: #46503f;
  --meta: #5c5348;
  --line: #a39b8c;
  --red: #9b3b2c;
  --red-deep: #8a3324;
  --night: #1b1f1a;
  --night-text: #f3efe6;
  --night-muted: #c9c4b8;
  --head: Newsreader, Georgia, serif;
  --lora: Lora, Georgia, serif;
  --body: 'EB Garamond', Garamond, Georgia, serif;
  --cinzel: 'Cinzel Decorative', Cinzel, Georgia, serif;
  --gutter: clamp(16px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: #7a2c20; }
h1, h2 { margin: 0; font-family: var(--head); font-style: italic; font-weight: 400; line-height: 1.08; }
p { margin: 0; }
.link { font-size: 20px; }
.kicker { font-family: var(--lora); font-style: italic; font-size: 20px; color: var(--red-deep); }
.meta { font-size: 16px; color: var(--meta); }

/* Header */
.site-header {
  max-width: 1312px; margin: 0 auto; padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; opacity: 0.9; }
.logo .rule { width: 1px; height: 36px; background: currentColor; opacity: 0.35; }
.logo .words { display: flex; flex-direction: column; gap: 1px; }
.logo .salka { font-size: 10px; letter-spacing: 0.32em; }
.logo .vv { font-family: var(--lora); font-style: italic; font-size: 24px; line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 18px; }
.site-nav a { color: var(--ink); padding: 6px 0; }
.site-nav a[aria-current="page"] { color: var(--red); border-bottom: 1px solid var(--red); }

/* Hero */
.hero-wrap { padding: 0 var(--gutter); }
.hero {
  position: relative; max-width: 1184px; margin: 0 auto; min-height: min(680px, 86vh);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  background: #4a4a38; border-radius: 4px;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,28,18,0.8) 0%, rgba(18,28,18,0.4) 50%, rgba(18,28,18,0.06) 84%);
}
.hero-text {
  position: relative; z-index: 1; max-width: 820px; padding: 72px 20px 60px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.eyebrow { font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6.2vw, 70px); text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero h1 span { display: block; }
.hero p { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 6px; font-size: 20px; }
.hero-links a { color: #fff; border-bottom: 1px solid #e8b8a8; }
.hero-links a:hover { color: #fff; border-color: #fff; }

/* Message */
.message {
  max-width: 640px; margin: 0 auto; padding: clamp(90px, 11vw, 150px) 24px clamp(80px, 10vw, 140px);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px;
}
.message img { width: 52px; height: 52px; opacity: 0.75; }

/* Vägen in / Alla stigar */
.band { background: var(--warm); padding: clamp(80px, 9vw, 120px) 24px; }
.band-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; align-items: center; }
.band h2 { font-size: clamp(36px, 4vw, 46px); text-align: center; }
.band .sub { text-align: center; color: #4f4634; margin-top: 8px; }
.paths { display: flex; flex-wrap: wrap; width: 100%; border-top: 1px solid var(--line); }
.paths a {
  flex: 1 1 220px; min-width: 0; padding: 40px 20px; text-align: center; color: var(--ink);
  border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: center;
  transition: background-color 0.2s;
}
.paths a:hover { background: rgba(255,255,255,0.35); color: var(--ink); }
.paths .name { font-family: var(--cinzel); font-size: 26px; line-height: 1.05; }
.paths .kicker { font-size: 19px; }

/* Forest band */
.forest { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #2b3327; }
.forest > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.forest::after { content: ""; position: absolute; inset: 0; background: rgba(16,24,16,0.5); }
.forest blockquote {
  position: relative; z-index: 1; margin: 0; max-width: 720px; padding: 100px 24px; text-align: center; color: #fff;
  font-family: var(--head); font-style: italic; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.35;
}
.forest blockquote p + p { margin-top: 12px; }

/* Two-column sections */
.split {
  max-width: 1056px; margin: 0 auto; padding: clamp(90px, 10vw, 140px) var(--gutter);
  display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 80px); align-items: center;
}
.split > .text { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split h2 { font-size: clamp(36px, 4vw, 46px); }
.polaroid { flex: 0 1 360px; min-width: 0; position: relative; padding-top: 14px; margin: 0 auto; }
.polaroid .print { background: #fff; padding: 14px 14px 46px; transform: rotate(2deg); box-shadow: 0 16px 32px rgba(0,0,0,0.15); }
.polaroid .print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid .tape { position: absolute; width: 96px; height: 30px; background: rgba(226,214,186,0.82); }
.polaroid .tape.l { top: 0; left: 28px; transform: rotate(-7deg); }
.polaroid .tape.r { top: 4px; right: 22px; transform: rotate(9deg); }
.about { background: var(--linen); }
.about .split { gap: 72px; }
.about .text { gap: 20px; max-width: 34rem; }
.about-photo { flex: 1 1 320px; min-width: 0; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 4px; }

/* Contact */
.contact {
  padding: clamp(90px, 10vw, 130px) 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.contact h2 { font-size: clamp(34px, 4vw, 46px); }
.contact p { max-width: 28em; }

/* Footer */
.site-footer {
  background: var(--night); color: var(--night-text); padding: 72px 24px 76px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.site-footer .logo { color: var(--night-text); gap: 18px; }
.site-footer .logo img { width: 56px; height: 56px; opacity: 0.85; }
.site-footer .logo .rule { height: 56px; opacity: 0.4; }
.site-footer .logo .words { text-align: left; gap: 3px; }
.site-footer .logo .salka { font-size: 13px; letter-spacing: 0.34em; }
.site-footer .logo .vv { font-size: 34px; }
.site-footer .small { font-family: var(--lora); font-style: italic; font-size: 16px; color: var(--night-muted); }
.site-footer .small a { color: var(--night-muted); border-bottom: 1px solid rgba(201,196,184,0.4); }

/* Stigar page */
.page-intro {
  max-width: 720px; margin: 0 auto; padding: clamp(70px, 9vw, 110px) 24px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.page-intro h1 { font-size: clamp(52px, 6vw, 72px); }
.page-intro .lead { font-family: var(--lora); font-style: italic; font-size: 23px; color: var(--muted); }
.river-section { padding: 32px var(--gutter) 120px; }
.river-layout { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: stretch; }
.river-map { flex: 1 1 520px; min-width: 0; max-width: 600px; }
.river-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.stone { cursor: pointer; transition: opacity 0.25s; }
.stone:focus { outline: none; }
.stone:focus-visible { stroke: var(--ink); stroke-width: 3; }
.river-detail { flex: 1 1 300px; min-width: 0; max-width: 400px; }
.river-card {
  position: sticky; top: 32px; display: flex; flex-direction: column; gap: 8px;
  padding: 8px 0 8px 24px; border-left: 1px solid #cfcab9; background: var(--page);
}
.river-card .title { font-family: var(--cinzel); font-size: 30px; line-height: 1.05; }
.river-card .when { font-size: 17px; color: var(--muted); }
.river-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-family: var(--lora); font-style: italic; font-size: 17px; }
.river-tabs button { background: none; border: none; padding: 10px 0; font: inherit; cursor: pointer; border-bottom: 1px solid transparent; }
.river-tabs button[aria-pressed="true"] { border-bottom-color: currentColor; }

@media (max-width: 720px) {
  body { font-size: 18px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .site-nav { gap: 4px 22px; font-size: 17px; }
  .hero-wrap { padding: 0; }
  .hero { border-radius: 0; }
  .river-card { position: static; }
  .paths a { flex-basis: 100%; }
}
