/* LÅ Webbyrå – stilmall */

:root {
  --navy: #001B2E;
  --navy-2: #06263D;
  --blue: #294C60;
  --mist: #ADB6C4;
  --cream: #FFEFD3;
  --peach: #FFC49B;
  --ink: #181818;
  --ink-soft: #4A4A4A;
  --white: #FFFCF7;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fint brus över hela sidan för lite materialkänsla */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--peach); color: var(--navy); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  max-width: 44ch;
}

/* ---------- Scroll-animationer ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in { opacity: 1; transform: none; }

/* Rubriker där orden glider upp ett i taget (orden delas upp av main.js) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .card.reveal, .js [data-split] .w > span { opacity: 1; transform: none; transition: none; }
  .tilt { transform: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* ---------- Etikett ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue);
  border: 1px solid rgba(41, 76, 96, 0.16);
  margin-bottom: 26px;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 3px rgba(255, 196, 155, 0.35);
}

.pill--dark {
  background: rgba(255, 239, 211, 0.06);
  color: var(--cream);
  border-color: rgba(255, 239, 211, 0.16);
}

/* ---------- Knappar ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.btn .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}

.btn svg { width: 16px; height: 16px; }
.btn:hover .ico { transform: rotate(-45deg); }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn:hover::before { transform: none; }

.btn--peach { background: var(--peach); color: var(--navy); }
.btn--peach .ico { background: var(--navy); color: var(--peach); }
.btn--peach::before { background: var(--white); }

.btn--blue { background: #082540; color: var(--cream); }
.btn--blue .ico { background: var(--peach); color: var(--navy); }
.btn--blue::before { background: var(--blue); }

.btn--ghost {
  background: rgba(255, 239, 211, 0.06);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(255, 239, 211, 0.2);
  padding-right: 26px;
}

.btn--ghost::before { background: rgba(255, 239, 211, 0.12); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

/* Bara logotypen, ovanpå toppbilden */
.site-header {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  left: 0;
  right: 0;
  z-index: 50;
}

.header-logo { display: inline-block; }
.header-logo img { display: block; width: clamp(84px, 9vw, 124px); height: auto; }

.logo { display: inline-block; text-decoration: none; }
.logo--full img { width: 110px; height: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

/* Tonar ut färgfälten mot bandet under toppen */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--navy));
  z-index: -1;
  pointer-events: none;
}

/* Svävande prickar ritas i en canvas av main.js */
/* Videobakgrund i toppen, med en toning så att den ljusa texten syns */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

/* Varm persikoton i dimman upptill som glider över i sidans blå nertill */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 52%, rgba(0, 27, 46, 0.3), transparent 75%),
    linear-gradient(180deg,
      rgba(255, 196, 155, 0.2) 0%,
      rgba(255, 239, 211, 0.1) 28%,
      rgba(41, 76, 96, 0.28) 62%,
      rgba(0, 27, 46, 0.72) 100%),
    rgba(41, 76, 96, 0.12);
}

