:root {
  --paper: #f4f1ea;
  --ink: #14120f;
  --tegel: #c1440e;
  --muted: #5c564d;
  --pad: clamp(28px, 5vw, 64px);
  --anton: Anton, Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--tegel); color: var(--paper); }
a { color: inherit; text-decoration-color: var(--tegel); text-underline-offset: 3px; }
a:hover { color: var(--tegel); }
p { margin: 0; text-wrap: pretty; max-width: 58ch; }
h1, h2, h3 { margin: 0; font-family: var(--anton); font-weight: 400; text-transform: uppercase; }

.label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

/* Logotyp: alla mått i em relativt ordens storlek */
.logo { display: inline-flex; align-items: center; line-height: 1; font-family: var(--anton); color: var(--c, var(--ink)); }
.logo .rep { display: flex; align-items: center; }
.logo .bar { background: currentColor; }
.logo .dots { display: flex; flex-direction: column; }
.logo .dots i { display: block; border-radius: 50%; background: currentColor; }
.logo .bridge { color: var(--a, var(--tegel)); }

.logo.stacked { gap: 0.256em; }
.logo.stacked .rep { gap: 0.07em; }
.logo.stacked .bar.thick { width: 0.163em; height: 1.51em; }
.logo.stacked .bar.thin { width: 0.047em; height: 1.51em; }
.logo.stacked .dots { gap: 0.163em; }
.logo.stacked .dots i { width: 0.128em; height: 0.128em; }
.logo.stacked .words { display: flex; flex-direction: column; align-items: center; gap: 0.07em; }
.logo.stacked .words span { line-height: 0.86; }

.logo.horizontal { gap: 0.2em; }
.logo.horizontal .rep { gap: 0.05em; }
.logo.horizontal .bar.thick { width: 0.12em; height: 1.05em; }
.logo.horizontal .bar.thin { width: 0.035em; height: 1.05em; }
.logo.horizontal .dots { gap: 0.13em; }
.logo.horizontal .dots i { width: 0.085em; height: 0.085em; }
.logo.horizontal .words { display: flex; gap: 0.22em; }

/* Repristecken som inramning (en per yta) */
.frame { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.frame .rep { display: flex; align-items: center; gap: 6px; flex: none; }
.frame .bar { background: currentColor; height: var(--h, 96px); }
.frame .bar.thick { width: 12px; }
.frame .bar.thin { width: 4px; }
.frame .dots { display: flex; flex-direction: column; gap: 16px; }
.frame .dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }

/* Omslag */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad);
  min-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 10vw, 120px);
}
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar nav { display: flex; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; }
.topbar nav a { text-decoration: underline; text-decoration-color: var(--tegel); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.topbar nav a:hover { color: var(--paper); text-decoration-thickness: 4px; }
@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 0; }
  .topbar nav { order: -1; gap: 6px; justify-content: space-between; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(244, 241, 234, 0.25); }
  .topbar nav a { padding: 8px 0; }
}
.hero-logo { flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-logo .logo { font-size: clamp(56px, 11vw, 148px); --c: var(--paper); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-foot h1 { font-size: clamp(32px, 5vw, 64px); line-height: 1.04; max-width: 14ch; }
.hero-foot .buttons { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 22px;
  background: var(--tegel);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
}
.btn:hover { color: var(--paper); background: #a93b0c; }
.btn.ghost { padding: 13px 21px; background: none; border: 1px solid var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.ink { background: var(--ink); }
.btn.ink:hover { background: #2e2a24; }

/* Sjung med: visas bara när nästa spelning har ett signup-fält */
.signup-band { display: flex; justify-content: space-between; align-items: center; gap: 4px 24px; flex-wrap: wrap; padding: 12px var(--pad); background: var(--tegel); color: var(--paper); text-decoration: none; }
.signup-band:hover { color: var(--paper); background: #a93b0c; }
.signup-band .cta { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--paper); }

/* Innehåll */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 128px);
}
section { display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 24px; }
.section-head { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 20px; }
.section-head h2 { font-size: clamp(40px, 6vw, 72px); line-height: 0.9; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.panel { background: var(--tegel); color: var(--paper); padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 56px); }
.panel .text { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.panel .quote { font-family: var(--anton); font-size: clamp(26px, 4.4vw, 52px); line-height: 1.04; text-transform: uppercase; max-width: 20ch; }
.panel .sub { font-size: 13px; line-height: 1.5; max-width: 46ch; }
.panel .sing { margin-top: 14px; }

/* Spelningar */
.gigs { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.gig {
  display: grid;
  grid-template-columns: 160px minmax(170px, 240px) 1fr auto;
  gap: 8px 32px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
}
.gig .date { font-family: var(--anton); font-size: 40px; line-height: 0.95; text-transform: uppercase; }
.gig .where { display: flex; flex-direction: column; gap: 4px; }
.gig .venue { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.gig .info { font-size: 14px; color: var(--muted); }
.gig .poster { display: block; width: 160px; aspect-ratio: 1; object-fit: cover; }
.gig .noposter { grid-column: span 1; }
.gig .links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gig .links .btn { margin-bottom: 4px; }
.gig .link { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.tag { display: inline-block; background: var(--tegel); color: var(--paper); padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.empty { border: 1px solid var(--ink); padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1040px) {
  .gig { grid-template-columns: 160px 1fr; }
  .gig .poster, .gig .noposter { grid-row: span 3; align-self: start; }
}
@media (max-width: 760px) {
  .gig { grid-template-columns: 1fr; }
  .gig .poster, .gig .noposter { grid-row: auto; }
  .gig .poster { width: 100%; max-width: 360px; }
}

/* Foton: aldrig text ovanpå bilden */
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4px; background: var(--ink); }
.photos img { display: block; width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; }
@media (max-width: 760px) {
  .photos { grid-template-columns: 1fr 1fr; }
  .photos img:first-child { grid-column: 1 / -1; }
  .photos img { height: clamp(160px, 48vw, 320px); }
}

/* Boka */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--ink); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-size: 40px; line-height: 1.04; }
.card p { font-size: 15px; }

.contact { background: var(--ink); color: var(--paper); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: end; }
.contact h3 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; }
.contact .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact .actions a:not(.btn) { font-size: 14px; }

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad) var(--pad);
}
footer .inner { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.mono-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--anton); font-size: 27px; line-height: 1; flex: none; }
footer .brand { display: flex; align-items: center; gap: 16px; }
footer .links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
