/* =========================================================
   v4 "Equilibrium"
   True black, one cobalt beam. The name balances on it.
   ========================================================= */
html.is-v4 {
  --black: #000000;
  --ink: #eef2f8;
  --steel: #8b95a7;
  --line: #1b2230;
  --cobalt: #3366ff;
  --ice: #b8cbff;
  --bg-rgb: 51, 102, 255;   /* cobalt as r,g,b for the backgrounds */

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

html.is-v4 *, html.is-v4 *::before, html.is-v4 *::after { box-sizing: border-box; }
html.is-v4 { scroll-behavior: smooth; }
html.is-v4 body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-v4 img { display: block; max-width: 100%; height: auto; }
html.is-v4 a { color: inherit; }
html.is-v4 ::selection { background: var(--cobalt); color: #fff; }
html.is-v4 :focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
html.is-v4 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.is-v4 .skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--black); padding: 8px 14px; z-index: 100; }
html.is-v4 .skip:focus { top: 12px; }

/* ---------- Header ---------- */
html.is-v4 .top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px;
  padding: 20px var(--gutter);
  background: linear-gradient(var(--black) 40%, transparent);
}
html.is-v4 .mark { font-weight: 900; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
html.is-v4 .nav { display: flex; gap: 28px; }
html.is-v4 .nav a { text-decoration: none; color: var(--steel); font-size: 15px; transition: color .2s; }
html.is-v4 .nav a:hover { color: var(--ink); }
html.is-v4 .clock { margin: 0; font-size: 15px; color: var(--steel); font-variant-numeric: tabular-nums; }
html.is-v4 .clock time { color: var(--ink); }
@media (max-width: 640px) {
  html.is-v4 .top { gap: 16px; }
  html.is-v4 .nav a:not([href="#contact"]) { display: none; }
}

/* ---------- Hero: the balance ---------- */
html.is-v4 .hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px;
}
html.is-v4 .scale { position: relative; height: clamp(160px, 24vw, 340px); }
@media (max-width: 640px) {
  html.is-v4 .hero { min-height: 0; padding: 112px var(--gutter) 24px; }
  html.is-v4 .scale { height: 150px; }
  html.is-v4 .lede { margin-top: 32px; }
}
html.is-v4 .beam {
  --a: 0deg;
  position: absolute; left: 0; right: 0; bottom: 34px;
  height: 2px;
  transform: rotate(var(--a));
  transform-origin: 50% 50%;
  will-change: transform;
}
html.is-v4 .beam::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0, var(--cobalt) 6%, var(--ice) 50%, var(--cobalt) 94%, transparent 100%);
  box-shadow: 0 0 18px 1px rgba(51, 102, 255, .55), 0 0 60px 4px rgba(51, 102, 255, .25);
  border-radius: 2px;
}
html.is-v4 .pan {
  position: absolute; bottom: 10px;
  font-weight: 800;
  font-size: clamp(40px, 9.4vw, 160px);
  line-height: .8;
  letter-spacing: -.045em;
  white-space: nowrap;
}
html.is-v4 .pan-left { left: 2%; }
html.is-v4 .pan-right { right: 2%; }
html.is-v4 .fulcrum {
  position: absolute; left: 50%; bottom: 0;
  width: 34px; height: 34px; transform: translateX(-50%);
  background: linear-gradient(to top, transparent 0 1px, var(--cobalt) 1px);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .9;
}
html.is-v4 .fulcrum::after { /* hollow the triangle */
  content: ""; position: absolute; inset: 2px 3px 0;
  background: var(--black);
  clip-path: polygon(50% 6%, 96% 100%, 4% 100%);
}

html.is-v4 .lede {
  margin: 48px 0 0; max-width: 34ch;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; font-weight: 500;
  color: var(--steel);
}
html.is-v4 .typer { color: var(--ink); }
html.is-v4 .caret { display: inline-block; width: 2px; height: .95em; margin-left: 3px; vertical-align: -.1em; background: var(--cobalt); animation: blink-v4 1.1s steps(1) infinite; }
@keyframes blink-v4 { 50% { opacity: 0; } }

/* ---------- Content blocks ---------- */
html.is-v4 .block {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(140px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px);
}
html.is-v4 .block-h { margin: 6px 0 0; font-size: 15px; font-weight: 500; color: var(--steel); }

