.sp4-section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.sp4-section--deep {
  background: var(--deep);
}

.sp4-rubric {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.sp4-kicker {
  color: var(--sun);
  font: 700 0.8rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sp4-rubric__label {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.sp4-rubric__text {
  color: var(--mist);
  font-size: 1.125rem;
}

/* Hero */

.sp4-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 8vw, 104px);
  background:
    radial-gradient(
      ellipse 55% 38% at 68% 80%,
      rgba(255, 176, 97, 0.5),
      transparent 70%
    ),
    linear-gradient(180deg, #081a20 0%, #0f2e3a 40%, #34405a 68%, #b0624c 100%);
}

.sp4-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  justify-items: start;
}

.sp4-hero__title {
  display: grid;
  gap: 8px;
}

.sp4-hero__name {
  font-size: clamp(3.4rem, 2rem + 8vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.sp4-hero__line {
  color: var(--mist);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  font-weight: 600;
}

.sp4-hero__accent {
  font-style: normal;
  color: var(--sun);
}

.sp4-hero__lead {
  max-width: 620px;
  color: #d3e2de;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

.sp4-hero__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.sp4-hero__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.sp4-hero__promise li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 26, 32, 0.45);
  font-size: 0.875rem;
  font-weight: 700;
}

.sp4-hero__scene {
  position: relative;
  height: clamp(200px, 30vw, 380px);
  margin-top: clamp(-10px, 2vw, 24px);
}

.sp4-hero__scene svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sp4-hero__hills--far {
  fill: #2b3a4f;
}

.sp4-hero__hills--near {
  fill: #13303b;
}

.sp4-hero__shine {
  fill: none;
  stroke: rgba(255, 214, 160, 0.6);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.sp4-hero__shine--soft {
  stroke: rgba(238, 245, 241, 0.2);
  stroke-width: 1.6;
}

.sp4-hero__ring {
  fill: none;
  stroke: rgba(238, 245, 241, 0.65);
  stroke-width: 1.6;
  opacity: 0;
}

.sp4-hero__antenna {
  fill: none;
  stroke: var(--foam);
  stroke-width: 3;
  stroke-linecap: round;
}

.sp4-hero__cap {
  fill: var(--float);
}

.sp4-hero__belly {
  fill: #f4efe6;
}

.sp4-hero__reeds path {
  fill: none;
  stroke: #0a1d24;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.sp4-hero__reeds ellipse {
  fill: #0a1d24;
}

@media (prefers-reduced-motion: no-preference) {
  .sp4-hero__bob {
    animation: sp4-bob 3.6s ease-in-out infinite;
  }

  .sp4-hero__ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: sp4-ring 3.6s ease-out infinite;
  }

  .sp4-hero__ring--2 {
    animation-delay: 1.2s;
  }

  .sp4-hero__ring--3 {
    animation-delay: 2.4s;
  }
}

@keyframes sp4-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(3px);
  }

  52% {
    transform: translateY(16px);
  }

  60% {
    transform: translateY(2px);
  }
}

@keyframes sp4-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }

  100% {
    opacity: 0;
    transform: scale(3);
  }
}

.sp4-hero__base {
  background: var(--night);
}

.sp4-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding-top: 24px;
  padding-bottom: 48px;
}

@media (min-width: 760px) {
  .sp4-hero__facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp4-hero__facts li {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--round-s);
  background: var(--deep);
}

.sp4-hero__facts strong {
  color: var(--sun);
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.sp4-hero__facts span {
  color: var(--mist);
  font-size: 0.925rem;
}

/* Fiskarna */

.sp4-fishes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}

.sp4-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--lake);
}

.sp4-card--trophy {
  border-color: rgba(255, 200, 97, 0.45);
  background: linear-gradient(160deg, #3a3217, var(--lake) 60%);
}

.sp4-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: #2a1c00;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sp4-card__fish {
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.sp4-card__name {
  display: grid;
  gap: 2px;
  font-size: 1.5rem;
}

.sp4-card__latin {
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.sp4-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.sp4-card__stats li {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 26, 32, 0.55);
  color: var(--mist);
  font-size: 0.85rem;
}

.sp4-card__stats strong {
  color: var(--foam);
}

.sp4-card__fact {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--mist);
  font-size: 0.925rem;
}

/* Poäng */

