/* ==========================================================================
   VisitWeb UF – Sektioner
   ========================================================================== */

/* Gemensam muspekare för illustrationer */
.fake-cursor, .hb__cursor, .ad-cursor {
  position: absolute;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 2.5 19.5 11l-6.8 1.7-3.4 6.8z' fill='%23151923' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 3px 6px rgba(21, 25, 35, 0.25));
  pointer-events: none;
  z-index: 5;
}

/* Gradientkant som följer muspekaren (kort med data-glow) */
[data-glow] { isolation: isolate; }
[data-glow]::before,
[data-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
[data-glow]::after {
  z-index: -1;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(65, 105, 255, 0.09), transparent 45%);
}
[data-glow]::before {
  z-index: 2;
  padding: 1.5px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(65, 105, 255, 0.75), rgba(167, 139, 250, 0.4) 30%, transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-glow]:hover::before, [data-glow]:hover::after { opacity: 1; }

/* 3D-lutning (variabler sätts av cards.js) */
.js-ready [data-tilt][data-reveal].is-in {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
}
.js-ready [data-tilt][data-reveal].is-in.is-hover {
  transition: transform 0.25s ease-out, box-shadow 0.5s var(--ease), opacity 1s var(--ease);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(120px, 12vw, 176px);
  overflow: clip;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 25, 35, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 35, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 10%, transparent 72%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.hero__orb--a {
  width: min(58vw, 760px); aspect-ratio: 1;
  right: -12vw; top: -14vw;
  background: radial-gradient(circle at 40% 40%, rgba(65, 105, 255, 0.42), rgba(65, 105, 255, 0) 68%);
  animation: orb-a 20s ease-in-out infinite alternate;
}
.hero__orb--b {
  width: min(46vw, 620px); aspect-ratio: 1;
  left: -14vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.4), rgba(167, 139, 250, 0) 68%);
  animation: orb-b 24s ease-in-out infinite alternate;
}
@keyframes orb-a { to { transform: translate3d(-8vw, 6vw, 0) scale(1.1); } }
@keyframes orb-b { to { transform: translate3d(10vw, -6vw, 0) scale(0.92); } }
.hero__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--sx, 68%) var(--sy, 32%), rgba(65, 105, 255, 0.11), transparent 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 4vw, 72px);
}
.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  justify-items: start;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-1);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  animation: fade-up 0.9s var(--ease) both;
}
.hero__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 105, 255, 0.5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(65, 105, 255, 0); }
}
.hero__title {
  font-size: clamp(2.9rem, 1.1rem + 5.3vw, 6.5rem);
  line-height: 0.95;
}
.hero__title .split-word > span {
  transform: none;
  animation: word-in 1.25s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}
@keyframes word-in {
  from { transform: translate3d(0, 108%, 0) rotate(5deg); }
  to { transform: none; }
}
.hero__lead { animation: fade-up 1s var(--ease) 0.55s both; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fade-up 1s var(--ease) 0.7s both;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  animation: fade-up 1s var(--ease) 0.85s both;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg {
  width: 18px; height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}

/* 3D-scen */
.hero__visual {
  position: relative;
  z-index: 1;
  perspective: 1600px;
  perspective-origin: 40% 50%;
  margin-right: calc(-0.5 * var(--gutter));
  padding: 6% 4% 10% 7%;
  animation: visual-in 1.6s var(--ease) 0.3s both;
}
@keyframes visual-in {
  from { opacity: 0; transform: translate3d(0, 60px, 0) scale(0.94); }
  to { opacity: 1; transform: none; }
}
.stage {
  position: relative;
  container-type: inline-size;
  transform-style: preserve-3d;
  transform: rotateX(7deg) rotateY(-13deg);
  will-change: transform;
}
.stage__shadow {
  position: absolute;
  left: 8%; right: 4%; bottom: -10%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 40, 110, 0.32), transparent);
  filter: blur(18px);
  transform: translateZ(-80px) translate(var(--shx, 0px), var(--shy, 0px));
}

.hb {
  position: relative;
  container-type: inline-size;
  border-radius: 2.6cqi;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 25, 35, 0.07), 0 50px 100px -40px rgba(28, 40, 110, 0.4), 0 20px 40px -20px rgba(21, 25, 35, 0.18);
  overflow: hidden;
  transform: translateZ(0);
}
.hb__chrome {
  display: flex;
  align-items: center;
  gap: 2cqi;
  height: 6.4cqi;
  padding: 0 2.2cqi;
  border-bottom: 1px solid var(--line);
  background: #FBFBFD;
}
.hb__chrome .dots i { width: 1.6cqi; height: 1.6cqi; }
.hb__url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8cqi;
  width: 42%;
  height: 4.2cqi;
  margin-inline: auto;
  border-radius: 1.2cqi;
  background: var(--bg-tint);
  font-size: 1.85cqi;
  color: var(--ink-muted);
}
.hb__url svg { width: 1.9cqi; height: 1.9cqi; color: var(--success); }
.hb__chrome-end { display: inline-flex; gap: 0.8cqi; }
.hb__chrome-end i { width: 3.4cqi; height: 1.2cqi; border-radius: 1cqi; background: #E5E8EF; }

.hb__page {
  position: relative;
  display: grid;
  gap: 3cqi;
  padding: 3cqi 3.6cqi 3.6cqi;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(167, 139, 250, 0.1), transparent 70%),
    linear-gradient(180deg, #fff, #FAFAFD);
}
.hb__layer { transform: translate3d(calc(var(--px, 0) * var(--depth, 0) * 1px), calc(var(--py, 0) * var(--depth, 0) * 1px), 0); }
.hb__nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; }
.hb__logo {
  display: inline-flex;
  align-items: center;
  gap: 1cqi;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5cqi;
  letter-spacing: -0.03em;
}
.hb__logo i { width: 2.6cqi; height: 2.6cqi; border-radius: 50%; background: var(--grad); }
.hb__links { display: flex; gap: 3cqi; font-size: 1.75cqi; color: var(--ink-muted); }
.hb__btn {
  display: inline-flex;
  align-items: center;
  padding: 1.2cqi 2.2cqi;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 1.8cqi;
  font-weight: 600;
  white-space: nowrap;
}
.hb__btn--sm { padding: 1cqi 1.9cqi; font-size: 1.65cqi; }
.hb__btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hb__target { position: relative; animation: hb-press 9s var(--ease) infinite; }
.hb__target::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(65, 105, 255, 0.6);
  animation: hb-ripple 9s ease-out infinite;
}
@keyframes hb-press {
  0%, 33% { transform: none; background: var(--ink); }
  35% { transform: scale(0.9); background: var(--blue-ink); }
  38%, 70% { transform: none; background: var(--blue-ink); }
  76%, 100% { background: var(--ink); }
}
@keyframes hb-ripple {
  0%, 34% { box-shadow: 0 0 0 0 rgba(65, 105, 255, 0.6); }
  46%, 100% { box-shadow: 0 0 0 2.4cqi rgba(65, 105, 255, 0); }
}