/* Desktop: section labels follow you down the page, and the one for the
   section under your cursor (or in view while scrolling) gets highlighted. */
@media (min-width: 761px) and (hover: hover) {
  html.is-v4 .block-h {
    position: sticky; top: 92px;
    align-self: start; justify-self: start;
    margin: 0 0 0 -14px; padding: 7px 14px;
    border-radius: 999px;
    transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  }
  html.is-v4 .block-h::before {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0;
    border-radius: 50%; background: var(--cobalt); vertical-align: 2px;
    opacity: 0; transform: scale(0); transition: opacity .35s, transform .35s var(--ease), margin .35s var(--ease);
  }
  html.is-v4 .block.is-current .block-h {
    color: var(--ink);
    background: #161b24;
    box-shadow: inset 0 0 0 1px #252c39, 0 8px 24px -12px rgba(0, 0, 0, .8);
  }
  html.is-v4 .block.is-current .block-h::before { opacity: 1; transform: none; margin-right: 9px; }
}
html.is-v4 .block-body { margin: 0; min-width: 0; }
@media (max-width: 760px) { html.is-v4 .block { grid-template-columns: 1fr; } }

html.is-v4 .statement { margin: 0; max-width: 26ch; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
html.is-v4 .about .block-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
html.is-v4 .portrait { width: clamp(96px, 12vw, 160px); border-radius: 50%; flex: none; filter: saturate(.9); }
@media (max-width: 760px) { html.is-v4 .about .block-body { flex-direction: column-reverse; align-items: flex-start; } }

html.is-v4 .pursuits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(24px, 4vw, 64px); }
html.is-v4 .pursuits div { padding-top: 20px; border-top: 2px solid var(--line); }
html.is-v4 .pursuits dt { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.01em; }
html.is-v4 .pursuits dd { margin: 8px 0 0; color: var(--steel); max-width: 36ch; }
@media (max-width: 560px) { html.is-v4 .pursuits { grid-template-columns: 1fr; gap: 32px; } }

html.is-v4 .toolkit { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.01em; }
html.is-v4 .toolkit li { color: var(--ink); }
html.is-v4 .toolkit li:nth-child(even) { color: var(--steel); }

/* ---------- Motto ---------- */
html.is-v4 .motto { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gutter) 0; }
html.is-v4 .motto-line { margin: 0; font-weight: 900; font-size: clamp(48px, 11vw, 180px); line-height: .9; letter-spacing: -.05em; }
html.is-v4 .motto-sub { margin: 24px 0 0; max-width: 40ch; color: var(--steel); font-size: clamp(18px, 1.8vw, 22px); }