.sp4-score {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

@media (min-width: 960px) {
  .sp4-score {
    grid-template-columns: 5fr 6fr;
    align-items: start;
  }

  .sp4-score .sp4-rubric {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

.sp4-rules {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  counter-reset: sp4-rule;
}

.sp4-rules li {
  position: relative;
  padding: 16px 18px 16px 64px;
  border-radius: var(--round-s);
  background: var(--lake);
  color: var(--mist);
  counter-increment: sp4-rule;
}

.sp4-rules li::before {
  content: counter(sp4-rule);
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--float);
  color: var(--float-ink);
  font-family: var(--display);
  font-weight: 800;
}

.sp4-rules strong {
  display: block;
  margin-bottom: 2px;
  color: var(--foam);
  font-family: var(--display);
  font-size: 1.1rem;
}

.sp4-note {
  max-width: 760px;
  margin-top: 16px;
  color: var(--mist);
  font-size: 0.95rem;
}

/* Lägen */

.sp4-lagen {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
}

@media (min-width: 900px) {
  .sp4-lagen {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp4-lage {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border-top: 4px solid var(--lage-accent, var(--float));
  border-radius: var(--round);
  background: var(--lake);
}

.sp4-lage__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.sp4-lage__name {
  font-size: 1.75rem;
}

.sp4-lage__time {
  color: var(--sun);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.sp4-lage__text {
  color: var(--foam);
}

.sp4-lage__facts,
.sp4-lage__waters {
  display: grid;
  gap: 6px;
  padding: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.sp4-lage__facts {
  list-style: none;
}

.sp4-lage__facts li {
  position: relative;
  padding-left: 20px;
}

.sp4-lage__facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lage-accent, var(--float));
}

.sp4-lage__waters {
  padding-left: 1.3em;
}

.sp4-lage__waters strong {
  color: var(--foam);
}

/* Bakom spelet */

.sp4-bakom {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

@media (min-width: 900px) {
  .sp4-bakom {
    grid-template-columns: 6fr 5fr;
    align-items: start;
  }
}

.sp4-bakom__text {
  display: grid;
  gap: 16px;
  color: #d3e2de;
  font-size: 1.075rem;
}

.sp4-bakom__facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--round);
  background: var(--line);
}

.sp4-bakom__facts div {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  background: var(--lake);
}

.sp4-bakom__facts dt {
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Kom igång */

.sp4-route {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}

.sp4-route__step {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-radius: var(--round);
  background: var(--lake);
}

.sp4-route__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--float);
  border-radius: 50%;
  color: var(--float);
  font-family: var(--display);
  font-weight: 800;
}

.sp4-route__label {
  font-size: 1.2rem;
}

.sp4-route__text {
  color: var(--mist);
  font-size: 0.975rem;
}

.sp4-route__go {
  margin-top: 28px;
}

/* Frågor */

.sp4-margin__list {
  display: grid;
  gap: 10px;
}

.sp4-margin__item {
  border: 1px solid var(--line);
  border-radius: var(--round-s);
  background: var(--lake);
}

.sp4-margin__q {
  font-size: 1.125rem;
}

.sp4-margin__ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--foam);
  font: 700 1.075rem/1.35 var(--display);
  text-align: left;
  cursor: pointer;
}

.sp4-margin__sign {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8, 26, 32, 0.6);
  transition:
    transform 0.25s var(--glide),
    background-color 0.25s var(--glide);
}

.sp4-margin__ask[aria-expanded="true"] .sp4-margin__sign {
  background: var(--float);
  color: var(--float-ink);
  transform: rotate(45deg);
}

.sp4-margin__answer {
  padding: 0 20px 20px;
  color: #d3e2de;
}

/* Kontakt */

.sp4-letter {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 760px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: linear-gradient(150deg, var(--lake-hi), var(--lake));
}

.sp4-letter__title {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
}

.sp4-letter__text {
  color: #d3e2de;
  font-size: 1.075rem;
}

.sp4-letter__mail {
  border-bottom: 3px solid currentColor;
  color: var(--float);
  font-family: var(--display);
  font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sp4-letter__mail:hover {
  color: var(--float-hi);
}

.sp4-letter__sign {
  color: var(--mist);
  font-size: 0.95rem;
}

/* Juridiska sidor */

.sp4-deed {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
  overflow-wrap: anywhere;
}

.sp4-deed .sp4-folio {
  max-width: calc(820px + 2 * var(--gutter));
}

.sp4-deed__crumb {
  margin-bottom: 18px;
  color: var(--mist);
  font-size: 0.9rem;
}

.sp4-deed__crumb a {
  color: var(--mist);
}

.sp4-deed__title {
  font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem);
}

.sp4-deed__stamp {
  margin-top: 10px;
  color: var(--sun);
  font-size: 0.95rem;
  font-weight: 700;
}

.sp4-deed__lede {
  margin-top: 20px;
  color: #d3e2de;
  font-size: 1.175rem;
}

.sp4-deed__news {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 4px solid var(--sun);
  border-radius: var(--round-s);
  background: var(--lake);
  color: #d3e2de;
}

.sp4-deed__part {
  display: grid;
  gap: 14px;
  margin-top: 44px;
  color: #d3e2de;
}

.sp4-deed__part > * {
  min-width: 0;
}

.sp4-deed__head {
  display: flex;
  gap: 10px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.sp4-deed__num {
  color: var(--float);
}

.sp4-deed__sub {
  margin-top: 8px;
  font-size: 1.15rem;
}

.sp4-deed__list {
  display: grid;
  gap: 6px;
  padding-left: 1.2em;
}

.sp4-deed__aside {
  color: var(--mist);
  font-size: 0.95rem;
}

.sp4-deed__back {
  margin-top: 48px;
}

/* 404 */

.sp4-lost {
  display: grid;
  align-items: center;
  min-height: 70vh;
  padding: 80px 0;
  background: radial-gradient(
    ellipse 50% 40% at 50% 100%,
    rgba(255, 176, 97, 0.25),
    transparent 70%
  );
}

.sp4-lost__title {
  max-width: 14ch;
  margin-top: 12px;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.5rem);
}

.sp4-lost__text {
  max-width: 52ch;
  margin-top: 18px;
  color: #d3e2de;
  font-size: 1.125rem;
}

.sp4-lost__go {
  margin-top: 28px;
}