.hb__hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3cqi; align-items: center; }
.hb__text { display: grid; gap: 1.8cqi; justify-items: start; }
.hb__pill {
  padding: 0.7cqi 1.5cqi;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 1.5cqi;
  font-weight: 600;
}
.hb__h {
  font-family: var(--font-display);
  font-size: 6.1cqi;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hb__h em {
  font-family: var(--font-serif);
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.hb__p { width: 92%; height: 1.3cqi; border-radius: 1cqi; background: #E7EAF2; }
.hb__p--short { width: 64%; margin-top: -0.6cqi; }
.hb__cta { display: flex; gap: 1.2cqi; margin-top: 0.8cqi; }
.hb__art {
  aspect-ratio: 300 / 330;
  border-radius: 2.4cqi;
  overflow: hidden;
  box-shadow: 0 2cqi 4cqi -2cqi rgba(28, 40, 110, 0.35);
}
.hb__art svg { width: 100%; height: 100%; }
.hb__sun { animation: sun 9s ease-in-out infinite alternate; transform-origin: 200px 112px; transform-box: view-box; }
@keyframes sun { to { transform: translateY(14px) scale(1.06); } }
.hb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.hb__card {
  display: grid;
  gap: 1cqi;
  padding: 2cqi;
  border-radius: 1.8cqi;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 1cqi 2cqi -1cqi rgba(21, 25, 35, 0.12);
}
.hb__card i { width: 4cqi; height: 4cqi; border-radius: 1.2cqi; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(65, 105, 255, 0.15); }
.hb__card b { width: 70%; height: 1.3cqi; border-radius: 1cqi; background: rgba(21, 25, 35, 0.75); }
.hb__card s { width: 92%; height: 1cqi; border-radius: 1cqi; background: #E7EAF2; }
.hb__card:nth-child(2) i { background: linear-gradient(135deg, #DCE4FF, #C9D5FF); }
.hb__card:nth-child(3) i { background: linear-gradient(135deg, #EDE6FF, #DCCFFF); }

.hb__cursor {
  left: 0; top: 0;
  width: 3.4cqi; height: 3.4cqi;
  animation: hb-cursor 9s var(--ease-io) infinite;
}
@keyframes hb-cursor {
  0% { transform: translate(40cqi, 52cqi); opacity: 0; }
  6% { opacity: 1; }
  30% { transform: translate(84.5cqi, 3cqi); }
  34% { transform: translate(84.5cqi, 3cqi) scale(0.85); }
  37% { transform: translate(84.5cqi, 3cqi) scale(1); }
  62% { transform: translate(60cqi, 40cqi); opacity: 1; }
  72%, 100% { transform: translate(60cqi, 40cqi); opacity: 0; }
}
.hb__toast {
  position: absolute;
  right: 3cqi; bottom: 3cqi;
  display: inline-flex;
  align-items: center;
  gap: 1cqi;
  padding: 1.4cqi 2.2cqi 1.4cqi 1.6cqi;
  border-radius: 1.6cqi;
  background: var(--ink);
  color: #fff;
  font-size: 1.8cqi;
  font-weight: 600;
  box-shadow: 0 2cqi 5cqi -1.5cqi rgba(21, 25, 35, 0.5);
  animation: hb-toast 9s var(--ease) infinite;
}
.hb__toast svg { width: 2.4cqi; height: 2.4cqi; padding: 0.4cqi; border-radius: 50%; background: var(--success); }
@keyframes hb-toast {
  0%, 38% { opacity: 0; transform: translateY(3cqi) scale(0.94); }
  43%, 78% { opacity: 1; transform: none; }
  84%, 100% { opacity: 0; transform: translateY(1.5cqi); }
}
.hb__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70cqi circle at var(--gx, 30%) var(--gy, 10%), rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 60%);
  mix-blend-mode: soft-light;
}

/* Svävande lager */
.float { position: absolute; transform-style: preserve-3d; }
.float--phone > * { animation: bob 7s ease-in-out infinite alternate; }
.float--phone { left: -13%; bottom: -19%; width: 23%; transform: translateZ(90px); }
.float--palette { right: 3%; top: -11%; transform: translateZ(140px); }
.float--type { right: -3%; bottom: 8%; transform: translateZ(70px); }
.float--palette, .float--type {
  display: grid;
  gap: 1.2cqi;
  padding: 1.8cqi 2cqi;
  border-radius: 2.2cqi;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(28, 40, 110, 0.35);
}
.float--palette { animation: bob 7s ease-in-out -2s infinite alternate; }
.float--type { animation: bob 8s ease-in-out -4s infinite alternate; }
@keyframes bob { to { translate: 0 -1.6cqi; } }
.float__label {
  font-family: var(--font-mono);
  font-size: 1.45cqi;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.swatches { display: flex; gap: 1cqi; }
.swatches i {
  width: 4.2cqi; height: 4.2cqi;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 0.5cqi #fff, 0 0 0 calc(0.5cqi + 1px) var(--line);
}
.float--type { grid-template-columns: auto auto; align-items: center; gap: 1.6cqi; }
.type-aa { font-family: var(--font-display); font-weight: 600; font-size: 6cqi; line-height: 1; letter-spacing: -0.04em; }
.type-meta { display: grid; line-height: 1.15; }
.type-meta b { font-size: 1.7cqi; font-weight: 600; }
.type-meta em { font-family: var(--font-serif); font-size: 2.2cqi; color: var(--lavender-ink); }

.phone {
  display: grid;
  align-content: start;
  gap: 1.4cqi;
  aspect-ratio: 9 / 18.5;
  padding: 1.5cqi 1.5cqi;
  border-radius: 3.6cqi;
  background: #fff;
  box-shadow: 0 0 0 0.75cqi #151923, 0 40px 70px -24px rgba(21, 25, 35, 0.45);
  overflow: hidden;
}
.phone__notch { justify-self: center; width: 34%; height: 1.4cqi; border-radius: 1cqi; background: #151923; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; }
.phone__bar i { width: 2.4cqi; height: 2.4cqi; border-radius: 50%; background: var(--grad); }
.phone__bar b { width: 3cqi; height: 1.6cqi; border-block: 0.4cqi solid var(--ink); }
.phone__art {
  aspect-ratio: 1;
  border-radius: 1.6cqi;
  background:
    radial-gradient(circle at 66% 34%, #4169FF 0 17%, transparent 17.5%),
    radial-gradient(circle at 66% 34%, rgba(167, 139, 250, 0.9) 0 21%, transparent 21.5%),
    linear-gradient(180deg, #D9E1FF, #F4EEFF);
}
.phone__h { height: 4.4cqi; border-radius: 0.6cqi; background: linear-gradient(var(--ink) 0 40%, transparent 40% 60%, var(--ink) 60%); width: 86%; opacity: 0.85; }
.phone__p { height: 1cqi; width: 70%; border-radius: 1cqi; background: #E7EAF2; }
.phone__btn { height: 3.6cqi; width: 60%; border-radius: 99px; background: var(--ink); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin: 8px auto 0; width: min(100%, 640px); padding: 8% 6% 14% 9%; }
}
@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
  .hero__visual { padding: 10% 5% 16% 10%; }
  .float--type { display: none; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { padding-block: clamp(96px, 12vw, 200px) clamp(24px, 3vw, 48px); }
.statement__text {
  max-width: 1120px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 0.95rem + 3.4vw, 4.3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: pretty;
}
.statement__text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
}
.js-ready .statement__text .w { opacity: 0.14; transition: opacity 0.45s ease; }
.js-ready .statement__text .w.is-on { opacity: 1; }

/* ==========================================================================
   BYGG-SEKVENS (sticky scroll)
   ========================================================================== */
.builder__track { position: relative; height: 470vh; }
.builder__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) * 0.7);
  overflow: hidden;
}
.builder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.builder__copy { display: grid; gap: 22px; align-content: center; }
.builder__copy .h2 { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.9rem); }
.builder__steps { display: grid; margin-top: 8px; }
.bstep {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.5s var(--ease);
}
.js-ready .bstep { opacity: 0.38; }
.js-ready .bstep.is-done { opacity: 0.62; }
.js-ready .bstep.is-active { opacity: 1; }
.bstep__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  transition: color 0.4s ease;
}
.bstep.is-active .bstep__num { color: var(--blue-ink); }
.bstep__title { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.02em; }
.bstep p { font-size: 0.96rem; color: var(--ink-soft); }
.js-ready .bstep p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.6s var(--ease);
}
.js-ready .bstep.is-active p { max-height: 5em; opacity: 1; margin-top: 4px; }

.builder__visual { position: relative; display: grid; gap: 16px; }
.builder__meter {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}
.builder__meter [data-builder-count] { color: var(--ink); font-weight: 600; }
.builder__meter i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.builder__meter b {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--bp, 0));
}
.builder__caption { font-size: 0.84rem; color: var(--ink-muted); }

.bld {
  container-type: inline-size;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 25, 35, 0.07), 0 40px 90px -40px rgba(28, 40, 110, 0.35);
  overflow: hidden;
  transition: box-shadow 0.9s var(--ease), transform 0.9s var(--ease);
}
.bld.is-s4 { box-shadow: 0 0 0 1px rgba(21, 25, 35, 0.05), 0 60px 120px -40px rgba(180, 83, 42, 0.45); }
.bld__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #FBFBFD;
}
.bld__url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46%;
  height: 28px;
  margin-inline: auto;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg-tint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}
