:root {
  --cream: #F7EFE3;
  --ink: #1E1A17;
  --teal: #16746E;
  --teal-dark: #0F5D58;
  --amber: #E8A22B;
  --coral: #E66874;
  --red: #D9455A;
  --crimson: #C9384C;
  --blue: #3E6EA8;

  --font-display: "Instrument Sans", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-comic: "Bangers", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}

p { margin: 0; }

a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--amber); }

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

ul { list-style: none; margin: 0; padding: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 200;
  transition: top 150ms ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--cream);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: background 140ms ease, transform 90ms ease, box-shadow 90ms ease, color 140ms ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary { background: var(--teal); color: var(--cream); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--teal-dark); color: var(--cream); }
.btn-ghost { background: var(--cream); color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--amber); color: var(--ink); }
.btn-large { padding: 16px 32px; font-size: 22px; }
.btn-full {
  display: flex;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  padding: 0 28px;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 54px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  flex-wrap: wrap;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a:not(.btn) {
  color: var(--ink);
  display: inline-block;
  padding: 8px 14px;
  border: 3px solid transparent;
  border-radius: 999px;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 120ms ease;
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible {
  background: var(--teal);
  border-color: var(--ink);
  color: var(--cream);
  transform: rotate(-2deg);
}

.lang-switch {
  display: flex;
  border: 3px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 4px;
}
.lang-btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 12px;
  background: transparent;
  color: var(--ink);
}
.lang-btn.is-active {
  background: var(--ink);
  color: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 28px 0;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-copy h1 {
  font-size: clamp(38px, 6vw, 88px);
  line-height: 1.03;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-copy .lead {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  max-width: 34ch;
  margin-top: 24px;
  text-wrap: pretty;
}
.hero-logo {
  flex: 0 0 auto;
  width: min(300px, 60vw);
}
.hero-logo-img {
  width: 100%;
  animation: slams-wob 7s ease-in-out infinite;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 32px 0 0;
}
.countdown {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}
.countdown-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.countdown-value {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-banner-wrap {
  position: relative;
  margin: 48px 0 0;
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 950;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
}

/* Burst graphics (POW / BOM starbursts) — layered halo + outline + fill + text */
.burst-button {
  --burst-outline: var(--ink);
  --burst-star: polygon(50.0% 0.0%, 58.0% 20.1%, 72.3% 11.5%, 74.0% 26.0%, 91.1% 26.2%, 78.5% 42.4%, 96.0% 50.0%, 81.9% 58.5%, 92.9% 74.7%, 71.6% 71.6%, 71.5% 87.2%, 58.4% 81.4%, 50.0% 100.0%, 42.2% 79.0%, 27.2% 89.4%, 26.3% 73.7%, 8.4% 74.0%, 22.0% 57.5%, 6.0% 50.0%, 19.1% 41.7%, 6.7% 25.0%, 28.1% 28.1%, 26.7% 9.7%, 41.1% 16.7%);
  position: absolute;
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: transform 160ms ease;
}
.burst-button:hover, .burst-button:focus-visible { transform-origin: center; }

.burst-dots {
  position: absolute;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  background-image: radial-gradient(var(--ink) 30%, transparent 31%);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 32%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 32%, transparent 70%);
  opacity: 0.8;
}
.burst-shape {
  position: absolute;
  clip-path: var(--burst-star);
}
.burst-shape-dark { inset: 8%; background: var(--ink); }
.burst-shape-fill { inset: 13%; }
.burst-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-comic);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cream);
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
}

/* POW (hero) */
.pow-button {
  left: -28px;
  bottom: -84px;
  width: 220px;
  height: 220px;
  transform: rotate(-13deg);
  z-index: 3;
  animation: slams-wob 6s ease-in-out infinite;
}
.pow-button:hover, .pow-button:focus-visible { transform: rotate(-13deg) scale(1.08); }
.pow-fill { background: var(--amber); }
.pow-button .burst-text { font-size: 46px; transform: rotate(-3deg); }

/* Wave divider */
.wave-divider { position: relative; margin-top: 96px; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; height: 90px; }
.wave-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 45%;
  height: 96px;
  background-image: radial-gradient(var(--coral) 32%, transparent 33%);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 85%);
  mask-image: linear-gradient(to left, #000 10%, transparent 85%);
  pointer-events: none;
}

/* Section shared */
main section {
  padding: 40px 28px 0;
  max-width: 1240px;
  margin: 0 auto;
}
#fiction, #ensemble, #impro, #faq, #hire { padding-top: 88px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head h2, #ensemble h2, #impro h2, #hire h2 {
  font-size: clamp(30px, 3.8vw, 50px);
}
.section-head p { max-width: 40ch; font-size: 17px; line-height: 1.5; }
.section-lead { max-width: 52ch; font-size: 17px; line-height: 1.5; margin: 10px 0 34px; }