/* Stillbild i toppen (Luleå hamn) – samma lager som videon */
.hero-photo { object-position: 50% 62%; }
@media (max-width: 700px) { .hero-photo { object-position: 64% 62%; } }
/* Svart botten i stället för blå när toppen är en svartvit bild */
.hero--image { background: #000; }
.hero--image::after { background: linear-gradient(180deg, transparent, #000); }
.hero--image + .divider > rect:first-of-type { fill: #000; }
/* Bara rubrik i toppen: lyft den till samma höjd som när brödtext och knappar fanns */
.hero--image .hero-main { padding-bottom: clamp(120px, 28vh, 360px); }
.hero--image h1 { text-shadow: 0 2px 30px rgba(0, 27, 46, 0.55); }
.hero--image .hero-veil {
  background:
    radial-gradient(ellipse 55% 40% at 50% 50%, rgba(0, 0, 0, 0.2), transparent 80%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.18) 40%,
      rgba(0, 0, 0, 0.3) 72%,
      rgba(0, 0, 0, 0.88) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero video.hero-video { display: none; }
  .hero--video { background: var(--navy) url("video/hero-poster.jpg") center / cover; }
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(170px, 18vw, 230px) 0 80px;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 239, 211, 0.85);
  background: rgba(255, 239, 211, 0.07);
  border: 1px solid rgba(255, 239, 211, 0.14);
  margin-bottom: 30px;
  animation: fade 1s var(--ease) both;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CC38A;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 195, 138, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(76, 195, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 195, 138, 0); }
}

.kicker {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: rgba(255, 239, 211, 0.85);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7.6vw, 6.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 30px;
  text-wrap: initial;
}

.hero h1 .line { display: block; overflow: hidden; padding: 0.14em 0.1em 0.2em; margin: -0.14em 0 -0.12em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}

.rotator {
  font-style: normal;
  color: #F4C29C;
  display: inline-block;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.rotator.is-out { opacity: 0; transform: translateY(-30%); filter: blur(6px); }

.hero .lead {
  color: rgba(255, 239, 211, 0.85);
  max-width: 54ch;
  margin: 0 auto 36px;
  animation: fade 1.2s 0.35s var(--ease) both;
}

.hero .btn-row { justify-content: center; animation: fade 1.2s 0.5s var(--ease) both; }

@keyframes fade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Pulserande band mellan toppen och nästa sektion */
.divider {
  display: block;
  width: 100%;
  height: clamp(56px, 7vw, 100px);
  margin-top: -2px;
}

/* Mjuka färgfält, används i kontaktdelen och på undersidorna */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: var(--blue); }
.aurora span:nth-child(2) { width: 30vw; height: 30vw; right: 14vw; top: 18vh; background: var(--peach); opacity: 0.3; animation-duration: 28s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 38vw; height: 38vw; left: -14vw; bottom: -18vw; background: var(--blue); opacity: 0.45; animation-duration: 26s; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4vw, 3vh) scale(1.08); }
  100% { transform: translate(3vw, -2vh) scale(0.96); }
}

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

