/* ─── coming-soon · Adam Af Ekenstam ─────────────────────────── */

:root {
  --cs-ink: #0d0c0a;
  --cs-bg: #f8f7f4;
  --cs-soft: #6b6964;
  --cs-line: #d4d2cd;
  --cs-display: 'Bowlby One SC', system-ui, sans-serif;
  --cs-body: 'Inter', system-ui, sans-serif;
  --cs-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--cs-bg);
  color: var(--cs-ink);
  font-family: var(--cs-body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* ─── Cloud of drifting portraits ────────────────────────────── */
.cs {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.cs__cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cs__cloud img {
  position: absolute;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  filter: contrast(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0.9;
  will-change: transform, top, left;
  max-width: 110px;
  max-height: 110px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.4, 1);
}

/* 12 porträtt på slumpmässiga positioner, olika storlekar, olika hastigheter.
   De "åker runt" i olika cirkelbanor med olika riktningar. */

.cs__cloud img:nth-child(1)  { width: 130px; height: 130px; left: 8%;  top: 12%; }
.cs__cloud img:nth-child(2)  { width: 110px; height: 110px; right: 10%; top: 18%; }
.cs__cloud img:nth-child(3)  { width: 150px; height: 150px; left: 18%; top: 60%; }
.cs__cloud img:nth-child(4)  { width: 95px;  height: 95px;  right: 22%; top: 65%; }
.cs__cloud img:nth-child(5)  { width: 120px; height: 120px; left: 50%; top: 8%;  }
.cs__cloud img:nth-child(6)  { width: 105px; height: 105px; left: 75%; top: 45%; }
.cs__cloud img:nth-child(7)  { width: 140px; height: 140px; left: 5%;  top: 78%; }
.cs__cloud img:nth-child(8)  { width: 100px; height: 100px; right: 5%;  top: 85%; }
.cs__cloud img:nth-child(9)  { width: 115px; height: 115px; left: 38%; top: 80%; }
.cs__cloud img:nth-child(10) { width: 90px;  height: 90px;  right: 38%; top: 12%; }
.cs__cloud img:nth-child(11) { width: 125px; height: 125px; left: 32%; top: 38%; }
.cs__cloud img:nth-child(12) { width: 100px; height: 100px; right: 30%; top: 28%; }

.cs__cloud img:nth-child(13) { width: 95px;  height: 95px;  left: 65%; top: 70%; }
.cs__cloud img:nth-child(14) { width: 110px; height: 110px; right: 40%; top: 78%; }
.cs__cloud img:nth-child(15) { width: 85px;  height: 85px;  left: 85%; top: 25%; }
.cs__cloud img:nth-child(16) { width: 105px; height: 105px; left: 22%; top: 22%; }
.cs__cloud img:nth-child(17) { width: 100px; height: 100px; right: 60%; top: 5%;  }
.cs__cloud img:nth-child(18) { width: 80px;  height: 80px;  left: 88%; top: 65%; }
.cs__cloud img:nth-child(19) { width: 120px; height: 120px; right: 78%; top: 35%; }
.cs__cloud img:nth-child(20) { width: 90px;  height: 90px;  left: 60%; top: 48%; }
.cs__cloud img:nth-child(21) { width: 105px; height: 105px; right: 88%; top: 90%; }
.cs__cloud img:nth-child(22) { width: 85px;  height: 85px;  left: 92%; top: 5%;  }
.cs__cloud img:nth-child(23) { width: 115px; height: 115px; right: 5%;  top: 38%; }
.cs__cloud img:nth-child(24) { width: 95px;  height: 95px;  left: 4%;  top: 48%; }

/* Drift styrs nu helt av JS i <script> längre ner.
   Det låter muspekar-offset samexistera med animation
   (de delar på samma transform-egenskap). */

/* ─── Centrerat innehåll (utan box) ─────────────────────────── */
.cs__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 480px;
  padding: 24px 32px;
  background: color-mix(in oklch, var(--cs-bg) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 4px;
}

.cs__logo {
  display: inline-block;
  margin-bottom: 20px;
  line-height: 0;
}
.cs__logo img {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
}

.cs__mini-adam {
  position: absolute;
  left: 24px;
  bottom: 24px;
  height: 96px;
  width: auto;
  margin: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
  z-index: 3;
  pointer-events: none;
}

.cs__bottom {
  display: block;
}
.cs__bottom .cs__contact {
  text-align: center;
  margin: 0;
}
@media (max-width: 480px) {
  .cs__mini-adam { display: none; }
}

.cs__tag {
  font-family: var(--cs-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--cs-soft);
  margin-bottom: 24px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.cs__lede {
  font-family: var(--cs-display);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cs-ink);
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(248,247,244,0.6);
}

.cs__contact {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: center;
}

.cs__contact li {
  padding: 8px 0;
}

.cs__label {
  display: block;
  font-family: var(--cs-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-soft);
  margin-bottom: 4px;
}

.cs__contact a {
  color: var(--cs-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.cs__contact a:hover { text-decoration: underline; }

.cs__contact address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cs-ink);
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cs__cloud img:nth-child(n+13) { display: none; }

  .cs__cloud img:nth-child(1) { width: 80px; height: 80px; left: 5%; top: 8%; }
  .cs__cloud img:nth-child(2) { width: 70px; height: 70px; right: 8%; top: 12%; }
  .cs__cloud img:nth-child(3) { width: 90px; height: 90px; left: 12%; top: 70%; }
  .cs__cloud img:nth-child(4) { width: 60px; height: 60px; right: 15%; top: 75%; }
  .cs__cloud img:nth-child(5) { width: 75px; height: 75px; left: 50%; top: 5%; }
  .cs__cloud img:nth-child(6) { width: 70px; height: 70px; right: 5%; top: 40%; }
  .cs__cloud img:nth-child(7) { width: 85px; height: 85px; left: 3%; top: 85%; }
  .cs__cloud img:nth-child(8) { width: 65px; height: 65px; right: 3%; top: 88%; }

  .cs__center { max-width: 320px; }
  .cs__logo img { height: 64px; }
  .cs__lede { font-size: 16px; margin-bottom: 20px; }
  .cs__contact { gap: 10px; }
}

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