/* ---------- Contact ---------- */
html.is-v4 .contact { padding-bottom: clamp(96px, 12vw, 160px); }
html.is-v4 .contact-big { margin: 0; font-size: clamp(36px, 5vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
html.is-v4 .contact-copy { margin: 16px 0 36px; color: var(--steel); font-size: 18px; }

html.is-v4 .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 700 16px/1 var(--font); color: #fff;
  background: var(--cobalt); border: 0; border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
html.is-v4 .btn:hover { background: #4a78ff; }
html.is-v4 .btn:active { transform: scale(.98); }
html.is-v4 .btn:disabled { background: var(--line); color: var(--steel); cursor: not-allowed; }
html.is-v4 #contact-open[hidden] { display: none; }
html.is-v4 #contact-open.leaving { opacity: 0; transition: opacity .25s; }

html.is-v4 .contact-form[hidden] { display: none; }
/* Writing a note: the section drops its side label and centres itself,
   then the note opens slowly from the middle. */
html.is-v4 .contact.is-writing { grid-template-columns: minmax(0, 1fr); justify-items: center; }
html.is-v4 .contact.is-writing .block-h { display: none; }
html.is-v4 .contact.is-writing .block-body { width: 100%; max-width: 760px; }
html.is-v4 .contact.is-writing .hello { justify-content: center; animation: helloIn-v4 .6s var(--ease) both; }
html.is-v4 .contact-form.open { margin-inline: auto; animation: noteOpen-v4 .95s cubic-bezier(.22, .8, .2, 1) both; }
@keyframes helloIn-v4 { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes noteOpen-v4 {
  0%   { opacity: 0; transform: scale(.96); clip-path: inset(0 50% 0 50% round 22px); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 22px); }
}

/* the hello row */
html.is-v4 .hello { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); margin-bottom: 32px; }
html.is-v4 .hello-avatar { width: clamp(64px, 8vw, 88px); border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--black), 0 0 0 4px rgba(51, 102, 255, .55); }
html.is-v4 .hello .contact-copy { margin-bottom: 0; max-width: 46ch; }

/* the note: sentences with blanks to fill in */
html.is-v4 .letter {
  max-width: 760px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(51, 102, 255, .14), transparent 55%),
    rgba(238, 242, 248, .035);
  border: 1px solid rgba(184, 203, 255, .14);
}
html.is-v4 .letter-line {
  margin: 0 0 14px;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.9; font-weight: 500; letter-spacing: -.01em;
  color: var(--steel);
}
html.is-v4 .letter-line input {
  display: inline-block; vertical-align: baseline;
  width: 14ch; max-width: 100%;
  margin: 0 .15em; padding: 0 .1em 2px;
  font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px dashed rgba(184, 203, 255, .35); border-radius: 0;
  transition: border-color .2s;
}
html.is-v4 .letter-line input[type="email"] { width: 18ch; }
/* browsers that can, size each blank to what's typed in it */
@supports (field-sizing: content) {
  html.is-v4 .letter-line input, html.is-v4 .letter-line input[type="email"] { width: auto; field-sizing: content; min-width: 10ch; }
}
html.is-v4 .letter-line input::placeholder { color: #4f5a6e; }
html.is-v4 .letter-line input:focus { outline: none; border-bottom: 2px solid var(--cobalt); }
html.is-v4 .letter-line input:user-invalid { border-bottom-color: #ff8a8a; }
html.is-v4 .letter-opt { white-space: nowrap; }
html.is-v4 .letter-msg textarea {
  display: block; width: 100%; min-height: 140px; margin-top: 6px; padding: 14px 16px;
  font: 400 18px/1.55 var(--font); color: var(--ink);
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(184, 203, 255, .14); border-radius: 14px;
  resize: vertical; transition: border-color .2s;
}
html.is-v4 .letter-msg textarea::placeholder { color: #4f5a6e; }
html.is-v4 .letter-msg textarea:focus { outline: none; border-color: var(--cobalt); }
html.is-v4 .letter-msg textarea:user-invalid { border-color: #ff8a8a; }
@media (max-width: 560px) {
  html.is-v4 .letter-opt { white-space: normal; }
  html.is-v4 .letter-line input, html.is-v4 .letter-line input[type="email"] { display: block; width: 100%; margin: 4px 0; }
  html.is-v4 .punct { display: none; }
}

html.is-v4 .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

html.is-v4 .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
html.is-v4 .human {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 20px 0 14px;
  font: 500 16px/1 var(--font); color: var(--ink);
  background: transparent; border: 2px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: border-color .2s;
}
html.is-v4 .human:hover { border-color: #2c3648; }
html.is-v4 .human .box { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--steel); display: grid; place-items: center; }
html.is-v4 .human.working .box {
  border-color: transparent;
  background: conic-gradient(var(--cobalt) calc(var(--p, .05) * 360deg), var(--line) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin-v4 1s linear infinite;
}
@keyframes spin-v4 { to { transform: rotate(360deg); } }
html.is-v4 .human.done { border-color: var(--cobalt); cursor: default; }
html.is-v4 .human.done .box { border-color: var(--cobalt); background: var(--cobalt); }
html.is-v4 .human.done .box::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

html.is-v4 .cf-status { margin: 18px 0 0; min-height: 1.6em; font-size: 15px; color: var(--steel); }
html.is-v4 .cf-status[data-kind="ok"] { color: var(--ice); }
html.is-v4 .cf-status[data-kind="err"] { color: #ff8a8a; }
html.is-v4 .contact-form.sent .letter-line, html.is-v4 .contact-form.sent .letter-msg { opacity: .55; }
@media (max-width: 560px) { html.is-v4 .human, html.is-v4 #cf-send { width: 100%; justify-content: center; } }

/* ---------- Footer ---------- */
html.is-v4 .foot {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 28px var(--gutter) 40px;
  border-top: 2px solid var(--line);
  color: var(--steel); font-size: 14px;
}
html.is-v4 .foot p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html.is-v4 { scroll-behavior: auto; }
  html.is-v4 .caret, html.is-v4 .human.working .box, html.is-v4 .contact-form.open, html.is-v4 .contact.is-writing .hello { animation: none; }
  html.is-v4 .block-h, html.is-v4 .block-h::before { transition: none; }
}

/* =========================================================
   PREVIEW: background picker + 4 background options
   (remove the picker part once a background is chosen)
   ========================================================= */
html.is-v4 .bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

/* 1 — Glow: two slow blue lights */
html.is-v4 .bg[data-bg="1"]::before, html.is-v4 .bg[data-bg="1"]::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
}
html.is-v4 .bg[data-bg="1"]::before {
  width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(var(--bg-rgb), .38), transparent 65%);
  animation: glowA-v4 26s ease-in-out infinite alternate;
}
html.is-v4 .bg[data-bg="1"]::after {
  width: 52vmax; height: 52vmax; right: -16vmax; bottom: -20vmax;
  background: radial-gradient(circle, rgba(var(--bg-rgb), .26), transparent 65%);
  animation: glowB-v4 32s ease-in-out infinite alternate;
}
@keyframes glowA-v4 { to { transform: translate(14vmax, 10vmax) scale(1.1); } }
@keyframes glowB-v4 { to { transform: translate(-12vmax, -8vmax) scale(1.15); } }

/* 2 — Grid: fine blueprint lines, fading out */
html.is-v4 .bg[data-bg="2"] {
  background-image:
    linear-gradient(rgba(var(--bg-rgb), .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--bg-rgb), .24) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  animation: gridPan-v4 24s linear infinite;
}
@keyframes gridPan-v4 { to { background-position: 56px 56px; } }

@media (prefers-reduced-motion: reduce) {
  html.is-v4 .bg::before, html.is-v4 .bg::after, html.is-v4 .bg[data-bg="2"] { animation: none !important; }
}
/* =========================================================
   v4 "Equilibrium" additions (v9): the balance you can use, and the small scale in the header.
   Written unscoped; the build scopes it to html.is-v4 like the rest of v4.
   ========================================================= */

/* ---------- header: a small scale that levels out as you reach the end of the page ---------- */
html.is-v4 .top { grid-template-columns: auto 1fr auto auto; }
html.is-v4 .mini-scale {
  --t: -12deg;
  position: relative; justify-self: start; width: 38px; height: 18px; margin-left: -14px;
}
html.is-v4 .mini-beam {
  position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px;
  background: var(--steel); transform: rotate(var(--t)); transform-origin: 50% 50%;
  transition: transform .5s var(--ease), background-color .5s, box-shadow .5s;
}
html.is-v4 .mini-fulcrum {
  position: absolute; left: 50%; top: 8px; width: 10px; height: 9px; margin-left: -5px;
  background: var(--steel); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .7;
}
html.is-v4 .mini-scale.is-level .mini-beam { background: var(--ice); box-shadow: 0 0 10px 1px rgba(51, 102, 255, .9); }
html.is-v4 .mini-scale.is-level .mini-fulcrum { background: var(--cobalt); opacity: 1; }

/* ---------- the balance ---------- */
html.is-v4 .balance { position: relative; margin-bottom: clamp(48px, 7vw, 88px); }
html.is-v4 .balance-hint { margin: 0; max-width: 40ch; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; font-weight: 500; color: var(--ink); }

html.is-v4 .b-stage { position: relative; height: 150px; margin-top: 8px; }
html.is-v4 .b-beam {
  --a: 0deg;
  position: absolute; left: 3%; right: 3%; bottom: 44px; height: 2px;
  transform: rotate(var(--a)); transform-origin: 50% 50%;
  transition: transform 1.1s cubic-bezier(.3, 1.7, .45, 1);      /* overshoots a little, like a real beam settling */
}
html.is-v4 .b-beam::before {
  content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0, var(--cobalt) 6%, var(--ice) 50%, var(--cobalt) 94%, transparent 100%);
  box-shadow: 0 0 14px 1px rgba(51, 102, 255, .45);
  transition: box-shadow .6s;
}
html.is-v4 .b-stage.is-level .b-beam::before { box-shadow: 0 0 18px 2px rgba(51, 102, 255, .8), 0 0 60px 6px rgba(51, 102, 255, .35); }
html.is-v4 .b-fulcrum { bottom: 10px; }
/* the six positions (13.5% of the beam apart): small marks under the beam */
html.is-v4 .b-mark {
  position: absolute; top: 5px; left: calc(50% + var(--slot) * 13.5%); width: 2px; height: 7px; margin-left: -1px;
  border-radius: 1px; background: var(--line); transition: background-color .2s, height .2s;
}
html.is-v4 .b-mark.is-near { background: var(--ice); height: 11px; }

/* a weight: a small block with an icon. In the tray it carries its name; on the beam, just the block. */
html.is-v4 .weight {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
  color: var(--ink); font: 500 16px/1.2 var(--font); cursor: grab; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
html.is-v4 .w-block {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 11px;
  background: #0b1020; border: 1.5px solid var(--cobalt);
  box-shadow: 0 10px 22px -12px rgba(51, 102, 255, .9);
  touch-action: none;                  /* so a finger can drag the block itself */
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
html.is-v4 .w-block svg { width: 22px; height: 22px; fill: none; stroke: var(--ice); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html.is-v4 .weight:hover .w-block { transform: translateY(-3px); border-color: var(--ice); }
html.is-v4 .weight:focus-visible { outline: none; }
html.is-v4 .weight:focus-visible .w-block { outline: 2px solid var(--ice); outline-offset: 3px; }

html.is-v4 .b-tray { display: flex; flex-wrap: wrap; gap: 14px 28px; min-height: 46px; margin-top: 6px; }

/* on the beam */
html.is-v4 .b-beam .weight {
  position: absolute; left: calc(50% + var(--slot) * 13.5%); bottom: 3px; transform: translateX(-50%);
  animation: weightLand-v4n .45s cubic-bezier(.3, 1.5, .5, 1) both;
}
html.is-v4 .b-beam .weight .w-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.is-v4 .b-beam .weight .w-block { background: var(--cobalt); border-color: var(--ice); }
html.is-v4 .b-beam .weight .w-block svg { stroke: #fff; }
@keyframes weightLand-v4n { from { transform: translateX(-50%) translateY(-26px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }

/* being dragged */
html.is-v4 .weight.is-drag { position: absolute; z-index: 5; cursor: grabbing; pointer-events: none; animation: none; transform: none; }
html.is-v4 .weight.is-drag .w-label { display: none; }
html.is-v4 .weight.is-drag .w-block { transform: scale(1.12) rotate(-4deg); border-color: var(--ice); box-shadow: 0 22px 34px -14px rgba(51, 102, 255, 1); }

html.is-v4 .balance-status { margin: 18px 0 0; min-height: 1.6em; color: var(--steel); }
html.is-v4 .balance-done { margin-top: 10px; animation: doneIn-v4n .7s var(--ease) both; }
html.is-v4 .balance-done[hidden] { display: none; }
html.is-v4 .balance-big { margin: 0 0 22px; font-size: clamp(44px, 7vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
html.is-v4 .balance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
html.is-v4 .link-btn { padding: 8px 0; border: 0; background: none; color: var(--steel); font: 500 16px/1 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
html.is-v4 .link-btn:hover { color: var(--ink); }
@keyframes doneIn-v4n { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the matching description lights up while its weight is on the beam */
html.is-v4 .pursuits div { transition: border-color .4s; }
html.is-v4 .pursuits dt { transition: color .4s; }
html.is-v4 .pursuits div.is-on { border-top-color: var(--cobalt); }
html.is-v4 .pursuits div.is-on dt { color: var(--ice); }

@media (max-width: 560px) {
  html.is-v4 .b-stage { height: 128px; }
  html.is-v4 .w-block { width: 38px; height: 38px; border-radius: 9px; }
  html.is-v4 .w-block svg { width: 19px; height: 19px; }
  html.is-v4 .b-tray { gap: 12px 20px; }
  html.is-v4 .weight { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html.is-v4 .b-beam, html.is-v4 .mini-beam { transition: none; }
  html.is-v4 .b-beam .weight, html.is-v4 .balance-done { animation: none; }
}
@media (max-width: 640px) { html.is-v4 .mini-scale { width: 30px; margin-left: 0; } }