/* Shows */
.show-list { border-top: 3px solid var(--ink); }
.show-item {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 8px;
  border-bottom: 3px solid var(--ink);
  transition: background 120ms ease;
}
.show-date {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.show-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.show-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.show-name { font-weight: 700; font-size: 19px; }
.show-meta { font-size: 14px; opacity: 0.7; }

/* Slams Fiction dates get the poster's amber date plate. This is also what
   tells them apart from guest shows, now that both use the same button. */
.show-item:not(.show-item--guest) .show-date {
  justify-self: start;
  padding: 7px 14px;
  background: var(--amber);
  border: 3px solid var(--ink);
  border-radius: 5px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.show-item:not(.show-item--guest):nth-child(even) .show-date { transform: rotate(1.5deg); }

/* Guest shows sit in the same row style as the rest. What sets them apart is
   the plain date (no amber plate), the tag, and a text link instead of a
   button — not a tinted row. */
.show-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.show-link:hover, .show-link:focus-visible { color: var(--crimson); }

.show-tag {
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
}

/* Shows whose tickets are not on sale yet: no button to press. */
.show-soon {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
}


/* Slams Fiction — the show's own section, styled after the poster */
.fiction-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  /* min() håller spåret från att kräva mer bredd än panelen har. Utan det blir
     spåret 290px i en 201px-panel i mobil, och overflow:hidden klipper av
     brödtexten och skjuter titeln åt höger. */
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 36px;
  align-items: center;
  padding: 46px 40px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
}

/* Strålkransen bakom titeln. Den sitter i .fiction-art och mäts i vw, inte i
   procent av panelen — annars glider den iväg och hamnar bakom brödtexten när
   panelen blir enspaltig i mobil. Nu följer den titeln i båda layouterna. */
.fiction-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150vw, 1900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0;
  background: repeating-conic-gradient(from 0deg,
    rgba(232, 162, 43, 0.34) 0deg 4deg,
    transparent 4deg 11deg);
  /* Urholkad mitt: annars möts alla strålar i en tät knut ovanför titeln. */
  -webkit-mask-image: radial-gradient(circle, transparent 4%, #000 20%, transparent 60%);
  mask-image: radial-gradient(circle, transparent 4%, #000 20%, transparent 60%);
  pointer-events: none;
}

.fiction-art { position: relative; text-align: center; }
/* Strålkransen ligger först i .fiction-art, så texten behöver vara positionerad
   för att hamna ovanpå den. */
.fiction-kicker, .fiction-title { position: relative; }
.fiction-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.fiction-title {
  font-family: var(--font-comic);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 108px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--amber);
  -webkit-text-stroke: 9px var(--ink);
  paint-order: stroke fill;
  transform: rotate(-3deg);
  max-width: 7ch;
  margin: 0 auto;
}

.fiction-copy { position: relative; }
:where(.fiction-copy) p { font-size: 17px; line-height: 1.6; margin: 0 0 16px; text-wrap: pretty; }

/* Read as a spec list, not as a row of buttons: no frames, no fills. */
.fiction-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 18px 26px;
  margin: 26px 0;
  padding: 20px 0;
  border-top: 2px solid rgba(247, 239, 227, 0.22);
  border-bottom: 2px solid rgba(247, 239, 227, 0.22);
}
.fiction-facts > div { display: flex; flex-direction: column; gap: 4px; }
.fiction-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.fiction-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
}

/* Ensemble */
.ensemble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.member figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-stack {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--member-color);
  cursor: url("assets/cursor-pow.png") 32 32, pointer;
}
.photo-stack .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.02);
  background: var(--member-color);
}
.photo-b, .photo-c { opacity: 0; transition: opacity 320ms ease; }

/* data-alt pekar ut vilken bild som ligger näst i tur och börjar på "b" för
   alla; de tre som har ett tredje porträtt växlar sedan till "c" och tillbaka
   vid varje varv. data-show är vad som faktiskt visas just nu, och sätts av
   klicket i script.js.

   Hover-förhandsvisningen gäller bara riktiga pekdon. På mobil finns ingen
   hover — där låtsades webbläsaren om det vid tryck, vilket gjorde att korten
   betedde sig olika från gång till gång. Nu styr klicket ensamt där. */
@media (hover: hover) {
  .member:not(.is-tapped)[data-alt="b"]:hover .photo-b,
  .member:not(.is-tapped)[data-alt="b"]:focus-within .photo-b,
  .member:not(.is-tapped)[data-alt="c"]:hover .photo-c,
  .member:not(.is-tapped)[data-alt="c"]:focus-within .photo-c { opacity: 1; }
}
.member[data-show="b"] .photo-b,
.member[data-show="c"] .photo-c { opacity: 1; }