.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 24px 60px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head h2 { margin: 0; max-width: 14ch; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.section-head .pill { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Omnämnd i */

.mentions { border-bottom: 1px solid rgba(41, 76, 96, 0.14); }

.mentions .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.mentions .label {
  flex: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.mentions ul {
  align-self: stretch;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
}

@media (max-width: 760px) {
  .mentions .wrap { gap: 14px; }
  .mentions ul { justify-content: flex-start; gap: 18px 26px; }
}

.mentions li { display: flex; align-items: center; }
.mentions img[alt="Hockeynews"] { height: 34px; }
.mentions img[alt="Bastard Burgers"] { height: 44px; }
.mentions img[alt="Catena Media"] { height: 26px; }
.mentions img[alt="Nickes.Com"] { height: 32px; }
.mentions img[alt="Bet365"] { height: 24px; }
.mentions img[alt="Svenska Spel"] { height: 26px; }
.mentions img { display: block; height: 22px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(0.55); opacity: 0.55; transition: opacity 0.2s; }
.mentions a { display: flex; text-decoration: none; }
.mentions li:hover img { opacity: 0.9; }

/* ---------- Om oss, med en bild som vrids fram vid scroll ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.about-text h2 { max-width: 12ch; color: #082540; }
.about-text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(41, 76, 96, 0.16);
}

.fact dt { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 4px; }
.fact dd { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; color: var(--blue); }

.need-art { width: 100%; max-width: 600px; justify-self: center; }
.need-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.need-art text { font-family: var(--serif); }

.na-float { animation: na-bob 7s ease-in-out infinite alternate; }
.na-b { animation-duration: 9s; animation-delay: -3s; }
.na-c { animation-duration: 6s; animation-delay: -1.5s; }

@keyframes na-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) { .na-float { animation: none; } }

.tilt-stage { position: relative; perspective: 1600px; }

/* --p går från 0 till 1 när bilden scrollas in; utan skript ligger den rak */
.tilt {
  transform:
    rotateX(calc((1 - var(--p, 1)) * 34deg))
    rotateZ(calc((1 - var(--p, 1)) * -5deg))
    scale(calc(0.84 + var(--p, 1) * 0.16));
  transform-origin: 50% 100%;
  will-change: transform;
}

.browser {
  border-radius: 22px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 60px 100px -45px rgba(0, 27, 46, 0.55), 0 0 0 1px rgba(41, 76, 96, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #F4EBDD;
  border-bottom: 1px solid rgba(41, 76, 96, 0.1);
}

.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E8A08A; }
.browser-bar i:nth-child(2) { background: #F2C88A; }
.browser-bar i:nth-child(3) { background: #9CC7A4; }

.browser-bar .url {
  margin-left: 12px;
  flex: 1;
  max-width: 300px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.mock { display: grid; gap: 14px; padding: clamp(16px, 2.4vw, 26px); }

.mock-nav { display: flex; align-items: center; justify-content: space-between; }
.mock-logo { width: 120px; height: 14px; border-radius: 7px; background: var(--navy); }
.mock-links { display: flex; gap: 8px; }
.mock-links span { width: 46px; height: 10px; border-radius: 5px; background: #E9E2D6; }

.mock-hero {
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: var(--cream);
}

.mock-hero .t { font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 1.9rem); line-height: 1.1; margin-bottom: 14px; }
.mock-hero .b { height: 8px; width: 70%; border-radius: 4px; background: rgba(255, 239, 211, 0.3); }
.mock-hero .b + .b { width: 48%; margin-top: 8px; }

.mock-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FAF5EC;
}

.mock-row .teams { display: flex; gap: 6px; }
.mock-row .teams i { width: 24px; height: 24px; border-radius: 50%; background: var(--mist); }
.mock-row .teams i + i { background: var(--peach); }
.mock-row .bar { height: 9px; border-radius: 5px; background: #E6DED1; }
.mock-row .odds { display: flex; gap: 6px; }

.mock-row .odds span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(41, 76, 96, 0.15);
  color: var(--blue);
}

.mock-row .odds .hot { background: var(--peach); border-color: var(--peach); color: var(--navy); }

.tilt-badge {
  position: absolute;
  left: -22px;
  bottom: -26px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--peach);
  color: var(--navy);
  box-shadow: 0 24px 50px -24px rgba(0, 27, 46, 0.5);
  rotate: -4deg;
  animation: hover 5s ease-in-out infinite alternate;
}

.tilt-badge small { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.75; }
.tilt-badge strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }

@keyframes hover { from { translate: 0 -8px; } to { translate: 0 8px; } }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .tilt-badge { left: 8px; }
}

@media (max-width: 520px) {
  .mock-links, .mock-row .bar { display: none; }
  .mock-row { grid-template-columns: auto 1fr; }
  .mock-row .odds { justify-content: flex-end; }
}

/* ---------- Ärenden ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(41, 76, 96, 0.08);
  transition: box-shadow 0.5s var(--ease), translate 0.5s var(--ease);
}

.card:hover { translate: 0 -4px; box-shadow: 0 26px 50px -30px rgba(0, 27, 46, 0.35); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--blue);
}

.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0 0 22px; }

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--blue);
  text-decoration: none;
}

.card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card-link:hover { color: var(--navy); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Korten glider in lite längre än övriga element */
.js .card.reveal { transform: translateY(70px) scale(0.96); }
.js .card.reveal.is-in { transform: none; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Våra sajter ---------- */

.sites-section { background: #082540; }
#arenden .section-head h2 { color: #082540; }
.sites-section .section-head h2 { color: var(--cream); }
.sites-section .section-head p { color: var(--mist); }

.site-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px);
}
.site-card {
  --c-bg: var(--cream); --c-fg: var(--navy); --c-btn: var(--navy); --c-btn-fg: var(--cream);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px);
  padding: clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px) clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-xl); background: var(--c-bg); color: var(--c-fg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.site-card::before { /* mjuk fläck bakom ramen */
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -22%; bottom: -34%;
  border-radius: 50%; background: var(--c-fg); opacity: 0.07; transition: transform 0.9s var(--ease);
}
.site-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(0, 27, 46, 0.5); }
.site-card:hover::before { transform: scale(1.25); }

/* Miniatyren sitter i en liten webbläsarram */
.site-card .thumb {
  display: block; overflow: hidden; border-radius: var(--radius-md);
  background: #fff; box-shadow: 0 14px 30px -18px rgba(0, 27, 46, 0.55);
}
.site-card .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 252, 247, 0.96); }
.site-card .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); }
.site-card .bar i:nth-child(2) { background: var(--cream); box-shadow: inset 0 0 0 1px rgba(0,27,46,.15); }
.site-card .bar i:nth-child(3) { background: var(--mist); }
.site-card .bar span {
  margin-left: 8px; padding: 3px 14px; border-radius: 999px; background: rgba(0, 27, 46, 0.06);
  font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em;
}
.site-card .shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.site-card .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transition: transform 1s var(--ease);
}
.site-card:hover .shot img { transform: scale(1.06); }