.bld__lock { width: 12px; height: 12px; color: var(--success); display: none; }
.bld.is-s4 .bld__lock { display: block; }
.bld__caret-url { width: 1px; height: 13px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.bld.is-s4 .bld__caret-url { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.bld__page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3cqi;
  aspect-ratio: 16 / 10.6;
  padding: 3cqi 3.6cqi 3.6cqi;
  background: #fff;
  overflow: hidden;
  transition: background-color 1s var(--ease);
}
.bld.is-s4 .bld__page { background: #FFF8F1; }
.bld__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 105, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 105, 255, 0.09) 1px, transparent 1px);
  background-size: 4cqi 4cqi;
  transition: opacity 0.9s var(--ease);
}
.bld.is-s4 .bld__blueprint { opacity: 0; }
.bld__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1cqi;
  font-family: var(--font-mono);
  font-size: 1.9cqi;
  color: var(--ink-muted);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.bld.is-s1 .bld__empty { opacity: 0; transform: scale(0.96); }
.bld__caret { width: 2px; height: 2.8cqi; background: var(--blue); animation: blink 1s steps(1) infinite; }

/* Wireframe-ram som försvinner i sista steget */
.bld__nav, .bld__text, .bld__media, .bld__cards { position: relative; outline: 1.5px dashed transparent; outline-offset: 0.8cqi; border-radius: 1.2cqi; transition: outline-color 0.6s ease; }
.bld.is-s1:not(.is-s4) .bld__nav,
.bld.is-s2:not(.is-s4) .bld__text,
.bld.is-s3:not(.is-s4) .bld__media,
.bld.is-s3:not(.is-s4) .bld__cards { outline-color: rgba(65, 105, 255, 0.45); }
.bld__tag {
  position: absolute;
  top: -3.6cqi;
  left: 0;
  padding: 0.3cqi 0.9cqi;
  border-radius: 0.6cqi;
  background: var(--blue-ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.35cqi;
  opacity: 0;
  transform: translateY(0.8cqi);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.bld__tag--nav { top: auto; bottom: -3.6cqi; }
.bld__tag--h1 { left: auto; right: 0; }
.bld__tag--img { top: 1cqi; left: 1cqi; }
.bld.is-s1:not(.is-s4) .bld__tag--nav,
.bld.is-s2:not(.is-s4) .bld__tag--h1,
.bld.is-s3:not(.is-s4) .bld__tag--img,
.bld.is-s3:not(.is-s4) .bld__tag--sec { opacity: 1; transform: none; }

.bld__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
  opacity: 0;
  transform: translateY(-3cqi);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), outline-color 0.6s ease;
}
.bld.is-s1 .bld__nav { opacity: 1; transform: none; }
.bld__logo {
  display: inline-flex;
  align-items: center;
  gap: 1cqi;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3cqi;
  letter-spacing: -0.03em;
}
.bld__logo i { width: 2.4cqi; height: 2.4cqi; border-radius: 50%; background: #C9CDD8; transition: background-color 0.8s ease; }
.bld.is-s4 .bld__logo i { background: #B4532A; }
.bld__links { display: flex; gap: 2.6cqi; }
.bld__links i {
  font-style: normal;
  font-size: 1.7cqi;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateY(-1.5cqi);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.bld__links i:nth-child(2) { transition-delay: 90ms; }
.bld__links i:nth-child(3) { transition-delay: 180ms; }
.bld.is-s1 .bld__links i { opacity: 1; transform: none; }
.bld__navbtn, .bld__btns i {
  font-style: normal;
  padding: 1cqi 2cqi;
  border-radius: 99px;
  background: #DDE0E8;
  color: #5E6475;
  font-size: 1.6cqi;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.8s ease, color 0.8s ease, box-shadow 0.8s ease;
}
.bld.is-s4 .bld__navbtn, .bld.is-s4 .bld__btns i:first-child { background: #B4532A; color: #fff; }
.bld.is-s4 .bld__btns i:last-child { background: transparent; color: #8F3E1D; box-shadow: inset 0 0 0 1px rgba(180, 83, 42, 0.5); }

.bld__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.4cqi; align-items: center; }
.bld__text { display: grid; gap: 1.6cqi; justify-items: start; }
.bld__kicker, .bld__lead, .bld__btns {
  opacity: 0;
  transform: translateY(1.5cqi);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.8s ease;
}
.bld__kicker {
  font-family: var(--font-mono);
  font-size: 1.4cqi;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bld.is-s4 .bld__kicker { color: #9A4522; }
.bld__h1 {
  font-family: var(--font-display);
  font-size: 5.8cqi;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.bld__h1 span { display: inline-block; opacity: 0; transform: translateY(2.4cqi); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.bld__h1 span:nth-child(2) { transition-delay: 90ms; }
.bld__h1 span:nth-child(3) { transition-delay: 180ms; }
.bld__lead { font-size: 1.85cqi; color: var(--ink-muted); transition-delay: 240ms; }
.bld__btns { display: flex; gap: 1.2cqi; margin-top: 0.6cqi; transition-delay: 320ms; }
.bld.is-s2 .bld__kicker, .bld.is-s2 .bld__lead, .bld.is-s2 .bld__btns, .bld.is-s2 .bld__h1 span { opacity: 1; transform: none; }

.bld__media {
  aspect-ratio: 240 / 210;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.6s var(--ease), transform 1s var(--ease), outline-color 0.6s ease, box-shadow 0.9s ease;
}
.bld.is-s3 .bld__media { opacity: 1; transform: none; }
.bld.is-s4 .bld__media { box-shadow: 0 3cqi 6cqi -3cqi rgba(122, 74, 42, 0.5); }
.bld__ph, .bld__art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 1.6cqi; }
.bld__ph {
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(94, 100, 117, 0.18) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(94, 100, 117, 0.18) 50%, transparent 50.5%),
    #EEF0F5;
}
.bld__art { clip-path: inset(0 0 100% 0 round 1.6cqi); transition: clip-path 1.1s var(--ease) 0.25s; }
.bld.is-s3 .bld__art { clip-path: inset(0 0 0 0 round 1.6cqi); }
.bld__steam { animation: steam 3s ease-in-out infinite alternate; opacity: 0.85; }
@keyframes steam { to { transform: translateY(-4px); opacity: 0.4; } }

.bld__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.bld__card {
  display: grid;
  gap: 0.4cqi;
  padding: 1.8cqi 2cqi;
  border-radius: 1.4cqi;
  background: #F1F2F6;
  opacity: 0;
  transform: translateY(4cqi);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), background-color 0.8s ease, box-shadow 0.8s ease;
}
.bld__card:nth-child(2) { transition-delay: 100ms; }
.bld__card:nth-child(3) { transition-delay: 200ms; }
.bld.is-s3 .bld__card { opacity: 1; transform: none; }
.bld.is-s4 .bld__card { background: #fff; box-shadow: 0 1.4cqi 3cqi -1.6cqi rgba(122, 74, 42, 0.35); }
.bld__card i { font-style: normal; font-size: 2.2cqi; color: #9AA0B2; transition: color 0.8s ease; }
.bld.is-s4 .bld__card i { color: #B4532A; }
.bld__card b { font-family: var(--font-display); font-weight: 600; font-size: 2cqi; letter-spacing: -0.02em; }
.bld__card s { text-decoration: none; font-size: 1.45cqi; color: var(--ink-muted); }
.bld__live {
  position: absolute;
  right: 2.4cqi; bottom: 2.4cqi;
  display: inline-flex;
  align-items: center;
  gap: 0.9cqi;
  padding: 1cqi 1.8cqi;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 1cqi 3cqi -1cqi rgba(21, 25, 35, 0.3);
  font-size: 1.55cqi;
  font-weight: 600;
  color: var(--success);
  opacity: 0;
  transform: translateY(2cqi) scale(0.9);
  transition: opacity 0.5s var(--ease) 0.4s, transform 0.8s var(--ease) 0.4s;
}
.bld__live i { width: 1.2cqi; height: 1.2cqi; border-radius: 50%; background: var(--success); animation: pulse-g 2s ease-out infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(18, 128, 92, 0.5); } 70%, 100% { box-shadow: 0 0 0 1.2cqi rgba(18, 128, 92, 0); } }
.bld.is-s4 .bld__live { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .builder__track { height: 420vh; }
  .builder__sticky { align-items: flex-start; padding-top: calc(var(--nav-h) + 8px); }
  .builder__grid { grid-template-columns: 1fr; gap: 18px; }
  .builder__copy { gap: 12px; }
  .builder__copy .eyebrow { display: none; }
  .builder__copy .h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.6rem); }
  .builder__steps { grid-template-areas: "s"; margin-top: 0; }
  .bstep { grid-area: s; border-top: 0; padding: 0; }
  .js-ready .bstep { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
  .js-ready .bstep.is-active { opacity: 1; transform: none; }
  .js-ready .bstep.is-done { opacity: 0; }
  .js-ready .bstep p { max-height: none; opacity: 1; margin-top: 2px; }
  .builder__caption { display: none; }
  .builder__visual { gap: 10px; }
}
@media (max-width: 900px) and (max-height: 640px) {
  .builder__copy .h2 { display: none; }
}

/* ==========================================================================
   TJÄNSTER
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 88px);
}
.svc {
  position: relative;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: box-shadow 0.6s var(--ease);
}
.svc:hover { box-shadow: 0 0 0 1px var(--line), var(--sh-3); }
.svc--design { grid-column: span 7; }
.svc--dev { grid-column: span 5; }
.svc--maint {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.svc__art {
  position: relative;
  height: clamp(250px, 23vw, 330px);
  border-radius: 24px;
  overflow: hidden;
}
.svc__body {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
  padding: 4px clamp(6px, 1.2vw, 16px) clamp(8px, 1vw, 14px);
}
.svc__body p { color: var(--ink-soft); max-width: 48ch; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.svc__chips li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.svc .link-arrow { margin-top: 10px; }

/* Illustration: webbdesign */
.art-design { background: linear-gradient(155deg, #ECF0FB, #F4F0FF); }
.ad-canvas {
  position: absolute;
  left: 7%; top: 11%;
  width: 62%; height: 78%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 10% 1fr 26%;
  gap: 6%;
  padding: 5%;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(28, 40, 110, 0.3);
}
.ad-block { border-radius: 7px; background: #EEF0F6; transition: background 0.7s var(--ease), box-shadow 0.7s var(--ease), transform 0.7s var(--ease); }
.ad-nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 6%; padding: 0 5%; background: transparent; box-shadow: inset 0 -1px 0 var(--line); border-radius: 0; }
.ad-nav i { width: 12%; height: 30%; border-radius: 4px; background: #E1E5EE; }
.ad-nav i:first-child { margin-right: auto; width: 16%; background: #C8CFDF; }
.ad-hero { grid-column: 1 / 3; display: grid; align-content: center; gap: 9%; padding: 0 9%; }
.ad-hero-h { height: 14%; min-height: 8px; width: 80%; border-radius: 4px; background: #CDD3E1; transition: background 0.7s var(--ease); }
.ad-hero-p { height: 8%; min-height: 5px; width: 60%; border-radius: 4px; background: #DEE2EC; }
.ad-hero-b { height: 14%; min-height: 9px; width: 34%; border-radius: 99px; background: #CDD3E1; transition: background 0.7s var(--ease); }
.ad-img { background: linear-gradient(160deg, #E3E7F1, #EEF0F6); }
.ad-sel {
  position: absolute;
  inset: -5px;
  grid-column: 1 / 3;
  grid-row: 2;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  pointer-events: none;
  animation: ad-sel 9s var(--ease-io) infinite;
}
.ad-canvas { position: absolute; }
.ad-sel i {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
}
.ad-sel i:nth-child(1) { left: -5px; top: -5px; }
.ad-sel i:nth-child(2) { right: -5px; top: -5px; }
.ad-sel i:nth-child(3) { left: -5px; bottom: -5px; }
.ad-sel i:nth-child(4) { right: -5px; bottom: -5px; }
@keyframes ad-sel {
  0%, 28% { grid-column: 1 / 3; grid-row: 2; opacity: 1; }
  31% { opacity: 0; }
  33%, 61% { grid-column: 3; grid-row: 2; opacity: 1; }
  64% { opacity: 0; }
  66%, 94% { grid-column: 2; grid-row: 3; opacity: 1; }
  97% { opacity: 0; }
  100% { grid-column: 1 / 3; grid-row: 2; opacity: 1; }
}
.ad-panel {
  position: absolute;
  right: 5%; top: 14%;
  width: 21%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 10px 8px;
  padding: 14px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(28, 40, 110, 0.3);
}
.ad-sw {
  width: 82%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
  transition: transform 0.5s var(--ease);
}
.ad-aa { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem); letter-spacing: -0.04em; }
.ad-pen { position: absolute; left: 3%; bottom: 0; width: 64%; height: auto; overflow: visible; }
.ad-curve {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.ad-handle { fill: none; stroke: var(--lavender); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0; transition: opacity 0.6s ease 0.5s; }
.ad-pen circle { fill: #fff; stroke: var(--blue); stroke-width: 2; opacity: 0; transition: opacity 0.4s ease; }
.svc--design:hover .ad-curve { stroke-dashoffset: 0; }
.svc--design:hover .ad-handle, .svc--design:hover .ad-pen circle { opacity: 1; }
.svc--design:hover .ad-hero { background: var(--grad-soft); }
.svc--design:hover .ad-hero-h { background: var(--ink); }
.svc--design:hover .ad-hero-b { background: var(--blue); }
.svc--design:hover .ad-img { background: var(--grad); }
.svc--design:hover .ad-c1, .svc--design:hover .ad-c2, .svc--design:hover .ad-c3 { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(28, 40, 110, 0.35); transform: translateY(-3px); }
.svc--design:hover .ad-sw:nth-child(2) { transform: scale(1.18); }
.ad-cursor { left: 30%; top: 72%; animation: ad-cursor 9s var(--ease-io) infinite; }
@keyframes ad-cursor {
  0%, 8% { left: 30%; top: 72%; transform: none; }
  22%, 30% { left: 90%; top: 26%; transform: none; }
  32% { left: 90%; top: 26%; transform: scale(0.8); }
  34%, 55% { left: 90%; top: 26%; transform: none; }
  75%, 100% { left: 30%; top: 72%; transform: none; }
}

/* Illustration: webbutveckling */
.art-dev { background: linear-gradient(155deg, #ECF0FF, #F3EFFF); }
.dv-editor {
  position: absolute;
  left: 6%; top: 10%;
  width: 72%;
  border-radius: 14px;
  background: #121726;
  box-shadow: 0 30px 60px -24px rgba(11, 14, 23, 0.55);
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}
.svc--dev:hover .dv-editor { transform: translate(-4px, -6px); }
.dv-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.dv-bar .dots i { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.16); }
.dv-file { font-family: var(--font-mono); font-size: 0.68rem; color: #8B93AD; }
.dv-code {
  display: grid;
  gap: 5px;
  padding: 12px 14px 16px;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 0.48rem + 0.28vw, 0.74rem);
  line-height: 1.5;
  color: #C9CFE3;
  white-space: nowrap;
}
.dv-code b { font-weight: 400; }
.dv-line { display: block; clip-path: inset(0 100% 0 0); animation: dv-type 8s steps(24, end) infinite; animation-delay: calc(var(--i) * 0.42s); }
@keyframes dv-type {
  0% { clip-path: inset(0 100% 0 0); }
  9%, 82% { clip-path: inset(0 0 0 0); }
  88%, 100% { clip-path: inset(0 0 0 100%); }
}
.c-t { color: #8FA6FF; } .c-a { color: #C4B2FF; } .c-s { color: #9BE3C0; } .c-c { color: #6B7390; }
.dv-device {
  position: absolute;
  right: 5%; bottom: 9%;
  width: 40%; height: 54%;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(28, 40, 110, 0.4);
  animation: dv-resize 8s var(--ease-io) infinite;
}
.dv-screen { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; height: 100%; overflow: hidden; }
.dv-b { flex: 1 1 28%; min-width: 26px; height: 22px; border-radius: 4px; background: #EEF0F6; }
.dv-b--nav { flex-basis: 100%; height: 7px; background: #DDE1EB; }
.dv-b--hero { flex-basis: 100%; height: 34%; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(65, 105, 255, 0.12); }
.dv-width {
  position: absolute;
  left: 0; right: 0; top: -14px;
  height: 7px;
  border: 1px solid rgba(65, 105, 255, 0.55);
  border-bottom: 0;
}
@keyframes dv-resize {
  0%, 26% { width: 40%; }
  36%, 58% { width: 27%; }
  68%, 90% { width: 16%; }
  100% { width: 40%; }
}
.dv-ok {
  position: absolute;
  left: 8%; bottom: 9%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 8px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  font-size: 0.78rem;
  font-weight: 600;
  animation: dv-ok 8s var(--ease) infinite;
}
.dv-ok svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--success); color: #fff; }
@keyframes dv-ok {
  0%, 40% { opacity: 0; transform: translateY(8px) scale(0.92); }
  46%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(4px); }
}

/* Illustration: underhåll */
.art-maint {
  display: flex;
  align-items: center;
  gap: 7%;
  padding: 0 7%;
  background: linear-gradient(155deg, #F2EEFF, #ECF0FF);
}
.mt-ring { position: relative; flex: none; width: 28%; max-width: 156px; aspect-ratio: 1; }
.mt-ring svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.mt-track { fill: none; stroke: rgba(65, 105, 255, 0.12); stroke-width: 8; }
.mt-progress {
  fill: none;
  stroke: url(#vw-grad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: mt-progress 6s var(--ease-io) infinite;
}
@keyframes mt-progress {
  0% { stroke-dashoffset: 314; }
  70%, 88% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.mt-sync {
  position: absolute;
  inset: 32%;
  width: 36%; height: 36%;
  color: var(--blue-ink);
  animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mt-feed {
  flex: 1;
  min-width: 0;
  height: 82%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.mt-list { --row: 60px; display: grid; gap: 10px; padding-top: 10px; animation: mt-feed 14s linear infinite; }
.svc--maint:hover .mt-list { animation-play-state: paused; }
@keyframes mt-feed { to { transform: translateY(calc(var(--row) * -6)); } }
.mt-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 20px -14px rgba(28, 40, 110, 0.3);
  font-size: 0.88rem;
  font-weight: 500;
}
.mt-list i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); }
.mt-list span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-list time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); }

@media (max-width: 960px) {
  .svc--design, .svc--dev { grid-column: 1 / -1; }
  .svc--maint { grid-template-columns: 1fr; }
  .svc--maint .svc__art { order: -1; }
}
@media (max-width: 560px) {
  .svc { border-radius: 26px; }
  .svc__art { border-radius: 18px; height: 236px; }
  .ad-panel { width: 24%; gap: 7px 5px; padding: 10px 6px; }
  .mt-ring { width: 24%; }
  .art-maint { gap: 5%; padding: 0 5%; }
}

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.work__stack { display: grid; gap: clamp(24px, 3vw, 40px); margin-top: clamp(48px, 6vw, 88px); }
.proj {
  --proj-bg: #E8F0F8;
  --proj-fg: var(--ink);
  --proj-soft: rgba(21, 25, 35, 0.72);
  --proj-line: rgba(21, 25, 35, 0.14);
}
.proj--nordvarme { --proj-bg: #E3EDF7; --proj-accent: #0F4C81; }
.proj--atelier { --proj-bg: #ECE5DA; --proj-fg: #1E1A16; --proj-soft: rgba(30, 26, 22, 0.74); --proj-line: rgba(30, 26, 22, 0.16); --proj-accent: #7A5C3E; }
.proj--urban { --proj-bg: #17221B; --proj-fg: #F3EFE6; --proj-soft: rgba(243, 239, 230, 0.78); --proj-line: rgba(243, 239, 230, 0.18); --proj-accent: #F26B3A; }
.proj__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: min(76vh, 660px);
  padding: clamp(24px, 3.4vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--proj-bg);
  color: var(--proj-fg);
  box-shadow: 0 40px 90px -50px rgba(21, 25, 35, 0.45);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  overflow: hidden;
  position: relative;
}
.proj__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #0B0E17;
  opacity: var(--dim, 0);
  pointer-events: none;
}
.proj__inner::before {
  content: "";
  position: absolute;
  width: 60%; aspect-ratio: 1;
  right: -10%; top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--proj-accent) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.proj__info { position: relative; display: grid; gap: 20px; justify-items: start; }
.proj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.proj__cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--proj-soft); }
.proj__title {
  font-size: clamp(2.7rem, 1.6rem + 3.6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--proj-fg);
}
.proj--atelier .proj__title { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.03em; font-size: clamp(3rem, 1.8rem + 4vw, 5.8rem); }
.proj--urban .proj__title { text-transform: uppercase; font-weight: 700; letter-spacing: -0.04em; }
.proj__desc { color: var(--proj-soft); max-width: 46ch; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proj__tags li {
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--proj-line);
  font-size: 0.82rem;
  font-weight: 500;
}
.proj .btn { margin-top: 6px; }

.proj__preview { position: relative; display: block; border-radius: 18px; }
.proj__browser {
  display: block;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 80px -36px rgba(0, 0, 0, 0.5);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform 1s var(--ease), box-shadow 1s var(--ease);
}
.proj__preview:hover .proj__browser { transform: perspective(1600px) rotateY(0deg) rotateX(0deg) scale(1.015); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 60px 110px -40px rgba(0, 0, 0, 0.55); }
.proj__chrome { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #F6F7FA; border-bottom: 1px solid var(--line); }
.proj__url { margin-inline: auto; padding: 4px 14px; border-radius: 7px; background: #fff; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-muted); }
.proj__shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f3f3; }
.proj__shot img {
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 6s cubic-bezier(0.45, 0.05, 0.3, 1);
}
.proj__preview:hover .proj__shot img { transform: translate3d(0, -63.64%, 0); }
.proj__cursor {
  position: absolute;
  left: 0; top: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) scale(var(--cs, 0));
  transition: transform 0.25s var(--ease);
  box-shadow: 0 12px 30px -10px rgba(21, 25, 35, 0.5);
}
.proj--urban .proj__cursor { background: var(--proj-accent); color: #17221B; }

@media (min-width: 901px) {
  .proj { position: sticky; top: calc(var(--nav-h) + 24px + var(--n) * 16px); }
}
@media (max-width: 900px) {
  .proj__inner { grid-template-columns: 1fr; min-height: 0; }
  .proj__browser { transform: none; }
  .proj__cursor { display: none; }
}

/* ==========================================================================
   VARFÖR VISITWEB – mörk sektion
   ========================================================================== */
.why { position: relative; padding-top: clamp(24px, 4vw, 56px); }
.why__panel {
  --inset: 0px;
  --r: 0px;
  position: relative;
  padding-block: var(--section-y);
  background: var(--dark);
  color: var(--on-dark);
  clip-path: inset(0 var(--inset) round var(--r));
  overflow: hidden;
}
.why__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 85% 10%, rgba(65, 105, 255, 0.32), transparent 70%),
    radial-gradient(40% 50% at 5% 95%, rgba(167, 139, 250, 0.22), transparent 70%);
}
.why__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.why h2 { color: #fff; }
.why .lead { color: var(--on-dark-muted); margin-top: 22px; }
.eyebrow--dark { color: var(--on-dark-muted); margin-bottom: 22px; }
.why__list { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.why__item { padding: 16px 0 18px; border-bottom: 1px solid var(--line-dark); }
.why__h button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 4px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(238, 240, 246, 0.6);
  transition: color 0.4s ease;
}
.why__h button:hover, .why__item.is-active .why__h button { color: #fff; }
.why__dot {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.why__item.is-active .why__dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 5px rgba(65, 105, 255, 0.25); }
.why__item p { margin-top: 6px; padding-left: 24px; max-width: 48ch; color: var(--on-dark-muted); transition: color 0.4s ease; }
.why__item.is-active p { color: #CDD2E2; }

.why__viz { position: relative; }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(238, 240, 246, 0.1); stroke-width: 1; }
.orbit__ring--dash { stroke: rgba(238, 240, 246, 0.18); stroke-dasharray: 2 9; transform-origin: 250px 250px; animation: spin 80s linear infinite; }
.orbit__ring--inner { stroke: rgba(167, 139, 250, 0.22); }
.orbit__line { stroke: rgba(238, 240, 246, 0.14); stroke-width: 1.5; stroke-dasharray: 5 7; transition: stroke 0.5s ease, stroke-width 0.5s ease; }
.orbit__line.is-active { stroke: #93A6FF; stroke-width: 2; animation: flow 0.9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.orbit__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #7D93FF, #3F55E0 45%, #2B2475 100%);
  box-shadow: 0 0 0 12px rgba(65, 105, 255, 0.08), 0 0 90px rgba(65, 105, 255, 0.55), inset 0 -14px 34px rgba(167, 139, 250, 0.55);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.75rem + 1vw, 1.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  transform: translate(-50%, -50%);
  animation: breathe 6s ease-in-out infinite;
}
.orbit__core .serif { font-size: 1.3em; font-weight: 400; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.04); } }
.orbit__node {
  position: absolute;
  left: var(--x); top: var(--y);
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translate(-50%, -32px);
}
.orbit__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #141a2b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.6s var(--ease), background 0.5s ease, box-shadow 0.5s ease;
}
.orbit__icon svg { width: 26px; height: 26px; fill: none; stroke: #DDE3FF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.orbit__node.is-active .orbit__icon { background: var(--grad); transform: scale(1.14); box-shadow: 0 0 0 9px rgba(65, 105, 255, 0.18), 0 12px 44px rgba(65, 105, 255, 0.65); }
.orbit__node.is-active .orbit__icon svg { stroke: #fff; }
.orbit__label {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(11, 14, 23, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  white-space: nowrap;
  transition: color 0.4s ease, background 0.4s ease;
}
.orbit__node.is-active .orbit__label { color: #fff; background: rgba(65, 105, 255, 0.3); }

@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__copy { display: contents; }
  .why__copy > .eyebrow { order: 1; margin-bottom: 0; }
  .why__copy > h2 { order: 2; }
  .why__copy > .lead { order: 3; margin-top: 0; }
  .why__viz { order: 4; }
  .why__list { order: 5; margin-top: 0; }
  .why__grid { gap: 22px; }
  .orbit { width: min(100%, 420px); margin-block: 12px; }
}
@media (max-width: 520px) {
  .orbit__icon { width: 50px; height: 50px; }
  .orbit__icon svg { width: 22px; height: 22px; }
  .orbit__label { font-size: 0.7rem; padding: 3px 8px; }
  .orbit__node { transform: translate(-50%, -25px); }
  .orbit__node[data-node="1"] { --x: 84% !important; }
  .orbit__node[data-node="3"] { --x: 16% !important; }
}

/* ==========================================================================
   PROCESS / TIDSLINJE
   ========================================================================== */
.timeline { position: relative; margin-top: clamp(56px, 7vw, 100px); }
.timeline__rail {
  position: absolute;
  left: 28px;
  right: calc(25% - 28px);
  top: 27px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: left center;
  transform: scaleX(var(--tp, 0));
}
.no-js .timeline__fill { transform: none; }
.timeline__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tstep { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 26px; }
.tstep__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-muted);
  transition: background 0.6s var(--ease), color 0.4s ease, box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.tstep.is-active .tstep__node {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(65, 105, 255, 0.12), 0 14px 30px -12px rgba(65, 105, 255, 0.8);
  transform: scale(1.04);
}
.tstep__card {
  display: grid;
  gap: 10px;
  align-content: start;
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease), box-shadow 0.6s var(--ease);
}
.js-ready .tstep__card { opacity: 0.32; transform: translateY(28px); }
.js-ready .tstep.is-active .tstep__card { opacity: 1; transform: none; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.tstep__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.tstep__title { font-size: 1.32rem; line-height: 1.15; letter-spacing: -0.025em; }
.tstep__card p { color: var(--ink-soft); font-size: 0.98rem; }
.tstep__card .tstep__out {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.86rem;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .timeline__rail { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .timeline__fill { transform-origin: center top; transform: scaleY(var(--tp, 0)); }
  .timeline__steps { grid-template-columns: 1fr; gap: 20px; }
  .tstep { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto; gap: 18px; }
  .js-ready .tstep__card { transform: translateX(20px); }
}

/* ==========================================================================
   PRISER
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  margin-top: clamp(56px, 6vw, 96px);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: box-shadow 0.6s var(--ease), opacity 1s var(--ease), transform 1.1s var(--ease);
}
.plan:hover { box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.plan__name { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); letter-spacing: -0.045em; }
.plan__for { margin-top: 10px; color: var(--ink-soft); min-height: 3.2em; }
.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.plan__price-label, .plan__list-title {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.plan__price-value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; }
.plan__list { display: grid; gap: 12px; flex: 1; align-content: start; }
.plan__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.plan__list li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4 6.6 11.4 12.6 4.8' fill='none' stroke='%232D52F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan__btn { margin-top: 6px; }

.plan--featured {
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 50px 100px -40px rgba(28, 40, 110, 0.6);
  translate: 0 -16px;
  overflow: hidden;
}
.plan--featured::after { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(110, 130, 255, 0.24), transparent 55%); opacity: 1; }
.plan--featured:hover { box-shadow: 0 60px 110px -40px rgba(28, 40, 110, 0.7); }
.plan--featured .plan__name { color: #fff; }
.plan--featured .plan__for { color: var(--on-dark-muted); }
.plan--featured .plan__price { border-color: var(--line-dark); }
.plan--featured .plan__price-label, .plan--featured .plan__list-title { color: var(--on-dark-muted); }
.plan--featured .plan__list li { color: #D4D8E6; }
.plan--featured .plan__list li::before {
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4 6.6 11.4 12.6 4.8' fill='none' stroke='%23B7C4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan--featured .btn { --btn-bg: var(--blue-ink); }
.plan--featured .plan__head::before {
  content: "";
  display: block;
  width: 44px; height: 4px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: var(--grad);
}
.plans__note {
  max-width: 720px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  text-align: center;
  color: var(--ink-soft);
}
.plans__note a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured { translate: none; }
  .plan__for { min-height: 0; }
}

/* ==========================================================================
   OM OSS
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: end;
}
.about__intro { display: grid; gap: 22px; }
.about__text { display: grid; gap: 20px; }
.about__text > p:not(.lead) { color: var(--ink-soft); max-width: 58ch; }
.about__uf {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px rgba(65, 105, 255, 0.1);
}
.about__uf h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
.about__uf p { color: var(--ink-soft); font-size: 0.97rem; }

.values { margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line); isolation: isolate; }
.value {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(18px, 2.2vw, 30px) clamp(4px, 1vw, 16px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.value::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(65, 105, 255, 0.07), rgba(167, 139, 250, 0.1));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.value:hover::before { transform: scaleY(1); }
.value__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 0.9rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  transition: transform 0.7s var(--ease), color 0.4s ease;
}
.value:hover .value__name { transform: translateX(14px); color: var(--blue-ink); }
.value__text { justify-self: end; max-width: 44ch; color: var(--ink-soft); }

.team { margin-top: clamp(72px, 8vw, 130px); }
.team__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.team__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.035em; }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.member { display: grid; gap: 16px; align-content: start; }
.member__photo, .member__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  object-fit: cover;
}
.member__photo { display: grid; place-items: center; isolation: isolate; }
.member__photo::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  transition: transform 1.2s var(--ease);
}
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(21, 25, 35, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 35, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
.member__photo--a::before { background: radial-gradient(60% 50% at 25% 20%, #C2CFFF, transparent 70%), radial-gradient(60% 50% at 85% 85%, #E1D4FF, transparent 70%), #EEF1F8; }
.member__photo--b::before { background: radial-gradient(60% 50% at 80% 15%, #DCCFFF, transparent 70%), radial-gradient(60% 55% at 15% 85%, #C8D5FF, transparent 70%), #F1EFF8; }
.member__photo--c::before { background: radial-gradient(70% 50% at 50% 0%, #CBD6FF, transparent 70%), radial-gradient(50% 50% at 90% 90%, #E6DBFF, transparent 70%), #EEF0F7; }
.member:hover .member__photo::before { transform: rotate(10deg) scale(1.08); }
.member__initial {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(6rem, 11vw, 10rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0.88;
  transition: transform 0.9s var(--ease);
}
.member:hover .member__initial { transform: scale(1.06) translateY(-4px); }
.member__note {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.member__name { font-size: 1.45rem; letter-spacing: -0.03em; }
.member__role { margin-top: 4px; color: var(--ink-muted); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; gap: 8px; }
  .value__text { justify-self: start; }
}
@media (max-width: 640px) {
  .team__grid { grid-template-columns: 1fr; gap: 14px; }
  .member { grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 18px; }
  .member__photo, .member__img { border-radius: 20px; }
  .member__initial { font-size: 4rem; }
  .member__note { display: none; }
}

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact { overflow: clip; }
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 90% 15%, rgba(65, 105, 255, 0.13), transparent 70%),
    radial-gradient(40% 50% at 5% 95%, rgba(167, 139, 250, 0.16), transparent 70%);
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__info { display: grid; gap: 26px; }
@media (min-width: 961px) {
  .contact__info { position: sticky; top: calc(var(--nav-h) + 36px); }
}
.contact__next {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact__next-title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact__next ol { display: grid; gap: 4px; }
.contact__next li { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--ink-soft); }
.contact__next li span {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.contact__details { display: grid; gap: 12px; }
.contact__details div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact__details dt {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact__details dd { font-weight: 500; overflow-wrap: anywhere; }

.contact__card {
  position: relative;
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--sh-3);
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, rgba(65, 105, 255, 0.55), rgba(167, 139, 250, 0.2) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: 14px 16px; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; }
.form__alert--error { background: var(--danger-soft); color: #8F1D33; box-shadow: inset 0 0 0 1px rgba(196, 49, 75, 0.22); }
.form__alert--info { background: var(--info-soft); color: #23308C; box-shadow: inset 0 0 0 1px rgba(65, 105, 255, 0.22); }
.form__alert a { text-decoration: underline; font-weight: 600; }
.field__hint { font-size: 0.84rem; color: var(--ink-muted); }

.pkg { margin: 0; padding: 0; border: 0; min-width: 0; }
.pkg legend { padding: 0; margin-bottom: 10px; }
.pkg__options { display: flex; flex-wrap: wrap; gap: 10px; }
.pkg__opt { position: relative; flex: 1 1 150px; }
.pkg__opt input, .check input, .chip input, .stylecard input, .swatch input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.pkg__box {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-tint);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) ease;
}
.pkg__box b { font-weight: 600; }
.pkg__box small { font-size: 0.8rem; color: var(--ink-muted); }
.pkg__box:hover { background: #ECEFF5; }
.pkg__opt input:checked + .pkg__box {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--blue-ink), 0 10px 22px -12px rgba(65, 105, 255, 0.55);
}
.pkg__opt input:focus-visible + .pkg__box { outline: 2.5px solid var(--blue-ink); outline-offset: 3px; }
.pkg[aria-invalid="true"] .pkg__box { box-shadow: inset 0 0 0 1.5px rgba(196, 49, 75, 0.6); }
.pkg__opt.is-flash .pkg__box { animation: flash 1.4s var(--ease); }
@keyframes flash {
  0% { transform: scale(1); }
  20% { transform: scale(1.05); box-shadow: inset 0 0 0 2px var(--blue-ink), 0 0 0 8px rgba(65, 105, 255, 0.2); }
  100% { transform: scale(1); }
}

.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; position: relative; }
.check__box {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--bg-tint);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.check__box svg { width: 15px; height: 15px; color: #fff; opacity: 0; transform: scale(0.4); transition: opacity var(--t-fast) ease, transform 0.35s var(--ease); }
.check input:checked + .check__box { background: var(--blue-ink); box-shadow: none; }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--blue-ink); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__box { box-shadow: inset 0 0 0 1.5px var(--danger); }
.check__text { font-size: 0.93rem; color: var(--ink-soft); }
.check__text a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

.form__submit { display: grid; gap: 10px; justify-items: center; margin-top: 4px; }
.form__note { font-size: 0.86rem; color: var(--ink-muted); }
.form__spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.form__btn.is-loading .form__arrow { display: none; }
.form__btn.is-loading .form__spinner { display: block; }

.form-success { display: grid; justify-items: center; gap: 16px; padding: clamp(24px, 5vw, 64px) 0; text-align: center; }
.form-success:focus { outline: none; }
.form-success__icon { width: 76px; height: 76px; }
.form-success__icon circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 0.9s var(--ease) forwards; }
.form-success__icon path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 0.6s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.035em; }
.form-success p { max-width: 42ch; color: var(--ink-soft); }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .pkg__opt { flex-basis: 100%; }
  .contact__card { border-radius: 28px; }
}

/* ==========================================================================
   Rörelsekänslighet
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .stage { transform: rotateX(4deg) rotateY(-8deg); }
  .hero__title .split-word > span { animation: none; }
  .mt-list, .dv-line, .dv-device, .ad-sel, .ad-cursor, .hb__cursor, .hb__toast, .orbit__ring--dash { animation: none !important; }
  .dv-line { clip-path: none; }
  .hb__toast { opacity: 1; }
  .hb__cursor, .ad-cursor { display: none; }
}