figcaption { position: relative; min-height: 58px; }
.member-name, .member-role {
  position: absolute;
  inset: 0;
  transition: opacity 160ms ease;
}
.member-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.member-role { font-size: 14px; line-height: 1.35; font-weight: 500; opacity: 0; }
/* Rolltexten byts på samma villkor som bilden, så den fungerar på mobil också. */
@media (hover: hover) {
  .member:not(.is-tapped):hover .member-name,
  .member:not(.is-tapped):focus-within .member-name { opacity: 0; }
  .member:not(.is-tapped):hover .member-role,
  .member:not(.is-tapped):focus-within .member-role { opacity: 1; }
}
.member[data-show] .member-name { opacity: 0; }
.member[data-show] .member-role { opacity: 1; }

/* Impro */
.impro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px;
  align-items: start;
}
.impro-text h2 { margin: 0 0 20px; }
:where(.impro-text) p { font-size: 18px; line-height: 1.55; margin: 0 0 16px; max-width: 44ch; text-wrap: pretty; }
.eyebrow { margin: 14px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.format-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.format-tags li {
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 15px;
  background: var(--tag-color);
}

.generator-card {
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--blue);
  color: var(--cream);
  padding: 28px;
  box-shadow: 8px 8px 0 var(--ink);
}
.generator-card .kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.generator-card h3 { font-size: 28px; margin: 0 0 20px; }
.generator-fields { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; }
.generator-field {
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  padding: 14px 18px;
}
.generator-field dt {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55;
}
.generator-field dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
}
.generator-note { margin: 14px 0 0; font-size: 14px; opacity: 0.85; }

/* FAQ */
.faq-list { border-top: 3px solid var(--ink); }

.faq-item {
  border-bottom: 3px solid var(--ink);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 23px);
  letter-spacing: -0.025em;
  text-wrap: pretty;
  transition: background 120ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(232, 162, 43, 0.32); }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.faq-item[open] summary { background: rgba(232, 162, 43, 0.22); }

.faq-marker {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  transition: background 140ms ease, transform 220ms ease;
}
.faq-marker::before, .faq-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-marker::before { width: 15px; height: 3.4px; }
.faq-marker::after {
  width: 3.4px;
  height: 15px;
  transition: transform 200ms ease, opacity 150ms ease;
}
.faq-item[open] .faq-marker { background: var(--amber); transform: rotate(180deg); }
.faq-item[open] .faq-marker::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-a { padding: 16px 8px 26px; max-width: 66ch; }
.faq-a p { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.faq-a a { text-decoration: underline; }

.faq-note { margin: 22px 0 0; font-size: 15px; font-weight: 500; }
.faq-note a { text-decoration: underline; }

/* Hire */
.hire-panel {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--amber);
  padding: 40px;
  box-shadow: 10px 10px 0 var(--ink);
}
.burst {
  --burst-star: polygon(50.0% 7.0%, 58.4% 18.6%, 75.0% 6.7%, 71.2% 28.8%, 89.4% 27.2%, 82.4% 41.3%, 98.0% 50.0%, 78.0% 57.5%, 88.1% 72.0%, 72.6% 72.6%, 75.0% 93.3%, 58.0% 79.9%, 50.0% 96.5%, 41.1% 83.3%, 25.0% 93.3%, 28.1% 71.9%, 11.5% 72.3%, 17.2% 58.8%, 2.5% 50.0%, 21.5% 42.4%, 10.2% 27.0%, 26.7% 26.7%, 25.2% 7.1%, 42.1% 20.5%);
  right: 20px;
  top: -46px;
  width: 170px;
  height: 170px;
  transform: rotate(-11deg);
  z-index: 3;
  animation: slams-throb 3.4s ease-in-out infinite;
  cursor: default;
}
.bom-fill { background: var(--blue); }
.burst.burst-button .burst-text { font-size: 40px; }
.hire-panel h2 { margin: 0 0 18px; max-width: 22ch; }
.hire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 30px;
  align-items: start;
}
:where(.hire-text) p { font-size: 18px; line-height: 1.55; margin: 0 0 16px; text-wrap: pretty; }
.mail-line { margin-top: 20px; font-size: 16px; font-weight: 700; }
.mail-line a { text-decoration: underline; }

.hire-photo {
  width: 100%;
  height: auto;
  margin-top: 24px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--coral);
}

.hire-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 10px;
  padding: 22px;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 14px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.form-note { margin: 8px 0 0; font-size: 13px; opacity: 0.7; }