.site-card .info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 0 clamp(8px, 1vw, 14px); }
.site-card .info p { flex: 1; margin: 0; font-size: 1rem; line-height: 1.6; max-width: 48ch; opacity: 0.88; }
.site-card .visit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 8px 7px 22px; border-radius: 999px;
  background: var(--c-btn); color: var(--c-btn-fg); text-decoration: none;
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease);
}
.site-card .visit i {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--peach); color: var(--navy); transition: transform 0.5s var(--ease);
}
.site-card .visit svg { width: 16px; height: 16px; }
.site-card .visit:hover { transform: translateX(3px); }
.site-card .visit:hover i, .site-card:hover .visit i { transform: rotate(-45deg); }

.site-card--peach { --c-bg: var(--peach); }
.site-card--cream { --c-bg: var(--cream); }

@media (max-width: 860px) { .site-list { grid-template-columns: 1fr; } }

/* ---------- För företag: lösningar ---------- */

.solutions { overflow: hidden; isolation: isolate; }

/* Levande bakgrund: mjuka färgfält och små bubblor som svävar */
.blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate;
}

.blobs span:nth-child(1) { width: 38vw; height: 38vw; left: -10vw; top: 4%; background: var(--peach); }
.blobs span:nth-child(2) { width: 30vw; height: 30vw; right: -8vw; top: 28%; background: var(--mist); animation-duration: 26s; animation-delay: -8s; }
.blobs span:nth-child(3) { width: 24vw; height: 24vw; left: 38%; bottom: -10vw; background: #FFD9BC; animation-duration: 18s; }

.bubbles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c, var(--peach));
  opacity: 0.75;
  animation: float-y 6s ease-in-out infinite alternate;
  animation-delay: var(--dl, 0s);
}

@keyframes float-y { from { transform: translateY(-16px); } to { transform: translateY(16px); } }

.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.solutions-text h2 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.solutions-text h2 em { color: var(--blue); }
.solutions-text p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; margin-bottom: 30px; }

.phones { position: relative; min-width: 0; }

.phone-track {
  position: relative;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 24px 6px 40px;
  margin: -24px -6px -16px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}

.phone-track::-webkit-scrollbar { display: none; }

.phone {
  flex: 0 0 min(270px, 72vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 14px 18px 24px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 30px 60px -32px rgba(0, 27, 46, 0.4), 0 0 0 1px rgba(41, 76, 96, 0.08);
  transition: transform 0.5s var(--ease);
}

.phone:hover { transform: translateY(-8px) rotate(-1deg); }

.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.62rem; color: var(--ink-soft); }
.phone-top .dots { display: flex; gap: 4px; }
.phone-top .dots i { width: 6px; height: 6px; border-radius: 50%; background: #E8A08A; }
.phone-top .dots i:nth-child(2) { background: #F2C88A; }
.phone-top .dots i:nth-child(3) { background: #9CC7A4; }
.phone-top .bat { width: 20px; height: 8px; border-radius: 3px; background: #9CC7A4; }

.phone-plus { align-self: flex-end; margin: 12px 0 10px; font-size: 1.3rem; line-height: 1; color: var(--blue); }

.phone-label {
  align-self: center;
  padding: 5px 14px;
  border-radius: 6px;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  background: #EFE8DC;
}

.phone-art { flex: 1; display: grid; place-items: center; padding: 10px 0; }
.phone-art svg { width: 86%; height: auto; overflow: visible; }
.phone p { margin: 0; text-align: center; font-size: 0.88rem; color: var(--ink-soft); }

.phone-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }

.phone-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 76, 96, 0.25);
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s;
}

.phone-dots button.is-active { width: 26px; background: var(--blue); }

/* Rörelser i illustrationerna */
.a-float { animation: bob 3.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.a-float.d2 { animation-delay: -1.2s; }
.a-float.d3 { animation-delay: -2.4s; }

@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.a-orbit { animation: orbit 16s linear infinite; transform-box: view-box; transform-origin: 100px 100px; }

@keyframes orbit { to { transform: rotate(360deg); } }

.a-grow { animation: grow 2.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.a-grow.d2 { animation-delay: -0.6s; }
.a-grow.d3 { animation-delay: -1.2s; }
.a-grow.d4 { animation-delay: -1.8s; }

@keyframes grow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.a-ripple { animation: ripple 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes ripple { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }

.a-cursor { animation: cursor 2.4s ease-in-out infinite; transform-box: fill-box; }

@keyframes cursor {
  0%, 100% { transform: translate(18px, 18px); }
  40%, 60% { transform: translate(0, 0); }
}

/* Citat */

.quotes { display: grid; grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; gap: 16px; margin-top: clamp(64px, 8vw, 110px); }

.quote {
  position: relative;
  margin: 0;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(41, 76, 96, 0.08);
}

.quote:nth-child(2), .quote:only-child { background: var(--peach); box-shadow: none; }

.quote::before {
  content: "”";
  position: absolute;
  top: -8px;
  right: 26px;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.22;
}

.quote p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 22px; }
.quote footer { font-size: 0.88rem; color: var(--ink-soft); }
.quote footer strong { color: var(--navy); font-weight: 600; }

@media (max-width: 900px) {
  .solutions-grid, .quotes { grid-template-columns: 1fr; }
}

/* ---------- Vanliga frågor ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq-grid .intro { position: sticky; top: 120px; }
.faq-grid .intro h2 { max-width: 10ch; }
.faq-grid .intro p { color: var(--ink-soft); max-width: 36ch; }

.faq details {
  border-top: 1px solid rgba(41, 76, 96, 0.2);
}

.faq details:last-child { border-bottom: 1px solid rgba(41, 76, 96, 0.2); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23294C60' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}

.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--peach); }

.faq details p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 22px; margin: 0; }
.faq details a { color: var(--blue); text-decoration-color: var(--peach); text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .intro { position: static; }
}

/* ---------- Press ---------- */

.press-section { background: var(--blue); color: var(--cream); overflow: hidden; }
.press-section h2 { color: var(--cream); margin: 0; }

.press-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 10px 10px 26px;
  background: rgba(255, 239, 211, 0.06);
  border: 1px solid rgba(255, 239, 211, 0.12);
  text-decoration: none;
  transition: background-color 0.3s, transform 0.5s var(--ease);
}

.post-card:hover { background: rgba(255, 239, 211, 0.1); transform: translateY(-6px); }

.post-card .cover {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
}

.cover svg, .article-cover svg { display: block; width: 100%; height: 100%; transition: transform 0.8s var(--ease); }
.post-card:hover .cover svg { transform: scale(1.06); }

.post-card h3 { font-size: 1.45rem; line-height: 1.2; margin: 0 16px 10px; }
.post-card p { font-size: 0.95rem; opacity: 0.75; margin: 0 16px 22px; }

.post-meta {
  margin: auto 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 196, 155, 0.18);
  color: var(--peach);
  font-weight: 500;
}

@media (max-width: 900px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */

.contact {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 60px;
}

.hero .aurora span:nth-child(1) { top: -6vw; right: auto; left: 10vw; }
.hero .aurora span:nth-child(2) { top: 30%; right: 4vw; }
.contact .aurora span:nth-child(1) { top: auto; bottom: -20vw; right: -10vw; }
.contact .aurora span:nth-child(2) { top: 10%; right: auto; left: 30vw; }

.contact h2 {
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 11ch;
  margin-bottom: 40px;
}

.contact h2 em { color: var(--peach); }

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  padding-bottom: 8px;
}

.contact-mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--peach);
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform 0.6s var(--ease);
}

.contact-mail:hover::after { transform: scaleX(1); }

.contact-mail .ico {
  width: clamp(48px, 5vw, 76px);
  height: clamp(48px, 5vw, 76px);
  flex: none;
  border-radius: 50%;
  background: var(--peach);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}

.contact-mail .ico svg { width: 40%; height: 40%; }
.contact-mail:hover .ico { transform: rotate(-45deg); }

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.topics a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 239, 211, 0.22);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.topics a:hover { background: var(--peach); color: var(--navy); border-color: var(--peach); }

.company {
  margin-top: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 239, 211, 0.14);
  padding-top: 28px;
  gap: 20px;
}

.company div { font-size: 0.95rem; }
.company dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-bottom: 6px; }
.company dd { margin: 0; }
.company a { text-decoration: none; }
.company a:hover { color: var(--peach); }