/* Footer */
.site-footer {
  margin: 88px 0 0;
  border-top: 4px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  padding: 48px 28px 36px;
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 10px;
  padding: 20px 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.footer-logo {
  display: block;
  height: 140px;
  width: auto;
}
.contact-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 3px solid var(--ink);
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
/* The logo is a pink circle on transparent, and pink on red is muddy — the
   cream disc separates it and matches how the Slams logo is framed beside it. */
.footer-presens-logo {
  flex: 0 0 auto;
  display: block;
  /* Fasta mått, inte vw: Slams-ramen är 188px hög i desktop och 124px i mobil,
     och Presens är en förälderkreditering som inte ska växa förbi den. */
  width: 160px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 90ms ease;
}
.footer-presens-logo img { width: 100%; height: auto; border-radius: 999px; }
.footer-presens-logo:hover, .footer-presens-logo:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* Carries real weight in the layout rather than reading as fine print. */
.footer-presens {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: balance;
}
.footer-credit {
  margin: 26px 0 0;
  font-size: 14px;
  font-weight: 500;
  max-width: 46ch;
  opacity: 0.85;
  text-wrap: pretty;
}
.footer-credit a { color: var(--cream); text-decoration: underline; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--ink); }

/* Back to top (mobile only) */
.to-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease,
              background 140ms ease, box-shadow 90ms ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover, .to-top:focus-visible {
  background: var(--cream);
  color: var(--ink);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.to-top-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Easter egg overlay */
.egg-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.egg-word {
  position: absolute;
  font-family: var(--font-comic);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.04em;
}

/* Keyframes */
@keyframes slams-wob { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes slams-throb { 0%, 100% { transform: rotate(-11deg) scale(1); } 50% { transform: rotate(-11deg) scale(1.05); } }
@keyframes slams-fly {
  0% { opacity: 0; transform: translate(0, 40px) scale(0.4) rotate(var(--r)); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.5) rotate(var(--r)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo-img, .pow-button, .burst { animation: none; }
  .egg-word { animation: none !important; display: none; }
}

/* Responsive */
@media (max-width: 760px) {
  .site-header { padding: 10px 16px; }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo lang tickets";
    align-items: center;
    column-gap: 12px;
    padding: 8px 0;
  }
  .brand { grid-area: logo; }
  .brand-logo { height: 34px; }
  .main-nav { display: contents; }
  .main-nav ul { display: none; }
  .lang-switch { grid-area: lang; justify-self: end; }
  .lang-btn { padding: 6px 9px; font-size: 12px; }
  .main-nav > a.btn { grid-area: tickets; padding: 8px 13px; font-size: 13px; }

  .to-top { display: inline-flex; }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .countdown { order: 1; }
  .hero-actions .btn-large { order: 2; font-size: 17px; padding: 13px 26px; }

  main section, .hero { padding-left: 18px; padding-right: 18px; }

  .show-item {
    grid-template-columns: 1fr;
    grid-template-areas: "date" "info" "buy";
    row-gap: 10px;
  }
  .show-date { grid-area: date; justify-self: start; }
  .show-info { grid-area: info; }
  .show-item .btn-ghost,
  .show-item .show-link,
  .show-item .show-soon { grid-area: buy; justify-self: start; width: auto; }
  .show-date { font-size: 24px; }

  /* POW sitter inte på bilden i mobil, utan nere vid vågen */
  .wave-divider { margin-top: 78px; }
  .pow-button { width: 118px; height: 118px; left: 8px; bottom: -168px; }
  .pow-button .burst-text { font-size: 24px; -webkit-text-stroke-width: 4px; }

  #fiction { padding-top: 62px; }
  .fiction-panel { padding: 32px 20px 26px; gap: 26px; }
  .fiction-title { -webkit-text-stroke-width: 6px; }
  /* Två spalter blir för smala här: "Midsommarkransen" är bredare än cellen
     och rann in i värdet bredvid. */
  .fiction-facts { grid-template-columns: 1fr; gap: 14px; }

  #faq { padding-top: 62px; }
  .faq-item summary { gap: 14px; padding: 16px 4px; }
  .faq-marker { width: 30px; height: 30px; }
  .faq-a { padding: 14px 4px 22px; }

  #hire { padding-top: 62px; }
  .hire-panel { padding: 34px 22px 26px; }
  .burst { right: 8px; top: -42px; width: 92px; height: 92px; }
  .burst.burst-button .burst-text { font-size: 21px; -webkit-text-stroke-width: 4px; }

  .footer-logo { height: 88px; }
  .footer-logo-frame { padding: 14px 18px; }
  .footer-presens-logo { width: 104px; }
  .footer-logos { gap: 16px; }
}