@media (max-width: 760px) {
  .company { grid-template-columns: 1fr 1fr; }
}

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

.site-footer {
  background: var(--navy);
  color: rgba(255, 239, 211, 0.7);
  font-size: 0.92rem;
  padding-top: 70px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 239, 211, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .logo { margin-bottom: 14px; }
.site-footer p { max-width: 34ch; }
.site-footer h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--peach); }


.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding: 22px 0 26px;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 239, 211, 0.1);
  position: relative;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Press-arkiv & artikel ---------- */

.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(190px, 20vw, 250px) 0 clamp(56px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero h1 { color: var(--cream); font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.015em; line-height: 1; max-width: 16ch; }
.page-hero .lead { color: rgba(255, 239, 211, 0.78); max-width: 56ch; }

.archive { padding: clamp(64px, 9vw, 110px) 0; }

.year-group {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.year-group h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  color: var(--blue);
  margin: 0;
  line-height: 1;
}

.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { border-top: 1px solid rgba(41, 76, 96, 0.18); }
.archive-list li:last-child { border-bottom: 1px solid rgba(41, 76, 96, 0.18); }

.archive-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  text-decoration: none;
  transition: padding 0.4s var(--ease), color 0.3s;
}

.archive-list a:hover { padding-left: 16px; color: var(--blue); }
.archive-list .t { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.archive-list .d { font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }

@media (max-width: 700px) {
  .year-group { grid-template-columns: 1fr; gap: 12px; }
  .archive-list a { grid-template-columns: 1fr; gap: 4px; }
}

.article { padding: clamp(48px, 7vw, 88px) 0; }

.article-body {
  max-width: 70ch;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 60px);
  font-size: 1.06rem;
}

.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.2em; }
.article-body h3 { font-size: 1.3rem; margin-top: 1.4em; }
.article-body a { color: var(--blue); text-decoration-color: var(--peach); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--navy); }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body .note { color: var(--ink-soft); font-style: italic; }

.article-cover {
  max-width: 70ch;
  margin: 0 auto 18px;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--mist);
  text-decoration: none;
}

.article-back:hover { color: var(--peach); }
.article-date { color: var(--mist); font-size: 0.95rem; }

.article-nav {
  max-width: 70ch;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.article-nav a { text-decoration: none; color: var(--blue); max-width: 48%; }
.article-nav a:hover { color: var(--navy); }
.article-nav .next { margin-left: auto; text-align: right; }

/* ---------- Rubrikfärger ----------
   Blå (logotypens platta) på ljus bakgrund, beige (LÅ-symbolen) på blå/mörk bakgrund. */
:root { --logo-blue: #082540; --logo-beige: #F4C29C; }

h1, h2, h3, h4,
.year-group h2,
.solutions-text h2 em,
.article-body h2, .article-body h3 { color: var(--logo-blue); }

.sites-section .section-head h2,
.press-section h2,
.post-card h3,
.contact h2, .contact h2 em,
.page-hero h1,
.site-footer h4 { color: var(--logo-beige); }

/* ---------- Logotypens blå (#082540): bakgrunder och knappar ---------- */
.contact, .site-footer { background: #082540; }
.site-card { --c-btn: #082540; }
.card-link, .card-link:hover { color: #082540; }

/* Pressidans/inläggens sidhuvud samt pilar i de ljusa cirklarna */
.page-hero { background: #082540; }
.contact-mail .ico,
.btn--blue .ico,
.site-card .visit i { color: #082540; }

/* ---------- Ikonplattor, kontakt och sidfot ---------- */
/* Ikoner i kortrutorna: beige platta, blå ikon */
.card .icon { background: #F4C29C; color: #082540; }

/* Referensen: beige platta med mörk text */
.quote, .quote:nth-child(2), .quote:only-child { background: #F4C29C; box-shadow: none; }

/* Kontakt + sidfot: solid blå som går ihop, med svävande prickar */
.contact, .site-footer { background: #082540; position: relative; isolation: isolate; }
.site-footer { border-top: 0; overflow: hidden; }

.divider--end { margin-top: 0; margin-bottom: -2px; }

/* Blå canvas bakom sidan: ingen beige rand vid överscroll längst ner */
html { background: #082540; }
